openstack【juno】入门 【网络篇】十八:创建实例化网络

查看数: 212551 | 评论数: 70 | 收藏 1
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-2-12 15:20

正文摘要:

本帖最后由 pig2 于 2015-5-18 16:19 编辑 问题导读 1.如何添加租户网络? 2.如何添加路由? 3.网络连通性如何验证? 接上篇:openstack【juno】入门 【网络篇】十七:neutron安装部署(计算节 ...

回复

nevermorezhou 发表于 2017-5-5 16:08:42
pig2 发表于 2015-3-15 20:04
第三块网卡如下配置即可

楼主,我在网络节点使用的就是如上的配置,也出现了同样的问题
并且无论在虚拟机还是windows下都不能ping通“203.0.113.101”

请问有什么原因导致的呢?难道eth2一直没有被使用吗?
renjie 发表于 2016-5-10 15:25:58
我是在VMware vSphere中创建三台虚拟机。对于“如果你创建的openstack网络是虚拟机,你必须配置hypervisor 允许在外部网络上设置混杂模式。”,我应该做什么配置呢?
云学生 发表于 2016-4-14 12:13:39
  我也是ping -c 4 203.0.113.101不行,我的网卡配置没有问题,请问还有什么其他原因吗?
NEOGX 发表于 2015-10-21 19:08:06
xiaohuihui 发表于 2015-10-20 16:58
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellF ...

似乎token有问题
xiaohuihui 发表于 2015-10-20 16:58:28
NEOGX 发表于 2015-10-20 14:28
这里有关于怎么排错的。是about云视频
about云零基础开发、部署+理论openstack入门视频【J版及 K版】
...

DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', max_width=0, name=u'ext-net', prefix='', provider:network_type=u'flat', provider:physical_network=u'external', provider:segmentation_id=None, request_format='json', router:external=True, shared=True, tenant_id=None, variables=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://127.0.0.1:5000/v2.0/tokens
ERROR: neutronclient.shell Invalid values_specs True
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 731, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 97, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 465, in get_data
    _extra_values = parse_args_to_dict(self.values_specs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 288, in parse_args_to_dict
    _("Invalid values_specs %s") % ' '.join(values_specs))
CommandError: Invalid values_specs True
Invalid values_specs True
xiaohuihui 发表于 2015-10-20 14:50:21

谢谢啦
xiaohuihui 发表于 2015-10-20 14:36:13
xiaohuihui 发表于 2015-10-20 14:35:00
NEOGX 发表于 2015-10-20 14:26
错误肯定有的,只不过日志信息比较多,难找一些。
建议清理日志,然后让错误重现

DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://127.0.0.1:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 335 vary: X-Auth-Token x-distribution: Ubuntu connection: keep-alive date: Tue, 20 Oct 2015 06:26:12 GMT content-type: application/json x-openstack-request-id: req-453c6824-4271-4d3f-900d-51f32f712e29
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://127.0.0.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', max_width=0, name=u'ext-net', prefix='', provider:network_type=u'flat', provider:physical_network=u'external', provider:segmentation_id=None, request_format='json', router:external=True, shared=True, tenant_id=None, variables=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://127.0.0.1:5000/v2.0/tokens
ERROR: neutronclient.shell Invalid values_specs True
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 731, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 97, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 465, in get_data
    _extra_values = parse_args_to_dict(self.values_specs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 288, in parse_args_to_dict
    _("Invalid values_specs %s") % ' '.join(values_specs))
CommandError: Invalid values_specs True
Invalid values_specs True
是这个错误

xiaohuihui 发表于 2015-10-20 14:30:31
NEOGX 发表于 2015-10-20 14:26
错误肯定有的,只不过日志信息比较多,难找一些。
建议清理日志,然后让错误重现

DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://127.0.0.1:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 335 vary: X-Auth-Token x-distribution: Ubuntu connection: keep-alive date: Tue, 20 Oct 2015 06:26:12 GMT content-type: application/json x-openstack-request-id: req-453c6824-4271-4d3f-900d-51f32f712e29
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://127.0.0.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', max_width=0, name=u'ext-net', prefix='', provider:network_type=u'flat', provider:physical_network=u'external', provider:segmentation_id=None, request_format='json', router:external=True, shared=True, tenant_id=None, variables=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://127.0.0.1:5000/v2.0/tokens
ERROR: neutronclient.shell Invalid values_specs True
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 731, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 97, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 465, in get_data
    _extra_values = parse_args_to_dict(self.values_specs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 288, in parse_args_to_dict
    _("Invalid values_specs %s") % ' '.join(values_specs))
CommandError: Invalid values_specs True
Invalid values_specs True


关闭

推荐上一条 /2 下一条