Comment 1 for bug 1791238

Revision history for this message
Harald Jensås (harald-jensas) wrote :

Restarting the keepalived container make the VIP's re-apper:

[root@container-undercloud mysql]# docker container list | grep keepalived
bfe1c1cd76e3 docker.io/tripleomaster/centos-binary-keepalived:9ad93affedba8870315dd72c714770875ce24759_b72f0c42 "/usr/local/bin/ko..." 12 hours ago Up 7 minutes keepalived

[root@container-undercloud ~]# docker container restart bfe1c1cd76e3
bfe1c1cd76e3

[root@container-undercloud ~]# ip addr show br-ctlplane
47: br-ctlplane: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 52:54:00:7a:f6:c5 brd ff:ff:ff:ff:ff:ff
    inet 172.20.0.200/26 brd 172.20.0.255 scope global br-ctlplane
       valid_lft forever preferred_lft forever
    inet 172.20.0.201/32 scope global br-ctlplane
       valid_lft forever preferred_lft forever
    inet 172.20.0.203/32 scope global br-ctlplane
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe7a:f6c5/64 scope link
       valid_lft forever preferred_lft forever

Once the VIP's are back up TASK [Start containers for step 3] completes and the undercloud install compltes successfully.

NOTE: If we had a recent enough keepalived we could probably have enabled the ``dynamic_interfaces`` option. But this is not implemented in the version used.

  """# Allow configuration to include interfaces that don't exist at startup.
           # This allows keepalived to work with interfaces that may be deleted and restored
           # and also allows virtual and static routes and rules on VMAC interfaces.
           dynamic_interfaces
  """