Open
Conversation
The stop_status parameter allows callers to ask stop retrying based on a
list of statuses that are known to be final (and error) states, this
saves time failing earlier.
Usage example for fail early when an instance reaches to ERROR status:
openstack_utils.resource_reaches_status(self.nova_client.servers,
instance_uuid,
resource_attribute='state',
expected_status='ACTIVE',
stop_status='ERROR')
(cherry picked from commit 11c3f80)
(cherry picked from commit b7c38ed)
This test launches 1 instance per hypervisor, and then launches a new audit to optimize the use of hypervisors and consolidate the instances in a single hypervisor, but also disabling the nova-compute service to avoid new instances get allocated. (cherry picked from commit 6787c84) (cherry picked from commit 35741f1)
openstack-mirroring
pushed a commit
to openstack/charm-watcher
that referenced
this pull request
Apr 3, 2024
Backport the watcher support to zed. This involves the following: * Update .gitreview file * Update osci jobs in osci.yaml * Update src/metadata.yaml to specify jammy/kinetic support, fix descriptions * Update src/test-requirments.yaml for stable/zed zaza branches * Update test bundles to use zed * Add override to specify the common cpu-model for migrations Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1178 Change-Id: Ie9ae372b63d17c7b9087ebd7674fa58e7bc8f634
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is being functionally tested by https://review.opendev.org/c/openstack/charm-watcher/+/904879