Hi Nasir, I can run mount --make-rslave / command from bash successfully. Would you mind please guide me more?
On 8 October 2015 at 22:34, Nasir Mahmood <nasir.mahm...@gmail.com> wrote: > My apologies Reza, I read it be a neutron messed up with sudo, but it > looks that the namespace enabled mounting is not working which is causing > your commands to fail. Can you please re run the mount --make-rslave / > command ... I'll have to read all that documentation for you which I can't > do now, > On 8 Oct 2015 20:42, "Reza Bakhshayeshi" <reza.b2...@gmail.com> wrote: > >> Hi Nasir, >> >> Thanks for your reply. >> I can run the following command from bash successfully: >> >> sudo -u neutron bash -c 'sudo nova-rootwrap /etc/nova/rootwrap.conf ip >> netns exec 221bd74f7522b3eb169eff5388bc5bf6feb1388c319b61102750cdf269f223e3 >> ip link set ns466bfc41-a9 address fa:16:3e:de:aa:9f' >> >> Is this what you mean? >> >> Regards, >> Reza >> >> On 8 October 2015 at 10:06, Nasir Mahmood <nasir.mahm...@gmail.com> >> wrote: >> >>> Reza, >>> >>> Looks like your sudo commands are failing due to improper sudo settings >>> for neutron... Try running some sample commands by neutron user and verify >>> the status. Thanks >>> On 8 Oct 2015 09:01, "Reza Bakhshayeshi" <reza.b2...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I'm trying to setup nova-docker with neutron on Kilo, >>>> but I receive the following error in nova-compute.log >>>> While instance seems to be created successfully, I can't ping or ssh to >>>> container. >>>> >>>> 2015-01-07 22:39:02.514 60733 ERROR novadocker.virt.docker.vifs [-] >>>> Failed to attach vif >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> Traceback (most recent call last): >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs File >>>> "/usr/lib/python2.7/site-packages/novadocker/virt/docker/vifs.py", line >>>> 420, in attach >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> run_as_root=True) >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs File >>>> "/usr/lib/python2.7/site-packages/nova/utils.py", line 206, in execute >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> return processutils.execute(*cmd, **kwargs) >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs File >>>> "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line >>>> 233, in execute >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> cmd=sanitized_cmd) >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> ProcessExecutionError: Unexpected error while running command. >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> Command: sudo nova-rootwrap /etc/nova/rootwrap.conf ip netns exec >>>> fd607634a98b5fbfc53c5d7e11c92ef6de3a24cda5b1d8f59e5b56908348c02f ip link >>>> set nsf6d79c91-bc address fa:16:3e:4a:57:36 >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Exit >>>> code: 1 >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Stdout: >>>> u'' >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Stderr: >>>> u'"mount --make-rslave /" failed: Permission denied\n' >>>> 2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs >>>> >>>> any suggestion would be helpful. >>>> >>>> Regards, >>>> Reza >>>> >>>> _______________________________________________ >>>> Mailing list: >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>>> Post to : openstack@lists.openstack.org >>>> Unsubscribe : >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>>> >>>> >>
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack