openstack --debug service create --name keystone --description "OpenStack Identity" identity
DEBUG: openstackclient.api.auth Auth plugin osc_password selectedDEBUG: openstackclient.identity.v2_0.service.CreateService take_action(Namespace(columns=[], description='OpenStack Identity', formatter='table', max_width=0, name='keystone', prefix='', type=None, type_or_name='identity', variables=[]))DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.IdentityClientv2'>ERROR: openstack Authorization Failed: Cannot authenticate without an auth_urlTraceback (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/service.py", line 64, in take_action identity_client = self.app.client_manager.identity File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__ self._handle = self.factory(instance) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/client.py", line 51, in make_client region_name=instance._region_name, File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 152, in __init__ self.authenticate() File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(**kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 196, in get_raw_token_from_identity_service _("Authorization Failed: %s") % e)AuthorizationFailure: Authorization Failed: Cannot authenticate without an auth_urlDEBUG: openstackclient.shell clean_up CreateServiceDEBUG: openstackclient.shell got an error: Authorization Failed: Cannot authenticate without an auth_urlERROR: 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/service.py", line 64, in take_action identity_client = self.app.client_manager.identity File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__ self._handle = self.factory(instance) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/client.py", line 51, in make_client region_name=instance._region_name, File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 152, in __init__ self.authenticate() File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(**kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 196, in get_raw_token_from_identity_service _("Authorization Failed: %s") % e)AuthorizationFailure: Authorization Failed: Cannot authenticate without an auth_url
|