分享

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

pig2 发表于 2015-2-12 15:20:11 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 70 214347
NEOGX 发表于 2015-10-20 14:28:34
xiaohuihui 发表于 2015-10-20 14:25
看错了 提示 invalid values_spes True 没有任何错误提示啊 那个是以前的错误 因为和这个错误提示很近, ...

这里有关于怎么排错的。是about云视频
about云零基础开发、部署+理论openstack入门视频【J版及 K版】

回复

使用道具 举报

xiaohuihui 发表于 2015-10-20 14:29: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


回复

使用道具 举报

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:36:13
回复

使用道具 举报

xiaohuihui 发表于 2015-10-20 14:50:21

谢谢啦
回复

使用道具 举报

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
回复

使用道具 举报

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有问题
回复

使用道具 举报

云学生 发表于 2016-4-14 12:13:39
  我也是ping -c 4 203.0.113.101不行,我的网卡配置没有问题,请问还有什么其他原因吗?
回复

使用道具 举报

renjie 发表于 2016-5-10 15:25:58
我是在VMware vSphere中创建三台虚拟机。对于“如果你创建的openstack网络是虚拟机,你必须配置hypervisor 允许在外部网络上设置混杂模式。”,我应该做什么配置呢?
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条