[lxc-users] OpenStack instances can't access LAN or internet when using LXD

Muneeb Ahmad muneeb.gandapur at gmail.com
Mon May 30 21:06:18 UTC 2016


Hi Paul,
I managed to solve the issue. I checked br-ex settings by 'sudo ovs-vsctl
show' and noticed that there wasn't any port for my interface in br-ex so I
just did the 'sudo ovs-vsctl add-port br-ex <my interface name>'.
I can now ping 8.8.8.8 and the gateway from inside the instance. But can't
ping any other devices on the LAN, not sure why yet.
Thanks,
Muneeb

On Tue, May 31, 2016 at 12:55 AM, Muneeb Ahmad <muneeb.gandapur at gmail.com>
wrote:

> Yes the configuration I'm using is similar with a few more additions like
> q-l3. And some information about floating and private ips. Thank you for
> your response.
>
>
> On Tue, May 31, 2016 at 12:38 AM, Paul Hummer <paul.hummer at canonical.com>
> wrote:
>
>> Hi Muneeb-
>>
>>   Chuck landed a patch recently in the master branch of nova-lxd with
>> some extra default configuration options in devstack related to neutron.
>> It can be found here:
>>
>> https://github.com/lxc/nova-lxd/blob/master/devstack/local.conf.sample
>>
>>   Are you using similar configuration options?
>>
>> Cheers,
>> Paul
>>
>> On Mon, May 30, 2016 at 11:48 AM, Muneeb Ahmad <muneeb.gandapur at gmail.com
>> > wrote:
>>
>>> Hi Paul,
>>>
>>> Thank you for your response. Yes I'm using the devstack method. I'm
>>> using the default services along with neutron. No Ping response between
>>> host network and OpenStack router external gateway. LXD works perfectly
>>> fine alone.
>>>
>>> Regards,
>>> Muneeb
>>>
>>> On Mon, May 30, 2016 at 8:02 PM, Paul Hummer <paul.hummer at canonical.com>
>>> wrote:
>>>
>>>> Hi Muneeb-
>>>>
>>>> On Mon, May 30, 2016 at 6:20 AM, Muneeb Ahmad <
>>>> muneeb.gandapur at gmail.com> wrote:
>>>>>
>>>>> I have installed OpenStack Mitaka (all in one) in ubuntu 16.04. I'm
>>>>> using LXD as a hypervisor using nova-lxd. Everything is working fine, I can
>>>>> login to dashboard, launch instances successfully. I assigned floating IPs
>>>>> to them too and 'nova list' shows they are assigned to the instances. 'lxc
>>>>> list' shows only private ip assigned. The problem is I can't access
>>>>> internet or even the LAN while inside that instance. Any help?
>>>>>
>>>>
>>>> I've seen similar issues with devstack currently, and we're looking to
>>>> address them. Is that how you're installing OpenStack? If not, we may need
>>>> to dig a little deeper into your configuration. How did you install
>>>> OpenStack? How did you configure LXD as the hypervisor? What OpenStack
>>>> services are you using?
>>>>
>>>> Cheers,
>>>> Paul
>>>>
>>>> _______________________________________________
>>>> lxc-users mailing list
>>>> 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
>>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160531/ccebfc4f/attachment.html>


More information about the lxc-users mailing list