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

[openstack] 2+ images named 'rhcos' no error reported #1921

Closed
jichenjc opened this issue Jun 30, 2019 · 8 comments
Closed

[openstack] 2+ images named 'rhcos' no error reported #1921

jichenjc opened this issue Jun 30, 2019 · 8 comments
Assignees

Comments

@jichenjc
Copy link
Contributor

jichenjc commented Jun 30, 2019

Version

$ openshift-install version
<your output here>

[root@jichen-openstack-1 installer]# bin/openshift-install version
bin/openshift-install unreleased-master-1200-gf4ddfdf9d9b8ae7c99298bcbfa49ba3e3ad317e1-dirty
built from commit f4ddfdf9d9b8ae7c99298bcbfa49ba3e3ad317e1
release image registry.svc.ci.openshift.org/origin/release:4.2

Platform:

openstack

What happened?

have following images to do test (2 rhcos) but no error reported when creating cluster

+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| d890d41e-6f26-460d-a348-fc4725ddffa4 | cirros | active |
| 1ee4f2fd-aa2f-4e7b-a259-a28b74ab9c73 | rhcos  | active |
| 3cb37b02-6ff8-4366-ad01-34993b15639d | rhcos  | active |
+--------------------------------------+--------+--------+

Enter text here.
See the troubleshooting documentation for ideas about what information to collect.
For example, if the installer fails to create resources, attach the relevant portions of your .openshift_install.log.

What you expected to happen?

Enter text here.

How to reproduce it (as minimally and precisely as possible)?

$ your-commands-here

Anything else we need to know?

Enter text here.

References

  • enter text here.
@jichenjc
Copy link
Contributor Author

/assign

@mandre
Copy link
Member

mandre commented Jul 1, 2019

/label platform/openstack

@mandre
Copy link
Member

mandre commented Jul 1, 2019

Apparently glance is perfectly fine with allowing two images with the same name, it will use the id to differentiate them. Now should we really fail the install if there are two images named rhcos in glance? I'm not sure about this as it would fail in perfectly valid environments. We could perhaps print a warning?

@jichenjc
Copy link
Contributor Author

jichenjc commented Jul 1, 2019

I don't know which is good, I would think we need ask which id to use if more rhcos exist and ask user to select a preferred one...

@mandre
Copy link
Member

mandre commented Jul 1, 2019

Yeah I suppose it's possible to ask in the installer wizard for which image ID to use in case there are several images with the rhcos name.

@Fedosin
Copy link
Contributor

Fedosin commented Nov 5, 2019

Fixed: #2492

@abhinavdahiya
Copy link
Contributor

/close

@openshift-ci-robot
Copy link
Contributor

@abhinavdahiya: Closing this issue.

In response to this:

/close

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.

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

No branches or pull requests

5 participants