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

GMI import worker: Use alphabetic prefix on data disks #1515

Merged
merged 1 commit into from
Feb 6, 2021

Conversation

EricEdens
Copy link
Contributor

@EricEdens EricEdens commented Feb 6, 2021

This bug was caused by #1512, and was observed in the e2e tests:

cannot create instance: bad InitializeParams.DiskName: "-1"; * cannot create disk "-1"; resource lookup error: unknown resource type: "projects/compute-image-test-pool-001/zones/us-central1-c/disks/-1"

https://prow.k8s.io/view/gcs/compute-image-tools-test/logs/ci-ovf-import-e2e-tests-daily/1357763952053850112

It occurred since the instance name was being used as a prefix for data disk names; in GMI import, the use doesn't specify an instance name.

@google-oss-robot
Copy link
Collaborator

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@EricEdens EricEdens marked this pull request as ready for review February 6, 2021 02:04
@EricEdens
Copy link
Contributor Author

/test all

@google-oss-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EricEdens, zoran15

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

@zoran15
Copy link
Contributor

zoran15 commented Feb 6, 2021

/retest

1 similar comment
@zoran15
Copy link
Contributor

zoran15 commented Feb 6, 2021

/retest

@zoran15 zoran15 merged commit 9841231 into GoogleCloudPlatform:master Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants