Ask Your Question

Revision history [back]

Writing here for space and formatting issues... it is a comment!

Ok, now I see this error:

[root@juno61-60-controller log]# service neutron-dhcp-agent status
Redirecting to /bin/systemctl status  neutron-dhcp-agent.service
neutron-dhcp-agent.service - OpenStack Neutron DHCP Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-dhcp-agent.service; enabled)
   Active: active (running) since Tue 2014-12-09 11:41:38 CET; 12min ago
 Main PID: 4390 (neutron-dhcp-ag)
   CGroup: /system.slice/neutron-dhcp-agent.service
           └─4390 /usr/bin/python /usr/bin/neutron-dhcp-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf -...

Dec 09 11:53:07 juno61-60-controller.cselt.it sudo[7658]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: FAILED to start up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7760]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...b-47 up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7763]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro... global
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7766]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...pe link
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7769]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...f7ab-47
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7772]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: FAILED to start up
Hint: Some lines were ellipsized, use -l to show in full.

Also tried setting:

[root@juno61-60-controller log]# chmod 777 /var/log/neutron/

Nothing change...

Writing here for space and formatting issues... it is a comment!

Ok, now I see this error:

[root@juno61-60-controller log]# service neutron-dhcp-agent status
Redirecting to /bin/systemctl status  neutron-dhcp-agent.service
neutron-dhcp-agent.service - OpenStack Neutron DHCP Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-dhcp-agent.service; enabled)
   Active: active (running) since Tue 2014-12-09 11:41:38 CET; 12min ago
 Main PID: 4390 (neutron-dhcp-ag)
   CGroup: /system.slice/neutron-dhcp-agent.service
           └─4390 /usr/bin/python /usr/bin/neutron-dhcp-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf -...

Dec 09 11:53:07 juno61-60-controller.cselt.it sudo[7658]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: FAILED to start up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7760]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...b-47 up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7763]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro... global
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7766]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...pe link
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7769]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...f7ab-47
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7772]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: FAILED to start up
Hint: Some lines were ellipsized, use -l to show in full.

Also tried setting:

[root@juno61-60-controller log]# chmod 777 /var/log/neutron/

Nothing change...

changes...

Writing here for space and formatting issues... it is a comment!

Ok, now I see this error:

[root@juno61-60-controller log]# service neutron-dhcp-agent status
Redirecting to /bin/systemctl status  neutron-dhcp-agent.service
neutron-dhcp-agent.service - OpenStack Neutron DHCP Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-dhcp-agent.service; enabled)
   Active: active (running) since Tue 2014-12-09 11:41:38 CET; 12min ago
 Main PID: 4390 (neutron-dhcp-ag)
   CGroup: /system.slice/neutron-dhcp-agent.service
           └─4390 /usr/bin/python /usr/bin/neutron-dhcp-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf -...

Dec 09 11:53:07 juno61-60-controller.cselt.it sudo[7658]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: FAILED to start up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7760]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...b-47 up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7763]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro... global
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7766]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...pe link
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7769]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...f7ab-47
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7772]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: FAILED to start up
Hint: Some lines were ellipsized, use -l to show in full.

Also tried setting:

[root@juno61-60-controller log]# chmod 777 /var/log/neutron/

Nothing changes...

FINAL SOLUTION

That's weird... seems to be an issue related to demo subnet created automatically by RDO. If I manually create another private network, connected to public one by a new router, the dhcp on that network correctly works.

I noticed in Horizon that the port associated with the dhcp on the correctly working subnet is in ACTIVE Status while the not working one is in DOWN status.

Does anyone know if it is the expected behavior for RDO install on fresh CentOS7 with default demo tenant activated through answer file?

Writing here for space and formatting issues... it is a comment!

Ok, now I see this error:

[root@juno61-60-controller log]# service neutron-dhcp-agent status
Redirecting to /bin/systemctl status  neutron-dhcp-agent.service
neutron-dhcp-agent.service - OpenStack Neutron DHCP Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-dhcp-agent.service; enabled)
   Active: active (running) since Tue 2014-12-09 11:41:38 CET; 12min ago
 Main PID: 4390 (neutron-dhcp-ag)
   CGroup: /system.slice/neutron-dhcp-agent.service
           └─4390 /usr/bin/python /usr/bin/neutron-dhcp-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf -...

Dec 09 11:53:07 juno61-60-controller.cselt.it sudo[7658]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:07 juno61-60-controller.cselt.it dnsmasq[7660]: FAILED to start up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7760]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...b-47 up
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7763]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro... global
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7766]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...pe link
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7769]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...f7ab-47
Dec 09 11:53:37 juno61-60-controller.cselt.it sudo[7772]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/ro...terface
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: cannot open log /var/log/neutron/dnsmasq.log: Permission denied
Dec 09 11:53:38 juno61-60-controller.cselt.it dnsmasq[7774]: FAILED to start up
Hint: Some lines were ellipsized, use -l to show in full.

Also tried setting:

[root@juno61-60-controller log]# chmod 777 /var/log/neutron/

Nothing changes...

FINAL SOLUTION

That's weird... seems to be an issue related to demo subnet created automatically by RDO. If I manually create another private network, connected to public one by a new router, the dhcp on that network correctly works.

I noticed in Horizon that the port associated with the dhcp on the correctly working subnet is in ACTIVE Status while the not working one is in DOWN status.status. Here CLI reference commands that show this strange behavior.

Does anyone know if it is the expected behavior for RDO install on fresh CentOS7 with default demo tenant activated through answer file?