分享

求助:neutron创建网络失败。

marsaber 发表于 2014-12-28 15:45:48 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 7 100241
我的是KVM的虚拟机,2G内存。
操作系统是CentOS6.5 x86_64的,用的是Icehouse版本。

[root@controller ~]# rpm -qa |grep neutron
python-neutronclient-2.3.4-4.el6.noarch
python-neutron-2014.1.3-5.el6.noarch
openstack-neutron-ml2-2014.1.3-5.el6.noarch
openstack-neutron-openvswitch-2014.1.3-5.el6.noarch
openstack-neutron-2014.1.3-5.el6.noarch
[root@controller ~]#

[root@controller ~]# neutron ext-list
+-----------------------+-----------------------------------------------+
| alias                 | name                                          |
+-----------------------+-----------------------------------------------+
| security-group        | security-group                                |
| l3_agent_scheduler    | L3 Agent Scheduler                            |
| ext-gw-mode           | Neutron L3 Configurable external gateway mode |
| binding               | Port Binding                                  |
| provider              | Provider Network                              |
| agent                 | agent                                         |
| quotas                | Quota management support                      |
| dhcp_agent_scheduler  | DHCP Agent Scheduler                          |
| multi-provider        | Multi Provider Network                        |
| external-net          | Neutron external network                      |
| router                | Neutron L3 Router                             |
| allowed-address-pairs | Allowed Address Pairs                         |
| extra_dhcp_opt        | Neutron Extra DHCP opts                       |
| extraroute            | Neutron Extra Route                           |
+-----------------------+-----------------------------------------------+
[root@controller ~]# neutron net-list
Request Failed: internal server error while processing your request.
[root@controller ~]# neutron net-create ext-net --shared --router:external=True
Request Failed: internal server error while processing your request.

[root@controller ~]# neutron net-list --debug
DEBUG: neutronclient.neutron.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], formatter='table', page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))
DEBUG: neutronclient.client
REQ: curl -i http://controller:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "waftest"}}}'

DEBUG: neutronclient.client RESP:{'date': 'Sun, 28 Dec 2014 07:43:40 GMT', 'vary': 'X-Auth-Token', 'content-length': '8639', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2014-12-28T07:43:40.179775", "expires": "2014-12-28T08:43:40Z", "id": "MIIPNwYJKoZIhvcNAQcCoIIPKDCCDyQCAQExCTAHBgUrDgMCGjCCDY0GCSqGSIb3DQEHAaCCDX4Egg16eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0xMi0yOFQwNzo0Mzo0MC4xNzk3NzUiLCAiZXhwaXJlcyI6ICIyMDE0LTEyLTI4VDA4OjQzOjQwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjYyOThhNmYyOWJjZjQzNDg5YTA1MTk3NWIzNmRmNjk0IiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvNjI5OGE2ZjI5YmNmNDM0ODlhMDUxOTc1YjM2ZGY2OTQiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyLzYyOThhNmYyOWJjZjQzNDg5YTA1MTk3NWIzNmRmNjk0IiwgImlkIjogIjJmYTU1ZTI3Mzg1ZTQxMzlhYWU4ZWU3ZWQwODM0NmExIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyLzYyOThhNmYyOWJjZjQzNDg5YTA1MTk3NWIzNmRmNjk0In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3siYWR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CI6ICJodHRwOi8vY29udHJvbGxlcjo1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICIyNWQ5ZmU3OGVjY2Y0NmZhODc2YzU5YmM2ZGY3ZjdhZSIsICJyb2xlcyI6IFt7Im5hbWUiOiAiX21lbWJlcl8ifSwgeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI5ZmUyZmY5ZWU0Mzg0YjE4OTRhOTA4NzhkM2U5MmJhYiIsICJiZjQwOWJjYzU4YTU0MWFkOGJiNGFkOTk2NTE1NWFlMiJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBACHpwR1Z4NAR1sEUofPVu7S5ucAb0ATrzc-zFWb+iqWJ3ldQ8OuIL6yOaSR7caXJMIlAEu3wjYnHwlIbTu8oBetduNHu6gVYMNczi+h1mft54QYIKNNuoqj3qJw9dqWm3IDOrn6nd0jbN4upZTPKRfoDJyhQClaOfh0II5x2BsyppE0X+4LRKgZGEDb4nOAptP2s4vjdxfyQz4eUHLKks+Oecid1XrcgiknuLAxI4MGMSscIYGXKOop4m7t7ilwAXshZslu9U8C6ocgpHAwgGsANq+ozk1QvFgSfuFRC7RAZpih8RVIAkuP+hsrSeRi2xnEW14bIpu2fRZRSUawCS+4=", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "6298a6f29bcf43489a051975b36df694", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8774/v2/6298a6f29bcf43489a051975b36df694", "region": "regionOne", "internalURL": "http://controller:8774/v2/6298a6f29bcf43489a051975b36df694", "id": "2fa55e27385e4139aae8ee7ed08346a1", "publicURL": "http://controller:8774/v2/6298a6f29bcf43489a051975b36df694"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:9696", "region": "regionOne", "internalURL": "http://controller:9696", "id": "6134bec4871d412ca557c0008e61cca0", "publicURL": "http://controller:9696"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "http://controller:8776/v2/6298a6f29bcf43489a051975b36df694", "region": "regionOne", "internalURL": "http://controller:8776/v2/6298a6f29bcf43489a051975b36df694", "id": "6e23828ff308400f93154d5f632cb664", "publicURL": "http://controller:8776/v2/6298a6f29bcf43489a051975b36df694"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "1fa95665816c449bac46b3bdc8bedc2b", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "internalURL": "http://controller:8000/v1", "id": "399e46f901b44f3a99c4299d734db583", "publicURL": "http://controller:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/6298a6f29bcf43489a051975b36df694", "region": "regionOne", "internalURL": "http://controller:8776/v1/6298a6f29bcf43489a051975b36df694", "id": "521d2350169e4858aaa2a2e2b31faffa", "publicURL": "http://controller:8776/v1/6298a6f29bcf43489a051975b36df694"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://controller:8004/v1/6298a6f29bcf43489a051975b36df694", "region": "regionOne", "internalURL": "http://controller:8004/v1/6298a6f29bcf43489a051975b36df694", "id": "91a212f78a1b46739a840b34e3bd5f7e", "publicURL": "http://controller:8004/v1/6298a6f29bcf43489a051975b36df694"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://controller:8080", "region": "regionOne", "internalURL": "http://controller:8080/v1/AUTH_6298a6f29bcf43489a051975b36df694", "id": "4116366c97394818a080181ea3712308", "publicURL": "http://controller:8080/v1/AUTH_6298a6f29bcf43489a051975b36df694"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "22d5ed3610754fe6be41924b9dbd1da5", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "25d9fe78eccf46fa876c59bc6df7f7ae", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "bf409bcc58a541ad8bb4ad9965155ae2"]}}}

DEBUG: neutronclient.client
REQ: curl -i http://controller:9696/v2.0/networks.json -X GET -H "X-Auth-Token: MIIPNwYJKoZIhvcNAQcCoIIPKDCCDyQCAQExCTAHBgUrDgMCGjCCDY0GCSqGSIb3DQEHAaCCDX4Egg16eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0xMi0yOFQwNzo0Mzo0MC4xNzk3NzUiLCAiZXhwaXJlcyI6ICIyMDE0LTEyLTI4VDA4OjQzOjQwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjYyOThhNmYyOWJjZjQzNDg5YTA1MTk3NWIzNmRmNjk0IiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IF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VW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBACHpwR1Z4NAR1sEUofPVu7S5ucAb0ATrzc-zFWb+iqWJ3ldQ8OuIL6yOaSR7caXJMIlAEu3wjYnHwlIbTu8oBetduNHu6gVYMNczi+h1mft54QYIKNNuoqj3qJw9dqWm3IDOrn6nd0jbN4upZTPKRfoDJyhQClaOfh0II5x2BsyppE0X+4LRKgZGEDb4nOAptP2s4vjdxfyQz4eUHLKks+Oecid1XrcgiknuLAxI4MGMSscIYGXKOop4m7t7ilwAXshZslu9U8C6ocgpHAwgGsANq+ozk1QvFgSfuFRC7RAZpih8RVIAkuP+hsrSeRi2xnEW14bIpu2fRZRSUawCS+4=" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

DEBUG: neutronclient.client RESP:{'date': 'Sun, 28 Dec 2014 07:43:40 GMT', 'status': '500', 'content-length': '88', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-c52b1210-05cb-4458-8f2b-19119476d972'} {"NeutronError": "Request Failed: internal server error while processing your request."}

DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": "Request Failed: internal server error while processing your request."}
ERROR: neutronclient.shell Request Failed: internal server error while processing your request.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 526, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.6/site-packages/neutronclient/shell.py", line 79, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 34, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.6/site-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/common/command.py", line 40, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 610, in get_data
    data = self.retrieve_list(parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 579, in retrieve_list
    data = self.call_server(neutron_client, search_opts, parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/__init__.py", line 551, in call_server
    data = obj_lister(**search_opts)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 111, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 333, in list_networks
    **_params)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1250, in list
    for r in self._pagination(collection, path, **params):
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
    res = self.get(path, params=params)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1236, in get
    headers=headers, params=params)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1164, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1134, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 84, in exception_handler_v20
    message=error_dict)
NeutronClientException: Request Failed: internal server error while processing your request.
DEBUG: neutronclient.shell clean_up ListNetwork
DEBUG: neutronclient.shell Got an error: Request Failed: internal server error while processing your request.
[root@controller ~]#


已有(8)人评论

跳转到指定楼层
desehawk 发表于 2014-12-28 16:35:51
从两个方面:
1.首先确认令牌没有失效
2.可以重置一下数据库,或则懂数据库的话,去看看neutron的数据库。
回复

使用道具 举报

marsaber 发表于 2014-12-28 16:51:22
desehawk 发表于 2014-12-28 16:35
从两个方面:
1.首先确认令牌没有失效
2.可以重置一下数据库,或则懂数据库的话,去看看neutron的数据库 ...

实在不好意思,俺刚接触没几天。很多都不懂,还请多多指教。

1、如何确认令牌是否失效?
是/etc/keystone/keystone.conf中的admin_token = XXXXXXX吗?

2、重置数据库是这样的吗?
# su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head" neutron
还有,查看数据库的话,应该查看什么地方?


回复

使用道具 举报

marsaber 发表于 2014-12-28 16:58:23
本帖最后由 marsaber 于 2014-12-28 17:32 编辑

对了,我只有两个节点:控制节点和计算节点,网络节点并到控制节点里面了。
参考文档是《openstack-install-guide-yum-icehouse.pdf》

neutron agent-list 是好的。
回复

使用道具 举报

bioger_hit 发表于 2014-12-28 18:01:42
marsaber 发表于 2014-12-28 16:58
对了,我只有两个节点:控制节点和计算节点,网络节点并到控制节点里面了。
参考文档是《openstack-instal ...


那你重置下数据库,这个是重置keystone的例子,可以参考

keystone总结:如何重置keystone及keystone使用错误总结,openstack如何查找错误
回复

使用道具 举报

marsaber 发表于 2014-12-28 18:36:51
本帖最后由 marsaber 于 2014-12-28 18:38 编辑
bioger_hit 发表于 2014-12-28 18:01
那你重置下数据库,这个是重置keystone的例子,可以参考

keystone总结:如何重置keystone及keystone ...

呵呵
还是不太懂啊。
OpenStack这玩意好麻烦啊。

点评

必须,否则工资就没有那么高了  发表于 2014-12-28 18:44
回复

使用道具 举报

wonitazansa 发表于 2015-3-9 11:06:52
请问楼主,你是怎么解决的,我和你一模一样的问题
http://www.aboutyun.com/thread-11866-1-1.html
回复

使用道具 举报

tongshan123 发表于 2015-7-17 11:30:13
我也想知道怎么解决的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条