[lxc-users] Nova-lxd plugin installation

Martin Bobák martin.bobak at savba.sk
Mon Oct 22 12:03:50 UTC 2018


Hi Alex,

UPDATE about the nova-lxd plugin issue:

Meanwhile, I fixed the issue in the following way. You are right about 
post-configuration of the plugin. However, DevStack installation of 
OpenStack requires the configuration of nova-compute not by the 
nova.conf file, but by the nova-cpu.conf file. Everything works fine 
after adding the lines (for the nova plugin configuration) into the file 
nova-cpu.conf.

Thank you very much for the help.

Best,
Martin.

On 5. 10. 2018 16:16, Martin Bobák wrote:
>
> Hi Alex,
>
> meanwhile I tested the plugin with different configurations. I got 
> following results (Charms create 1st configuration):
>
> "Global configuration"
> PyLXD is pre-installed from GitHub however, it is downgraded from 
> version 2.2.8.dev21 to version 2.2.7 during a plugin 
> installation/configuration.
> Nova-lxd is installed during OpenStack installation/configuration from 
> a dedicated stable branch.
> The installation script of devstack used Python 2.7 and pip 9.0.3
>
> Nova-lxd version:
>     OpenStack Queens:    17.0.1 (stable/queens)
>     OpenStack Rocky:       18.0.0 (stable/rocky), 18.0.0.0rc2.dev1 
> (master -> used for zfs with LXD/LXC 3.0.1)
>
> --------------------------------------------------------------------------------------------------------------------------------------------------
> Host OS            OpenStack    LXD/LXC        Storage type    
> Nova-lxd Recognized    Notes
> --------------------------------------------------------------------------------------------------------------------------------------------------
> Ubuntu 16.04.5 LST    Queens        2.0.11        Dir Yes        
> Volume attachment error
> Ubuntu 16.04.5 LST    Queens        2.0.11        zfs Yes        
> Volume attachment error
> ___________________________________________________________________________________________
> Ubuntu 16.04.5 LST    Queens        3.0.1        zfs No (couldn't find 
> the lxd storage from its zpool)
> Ubuntu 16.04.5 LST    Queens        3.0.1        btrfs     Yes        
> VM creation error
> Ubuntu 16.04.5 LST    Queens        3.0.1        dir Yes        VM 
> creation error
> Ubuntu 16.04.5 LST    Queens        3.0.1        lvm (without thin)    
> Yes        VM creation error
> ___________________________________________________________________________________________
> Ubuntu 16.04.5 LST    Rocky        2.0.11        Dir Yes        Volume 
> attachment error
> Ubuntu 16.04.5 LST    Rocky        2.0.11        zfs        No -> 
> zpool list -o size -H -p lxd ---> invalid option 'p'!!!
> Ubuntu 16.04.5 LST    Rocky        3.0.1          zfs     No (couldn't 
> find the lxd storage from its zpool)
> Ubuntu 16.04.5 LST    Rocky        3.0.1          btrfs     Yes        
> VM creation error
> ___________________________________________________________________________________________
>
> Ubuntu 18.04.1 LTS    Rocky        3.0.1        btrfs     Yes        
> VM creation error
> Ubuntu 18.04.1 LTS    Rocky        3.0.1        zfs No (couldn't find 
> the lxd storage from its zpool)
> ___________________________________________________________________________________________
> Ubuntu (both versions)    both        Snap version    LXD/LXC isn't 
> recognized by OpenStack devstack installation script/nova-lxd
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
> Does it correlate with the reality, or am I missing something? Is 
> there a possibility to get LXD 3.X into OpenStack?
>
> Also, I have following questions:
>
>   * How do you recommend to install the plugin into running OpenStack
>     installation?
>   * What is needed to be done after plugin modification?
>   * How could I verify a correctness of the path to the driver (the
>     installation sets it up to driver.LXDDRiver)
>   * How could I upgrade nova-lxd plugin (since it is installed by pip,
>     the maintenance isn't handled automatically)?
>
> Best,
> Martin.
>
> -- 
>   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:martin.bobak at savba.sk
>   URL:http://www.ui.sav.sk/w/odd/pdip/
>   LinkedIn:https://www.linkedin.com/in/martin-bobak/
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
  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: martin.bobak at savba.sk
  URL: http://www.ui.sav.sk/w/odd/pdip/
  LinkedIn: https://www.linkedin.com/in/martin-bobak/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20181022/709f1c1e/attachment.html>


More information about the lxc-users mailing list