Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2014-03-02 12:44:48 -0500

dubi gravatar image

RDO --allinone neutron dhcp issue

I have this on 2 fedora 19 system . Did not try on fedora 20

I install by: packstack --allinone . The installation is finished ok - no problems . the system has one NIC with external IP; the ifocnfig shows also : br-ext, br-int, qg-.., qr-.. The dahsboard show 2 networks generated : one public and one private (10.0.0.0)

I can generate VMs . But they do not get an IP intrnally althought the Openstack assigns them address from the private net 10.0.0.0.

The /var/log/neutron/dhcp-agent.log shows repeated an error :

2014-03-02 20:28:37.373 9886 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 285574fc-629e-41e2-a0ec-abc763846e15.

....

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 62, in execute

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent RuntimeError:

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron /rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-285574fc-629e-41e2-a0ec-abc763846e15']

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns failed: Permission denied\n'

Who is the linux user running this code ? Assuming it is 'neutron' I made him sudoer (by adding to /etc/sudoers) but that did not help

Also checked that if I make 'neutron' a login user + sudoer , I can do the 'mount --make -shared' from Linux command line as 'neutron' user ! so maybe another user is running this code and fails or else ...

I have this problem consistent (--allinone) on more than one system

RDO --allinone neutron dhcp issue

I have this on 2 fedora 19 system . Did not try on fedora 20

I install by: packstack --allinone . The installation is finished ok - no problems . the system has one NIC with external IP; the ifocnfig shows also : br-ext, br-int, qg-.., qr-.. The dahsboard show 2 networks generated : one public and one private (10.0.0.0)

I can generate VMs . But they do not get an IP intrnally althought the Openstack assigns them address from the private net 10.0.0.0.

The /var/log/neutron/dhcp-agent.log shows repeated an error :

2014-03-02 20:28:37.373 9886 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 285574fc-629e-41e2-a0ec-abc763846e15.

....

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 62, in execute

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent RuntimeError:

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron /rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-285574fc-629e-41e2-a0ec-abc763846e15']

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns failed: Permission denied\n'

Who is the linux user running this code ? Assuming it is 'neutron' I made him sudoer (by adding to /etc/sudoers) but that did not help

Also checked that if I make 'neutron' a login user + sudoer , I can do the 'mount --make -shared' from Linux command line as 'neutron' user ! so maybe
Itried
another user is running 'nova' . Did not work eihe . What user can it hat runs this piece of code and fails or else ...?

I have this problem consistent (--allinone) on more than one system

RDO --allinone neutron dhcp issue

I have this on 2 fedora 19 system . Did not try on fedora 20

I install by: packstack --allinone . The installation is finished ok - no problems . the system has one NIC with external IP; the ifocnfig shows also : br-ext, br-int, qg-.., qr-.. The dahsboard show 2 networks generated : one public and one private (10.0.0.0)

I can generate VMs . But they do not get an IP intrnally althought the Openstack assigns them address from the private net 10.0.0.0.

The /var/log/neutron/dhcp-agent.log shows repeated an error :

2014-03-02 20:28:37.373 9886 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 285574fc-629e-41e2-a0ec-abc763846e15.

....

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 62, in execute

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent RuntimeError:

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron /rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-285574fc-629e-41e2-a0ec-abc763846e15']

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Exit code: 255

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stdout: ''

2014-03-02 20:28:37.373 9886 TRACE neutron.agent.dhcp_agent Stderr: 'mount --make-shared /var/run/netns failed: Permission denied\n'

Who is the linux user running this code ? Assuming it is 'neutron' I made him sudoer (by adding to /etc/sudoers) but that did not help

Also checked that if I make 'neutron' a login user + sudoer , I can do the 'mount --make -shared' from Linux command line as 'neutron' user !
Itried another user 'nova' . Did not work eihe . What user can it hat be that runs this piece of code ?

I have this problem consistent (--allinone) on more than one system