[lxc-users] LXD Openstack

gustavo panizzo (gfa) gfa at zumbi.com.ar
Fri Jun 26 07:00:22 UTC 2015


you can configure openvswitch to drop the pkts if the mac address and/or
ip does not match. or you can use an SDN controller which will do it for
you

http://openvswitch.org/pipermail/discuss/2011-May/005112.html for an
example how to do it manually


On 2015-06-26 06:12, Frederico Araujo wrote:
> Hi,
> 
> I'm trying to get devstack to work with n-c-lxd, but I keep getting the
> infamous error "No valid host was found. There are not enough hosts
> available." when I try to launch a new instance from a vivid image I
> uploaded to glance.
> 
> I'm running devstack on a VM with Vivid and followed the instructions on
> your introduction to nova-compute-lxd:
> 
> 1. git cloned devstack to /opt/stack/
> 2. git cloned nova-compute-lxd to /opt/stack/
> 3. git cloned pylxd to /opt/stack/ (note: the git repository set in
> nova-compute-lxd is timing out during stack.sh) 
> 4. run /opt/stack/nova-compute-lxd/contrib/devstack/prepare_devstack.sh
> 5. run ./stack.sh
> 
> Up to this point, everything looks good, and I get devstack up and
> running. I then uploaded to glance the following image:
> 
> 6. wget -O vivid-server-cloudimg-amd64-root.tar.gz
> https://cloud-images.ubuntu.com/vivid/current/
> vivid-server-cloudimg-amd64-root.tar.gz
> 7. glance --os-username=admin --os-password=nova --os-tenant-name=admin
> --os-auth-url=http://<my ip>:35357/v2.0 image-create --name='lxc'
> --container-format=bare --disk-format=raw <
> vivid-server-cloudimg-amd64-root.tar.gz
> 
> And finally, I launch an instance with this image, but it fails with the
> error message above. Any ideas about what I'm doing wrong? I'm fairly
> experienced with lxc and containers in general, but I'm completely new
> to openstack. So, please bear with me ;)
> 
> Thanks!
> Fred
> 
> 
> 
> 
> 
> On Tue, May 5, 2015 at 1:29 PM, Chuck Short <chuck.short at canonical.com
> <mailto:chuck.short at canonical.com>> wrote:
> 
>     Hi
> 
>     On Tue, May 5, 2015 at 1:09 AM, Alvaro Miranda <kikitux at gmail.com
>     <mailto:kikitux at gmail.com>> wrote:
> 
>         Hello,
> 
>         Anything?
> 
> 
>     Sorry for the delay:
> 
>     https://zulcss.wordpress.com/2015/05/01/introduction-to-nova-compute-lxd/
> 
>     If you have any questions please let me know.
> 
> 
>         Thanks !
> 
> 
> 
> 
>         > On 29/04/2015, at 19:23, Serge Hallyn <serge.hallyn at ubuntu.com
>         <mailto:serge.hallyn at ubuntu.com>> wrote:
>         >
>         > Quoting Alvaro Miranda Aguilera (kikitux at gmail.com
>         <mailto:kikitux at gmail.com>):
>         >> Hello,
>         >>
>         >> Can anyone point me in a guide I can use and end with
>         OpenStack using LXD?
>         >>
>         >> I did look over the web, and wasn't able to find anything
>         like a guide
>         >> or howto, so I am asking here in case someone has done and
>         can give an
>         >> idea where to look
>         >
>         > Hi,
>         >
>         > I'm told there will be something by the end of the week.
>         > _______________________________________________
>         > lxc-users mailing list
>         > lxc-users at lists.linuxcontainers.org
>         <mailto:lxc-users at lists.linuxcontainers.org>
>         > http://lists.linuxcontainers.org/listinfo/lxc-users
>         _______________________________________________
>         lxc-users mailing list
>         lxc-users at lists.linuxcontainers.org
>         <mailto:lxc-users at lists.linuxcontainers.org>
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> 
> 
>     _______________________________________________
>     lxc-users mailing list
>     lxc-users at lists.linuxcontainers.org
>     <mailto:lxc-users at lists.linuxcontainers.org>
>     http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> 
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa


More information about the lxc-users mailing list