<div dir="ltr">I also saw that bugzilla bug report. but my vm is ubuntu 14.04. and i also have tried to run rootwrap command manually with sudo but still no avail.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 7:03 AM, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
I suspect that's some Red Hat distro, and radvd lacks SELinux context<br>
set to allow neutron l3 agent to spawn it.<br>
<div><div class="h5"><br>
On 18/12/14 15:50, Jerry Zhao wrote:<br>
> It seems that radvd was not spawned successfully in l3-agent log:<br>
><br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: Stderr: '/usr/bin/neutron-rootwrap: Unauthorized<br>
> command: ip netns exec qrouter-6066faaa-0e35-4e7b-8988-7337c493bad7<br>
> radvd -C<br>
> /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf<br>
> -p<br>
> /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd<br>
><br>
><br>
(no filter matched)\n'<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent Traceback (most recent call last): Dec 18<br>
> 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent:<br>
> 2014-12-18 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/common/utils.py",<br>
><br>
><br>
line 341, in call<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent return func(*args, **kwargs) Dec 18<br>
> 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent:<br>
> 2014-12-18 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py",<br>
><br>
><br>
line 902, in process_router<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent self.root_helper) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/linux/ra.py",<br>
><br>
><br>
line 111, in enable_ipv6_ra<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent _spawn_radvd(router_id, radvd_conf,<br>
> router_ns, root_helper) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/linux/ra.py",<br>
><br>
><br>
line 95, in _spawn_radvd<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent radvd.enable(callback, True) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/linux/external_process.py",<br>
><br>
><br>
line 77, in enable<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent ip_wrapper.netns.execute(cmd,<br>
> addl_env=self.cmd_addl_env) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",<br>
><br>
><br>
line 554, in execute<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent check_exit_code=check_exit_code,<br>
> extra_ok_codes=extra_ok_codes) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent File<br>
> "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/neutron/agent/linux/utils.py",<br>
><br>
><br>
line 82, in execute<br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent raise RuntimeError(m) Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent RuntimeError: Dec<br>
> 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent Command: ['sudo',<br>
> '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip',<br>
> 'netns', 'exec', 'qrouter-6066faaa-0e35-4e7b-8988-7337c493bad7',<br>
> 'radvd', '-C',<br>
> '/var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf',<br>
><br>
><br>
'-p',<br>
> '/var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd']<br>
><br>
> Dec 18 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3<br>
> neutron-l3-agent: 2014-12-18 11:23:34.611 18015 TRACE<br>
> neutron.agent.l3_agent Exit code: 99 Dec 18 11:23:34<br>
> ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent: 2014-12-18<br>
> 11:23:34.611 18015 TRACE neutron.agent.l3_agent Stdout: '' Dec 18<br>
> 11:23:34 ci-overcloud-controller0-oxzkjphwfyw3 neutron-l3-agent:<br>
> 2014-12-18 11:23:34.611 18015 TRACE neutron.agent.l3_agent Stderr:<br>
> '/usr/bin/neutron-rootwrap: Unauthorized command: ip netns exec<br>
> qrouter-6066faaa-0e35-4e7b-8988-7337c493bad7 radvd -C<br>
> /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf<br>
> -p<br>
> /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd<br>
><br>
><br>
(no filter matched)\n'<br>
><br>
><br>
> On 12/18/2014 04:50 AM, Jerry Zhao wrote:<br>
>> Hi I have configured a provider flat network with ipv6 subnet in<br>
>> ra mode slaac and address mode slaac. However, when i launched a<br>
>> ubuntu trusty VM, it couldn't get the ipv6 address but ipv4 only.<br>
>> I am running the trunk code BTW. The command used are:<br>
>><br>
>> neutron net-create --provider:network_type=flat<br>
>> --provider:physical_network=datacentre --router:external=true<br>
>> provider-net neutron subnet-create --ip-version=6 --name=ipv6<br>
>> --ipv6-address-mode=slaac --ipv6-ra-mode=slaac provider-net<br>
>> 2001:470:1f0e:cb4::0/64 --allocation-pool<br>
>> start=2001:470:1f0e:cb4::20,end=2001:470:1f0e:cb4::fffe<br>
>> --gateway 2001:470:1f0e:cb4::3 neutron subnet-create<br>
>> --ip-version=4 --name=ipv4 provider-net <a href="http://162.3.122.0/24" target="_blank">162.3.122.0/24</a><br>
>> --allocation-pool start=162.3.122.4,end=162.3.122.253 neutron<br>
>> router-interface-add default-router ipv6 neutron<br>
>> router-interface-add default-router ipv4<br>
>><br>
>> The vm is reachable when i configured the ipv6 address calculated<br>
>> by neutron manually on the nic. How can i get the auto<br>
>> configuration to work on the VM? Thanks!<br>
><br>
><br>
</div></div>> _______________________________________________ OpenStack-dev<br>
> mailing list <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
<br>
iQEcBAEBCgAGBQJUkuy7AAoJEC5aWaUY1u57RLwIAKayW3wgCoyw4Qh06jRoK8Bx<br>
7qBCbTKiyi2DdjiYXEyDMZc3wnm7j1pvpikaByNCOA2ybXj8uFfnQiwsoFYRTxPD<br>
PLwvYsm+Afv3Bwaz7FSj1LKA8NmxNaz0ZxqBai/6aC17HjJyNfRxxCt2ZUG+WeP/<br>
Yj9/0jUIoOVwOGspTcAXPQ1eaFHbs2nH0afD6aX7s4/g2i7vnQgJOOLrgRuetInN<br>
oR/DtZ81XJFyN3q1hl6Pv5k6TO0sTbeECV1OwOjQ2wJwCCarTAZJbW1s7fF8LCFm<br>
0m04XGuZuWxNeSDYoamdF7a21bml1DvWJ5XHHvnblewZrK+01TUmMqAOW6KAWDo=<br>
=//1f<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div>