created three node openstack environment. controller,network and compute1.

asked 2017-11-03 06:24:10 -0500

Jaymal gravatar image

updated 2017-11-03 23:15:15 -0500

Added compute2. Now when openvswitch agent on compute2 is getting started, any or neutron component on any node getting down. neutron agent-list command shows XXX status

while checking log of that particulate component it found up and running, no log written.

for clarity pasting command output

root@controller:/home/controller# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+

| 00aa4ce8-fdaf-431a-82f5-4435ba947ee0 | Metadata agent | network | xxx | True | neutron-metadata-agent |
| 40c9dbee-e87a-4e6f-90ed-aba0478de9a2 | L3 agent | network | xxx | True | neutron-l3-agent |
| 54f9cf3b-80a4-42b7-9b28-f4d162b6cf68 | DHCP agent | network | :-) | True | neutron-dhcp-agent |
| 9430f304-44ce-4877-8d1d-51473a70f60a | Open vSwitch agent | compute3 | :-) | True | neutron-openvswitch-agent |
| 9a208a9c-ad01-4ec5-8af1-7272e2465c90 | Open vSwitch agent | compute1 | :-) | True | neutron-openvswitch-agent |
| d7233ed7-1bcb-4a65-ad54-9f3590a9cf92 | Open vSwitch agent | compute2 | xxx | True | neutron-openvswitch-agent |
| fabfa1c7-1222-44e5-a920-9ea0f9ad34b0 | Open vSwitch agent | network | :-) | True | neutron-openvswitch-agent |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+

on network server neutron status found as below

neutron-plugin-openvswitch-agent start/running, process 5433
neutron-l3-agent start/running, process 5454
neutron-dhcp-agent start/running, process 5479
neutron-metadata-agent start/running, process 5711

and no log written on network node for matada agent and L3 agent.

note compute2 was not up hence showing XXX.

edit retag flag offensive close merge delete

Comments

A few suggestions: If you use systemd to manage services, try journalctl. Use ps to check if the services really run. Try restarting the services that are down. Try running them manually, i.e. enter the command at the command prompt. See if you find anything in the Neutron server log.

Bernd Bausch gravatar imageBernd Bausch ( 2017-11-03 23:18:49 -0500 )edit

Also: Check the log config. Perhaps the log files are not where you look. Or again, if you use systemd, there might be no log files at all.

Bernd Bausch gravatar imageBernd Bausch ( 2017-11-03 23:20:11 -0500 )edit