<p dir="ltr">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,  </p>
<div class="gmail_quote">On 8 Oct 2015 20:42, "Reza Bakhshayeshi" <<a href="mailto:reza.b2008@gmail.com">reza.b2008@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Hi Nasir,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Thanks for your reply.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">I can run the following command from bash successfully:<br><br>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'<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Is this what you mean?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Regards,<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Reza<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 October 2015 at 10:06, Nasir Mahmood <span dir="ltr"><<a href="mailto:nasir.mahmood@gmail.com" target="_blank">nasir.mahmood@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Reza,</p>
<p dir="ltr">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</p>
<div class="gmail_quote"><div><div>On 8 Oct 2015 09:01, "Reza Bakhshayeshi" <<a href="mailto:reza.b2008@gmail.com" target="_blank">reza.b2008@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Hi,<br><br>I'm trying to setup nova-docker with neutron on Kilo,<br>but I receive the following error in nova-compute.log<br>While instance seems to be created successfully, I can't ping or ssh to container.<br><br>2015-01-07 22:39:02.514 60733 ERROR novadocker.virt.docker.vifs [-] Failed to attach vif<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Traceback (most recent call last):<br>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<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs     run_as_root=True)<br>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<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs     return processutils.execute(*cmd, **kwargs)<br>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<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs     cmd=sanitized_cmd)<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs ProcessExecutionError: Unexpected error while running command.<br>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<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Exit code: 1<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Stdout: u''<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs Stderr: u'"mount --make-rslave /" failed: Permission denied\n'<br>2015-01-07 22:39:02.514 60733 TRACE novadocker.virt.docker.vifs<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">any suggestion would be helpful.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Regards,<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Reza<br></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</blockquote></div>