<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p>what is a recommended way to install the nova-lxd plugin?</p>
    <p>I deployed OpenStack Queens (and Pike out of curiosity) at Ubuntu
      16.04 (since Ubuntu 18.04 haven't been supported by Queens
      officially yet) with LXD 3.4 by devstack local.conf from <a
        class="moz-txt-link-freetext"
href="https://github.com/openstack/nova-lxd/blob/master/devstack/local.conf.sample">https://github.com/openstack/nova-lxd/blob/master/devstack/local.conf.sample</a>. 
      I have found out two ways how to install the nova-lxd plugin:</p>
    <ol>
      <li><b>allowing the nova-lxd plugin during installation</b> (by
        including a following line enable_plugin nova-lxd <a
          class="moz-txt-link-freetext"
          href="https://git.openstack.org/openstack/nova-lxd">https://git.openstack.org/openstack/nova-lxd</a>
        into a devstack local.conf). However, this line causes a
        following compilation error:<br>
        <br>
        <i>ERROR:root:Error parsing TypeError: super() argument 1 must
          be type, not None</i><i><br>
        </i><i>    error in setup command: Error parsing
          /tmp/pip-build-Sksse4/pylxd/setup.cfg: TypeError: super()
          argument 1 must be type, not None</i><i><br>
        </i><i>Command "python setup.py egg_info" failed with error code
          1 in /tmp/pip-build-Sksse4/pylxd/</i><i><br>
        </i><br>
      </li>
      <li><b>through cloud-archive repo.</b> Since, I am not able to see
        nova-lxd package directly (I tried many repos, but each of
        attempts ended up with the same result). Thus, I installed
        following packages: nova-compute-lxd, python-nova-lxd, and
        python-nova.lxd. However, this causes two types of errors:<br>
        <ul>
          <li>OpenStack Pike -> series of serious errors in the <b>horizon
              module</b>. The web interface isn't able to connect to the
            other modules properly. I got following errors:<i><br>
              <br>
              Error: Unable to retrieve the extensions.<br>
            </i>
            <div class="ng-binding"><i><span class="ng-binding">Error: </span></i><i>Unable
                to retrieve the extensions.</i></div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the extensions.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the extensions.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the extensions.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the flavours.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the limits.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the availability
                    zones.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the keypairs.</i></div>
              </div>
            </div>
            <div class="ng-scope">
              <div class="alert alert-danger"> <i><a class="close"><span
                      class="fa fa-times"></span></a></i>
                <div class="ng-binding"><i><span class="ng-binding">Error:
                    </span></i><i>Unable to retrieve the extensions.</i></div>
              </div>
            </div>
            <i> </i>
            <div class="alert alert-danger alert-dismissable fade in"><i>
              </i><i><a class="close" data-dismiss="alert"
                  href="http://147.213.65.122/dashboard/project/instances/#">
                  <span class="fa fa-times"></span></a></i><i>Error: </i><i>Unable
                to retrieve instances.<br>
                .....<br>
                <br>
              </i></div>
          </li>
          <li>
            <div class="alert alert-danger alert-dismissable fade in">OpenStack
              Queens -> In another case the <b>keystone module</b>
              was undiscovered:<i><br>
                <br>
                Failed to discover available identity versions when
                contacting <a class="moz-txt-link-freetext"
                  href="http://127.0.0.1/identity/v3">http://127.0.0.1/identity/v3</a>.
                Attempting to parse version from URL.</i><i><br>
                Could not determine a suitable URL for the plugin</i><br>
            </div>
          </li>
        </ul>
      </li>
    </ol>
    <p>Also installations from devstack are pointing on a bad repo
      branch by default (Pika installation on Octa repo, Queens
      installation on Pika repo).<br>
    </p>
    <p>Thank you for any help,<br>
      Martin<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
 Martin Bobák, PhD.
 Researcher
 Institute of Informatics
 Slovak Academy of Sciences
 Dubravska cesta 9, SK-845 07 Bratislava, Slovakia
 Room: 311, Phone: +421 (0)2 5941-1278
 E-mail: <a class="moz-txt-link-abbreviated" href="mailto:martin.bobak@savba.sk">martin.bobak@savba.sk</a>
 URL: <a class="moz-txt-link-freetext" href="http://www.ui.sav.sk/w/odd/pdip/">http://www.ui.sav.sk/w/odd/pdip/</a>
 LinkedIn: <a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/martin-bobak/">https://www.linkedin.com/in/martin-bobak/</a></pre>
  </body>
</html>