When trying to build an overcloud image on ppc64le tripleo/DIB attempts to build an amd64 image.
openstack-tripleo-common-7.6.3-0.20171010234827.el7ost.noarch
Steps to Reproduce:
1. Create a ppc64le 'input image':
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14309272
2. Create a ppc64le 'utility image'
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14309274
3. Boot the utility image and import the input image from step 1
4. Use the TDL template from http://pkgs.devel.redhat.com/cgit/rpms/rhosp-director-images/tree/overcloud-full.tdl?h=rhos-12.0-rhel-7 to transform the simple input image into an overcloud image
Actual results:
openstack overcloud image builds fails with:
"""
Command '['disk-image-create', '-a', 'amd64', '-o', './overcloud-full', '-t', 'qcow2', '-p', 'python-psutil,python-debtcollector,plotnetcfg,sos,ntp,device-mapper-multipath,python-heat-agent-puppet,python-heat-agent-hiera,python-heat-agent-apply-config,python-heat-agent-ansible,python-heat-agent-docker-cmd,python-heat-agent-json-file,redhat-access-insights,rhosp-release', '--min-tmpfs', '5', 'rhel7', 'baremetal', 'dhcp-all-interfaces', 'overcloud-agent', 'overcloud-full', 'overcloud-controller', 'overcloud-compute', 'overcloud-ceph-storage', 'puppet-modules', 'os-net-config', 'stable-interface-names', 'grub2', 'element-manifest', 'dynamic-login', 'iptables', 'enable-packages-install', 'pip-and-virtualenv-override', 'dracut-regenerate', 'remove-machine-id']' returned non-zero exit status 1
"""
Expected results:
A generated overcloud image.
Additional info
The are a couple of options here
1. Backport https://review.openstack.org/#/c/489476/ to pike upstream and the import the new SHA into the RHOS packaging
2. use scripts in rhosp-director-images to do this translation.
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