After deploying the undercloud following the upstream documentation on a Centos 7 machine, the process of building the images fails by not finding the package openstack-ironic-python-agent. Let me show you:

[stack@bl16 ~]$ openstack overcloud image build --type agent-ramdisk

… some time later ….

Running install-packages install. Package list: openstack-ironic-python-agent
Loading "fastestmirror" plugin
Config time: 0.009
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * epel: mirror.us.leaseweb.net
 * extras: mirrors.advancedhosters.com
 * updates: centos.mbni.med.umich.edu
pkgsack time: 14.092
Checking for virtual provide or file-provide for openstack-ironic-python-agent
No package openstack-ironic-python-agent available.
Error: Nothing to do

Yet this package does exist in the current delorean repo:

[stack@bl16 ~]$ sudo yum list openstack-ironic-python-agent
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: centos.mbni.med.umich.edu
 * epel: mirror.symnds.com
 * extras: mirror.vcu.edu
 * updates: mirror.symnds.com
482 packages excluded due to repository priority protections
Installed Packages
openstack-ironic-python-agent.noarch                                                    0.1.0-dev770.el7.centos                                                     @delorean

I tried to debug the code a bit, and I believe the issue might be caused by https://github.com/rdo-management/python-rdomanager-oscplugin/blob/646028f82eeaec9111c6a50ca2e57d3b14f811ba/rdomanager_oscplugin/v1/overcloud_image.py that is using the Kilo repository for building the images instead of the Liberty that is deployed in the undercloud.

Indeed, the kilo repository at http://trunk.rdoproject.org/kilo/centos7/current-passed-ci/ don’t have any of the openstack-ironic-* packages, which they do exist in http://trunk.rdoproject.org/liberty/centos7/current-passed-ci/

Does this make sense?

Thanks,
IB


__
Ignacio Bravo
LTG Federal, Inc
www.ltgfederal.com