Comment 5 for bug 1910369

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

# deployed bionic-train with octavia `tox -e func-target bionic-train-ha`

juju ssh octavia-diskimage-retrofit/0
# the right elements are present on the octavia-diskimage-retrofit unit
$ sudo ls -1 /snap/octavia-diskimage-retrofit/current/usr/local/lib/elements/
amphora-agent
bug1895835
certs-ramfs
debian-networking
growrootfs
haproxy-octavia
ipvsadmin
keepalived-octavia
no-resolvconf
rebind-sshd
remove-sshd
root-passwd
sos
tuning
ubuntu-amphora-agent
ubuntu-archive
ubuntu-cloud-archive
ubuntu-ppa

# saved the image generated by the functional test
openstack image save --file /tmp/amphora-haproxy-x86_64-ubuntu-18.04-20210325 amphora-haproxy-x86_64-ubuntu-18.04-20210325
sudo guestmount -a /tmp/amphora-haproxy-x86_64-ubuntu-18.04-20210325 -i --ro /mnt/amphora

# ipvsadm and keepalived are present on the filesystem of the retrofitted image

find /mnt/amphora -name '*ipvsadm*'
/mnt/amphora/etc/rc2.d/S01ipvsadm
/mnt/amphora/etc/rc5.d/S01ipvsadm
/mnt/amphora/etc/rc0.d/K01ipvsadm
/mnt/amphora/etc/rc4.d/S01ipvsadm
/mnt/amphora/etc/rc3.d/S01ipvsadm
/mnt/amphora/etc/rc1.d/K01ipvsadm
/mnt/amphora/etc/default/ipvsadm
/mnt/amphora/etc/rc6.d/K01ipvsadm
/mnt/amphora/etc/ipvsadm.rules
/mnt/amphora/etc/init.d/ipvsadm
/mnt/amphora/var/lib/dpkg/info/ipvsadm.md5sums
/mnt/amphora/var/lib/dpkg/info/ipvsadm.postrm
/mnt/amphora/var/lib/dpkg/info/ipvsadm.list
/mnt/amphora/var/lib/dpkg/info/ipvsadm.conffiles
/mnt/amphora/var/lib/dpkg/info/ipvsadm.prerm
/mnt/amphora/var/lib/dpkg/info/ipvsadm.postinst
/mnt/amphora/sbin/ipvsadm-restore
/mnt/amphora/sbin/ipvsadm-save
/mnt/amphora/sbin/ipvsadm

find /mnt/amphora -name '*keepalived*'
/mnt/amphora/etc/rc2.d/S01keepalived
/mnt/amphora/etc/rc5.d/S01keepalived
/mnt/amphora/etc/rc0.d/K01keepalived
/mnt/amphora/etc/rc4.d/S01keepalived
/mnt/amphora/etc/rc3.d/S01keepalived
/mnt/amphora/etc/rc1.d/K01keepalived
/mnt/amphora/etc/systemd/system/multi-user.target.wants/keepalived.service
/mnt/amphora/etc/dbus-1/system.d/org.keepalived.Vrrp1.conf
/mnt/amphora/etc/default/keepalived
/mnt/amphora/etc/rc6.d/K01keepalived
/mnt/amphora/etc/keepalived
/mnt/amphora/etc/init.d/keepalived
/mnt/amphora/var/lib/dpkg/info/keepalived.postrm
/mnt/amphora/var/lib/dpkg/info/keepalived.conffiles
/mnt/amphora/var/lib/dpkg/info/keepalived.md5sums
/mnt/amphora/var/lib/dpkg/info/keepalived.list
/mnt/amphora/var/lib/dpkg/info/keepalived.prerm
/mnt/amphora/var/lib/dpkg/info/keepalived.postinst
/mnt/amphora/var/lib/systemd/deb-systemd-helper-enabled/keepalived.service.dsh-also
/mnt/amphora/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/keepalived.service