Revision history [back]

click to hide/show revision 1
initial version

Using nova client in windows ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

Hello,

I am running OpenStack kilo on Ubuntu 14.04.3 , I want to use nova or openstack client CLI on windows. The client is working fine on my ubuntu box I am trying to use the nova or OpenStack client on windows but it returns error: ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

I know in linux it is an issue with admin-openrc.sh https://ask.openstack.org/en/question/67118/openstack-could-not-determine-a-suitable-url-for-the-plugin/

However i tried the same values for the variables with admin-openrc.bat but still had no luck

hers is my admin-openrc.bat

set OS_PROJECT_DOMAIN_ID=default set OS_USER_DOMAIN_ID=default set OS_PROJECT_NAME=admin set OS_TENANT_NAME=admin set OS_USERNAME=admin set OS_PASSWORD=ThePasswordValue set OS_AUTH_URL=http://controller:35357/v2.0/ set OS_IMAGE_API_VERSION=2 set OS_VOLUME_API_VERSION=2

Yes, i did set controller IP address in the windows hosts file, and i am able to ping controller

Here is the output from nova-client

     nova --debug service-list
      DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v2.0/ -H "Acc 
      ept: application/json" -H "User-Agent: python-keystoneclient"
      INFO (connectionpool:203) Starting new HTTP connection (1): controller
     WARNING (base:133) Discovering versions from the identity service failed when cr
      eating the password plugin. Attempting to determine version from URL.
       DEBUG (shell:819) Could not determine a suitable URL for the plugin
       Traceb ack (most recent call last):
         File "C:\Python27\lib\site-packages\novaclient\shell.py", line 816, in main
           OpenStackComputeShell().main(argv)
             File "C:\Python27\lib\site-packages\novaclient\shell.py", line 743, in main
            args.fu nc(self.cs, args)
           File "C:\Python27\lib\site-packages\novaclient\v2\shell.py", line 3492, in do_
          service_list
           result = cs.services.list(host=args.host, binary=args.binary)
           File "C:\Python27\lib\site-packages\novaclient\v2\services.py", line 49, in li
           st
           return self._list(url, "services")
          File "C:\Python27\lib\site-packages\novaclient\base.py", line 64, in _list
             _resp, body = self.api.client.get(url)
            File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 170, in g
             et
            return self.request(url, 'GET', **kwargs)
             File "C:\Python27\lib\site-packages\novaclient\client.py", line 101, in reques
              t
                **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 206, in r
              equest
                resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
                 File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 95, in re
                  quest
                   return self.session.request(url, method, **kwargs)
                   File "C:\Python27\lib\site-packages\keystoneclient\utils.py", line 336, in inn
                   er
                 return func(*args, **kwargs)
                    File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 313, in r
                   equest
                  auth_headers = self.get_auth_headers(auth)
                 File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 598, in g
               et_auth_headers
                   return auth.get_headers(self, **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\base.py", line 142, in
                get_headers
                   token = self.get_token(session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                e 105, in get_token
                   return self.get_access(session).auth_token
                   File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                  e 145, in get_access
                 self.auth_ref = self.get_auth_ref(session)
                 File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                    py", line 174, in get_auth_ref
                     self._plugin = self._do_create_plugin(session)
                     File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                     py", line 170, in _do_create_plugin
                         raise exceptions.DiscoveryFailure(msg)
                      DiscoveryFailure: Could not determine a suitable URL for the plugin
                      ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

here is the output from openstack client

                 openstack --debug service list
            DEBUG: openstackclient.shell options: Namespace(auth_type='', auth_url='http://c 
             ontroller:35357/v2.0/', cacert='', cloud='', debug=True, default_domain='default
              ', deferred_help=False, domain_id='', domain_name='', endpoint='', insecure=None
                , interface='', log_file=None, os_compute_api_version='', os_identity_api_versio
                  n='', os_image_api_version='2', os_network_api_version='', os_object_api_version
                 ='', os_project_id=None, os_project_name=None, os_volume_api_version='2', passwo
                rd='ThePasswordValue', project_domain_id='default', project_domain_name='', project_id='
              ', project_name='admin', region_name='', timing=False, token='', trust_id='', ur
               l='', user_domain_id='default', user_domain_name='', user_id='', username='admin
              ', verbose_level=3, verify=None)
                DEBUG: openstackclient.shell defaults: {'auth_type': 'osc_password', 'compute_ap
              i_version': '2', 'database_api_version': '1.0', 'api_timeout': None, 'baremetal_
                api_version': '1', 'cacert': None, 'image_api_use_tasks': False, 'floating_ip_so
                urce': 'neutron', 'key': None, 'interface': None, 'network_api_version': '2', 'i
              mage_format': 'qcow2', 'object_api_version': '1', 'image_api_version': '1', 'ver
                ify': True, 'identity_api_version': '2', 'volume_api_version': '1', 'cert': None
                 , 'secgroup_source': 'neutron', 'dns_api_version': '2', 'disable_vendor_agent':
                     {}}
                    DEBUG: openstackclient.shell cloud cfg: {'auth_type': 'osc_password', 'compute_a
                   pi_version': '2', 'database_api_version': '1.0', 'interface': None, 'network_api
                   _version': '2', 'image_format': 'qcow2', 'object_api_version': '1', 'image_api_v
                   ersion': '2', 'verify': True, 'timing': False, 'dns_api_version': '2', 'verbose_
                  level': 3, 'region_name': '', 'api_timeout': None, 'baremetal_api_version': '1',
                  'auth': {'username': 'admin', 'project_name': 'admin', 'user_domain_id': 'defau
                lt', 'tenant_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'passw
                  ord': 'ThePasswordValue', 'project_domain_id': 'default'}, 'default_domain': 'default',
              'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': None, 'cac
                ert': None, 'deferred_help': False, 'identity_api_version': '2', 'volume_api_ver
              sion': '2', 'cert': None, 'secgroup_source': 'neutron', 'debug': True, 'disable_
              vendor_agent': {}}
              DEBUG: openstackclient.shell compute API version 2, cmd group openstack.compute.
                  v2
             DEBUG: openstackclient.shell network API version 2, cmd group openstack.network.
               v2
             DEBUG: openstackclient.shell image API version 2, cmd group openstack.image.v2
             DEBUG: openstackclient.shell volume API version 2, cmd group openstack.volume.v2

             DEBUG: openstackclient.shell identity API version 2, cmd group openstack.identit
              y.v2 
               DEBUG: openstackclient.shell object_store API version 1, cmd group openstack.obj
            ect_store.v1
               INFO: openstackclient.shell command: service list -> openstackclient.identity.v2
                 _0.service.ListService
              DEBUG: openstackclient.api.auth Auth plugin osc_password selected
               DEBUG: openstackclient.api.auth auth_type: osc_password
            INFO: openst ackclient.common.clientmanager Using auth plugin: osc_password
              DEBUG: openstackclient.common.clientmanager Using parameters {'username': 'admin
               ', 'project_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'user_d
                omain_id': 'd efault', 'tenant_name': 'admin', 'password': 'ThePasswordValue', 'project_d
                 omain_id': 'default'}
               DEBUG: openstackclient.common.clientmanager Get auth_ref
                DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://controller:35357/v2.
               0/ -H "Accept: application/json" -H "User-Agent: python-openstackclient"
               INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1):
                controller
                WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the
                identity service failed when creating the password plugin. Attempting to determ
               ine version from URL.
               ERROR: openstack Could not determine a suitable URL for the plugin
             Traceback (most recent call last):
                  File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                 self.prepare_to_run_command(cmd)
               File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                epare_to_run_command
                  self.client_manager.auth_ref
                   File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                line 189, in auth_ref
               self._auth_ref = self.auth.get_auth_ref(self.session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 174, in get_auth_ref
                 self._plugin = self._do_create_plugin(session)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 170, in _do_create_plugin
                raise exceptions.DiscoveryFailure(msg)
                DiscoveryFailure: Could not determine a suitable URL for the plugin
                DEBUG: openstackclient.shell clean_up ListService: Could not determine a suitabl
               e URL for the  plugin
                ERROR: openstackclient.shell Traceback (most recent call last):
                   File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 152, in ru
                     n
                     return super(OpenStackShell, self).run(argv)
                     File "C:\Python27\lib\site-packages\cliff\app.py", line 255, in run
                      result = self.run_subcommand(remainder)
                      File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                        self.prepare_to_run_command(cmd)
                     File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                        ep are_to_run_command
                         self.client_manager.auth_ref
                       File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                      line 189, in auth_ref
                       self._auth_ref = self.auth.get_auth_ref(self.session)
                        File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                           py", line 174, in get_auth_ref
                          self._plugin = self._do_create_plugin(session)
                       File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                        py", line 170, in _do_create_plugin
                            raise exceptions.DiscoveryFailure(msg)
                         DiscoveryFailure: C ould not determine a suitable URL for the plugin

Using nova client in windows ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

Hello,

I am running OpenStack kilo on Ubuntu 14.04.3 , I want to use nova or openstack client CLI on windows. The client is working fine on my ubuntu box I am trying to use the nova or OpenStack client on windows but it returns error: ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

I know in linux it is an issue with admin-openrc.sh https://ask.openstack.org/en/question/67118/openstack-could-not-determine-a-suitable-url-for-the-plugin/

However i tried the same values for the variables with admin-openrc.bat but still had no luck

hers is my admin-openrc.bat

 set OS_PROJECT_DOMAIN_ID=default
 set OS_USER_DOMAIN_ID=default
 set OS_PROJECT_NAME=admin
 set OS_TENANT_NAME=admin
 set OS_USERNAME=admin
 set OS_PASSWORD=ThePasswordValue
 set OS_AUTH_URL=http://controller:35357/v2.0/
 set OS_IMAGE_API_VERSION=2
 set OS_VOLUME_API_VERSION=2

OS_VOLUME_API_VERSION=2

Yes, i did set controller IP address in the windows hosts file, and i am able to ping controller

Here is the output from nova-client

     nova --debug service-list
      DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v2.0/ -H "Acc 
      ept: application/json" -H "User-Agent: python-keystoneclient"
      INFO (connectionpool:203) Starting new HTTP connection (1): controller
     WARNING (base:133) Discovering versions from the identity service failed when cr
      eating the password plugin. Attempting to determine version from URL.
       DEBUG (shell:819) Could not determine a suitable URL for the plugin
       Traceb ack (most recent call last):
         File "C:\Python27\lib\site-packages\novaclient\shell.py", line 816, in main
           OpenStackComputeShell().main(argv)
             File "C:\Python27\lib\site-packages\novaclient\shell.py", line 743, in main
            args.fu nc(self.cs, args)
           File "C:\Python27\lib\site-packages\novaclient\v2\shell.py", line 3492, in do_
          service_list
           result = cs.services.list(host=args.host, binary=args.binary)
           File "C:\Python27\lib\site-packages\novaclient\v2\services.py", line 49, in li
           st
           return self._list(url, "services")
          File "C:\Python27\lib\site-packages\novaclient\base.py", line 64, in _list
             _resp, body = self.api.client.get(url)
            File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 170, in g
             et
            return self.request(url, 'GET', **kwargs)
             File "C:\Python27\lib\site-packages\novaclient\client.py", line 101, in reques
              t
                **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 206, in r
              equest
                resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
                 File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 95, in re
                  quest
                   return self.session.request(url, method, **kwargs)
                   File "C:\Python27\lib\site-packages\keystoneclient\utils.py", line 336, in inn
                   er
                 return func(*args, **kwargs)
                    File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 313, in r
                   equest
                  auth_headers = self.get_auth_headers(auth)
                 File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 598, in g
               et_auth_headers
                   return auth.get_headers(self, **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\base.py", line 142, in
                get_headers
                   token = self.get_token(session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                e 105, in get_token
                   return self.get_access(session).auth_token
                   File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                  e 145, in get_access
                 self.auth_ref = self.get_auth_ref(session)
                 File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                    py", line 174, in get_auth_ref
                     self._plugin = self._do_create_plugin(session)
                     File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                     py", line 170, in _do_create_plugin
                         raise exceptions.DiscoveryFailure(msg)
                      DiscoveryFailure: Could not determine a suitable URL for the plugin
                      ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

here is the output from openstack client

                 openstack --debug service list
            DEBUG: openstackclient.shell options: Namespace(auth_type='', auth_url='http://c 
             ontroller:35357/v2.0/', cacert='', cloud='', debug=True, default_domain='default
              ', deferred_help=False, domain_id='', domain_name='', endpoint='', insecure=None
                , interface='', log_file=None, os_compute_api_version='', os_identity_api_versio
                  n='', os_image_api_version='2', os_network_api_version='', os_object_api_version
                 ='', os_project_id=None, os_project_name=None, os_volume_api_version='2', passwo
                rd='ThePasswordValue', project_domain_id='default', project_domain_name='', project_id='
              ', project_name='admin', region_name='', timing=False, token='', trust_id='', ur
               l='', user_domain_id='default', user_domain_name='', user_id='', username='admin
              ', verbose_level=3, verify=None)
                DEBUG: openstackclient.shell defaults: {'auth_type': 'osc_password', 'compute_ap
              i_version': '2', 'database_api_version': '1.0', 'api_timeout': None, 'baremetal_
                api_version': '1', 'cacert': None, 'image_api_use_tasks': False, 'floating_ip_so
                urce': 'neutron', 'key': None, 'interface': None, 'network_api_version': '2', 'i
              mage_format': 'qcow2', 'object_api_version': '1', 'image_api_version': '1', 'ver
                ify': True, 'identity_api_version': '2', 'volume_api_version': '1', 'cert': None
                 , 'secgroup_source': 'neutron', 'dns_api_version': '2', 'disable_vendor_agent':
                     {}}
                    DEBUG: openstackclient.shell cloud cfg: {'auth_type': 'osc_password', 'compute_a
                   pi_version': '2', 'database_api_version': '1.0', 'interface': None, 'network_api
                   _version': '2', 'image_format': 'qcow2', 'object_api_version': '1', 'image_api_v
                   ersion': '2', 'verify': True, 'timing': False, 'dns_api_version': '2', 'verbose_
                  level': 3, 'region_name': '', 'api_timeout': None, 'baremetal_api_version': '1',
                  'auth': {'username': 'admin', 'project_name': 'admin', 'user_domain_id': 'defau
                lt', 'tenant_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'passw
                  ord': 'ThePasswordValue', 'project_domain_id': 'default'}, 'default_domain': 'default',
              'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': None, 'cac
                ert': None, 'deferred_help': False, 'identity_api_version': '2', 'volume_api_ver
              sion': '2', 'cert': None, 'secgroup_source': 'neutron', 'debug': True, 'disable_
              vendor_agent': {}}
              DEBUG: openstackclient.shell compute API version 2, cmd group openstack.compute.
                  v2
             DEBUG: openstackclient.shell network API version 2, cmd group openstack.network.
               v2
             DEBUG: openstackclient.shell image API version 2, cmd group openstack.image.v2
             DEBUG: openstackclient.shell volume API version 2, cmd group openstack.volume.v2

             DEBUG: openstackclient.shell identity API version 2, cmd group openstack.identit
              y.v2 
               DEBUG: openstackclient.shell object_store API version 1, cmd group openstack.obj
            ect_store.v1
               INFO: openstackclient.shell command: service list -> openstackclient.identity.v2
                 _0.service.ListService
              DEBUG: openstackclient.api.auth Auth plugin osc_password selected
               DEBUG: openstackclient.api.auth auth_type: osc_password
            INFO: openst ackclient.common.clientmanager Using auth plugin: osc_password
              DEBUG: openstackclient.common.clientmanager Using parameters {'username': 'admin
               ', 'project_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'user_d
                omain_id': 'd efault', 'tenant_name': 'admin', 'password': 'ThePasswordValue', 'project_d
                 omain_id': 'default'}
               DEBUG: openstackclient.common.clientmanager Get auth_ref
                DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://controller:35357/v2.
               0/ -H "Accept: application/json" -H "User-Agent: python-openstackclient"
               INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1):
                controller
                WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the
                identity service failed when creating the password plugin. Attempting to determ
               ine version from URL.
               ERROR: openstack Could not determine a suitable URL for the plugin
             Traceback (most recent call last):
                  File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                 self.prepare_to_run_command(cmd)
               File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                epare_to_run_command
                  self.client_manager.auth_ref
                   File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                line 189, in auth_ref
               self._auth_ref = self.auth.get_auth_ref(self.session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 174, in get_auth_ref
                 self._plugin = self._do_create_plugin(session)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 170, in _do_create_plugin
                raise exceptions.DiscoveryFailure(msg)
                DiscoveryFailure: Could not determine a suitable URL for the plugin
                DEBUG: openstackclient.shell clean_up ListService: Could not determine a suitabl
               e URL for the  plugin
                ERROR: openstackclient.shell Traceback (most recent call last):
                   File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 152, in ru
                     n
                     return super(OpenStackShell, self).run(argv)
                     File "C:\Python27\lib\site-packages\cliff\app.py", line 255, in run
                      result = self.run_subcommand(remainder)
                      File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                        self.prepare_to_run_command(cmd)
                     File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                        ep are_to_run_command
                         self.client_manager.auth_ref
                       File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                      line 189, in auth_ref
                       self._auth_ref = self.auth.get_auth_ref(self.session)
                        File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                           py", line 174, in get_auth_ref
                          self._plugin = self._do_create_plugin(session)
                       File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                        py", line 170, in _do_create_plugin
                            raise exceptions.DiscoveryFailure(msg)
                         DiscoveryFailure: C ould not determine a suitable URL for the plugin

Using nova client in windows ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

Hello,

I am running OpenStack kilo on Ubuntu 14.04.3 , I want to use nova or openstack client CLI on windows. The client is working fine on my ubuntu box I am trying to use the nova or OpenStack client on windows but it returns error: ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

I know in linux it is an have seen a similar issue with admin-openrc.sh https://ask.openstack.org/en/question/67118/openstack-could-not-determine-a-suitable-url-for-the-plugin/

However i tried the same values for the variables with admin-openrc.bat but still had no luck

hers is my admin-openrc.bat

          set OS_PROJECT_DOMAIN_ID=default
         set OS_USER_DOMAIN_ID=default
         set OS_PROJECT_NAME=admin
          set OS_TENANT_NAME=admin
          set OS_USERNAME=admin
          set OS_PASSWORD=ThePasswordValue
          set OS_AUTH_URL=http://controller:35357/v2.0/
          set OS_IMAGE_API_VERSION=2
          set OS_VOLUME_API_VERSION=2

Yes, i did set controller IP address in the windows hosts file, and i am able to ping controller

Here is the output from nova-client

     nova --debug service-list
      DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v2.0/ -H "Acc 
      ept: application/json" -H "User-Agent: python-keystoneclient"
      INFO (connectionpool:203) Starting new HTTP connection (1): controller
     WARNING (base:133) Discovering versions from the identity service failed when cr
      eating the password plugin. Attempting to determine version from URL.
       DEBUG (shell:819) Could not determine a suitable URL for the plugin
       Traceb ack (most recent call last):
         File "C:\Python27\lib\site-packages\novaclient\shell.py", line 816, in main
           OpenStackComputeShell().main(argv)
             File "C:\Python27\lib\site-packages\novaclient\shell.py", line 743, in main
            args.fu nc(self.cs, args)
           File "C:\Python27\lib\site-packages\novaclient\v2\shell.py", line 3492, in do_
          service_list
           result = cs.services.list(host=args.host, binary=args.binary)
           File "C:\Python27\lib\site-packages\novaclient\v2\services.py", line 49, in li
           st
           return self._list(url, "services")
          File "C:\Python27\lib\site-packages\novaclient\base.py", line 64, in _list
             _resp, body = self.api.client.get(url)
            File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 170, in g
             et
            return self.request(url, 'GET', **kwargs)
             File "C:\Python27\lib\site-packages\novaclient\client.py", line 101, in reques
              t
                **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 206, in r
              equest
                resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
                 File "C:\Python27\lib\site-packages\keystoneclient\adapter.py", line 95, in re
                  quest
                   return self.session.request(url, method, **kwargs)
                   File "C:\Python27\lib\site-packages\keystoneclient\utils.py", line 336, in inn
                   er
                 return func(*args, **kwargs)
                    File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 313, in r
                   equest
                  auth_headers = self.get_auth_headers(auth)
                 File "C:\Python27\lib\site-packages\keystoneclient\session.py", line 598, in g
               et_auth_headers
                   return auth.get_headers(self, **kwargs)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\base.py", line 142, in
                get_headers
                   token = self.get_token(session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                e 105, in get_token
                   return self.get_access(session).auth_token
                   File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\base.py", lin
                  e 145, in get_access
                 self.auth_ref = self.get_auth_ref(session)
                 File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                    py", line 174, in get_auth_ref
                     self._plugin = self._do_create_plugin(session)
                     File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                     py", line 170, in _do_create_plugin
                         raise exceptions.DiscoveryFailure(msg)
                      DiscoveryFailure: Could not determine a suitable URL for the plugin
                      ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin

here is the output from openstack client

                 openstack --debug service list
            DEBUG: openstackclient.shell options: Namespace(auth_type='', auth_url='http://c 
             ontroller:35357/v2.0/', cacert='', cloud='', debug=True, default_domain='default
              ', deferred_help=False, domain_id='', domain_name='', endpoint='', insecure=None
                , interface='', log_file=None, os_compute_api_version='', os_identity_api_versio
                  n='', os_image_api_version='2', os_network_api_version='', os_object_api_version
                 ='', os_project_id=None, os_project_name=None, os_volume_api_version='2', passwo
                rd='ThePasswordValue', project_domain_id='default', project_domain_name='', project_id='
              ', project_name='admin', region_name='', timing=False, token='', trust_id='', ur
               l='', user_domain_id='default', user_domain_name='', user_id='', username='admin
              ', verbose_level=3, verify=None)
                DEBUG: openstackclient.shell defaults: {'auth_type': 'osc_password', 'compute_ap
              i_version': '2', 'database_api_version': '1.0', 'api_timeout': None, 'baremetal_
                api_version': '1', 'cacert': None, 'image_api_use_tasks': False, 'floating_ip_so
                urce': 'neutron', 'key': None, 'interface': None, 'network_api_version': '2', 'i
              mage_format': 'qcow2', 'object_api_version': '1', 'image_api_version': '1', 'ver
                ify': True, 'identity_api_version': '2', 'volume_api_version': '1', 'cert': None
                 , 'secgroup_source': 'neutron', 'dns_api_version': '2', 'disable_vendor_agent':
                     {}}
                    DEBUG: openstackclient.shell cloud cfg: {'auth_type': 'osc_password', 'compute_a
                   pi_version': '2', 'database_api_version': '1.0', 'interface': None, 'network_api
                   _version': '2', 'image_format': 'qcow2', 'object_api_version': '1', 'image_api_v
                   ersion': '2', 'verify': True, 'timing': False, 'dns_api_version': '2', 'verbose_
                  level': 3, 'region_name': '', 'api_timeout': None, 'baremetal_api_version': '1',
                  'auth': {'username': 'admin', 'project_name': 'admin', 'user_domain_id': 'defau
                lt', 'tenant_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'passw
                  ord': 'ThePasswordValue', 'project_domain_id': 'default'}, 'default_domain': 'default',
              'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': None, 'cac
                ert': None, 'deferred_help': False, 'identity_api_version': '2', 'volume_api_ver
              sion': '2', 'cert': None, 'secgroup_source': 'neutron', 'debug': True, 'disable_
              vendor_agent': {}}
              DEBUG: openstackclient.shell compute API version 2, cmd group openstack.compute.
                  v2
             DEBUG: openstackclient.shell network API version 2, cmd group openstack.network.
               v2
             DEBUG: openstackclient.shell image API version 2, cmd group openstack.image.v2
             DEBUG: openstackclient.shell volume API version 2, cmd group openstack.volume.v2

             DEBUG: openstackclient.shell identity API version 2, cmd group openstack.identit
              y.v2 
               DEBUG: openstackclient.shell object_store API version 1, cmd group openstack.obj
            ect_store.v1
               INFO: openstackclient.shell command: service list -> openstackclient.identity.v2
                 _0.service.ListService
              DEBUG: openstackclient.api.auth Auth plugin osc_password selected
               DEBUG: openstackclient.api.auth auth_type: osc_password
            INFO: openst ackclient.common.clientmanager Using auth plugin: osc_password
              DEBUG: openstackclient.common.clientmanager Using parameters {'username': 'admin
               ', 'project_name': 'admin', 'auth_url': 'http://controller:35357/v2.0/', 'user_d
                omain_id': 'd efault', 'tenant_name': 'admin', 'password': 'ThePasswordValue', 'project_d
                 omain_id': 'default'}
               DEBUG: openstackclient.common.clientmanager Get auth_ref
                DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://controller:35357/v2.
               0/ -H "Accept: application/json" -H "User-Agent: python-openstackclient"
               INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1):
                controller
                WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the
                identity service failed when creating the password plugin. Attempting to determ
               ine version from URL.
               ERROR: openstack Could not determine a suitable URL for the plugin
             Traceback (most recent call last):
                  File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                 self.prepare_to_run_command(cmd)
               File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                epare_to_run_command
                  self.client_manager.auth_ref
                   File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                line 189, in auth_ref
               self._auth_ref = self.auth.get_auth_ref(self.session)
              File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 174, in get_auth_ref
                 self._plugin = self._do_create_plugin(session)
               File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
              py", line 170, in _do_create_plugin
                raise exceptions.DiscoveryFailure(msg)
                DiscoveryFailure: Could not determine a suitable URL for the plugin
                DEBUG: openstackclient.shell clean_up ListService: Could not determine a suitabl
               e URL for the  plugin
                ERROR: openstackclient.shell Traceback (most recent call last):
                   File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 152, in ru
                     n
                     return super(OpenStackShell, self).run(argv)
                     File "C:\Python27\lib\site-packages\cliff\app.py", line 255, in run
                      result = self.run_subcommand(remainder)
                      File "C:\Python27\lib\site-packages\cliff\app.py", line 367, in run_subcommand

                        self.prepare_to_run_command(cmd)
                     File "C:\Python27\lib\site-packages\openstackclient\shell.py", line 360, in pr
                        ep are_to_run_command
                         self.client_manager.auth_ref
                       File "C:\Python27\lib\site-packages\openstackclient\common\clientmanager.py",
                      line 189, in auth_ref
                       self._auth_ref = self.auth.get_auth_ref(self.session)
                        File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                           py", line 174, in get_auth_ref
                          self._plugin = self._do_create_plugin(session)
                       File "C:\Python27\lib\site-packages\keystoneclient\auth\identity\generic\base.
                        py", line 170, in _do_create_plugin
                            raise exceptions.DiscoveryFailure(msg)
                         DiscoveryFailure: C ould not determine a suitable URL for the plugin