Skip to content

Align ServiceFail provisioning state value with Ironic#3131

Merged
pierreprinetti merged 1 commit intogophercloud:masterfrom
pszczerbik:fix-service-fail-value
Jul 23, 2024
Merged

Align ServiceFail provisioning state value with Ironic#3131
pierreprinetti merged 1 commit intogophercloud:masterfrom
pszczerbik:fix-service-fail-value

Conversation

@pszczerbik
Copy link
Copy Markdown
Contributor

There is a mismatch between ServiceFail values used by Gophercloud and Ironic. Ironic uses "service failed" value [1], rather than "service fail". This commit addresses this discrepancy.

Fixes #3130

[1] https://github.com/openstack/ironic/blob/stable/2024.1/ironic/common/states.py#L248

There is a mismatch between ServiceFail values used by Gophercloud and
Ironic. Ironic uses "service failed" value [1], rather than "service fail".
This commit addresses this discrepancy.

[1] https://github.com/openstack/ironic/blob/stable/2024.1/ironic/common/states.py#L248

Signed-off-by: Przemyslaw Szczerbik <przemyslaw.szczerbik@intel.com>
@github-actions github-actions bot added the semver:major Breaking change label Jul 18, 2024
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.

@pszczerbik
Copy link
Copy Markdown
Contributor Author

FYI @dtantsur

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 78.738% (+5.7%) from 73.053%
when pulling 364b4bc on pszczerbik:fix-service-fail-value
into f626223 on gophercloud:master.

Copy link
Copy Markdown
Contributor

@dtantsur dtantsur left a comment

Choose a reason for hiding this comment

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

LGTM, thanks. The "major" semver tag is quite incorrect IMO.

@pierreprinetti pierreprinetti added semver:patch No API change and removed semver:major Breaking change labels Jul 23, 2024
Copy link
Copy Markdown
Member

@pierreprinetti pierreprinetti left a comment

Choose a reason for hiding this comment

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

Thank you!

@pierreprinetti pierreprinetti added backport-v1 This PR will be backported to v1 backport-v2 This PR will be backported to v2 labels Jul 23, 2024
@pierreprinetti pierreprinetti merged commit 735481b into gophercloud:master Jul 23, 2024
@github-actions
Copy link
Copy Markdown

Failed to backport PR to v1 branch. See logs for details.

@pierreprinetti
Copy link
Copy Markdown
Member

I consider this to be a patch, however the support for servicing was never backported to v1, so this patch only applies to v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ServiceFail provisioning state value doesn't match the value used by Ironic

4 participants