Skip to content

Conversation

@stephenfin
Copy link

What this PR does / why we need it:

If a server create request to nova fails particularly early in the process, it might never actually result in a server resource being created. This means attempts to delete the server will result in a HTTP 404. This is fine. The server is already gone so there's no reason we can't simply ignore the error.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

BZ 2097728

Special notes for your reviewer:

N/A

Release note:

NONE

If a server create request to nova fails particularly early in the
process, it might never actually result in a server resource being
created. This means attempts to delete the server will result in a HTTP
404. This is fine. The server is already gone so there's no reason we
can't simply ignore the error.

Signed-off-by: Stephen Finucane <[email protected]>
@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Jun 21, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 21, 2022

@stephenfin: This pull request references Bugzilla bug 2097728, which is invalid:

  • expected the bug to target the "4.11.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 2097728: Don't fail on server delete returning HTTP 404

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested review from mdbooth and pierreprinetti June 21, 2022 12:46
@stephenfin
Copy link
Author

/bugzilla refresh

@openshift-ci openshift-ci bot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Jun 21, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 21, 2022

@stephenfin: This pull request references Bugzilla bug 2097728, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @eurijon

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link

openshift-ci bot commented Jun 21, 2022

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: eurijon.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@stephenfin: This pull request references Bugzilla bug 2097728, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @eurijon

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@pierreprinetti
Copy link
Member

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 21, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 21, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierreprinetti

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 21, 2022
Copy link

@mdbooth mdbooth left a comment

Choose a reason for hiding this comment

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

I'd like to consider legacy CAPO 'frozen' at this point, especially as its test coverage isn't as good as we'd like. Consequently I don't think we should fix the same issue we can see here deleting ports until we see folks hitting it in practise.

This whole class of bug is already fixed in MAPO.

/lgtm

No need for this to be a warning as we've already determined it's okay
to ignore.

Signed-off-by: Stephen Finucane <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 21, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 21, 2022

@stephenfin: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-openstack-proxy eb249b0 link false /test e2e-openstack-proxy

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@pierreprinetti
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2022
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 2 against base HEAD 440ca42 and 8 for PR HEAD eb249b0 in total

@mandre
Copy link
Member

mandre commented Jun 24, 2022

/hold

I wonder if it's really worth fixing. The bug seems not important enough to justify the trouble we'll have to go through to fix affected versions.

If we want the fix in 4.10 (the version the bug was reported against, but it's likely present down to 4.6), we'd have to merge in master then backport to 4.11 before it can reach 4.10. We have no way of validating the fix in both master and 4.11 as CAPO is no longer used there.

I'd be OK with closing the BZ with CURRENTVERSION.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 24, 2022
@pierreprinetti
Copy link
Member

we'd have to merge in master then backport to 4.11

If we want this in, the process would be to close Bug 2097728 as CURRENTRELEASE, clone, target to 4.10 and merge this patch against release-4.10 directly. Not a big deal per se.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 23, 2022
@stephenfin
Copy link
Author

/hold

I wonder if it's really worth fixing. The bug seems not important enough to justify the trouble we'll have to go through to fix affected versions.

If we want the fix in 4.10 (the version the bug was reported against, but it's likely present down to 4.6), we'd have to merge in master then backport to 4.11 before it can reach 4.10. We have no way of validating the fix in both master and 4.11 as CAPO is no longer used there.

I'd be OK with closing the BZ with CURRENTVERSION.

Okay, closed as CURRENTRELEASE.

@stephenfin stephenfin closed this Sep 27, 2022
@openshift-ci
Copy link

openshift-ci bot commented Sep 27, 2022

@stephenfin: This pull request references Bugzilla bug 2097728. The bug has been updated to no longer refer to the pull request using the external bug tracker.

In response to this:

Bug 2097728: Don't fail on server delete returning HTTP 404

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

pierreprinetti pushed a commit to shiftstack/cluster-api-provider-openstack that referenced this pull request Apr 22, 2024
This commit adds an extra key to allow for disabling the rendering steps
for userData, which allows for scenarios where userData has been
pre-rendered and it just needs to be passed down to the instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants