Bug 1477369
| Summary: | python-openstackclient: We're forced to run 'openstack overcloud container image prepare" twice with different namespace for generating --env-file and --images-file.. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
| Component: | openstack-tripleo-common | Assignee: | Steve Baker <sbaker> |
| Status: | CLOSED ERRATA | QA Contact: | Omri Hochman <ohochman> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | agurenko, apevec, dprince, emacchi, hbrock, jjoyce, jslagle, lhh, mburns, ohochman, rhel-osp-director-maint, sbaker, sclewis, slinaber, srevivo |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-common-8.5.1-0.20180326153322.91f52e9.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-27 13:33:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Chuzhoy
2017-08-01 22:19:16 UTC
To be clear, I think that when deploying from a local registry I think it is correct to run prepare twice, because you're preparing for two different tasks against two different registries. However I do want to fix the consistency issue of --namespace=<FQDN:PORT/namespace> vs --namespace <namespace> I've raised a bug upstream so that --pull-source is deprecated and --namespace=<FQDN:PORT/namespace> is used consistently. In Queens the following commands will be replaced with a single command backed by a mistral workflow. This workflow will also be invoked from the UI: overcloud container image prepare overcloud container image tag discover overcloud container image upload This is now ready for testing. If the local undercloud is being used, only a single prepare call is needed. Only the first prepare call is required, which needs to: - specify both output files --output-images-file and --output-env-file - specify a --push-destination argument with the <undercloud ip>:8787 This will result in an --output-env-file with appropriate undercloud registry image references Verified OSP13 RC - prepare command need to be executed only once. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086 |