<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Droid Serif">I'm trying to get OpenStack setup with
      nova-compute-lxd and having problems with the networking portions.
      Wondering if anybody has run into this problem before. All my
      servers run Ubuntu 16.04. On my compute node I have
      nova-compute-lxd 15.0.2 installed and lxd version 3.0.1 installed
      (not sure this one matters):<br>
      <br>
      <font face="Droid Sans Mono">    root@bllcloudcmp02:~# dpkg -l |
        grep lxd<br>
            ii  lxd                              
        3.0.1-0ubuntu1~16.04.4                     amd64       
        Container hypervisor based on LXC - daemon<br>
            ii  lxd-client                       
        3.0.1-0ubuntu1~16.04.4                     amd64       
        Container hypervisor based on LXC - client<br>
            ii  nova-compute-lxd                 
        15.0.2-0ubuntu1~cloud0                     all         
        Openstack Compute - LXD container hypervisor support<br>
            ii  python-nova-lxd                  
        15.0.2-0ubuntu1~cloud0                     all         
        OpenStack Compute Python libraries - LXD driver<br>
            ii  python-pylxd                     
        2.2.4-0ubuntu0.17.04.1~cloud0              all          Python
        library for interacting with LXD REST API</font><br>
      <br>
      Everything from OpenStack appears to be operational:<br>
      <font face="Droid Sans Mono"><br>
            root@bllcloudctl02:~# openstack compute service list<br>
      </font></font><font face="Droid Sans Mono">   
+----+------------------+---------------+----------+---------+-------+----------------------------+<br>
          | ID | Binary           | Host          | Zone     | Status  |
      State | Updated At                 |<br>
         
+----+------------------+---------------+----------+---------+-------+----------------------------+<br>
          |  3 | nova-conductor   | bllcloudapi02 | internal | enabled |
      up    | 2018-08-14T00:52:31.000000 |<br>
          |  5 | nova-scheduler   | bllcloudapi02 | internal | enabled |
      up    | 2018-08-14T00:52:32.000000 |<br>
          |  6 | nova-consoleauth | bllcloudapi02 | internal | enabled |
      up    | 2018-08-14T00:52:34.000000 |<br>
          |  7 | nova-compute     | bllcloudcmp02 | nova     | enabled |
      up    | 2018-08-14T00:52:31.000000 |<br>
         
+----+------------------+---------------+----------+---------+-------+----------------------------+<br>
          root@bllcloudctl02:~# openstack network agent list<br>
         
+--------------------------------------+--------------------+---------------+-------------------+-------+-------+---------------------------+<br>
          | ID                                   | Agent Type         |
      Host          | Availability Zone | Alive | State |
      Binary                    |<br>
         
+--------------------------------------+--------------------+---------------+-------------------+-------+-------+---------------------------+<br>
          | 2e0e53b1-7c99-4acb-ac69-79c3bd9aed12 | DHCP agent         |
      bllcloudnet02 | nova              | True  | UP    |
      neutron-dhcp-agent        |<br>
          | 86f9449f-1d85-4b80-9a4e-5c35b198f695 | Metadata agent     |
      bllcloudnet02 | None              | True  | UP    |
      neutron-metadata-agent    |<br>
          | c8a6fc41-9f93-4ca8-a222-83b12baada8f | Linux bridge agent |
      bllcloudnet02 | None              | True  | UP    |
      neutron-linuxbridge-agent |<br>
          | cc4073ce-664a-4046-aac1-8c0f1bfeee94 | Linux bridge agent |
      bllcloudcmp02 | None              | True  | UP    |
      neutron-linuxbridge-agent |<br>
          | dca89565-7d65-49d6-8d26-60c7fc075d86 | L3 agent           |
      bllcloudnet02 | nova              | True  | UP    |
      neutron-l3-agent          |<br>
    </font><font face="Droid Serif"><font face="Droid Sans Mono">   
+--------------------------------------+--------------------+---------------+-------------------+-------+-------+---------------------------+</font><br>
      <br>
      When I try to start a server I get the following in the nova log
      (some text removed for readability):<br>
      <br>
      <font face="Droid Sans Mono">    INFO nova.scheduler.client.report
        [...] Submitted allocation for instance<br>
      </font></font><font face="Droid Sans Mono">    INFO os_vif [...]
      Successfully plugged vif
VIFBridge(active=False,address=fa:16:3e:5b:d1:28,bridge_name='brqd03aa728-2e',has_traffic_filtering=True,id=7758ba79-b165-4883-95d8-83d39316f4bb,network=Network(d03aa728-2e48-4f99-8ba3-017559cd0890),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tap7758ba79-b1')<br>
    </font><font face="Droid Serif"><font face="Droid Sans Mono">   
        WARNING nova.virt.lxd.driver [...] Timeout waiting for vif
        plugging callback for instance instance-00000015</font><br>
      <br>
      This ultimately results in an error and the container not being
      created because I have the vif_plugging_is_fatal set to true (the
      default). I haven't been able to figure out why the container
      never gets a response after the vif interface is created. If I set
      vif_plugging_is_fatal to false the container gets created, but I
      can't ping the IP address that gets assigned to it. Any help would
      be appreciated.<br>
      <br>
      Thanks,<br>
      Joshua Schaeffer<br>
    </font>
  </body>
</html>