Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1913736: do not fetch image id when booting from volume #148

Merged
merged 1 commit into from Jan 7, 2021

Conversation

Fedosin
Copy link

@Fedosin Fedosin commented Jan 7, 2021

When we boot a machine from volume, we don't need to fetch the image id.

@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Jan 7, 2021
@openshift-ci-robot
Copy link

@Fedosin: This pull request references Bugzilla bug 1913736, 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.7.0) matches configured target release for branch (4.7.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1913736: do not validate image when booting from volume

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-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jan 7, 2021
@mandre
Copy link
Member

mandre commented Jan 7, 2021

I'm still seeing this with the release image built for this patch. registry.build02.ci.openshift.org/ci-op-dpffn3p3/release:latest :

E0107 14:56:06.240279       1 actuator.go:574] Machine error mandre-rq88b-worker-0-wjkf4: error creating Openstack instance: Create new server err: Unable to find image with name 
W0107 14:56:06.240334       1 controller.go:317] mandre-rq88b-worker-0-wjkf4: failed to create machine: error creating Openstack instance: Create new server err: Unable to find image with name 
E0107 14:56:06.240504       1 controller.go:237] controller "msg"="Reconciler error" "error"="error creating Openstack instance: Create new server err: Unable to find image with name " "controller"="machine_controller" "name"="mandre-rq88b-worker-0-wjkf4" "namespace"="openshift-machine-api" 

@mandre
Copy link
Member

mandre commented Jan 7, 2021

There's another issue with https://github.com/openshift/cluster-api-provider-openstack/pull/126/files#diff-74426b0daa2349d4dffb9633a1a3ef807c0136fc398d0275213a4734c336f067

Previously, getImageID() would return an empty string when given an empty image name, while now imageutils.IDFromName() returns an error.

When we boot a machine from volume, we don't need to fetch the
image id.
@openshift-ci-robot
Copy link

@Fedosin: This pull request references Bugzilla bug 1913736, which is valid.

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

In response to this:

Bug 1913736: do not validate image when booting from volume

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.

@Fedosin Fedosin changed the title Bug 1913736: do not validate image when booting from volume Bug 1913736: do not fetch image id when booting from volume Jan 7, 2021
Copy link
Member

@mandre mandre left a comment

Choose a reason for hiding this comment

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

This time it worked. Thanks.

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 7, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mandre

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 7, 2021
@openshift-merge-robot openshift-merge-robot merged commit 5f60693 into openshift:master Jan 7, 2021
@openshift-ci-robot
Copy link

@Fedosin: All pull requests linked via external trackers have merged:

Bugzilla bug 1913736 has been moved to the MODIFIED state.

In response to this:

Bug 1913736: do not fetch image id when booting from volume

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
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-high Referenced Bugzilla bug's severity is high 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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants