overcloud container image prepare should support --env-dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Martin André |
Bug Description
The comand 'openstack overcloud container image prepare' does not support the --env-dir parameter. This parameter is used by the overcloud deploy command to manage deployments with many environment files.
For example:
openstack overcloud deploy \
-e /home/stack/
-r /home/stack/
--environmen
ls /home/stack/
20-network-
30-compute-
60-ceph-
Add this option to reduce the length and complexity of the command, and allow the same directory to be re-used for both commands.
Also the order of inclusion is important for both commands, and this would ensure consistency between them.
For example:
openstack overcloud container image prepare \
--namespace 172.16.
--env-file=
--prefix=openstack- \
--suffix=-docker \
--tag 20171004.1 \
--set ceph_namespace=
--set ceph_image=
--set ceph_tag=latest \
-e /home/stack/
-e /home/stack/
-e /home/stack/
-r /usr/share/
Would become:
openstack overcloud container image prepare \
--namespace 172.16.
--env-file=
--prefix=openstack- \
--suffix=-docker \
--tag 20171004.1 \
--set ceph_namespace=
--set ceph_image=
--set ceph_tag=latest \
--env-dir /home/stack/
-r /usr/share/
Openstack Pike
Changed in tripleo: | |
status: | New → Triaged |
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → queens-2 |
Fix proposed to branch: master /review. openstack. org/511521
Review: https:/