Including an additional element is inconvenient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
Medium
|
Jaume Devesa |
Bug Description
Currently we have several handy options to overcloud image build in tripleoclient, for example you might want to do this:
git clone https:/
<hack on a fancy-new-element element>
export NODE_DIST=centos7
openstack overcloud image build --type overcloud-full --tripleo-
However, this doesn't work as expected - the extra-args overwrites the internally defined extra-args instead of appending to them, so we don't build all of the normal openstack elements into the image. Same problem when you export OVERCLOUD_
To support third-party integrators who may want to build their additional elements into the image, we need a simple way to append extra elements to those normally built, or at least an obvious way to see what is normally defined internally (such as a warning when you call with the overcloud-
Changed in tripleo: | |
assignee: | nobody → Brad P. Crochet (brad-9) |
Changed in tripleo: | |
assignee: | Brad P. Crochet (brad-9) → Jaume Devesa (devvesa) |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in tripleo: | |
status: | Triaged → Won't Fix |
Note the workaround is to derive the list of extra args from the logs, and pass in a fully qualified list, e.g:
openstack overcloud image build --type overcloud-full --tripleo- puppet- elements /home/stack/ tripleo- puppet- elements --overcloud- full-dib- extra-args "overcloud-full overcloud- controller overcloud-compute overcloud- ceph-storage ntp sysctl hosts baremetal dhcp-all-interfaces os-collect-config heat-config-puppet heat-config-script puppet-modules hiera os-net-config stable- interface- names grub2-deprecated "
Clearly this will be fragile because folks won't know if the internally defined list changes.