← Back to team overview

openstack team mailing list archive

Re: netns help

 

Hi Paras,

If your goal is to delete namespaces, have you tried the
quantum-netns-cleanup utility?

If the quantum network 20554b0b-dc5f-48c5-87fa-47b90dc9242f and the
quantum router 39d5fa21-c604-4d3b-a37b-90457c9b11fe have not beed
deleted it's unlikely however the namespaces will be deleted. The
presence of the qdhcp namespace does not necessarily imply the dhcp
server is running.

If yes, you'll see its interface in the namespace:

ip netns exec qdhcp-20554b0b-dc5f-48c5-87fa-47b90dc9242f ip link show

Regards,
Salvatore

On 1 February 2013 16:38, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
> No, that does not work.
>
>
> Cannot remove /var/run/netns/qdhcp-20554b0b-dc5f-48c5-87fa-47b90dc9242f:
> Device or resource busy
>
> Thanks
> Paras.
>
> On Fri, Feb 1, 2013 at 2:41 AM, Endre Karlson <endre.karlson@xxxxxxxxx> wrote:
>> ip netns del <NS>  i believe
>>
>> Den 1. feb. 2013 00:44 skrev "Paras pradhan" <pradhanparas@xxxxxxxxx>
>> følgende:
>>>
>>> Hi all,
>>>
>>> How does one delete netns?
>>>
>>> I followed the following link to create requited net,subnet, router in
>>> which dhcp is disabled
>>>
>>>
>>> https://raw.github.com/EmilienM/openstack-folsom-guide/master/scripts/quantum-networking.sh
>>>
>>> but I still see as :
>>>
>>> root@folsom-network:~# ip netns
>>> qrouter-39d5fa21-c604-4d3b-a37b-90457c9b11fe
>>> qdhcp-20554b0b-dc5f-48c5-87fa-47b90dc9242f
>>>
>>> Does this mean dhcp is still being active?
>>>
>>> Thanks
>>> Paras.
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


References