Skip to content
Snippets Groups Projects
user avatar
Mark Goddard authored
Kolla recently upgraded bifrost from 7.0.0 to 7.1.0 on the stable/train
branch. This switched to IPA builder to build the IPA image, and
introduced a rename of the IPA kernel file from ipa.vmlinuz to
ipa.kernel, which breaks overcloud provisioning. The iPXE kernel
download fails with a 404, since Kayobe introspection rules use
ipa.vmlinuz for the driver_info.deploy_kernel URL.

This change works around the issue by setting two Bifrost variables,
ipa_kernel and ipa_kernel_url, to reference the old kernel filename of
ipa.vmlinuz. This works both in the case where the image is downloaded
from a URL (ipa_kernel sets the destination file name), and where it is
built via 'kayobe seed deployment image build' (kayobe uses the legacy
ironic-agent DIB element rather than IPA builder, which creates a
hardlink to ipa.vmlinuz).

We chose the above approach rather than switching to IPA builder due to
it being a less risky change at a time close to release. A future
release of Kayobe should switch to IPA builder, but this will be a
larger effort.

[1] https://review.opendev.org/#/c/692200/1/playbooks/roles/bifrost-ironic-install/defaults/main.yml

Change-Id: I7f75c25602fd7ae4bfeb6abbdd3b42d8ee465abf
Story: 2007068
Task: 37951
fa7d29b4
History
Name Last commit Last update
..
filter_plugins
group_vars
roles
test_plugins
baremetal-compute-inspect.yml
baremetal-compute-manage.yml
baremetal-compute-provide.yml
baremetal-compute-rename.yml
baremetal-compute-serial-console-post-config.yml
baremetal-compute-serial-console.yml
bootstrap.yml
ceph-block-devices.yml
compute-node-discovery.yml
compute-node-provide.yml
container-image-build.yml
container-image-builders-check.yml
dell-compute-node-boot-mode.yml
dell-compute-node-discovery.yml
dell-compute-node-inventory.yml
dell-switch-bmp.yml
dev-tools.yml
disable-cloud-init.yml
disable-glean.yml
disable-selinux.yml
docker-devicemapper.yml
docker-registry.yml
docker.yml
drac-bios.yml
drac-boot-order.yml
drac-facts.yml
dump-config.yml
external-net.yml
host-command-run.yml
host-package-update.yml
idrac-bootstrap-one.yml
idrac-bootstrap.yml
inspection-store.yml
ip-allocation.yml
ip-routing.yml
kayobe-ansible-user.yml
kayobe-target-venv.yml
kolla-ansible.yml
kolla-bifrost-hostvars.yml
kolla-bifrost.yml
kolla-build.yml
kolla-host.yml
kolla-openstack.yml
kolla-target-venv.yml
lvm.yml
mdadm.yml
network-connectivity.yml
network.yml
ntp.yml
opensm.yml
overcloud-bios-raid.yml
overcloud-deprovision.yml
overcloud-docker-sdk-upgrade.yml
overcloud-etc-hosts-fixup.yml
overcloud-extras.yml
overcloud-grafana-configure.yml
overcloud-hardware-inspect.yml
overcloud-host-image-workaround-cloud-init.yml
overcloud-host-image-workaround-resolv.yml
overcloud-introspection-data-save.yml
overcloud-introspection-rules-dell-lldp-workaround.yml
overcloud-introspection-rules.yml
overcloud-inventory-discover.yml
overcloud-ipa-build.yml
overcloud-ipa-images.yml
overcloud-provision.yml
overcloud-service-config-save.yml
physical-network.yml
pip.yml
provision-net.yml
public-openrc.yml
seed-hypervisor-libvirt-host.yml
seed-introspection-rules.yml
seed-ipa-build.yml
seed-service-upgrade-prep.yml
seed-vm-deprovision.yml
seed-vm-provision.yml
snat.yml
ssh-known-host.yml
swift-block-devices.yml
swift-rings.yml
sysctl.yml
users.yml
wipe-disks.yml
yum.yml