控制节点:
(neutron) ext-list
+---------------------------+-----------------------------------------------+
| alias | name |
+---------------------------+-----------------------------------------------+
| default-subnetpools | Default Subnetpools |
| network-ip-availability | Network IP Availability |
| network_availability_zone | Network Availability Zone |
| auto-allocated-topology | Auto Allocated Topology Services |
| ext-gw-mode | Neutron L3 Configurable external gateway mode |
| binding | Port Binding |
| agent | agent |
| subnet_allocation | Subnet Allocation |
| l3_agent_scheduler | L3 Agent Scheduler |
| tag | Tag support |
| external-net | Neutron external network |
| net-mtu | Network MTU |
| availability_zone | Availability Zone |
| quotas | Quota management support |
| l3-ha | HA Router extension |
| provider | Provider Network |
| multi-provider | Multi Provider Network |
| address-scope | Address scope |
| extraroute | Neutron Extra Route |
| timestamp_core | Time Stamp Fields addition for core resources |
| router | Neutron L3 Router |
| extra_dhcp_opt | Neutron Extra DHCP opts |
| dns-integration | DNS Integration |
| security-group | security-group |
| dhcp_agent_scheduler | DHCP Agent Scheduler |
| router_availability_zone | Router Availability Zone |
| rbac-policies | RBAC Policies |
| standard-attr-description | standard-attr-description |
| port-security | Port Security |
| allowed-address-pairs | Allowed Address Pairs |
| dvr | Distributed Virtual Router |
+---------------------------+-----------------------------------------------+
(neutron) agent-list
+-------------------+-------------------+------------+-------------------+-------+----------------+---------------------+
| id | agent_type | host | availability_zone | alive | admin_state_up | binary |
+-------------------+-------------------+------------+-------------------+-------+----------------+---------------------+
| 72857fdf- | Metadata agent | controller | | :-) | True | neutron-metadata- |
| 16d0-4568-912b- | | | | | | agent |
| 1cb4528f7346 | | | | | | |
| 9c98d02e-4d3b-43e | Linux bridge | controller | | :-) | True | neutron- |
| 2-8265-87b9f0297b | agent | | | | | linuxbridge-agent |
| 1d | | | | | | |
| b5b5f799-4199-46d | DHCP agent | controller | nova | :-) | True | neutron-dhcp-agent |
| 1-b699-e6052079ef | | | | | | |
| 0c | | | | | | |
| ebc12bd2-028e-497 | L3 agent | controller | nova | :-) | True | neutron-l3-agent |
| 4-941f- | | | | | | |
| de033613cf8a | | | | | | |
+-------------------+-------------------+------------+-------------------+-------+----------------+---------------------+
(neutron)
计算节点启动文件报错信息
2016-10-11 11:36:20.692 3131 INFO neutron.common.config [-] Logging enabled!
2016-10-11 11:36:20.692 3131 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 8.1.2
2016-10-11 11:36:20.693 3131 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'eno2'}
2016-10-11 11:36:20.693 3131 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2016-10-11 11:36:20.821 3131 CRITICAL neutron [-] Exception: Failed to spawn rootwrap process.
stderr:
Traceback (most recent call last):
File "/usr/bin/neutron-rootwrap-daemon", line 10, in <module>
sys.exit(daemon())
File "/usr/lib/python2.7/site-packages/oslo_rootwrap/cmd.py", line 57, in daemon
return main(run_daemon=True)
File "/usr/lib/python2.7/site-packages/oslo_rootwrap/cmd.py", line 98, in main
daemon_mod.daemon_start(config, filters)
File "/usr/lib/python2.7/site-packages/oslo_rootwrap/daemon.py", line 98, in daemon_start
server = manager.get_server()
File "/usr/lib64/python2.7/multiprocessing/managers.py", line 493, in get_server
self._authkey, self._serializer)
File "/usr/lib64/python2.7/multiprocessing/managers.py", line 162, in __init__
self.listener = Listener(address=address, backlog=16)
File "/usr/lib/python2.7/site-packages/oslo_rootwrap/jsonrpc.py", line 66, in __init__
self._socket.bind(address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 13] Permission denied
2016-10-11 11:36:20.821 3131 ERROR neutron Traceback (most recent call last):
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/bin/neutron-linuxbridge-agent", line 10, in <module>
2016-10-11 11:36:20.821 3131 ERROR neutron sys.exit(main())
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/plugins/linuxbridge_neutron_agent.py", line 21, in main
2016-10-11 11:36:20.821 3131 ERROR neutron agent_main.main()
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 897, in main
2016-10-11 11:36:20.821 3131 ERROR neutron manager = LinuxBridgeManager(bridge_mappings, interface_mappings)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 75, in __init__
2016-10-11 11:36:20.821 3131 ERROR neutron self.check_vxlan_support()
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 627, in check_vxlan_support
2016-10-11 11:36:20.821 3131 ERROR neutron if self.vxlan_ucast_supported():
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 590, in vxlan_ucast_supported
2016-10-11 11:36:20.821 3131 ERROR neutron test_iface = self.ensure_vxlan(seg_id)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 275, in ensure_vxlan
2016-10-11 11:36:20.821 3131 ERROR neutron **args)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 243, in add_vxlan
2016-10-11 11:36:20.821 3131 ERROR neutron self._as_root([], 'link', cmd)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 94, in _as_root
2016-10-11 11:36:20.821 3131 ERROR neutron log_fail_as_error=self.log_fail_as_error)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 103, in _execute
2016-10-11 11:36:20.821 3131 ERROR neutron log_fail_as_error=log_fail_as_error)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 116, in execute
2016-10-11 11:36:20.821 3131 ERROR neutron execute_rootwrap_daemon(cmd, process_input, addl_env))
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 102, in execute_rootwrap_daemon
2016-10-11 11:36:20.821 3131 ERROR neutron return client.execute(cmd, process_input)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line 124, in execute
2016-10-11 11:36:20.821 3131 ERROR neutron self._ensure_initialized()
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line 109, in _ensure_initialized
2016-10-11 11:36:20.821 3131 ERROR neutron self._initialize()
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line 79, in _initialize
2016-10-11 11:36:20.821 3131 ERROR neutron (stderr,))
2016-10-11 11:36:20.821 3131 ERROR neutron Exception: Failed to spawn rootwrap process.
2016-10-11 11:36:20.821 3131 ERROR neutron stderr:
2016-10-11 11:36:20.821 3131 ERROR neutron Traceback (most recent call last):
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/bin/neutron-rootwrap-daemon", line 10, in <module>
2016-10-11 11:36:20.821 3131 ERROR neutron sys.exit(daemon())
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/cmd.py", line 57, in daemon
2016-10-11 11:36:20.821 3131 ERROR neutron return main(run_daemon=True)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/cmd.py", line 98, in main
2016-10-11 11:36:20.821 3131 ERROR neutron daemon_mod.daemon_start(config, filters)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/daemon.py", line 98, in daemon_start
2016-10-11 11:36:20.821 3131 ERROR neutron server = manager.get_server()
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib64/python2.7/multiprocessing/managers.py", line 493, in get_server
2016-10-11 11:36:20.821 3131 ERROR neutron self._authkey, self._serializer)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib64/python2.7/multiprocessing/managers.py", line 162, in __init__
2016-10-11 11:36:20.821 3131 ERROR neutron self.listener = Listener(address=address, backlog=16)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_rootwrap/jsonrpc.py", line 66, in __init__
2016-10-11 11:36:20.821 3131 ERROR neutron self._socket.bind(address)
2016-10-11 11:36:20.821 3131 ERROR neutron File "/usr/lib64/python2.7/socket.py", line 224, in meth
2016-10-11 11:36:20.821 3131 ERROR neutron return getattr(self._sock,name)(*args)
2016-10-11 11:36:20.821 3131 ERROR neutron socket.error: [Errno 13] Permission denied
2016-10-11 11:36:20.821 3131 ERROR neutron
请各位大神帮忙看看,谢谢!!
|
|