Ask Your Question
0

Network option2 without network node

asked 2018-11-26 04:40:40 -0600

najeh gravatar image

updated 2018-11-26 05:16:04 -0600

Can i choose network option 2 with just a controller and a compute node ? I try this but "ip netns" commands didn't display a router just two dhcp netwok namespaces

ip netns

qdhcp-f76c2b23-bb92-4fc3-900e-9fbcf9aea32b (id: 1)

qdhcp-e5dd6eeb-8d83-4e88-8f62-db12d097ae03 (id: 0)

nano /var/log/neutron/neutron-linuxbridge-agent.log

[req-bae0b90a-e5b9-4c36-8a90-274f38f26175 - - - - -] Linux bridge agent Agent out of sync with plugi$ 2018-11-26 11:59:09.689 22887 INFO neutron.agent.securitygroups_rpc [req-bae0b90a-e5b9-4c36-8a90-274f38f26175 - - - - -] Preparing filters for devices set(['tape7e2c85d-61', 'tap83830$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-bae0b90a-e5b9-4c36-8a90-274f38f26175 - - - - -] Error in agent loop. Devices info: {'current':$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last): 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line $ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent sync = self.process_network_devices(device_info) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 158, in wrapper 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent result = f(args, *kwargs) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line $ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent device_info.get('updated')) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 250, in setup_p$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.prepare_devices_filter(new_devices) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 122, in decorat$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent args, *kwargs) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 130, in prepare$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply_port_filter(device_ids) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 157, in _apply_$ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.firewall.process_trusted_ports(trusted_devices) 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.gen.next() 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/firewall.py", line 140, in defer_apply 2018-11-26 11:59:09.736 22887 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.filter_defer_apply_off() 2018-11-26 11:59:09 ... (more)

edit retag flag offensive close merge delete

Comments

1

Yes you can use option 2 with any number of controllers and compute nodes.

Perhaps the network namespace is only created when there is an instance that uses the router. Apart from the lack of a namespace, do you have any problem?

The log is unreadable. Can you format it as code (101010 button)?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-26 06:21:59 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2018-11-26 04:50:02 -0600

novainfinite gravatar image

yes. you can. you should install option1 and option2 to use option2.if you did everything right you should see router. you can see linux-bridge agent to see what the problem is.

edit flag offensive delete link more

Comments

i added above my /var/log/neutron/neutron-linuxbridge-agent.log file

I have errors i didn't how can i solve them

najeh gravatar imagenajeh ( 2018-11-26 05:15:54 -0600 )edit

check again all the configuration of neutron in controller maybe something is wrong what is your provider interface name?

novainfinite gravatar imagenovainfinite ( 2018-11-26 06:03:52 -0600 )edit
0

answered 2018-11-26 09:11:15 -0600

najeh gravatar image

updated 2018-11-26 09:12:55 -0600

The error is solved by adding lock_path to [oslo_concurrency] in the /etc/neutron/neutron.conf file

nano /etc/neutron/neutron.conf

[oslo_concurrency]

...

lock_path = /var/log/neutron

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-11-26 04:40:40 -0600

Seen: 18 times

Last updated: Nov 26