执行命令:
[mw_shl_code=bash,true]openstack endpoint create \
--publicurl http://controller:9696 \
--adminurl http://controller:9696 \
--internalurl http://controller:9696 \
--region RegionOne \
network[/mw_shl_code]
[mw_shl_code=bash,true]ERROR: openstack
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand
result = cmd.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/openstackclient/identity/v2_0/endpoint.py", line 68, in take_action
service = common.find_service(identity_client, parsed_args.service)
File "/usr/lib/python2.7/dist-packages/openstackclient/identity/common.py", line 33, in find_service
return identity_client.services.find(type=name_type_or_id)
File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 250, in find
raise exceptions.NoUniqueMatch
NoUniqueMatch
DEBUG: openstackclient.shell clean_up CreateEndpoint
DEBUG: openstackclient.shell got an error:
ERROR: openstackclient.shell Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run
return super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand
result = cmd.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/openstackclient/identity/v2_0/endpoint.py", line 68, in take_action
service = common.find_service(identity_client, parsed_args.service)
File "/usr/lib/python2.7/dist-packages/openstackclient/identity/common.py", line 33, in find_service
return identity_client.services.find(type=name_type_or_id)
File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 250, in find
raise exceptions.NoUniqueMatch
NoUniqueMatch[/mw_shl_code]
|