Bug 1550932
Summary: | deployment fails as --insecure-registry in /etc/sysconfig/docker not set by director on overcloud nodes | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Anil Dhingra <adhingra> |
Component: | documentation | Assignee: | RHOS Documentation Team <rhos-docs> |
Status: | CLOSED NOTABUG | QA Contact: | RHOS Documentation Team <rhos-docs> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 12.0 (Pike) | CC: | adhingra, agurenko, aschultz, dprince, emacchi, hbrock, ipilcher, jliberma, jpichon, jslagle, mburns, nsantos, rhel-osp-director-maint, sbaker, srevivo |
Target Milestone: | zstream | Keywords: | Triaged, ZStream |
Target Release: | 12.0 (Pike) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1522978 | Environment: | |
Last Closed: | 2019-03-07 00:26:45 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: | |||
Bug Depends On: | 1522978 | ||
Bug Blocks: |
Description
Anil Dhingra
2018-03-02 10:09:51 UTC
looks like below parameter is missing during file generation , it supposed to be added auto in overcloud_images.yaml DockerInsecureRegistryAddress: - 192.168.24.1:8787 I think this might be a docs bug because I think this is supposed to be handled automatically for you during item #5 from section 5.3 of the install guide. https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/director_installation_and_usage/Configuring-Registry_Details#Configuring-Preparing_the_Container_Images_File I think the output env file should have that entry in it. Either way it would be good to explicitly say this configuration is necessary when using the local registry. Yes I have confirmed the following part will put that value in the output file. openstack overcloud container image prepare --namespace=192.168.24.1:8787/rhosp12 --prefix=openstack- --tag=12.0-20180124.1 --output-env-file=/home/stack/overcloud_images.yaml The resulting /home/stack/overcloud_images.yaml has: ...<snip...> DockerHorizonImage: 192.168.24.1:8787/rhosp12/openstack-horizon:12.0-20180124.1 DockerInsecureRegistryAddress: - 192.168.24.1:8787 DockerKeystoneConfigImage: 192.168.24.1:8787/rhosp12/openstack-keystone:12.0-20180124.1 ...<snip>... This file should be included as part of the deployment command via -e /home/stack/overcloud_images.yaml. It would be a good idea to ensure that we mention that this value needs to be provided when using the local repository but is automatically included in the prepare command output. I think this might be related to another issue where specifying custom undercloud.conf container_insecure_registries overwrote the DockerInsecureRegistryAddress entry for the undercloud registry. This was later fixed upstream. |