Skip to content

feat(understack-workflows): more clearly report SVM state#1843

Merged
cardoe merged 3 commits intomainfrom
storage-flow
Mar 19, 2026
Merged

feat(understack-workflows): more clearly report SVM state#1843
cardoe merged 3 commits intomainfrom
storage-flow

Conversation

@cardoe
Copy link
Contributor

@cardoe cardoe commented Mar 18, 2026

More clearly report if the SVM was created, removed, present,
nonexistent, or unknown so that the workflow can make other operational
choices on that data. Some tests needed to be updated to use mock_open
instead of a regular Mock, which is required to have a compatible opened
file for mocking.

cardoe added 2 commits March 18, 2026 16:51
More clearly report if the SVM was created, removed, present,
nonexistent, or unknown so that the workflow can make other operational
choices on that data. Some tests needed to be updated to use mock_open
instead of a regular Mock, which is required to have a compatible opened
file for mocking.
The keystone test had the open() mock wrong so tests were unable to
properly pass. Use the new_callable so we use the mock_open() instead of
a regular Mock(). Fix up the remaining tests so that everything is
consistent.
@cardoe cardoe requested a review from a team March 18, 2026 22:02
@cardoe cardoe force-pushed the storage-flow branch 2 times, most recently from ec844ed to 6623983 Compare March 19, 2026 05:11
- name: extra_vars
value: {{ printf "project_id={{steps.convert-project-id.outputs.result}} dry_run=false" | quote }}

- - name: ansible-remove-project
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does that name not need to be unique?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh yes.

When the SVM is removed we need to run a playbook and when the project
itself is being removed we need to run another playbook. Wire those in
so that they execute correctly.
@cardoe cardoe added this pull request to the merge queue Mar 19, 2026
Merged via the queue into main with commit ec7445b Mar 19, 2026
63 checks passed
@cardoe cardoe deleted the storage-flow branch March 19, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants