Comment 7 for bug 1682064

Revision history for this message
Fabian Wiesel (fabian-wiesel) wrote :

Sorry, it took so long, but those machines take forever to boot, and I have to setup the network connectivity by hand.

I still get the bug with cloud-init on 18.3 (18.3-9-g2e62cb8a-0ubuntu1~16.04.2)

I provide the data of the config-drive, as we have to setup the bond before the working network (with cloud-init init --local on startup).
The cloud-init.log has multiple boots in it. Some possibly accessing the metadata server, after I manually configured the interface. I would suggest to disregard them. The last two entries are from a boot in the configuration you were seeing.
I also removed most of our custom cloud.cfg changes so that isn't the cause of the issues.

json_pp < /mnt/openstack/latest/network_data.json
{
   "networks" : [
      {
         "type" : "ipv4_dhcp",
         "network_id" : "a7ec6c35-4e17-4e97-aa2b-0d93e56bb6c7",
         "link" : "tap2b7fcc9f-f5",
         "id" : "network0"
      }
   ],
   "services" : [],
   "links" : [
      {
         "vif_id" : "2b7fcc9f-f57d-4e34-a350-ac734423c5d4",
         "bond_links" : [
            "f1778faf-213f-4216-a5c6-31d10dc669b5",
            "e8477eaf-71b0-4855-af0c-475ccb041513",
            "a4594b9d-8e27-4b0d-a5b0-c1682c5ee1bf",
            "7094568a-9bdd-4bd9-ba20-327a7959f1a3"
         ],
         "id" : "tap2b7fcc9f-f5",
         "bond_mode" : "802.3ad",
         "mtu" : 8950,
         "ethernet_mac_address" : "24:8a:07:9a:a6:1a",
         "type" : "bond"
      },
      {
         "ethernet_mac_address" : "24:8a:07:9a:a8:42",
         "type" : "phy",
         "id" : "f1778faf-213f-4216-a5c6-31d10dc669b5"
      },
      {
         "id" : "e8477eaf-71b0-4855-af0c-475ccb041513",
         "type" : "phy",
         "ethernet_mac_address" : "24:8a:07:9a:a8:43"
      },
      {
         "ethernet_mac_address" : "24:8a:07:9a:a6:1a",
         "type" : "phy",
         "id" : "a4594b9d-8e27-4b0d-a5b0-c1682c5ee1bf"
      },
      {
         "type" : "phy",
         "ethernet_mac_address" : "24:8a:07:9a:a6:1b",
         "id" : "7094568a-9bdd-4bd9-ba20-327a7959f1a3"
      }
   ]
}