← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1640884] Re: "No connection adapters were found" exception

 

The original bug turned out to be a typo in a config file. Closing as
invalid, as this is going to be too confusing to change streams on what
the bug is.

If there is a second issue, please open as a second bug.

** Changed in: nova
       Status: New => Won't Fix

** Changed in: nova
       Status: Won't Fix => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1640884

Title:
  "No connection adapters were found" exception

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I am using official installation guide for liberty. Everything is fine
  until I want to luanch the first instance using demo user. The
  following is the command that I run and the error that I get. I
  attached the logs in nova-api.log. I can not understnad why
  "2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions
  InvalidSchema: No connection adapters were found for
  'http:://192.168.1.247:9292/v1/images/5198dabb-
  6e54-4d49-a3a0-e678c5974e1c'" happens. It is weired that it is trying
  for "http:://xxx"; I mean with 2 ":".

  Can you please let me know how can I solve this problem?

  http://docs.openstack.org/liberty/install-guide-ubuntu/launch-
  instance.html#launch-instance

  ahmad@controller:~/openstack$ lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04
  Codename:	xenial

  Running without debug option:

  ahmad@controller:~/openstack$ nova boot --flavor m1.tiny --image cirros --nic net-id=588f5f89-74c6-48ef-a4d6-a293b7a77f99 --security-group default --key-name mykey public-instance
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'requests.exceptions.InvalidSchema'> (HTTP 500) (Request-ID: req-cdeb5aa3-fa7f-4086-b012-517467a77a5c)

  
  Content of /var/log/nova-api.log

  2016-11-11 08:45:37.873 22626 WARNING keystonemiddleware.auth_token [-] Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use  memcache for the auth_token token cache by setting the memcached_servers option.
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions [req-cdeb5aa3-fa7f-4086-b012-517467a77a5c 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Unexpected exception in API method
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     image_id, boot_meta = self._get_image(context, image_href)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     image = self.image_api.get(context, image_href)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     show_deleted=show_deleted)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     _reraise_translated_image_exception(image_id)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 682, in _reraise_translated_image_exception
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     six.reraise(new_exc, None, exc_trace)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     image = self._client.call(context, version, 'get', image_id)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     result = getattr(client.images, method)(*args, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     % urlparse.quote(str(image_id)))
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 284, in head
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     return self._request('HEAD', url, **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in _request
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     **kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     resp = self.send(prep, **send_kwargs)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 590, in send
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     adapter = self.get_adapter(url=request.url)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 672, in get_adapter
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions     raise InvalidSchema("No connection adapters were found for '%s'" % url)
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions InvalidSchema: No connection adapters were found for 'http:://192.168.1.247:9292/v1/images/5198dabb-6e54-4d49-a3a0-e678c5974e1c'
  2016-11-11 08:45:38.934 22626 ERROR nova.api.openstack.extensions 


  Running with debug option:

  ahmad@controller:~/openstack$ nova --debug  boot --flavor m1.tiny --image cirros --nic net-id=588f5f89-74c6-48ef-a4d6-a293b7a77f99 --security-group default --key-name mykey public-instance
  DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
  DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
  DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
  DEBUG (extension:157) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
  DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
  DEBUG (extension:157) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
  DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
  DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
  DEBUG (extension:157) found extension EntryPoint.parse('aodh-noauth = aodhclient.noauth:AodhNoAuthLoader')
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/2.11.1 python-requests/2.11.1 CPython/2.7.12"
  INFO (connectionpool:214) Starting new HTTP connection (1): controller
  DEBUG (connectionpool:401) "GET /v3 HTTP/1.1" 200 249
  DEBUG (session:366) RESP: [200] Date: Fri, 11 Nov 2016 13:48:24 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-d51c6b31-fcfc-4836-821f-6cd16bcba3c3 Content-Length: 249 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
  RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://controller:5000/v3/";, "rel": "self"}]}}

  DEBUG (base:165) Making authentication request to http://controller:5000/v3/auth/tokens
  DEBUG (connectionpool:401) "POST /v3/auth/tokens HTTP/1.1" 201 2931
  DEBUG (base:170) {"token": {"methods": ["password"], "roles": [{"id": "75c33d82138a4f17bbf8815b510dc4e4", "name": "user"}], "expires_at": "2016-11-11T14:48:25.417725Z", "project": {"domain": {"id": "7af449c0a3774e91b1cef697aea03ccd", "name": "Default"}, "id": "3610c619c3c24265a5177e390e98f9e7", "name": "demo"}, "catalog": [{"endpoints": [], "type": "image", "id": "136dc848910046c190b73996002acf4c", "name": "glance"}, {"endpoints": [{"url": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3935d41a002a4e2a9472865ec9b4ff14"}, {"url": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6bea881afd23496eaa5e4d609921cf43"}, {"url": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bf688741f6774f659abc1985add753bb"}], "type": "compute", "id": "91973b293f63418b925444a467692ed7", "name": "nova"}, {"endpoints": [{"url": "http://controller:9292";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "909a5139a6444e3795ce7be7a2758e4c"}, {"url": "http://controller:9292";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "93099177400b4e018db2ba9ab881a9e7"}, {"url": "http://controller:9292";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b76d6244c5ad41909b229fb934f1e391"}], "type": "image", "id": "c278bb29765c4197bfdd297388383989", "name": "glance"}, {"endpoints": [{"url": "http://controller:5000/v2.0";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "76d7371386594120b2147b58b7afd33f"}, {"url": "http://controller:35357/v2.0";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c47e5b22540b43df91a48f590769e976"}, {"url": "http://controller:5000/v2.0";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "eae3daf23c7640298be247e77aa2ab31"}], "type": "identity", "id": "d4a66b906e824e118ec212ce291bec48", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9696";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "38f3c31daec74885a4140252e22396e8"}, {"url": "http://controller:9696";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "486f38097fdd418db15fb9582b5f375f"}, {"url": "http://controller:9696";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cf93633830274dcfab054978b4da1a93"}], "type": "network", "id": "ecd8684a0c184c59af114c2deab65b3a", "name": "neutron"}], "user": {"domain": {"id": "7af449c0a3774e91b1cef697aea03ccd", "name": "Default"}, "id": "06008100a27c4cf28f5c18920423cf18", "name": "demo"}, "audit_ids": ["PnHYgzAxT8aB_8D947ttLQ"], "issued_at": "2016-11-11T13:48:25.417741Z"}}
  REQ: curl -g -i -X GET http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  INFO (connectionpool:214) Starting new HTTP connection (1): controller
  DEBUG (connectionpool:401) "GET /v2/3610c619c3c24265a5177e390e98f9e7 HTTP/1.1" 404 112
  RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-47dc4a8c-cb69-4353-b008-61eb0795c137 Date: Fri, 11 Nov 2016 13:48:25 GMT Connection: keep-alive 
  RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}

  DEBUG (session:366) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-47dc4a8c-cb69-4353-b008-61eb0795c137 Date: Fri, 11 Nov 2016 13:48:25 GMT Connection: keep-alive 
  RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}

  GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 used request id req-47dc4a8c-cb69-4353-b008-61eb0795c137
  DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 used request id req-47dc4a8c-cb69-4353-b008-61eb0795c137
  REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (connectionpool:401) "GET /v2/ HTTP/1.1" 200 375
  RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-53cc764f-9235-4aa1-81b1-4f3c05aee276 Date: Fri, 11 Nov 2016 13:48:25 GMT Connection: keep-alive 
  RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://controller:8774/v2/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

  DEBUG (session:366) RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-53cc764f-9235-4aa1-81b1-4f3c05aee276 Date: Fri, 11 Nov 2016 13:48:25 GMT Connection: keep-alive 
  RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://controller:8774/v2/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

  GET call to compute for http://controller:8774/v2/ used request id req-53cc764f-9235-4aa1-81b1-4f3c05aee276
  DEBUG (client:85) GET call to compute for http://controller:8774/v2/ used request id req-53cc764f-9235-4aa1-81b1-4f3c05aee276
  DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
  DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
  DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
  DEBUG (extension:157) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
  DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
  DEBUG (extension:157) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
  DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
  DEBUG (extension:157) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
  DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
  DEBUG (extension:157) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
  DEBUG (extension:157) found extension EntryPoint.parse('aodh-noauth = aodhclient.noauth:AodhNoAuthLoader')
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:9292/v2/images?name=cirros -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  INFO (connectionpool:214) Starting new HTTP connection (1): controller
  DEBUG (connectionpool:401) "GET /v2/images?name=cirros HTTP/1.1" 200 665
  DEBUG (session:366) RESP: [200] Content-Length: 665 Content-Type: application/json; charset=UTF-8 X-Openstack-Request-Id: req-964b5438-688f-4d73-b1be-667c7675964b Date: Fri, 11 Nov 2016 13:48:26 GMT Connection: keep-alive 
  RESP BODY: {"images": [{"status": "active", "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2016-11-04T13:47:25Z", "size": 13287936, "disk_format": "qcow2", "updated_at": "2016-11-04T13:47:25Z", "visibility": "public", "self": "/v2/images/5198dabb-6e54-4d49-a3a0-e678c5974e1c", "min_disk": 0, "protected": false, "id": "5198dabb-6e54-4d49-a3a0-e678c5974e1c", "file": "/v2/images/5198dabb-6e54-4d49-a3a0-e678c5974e1c/file", "checksum": "ee1eca47dc88f4879d8a229cc70a07c6", "owner": "1ffff13f1c10460794b2b1b9d5cce53d", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images", "first": "/v2/images?name=cirros"}

  DEBUG (client:85) GET call to image for http://controller:9292/v2/images?name=cirros used request id req-964b5438-688f-4d73-b1be-667c7675964b
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/m1.tiny -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (connectionpool:401) "GET /v2/3610c619c3c24265a5177e390e98f9e7/flavors/m1.tiny HTTP/1.1" 404 80
  DEBUG (session:366) RESP: [404] Content-Type: application/json; charset=UTF-8 Content-Length: 80 X-Compute-Request-Id: req-0d7cd1bb-b19d-4d92-87bd-2acdcf4fb099 Date: Fri, 11 Nov 2016 13:48:26 GMT Connection: keep-alive 
  RESP BODY: {"itemNotFound": {"message": "Flavor m1.tiny could not be found.", "code": 404}}

  DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/m1.tiny used request id req-0d7cd1bb-b19d-4d92-87bd-2acdcf4fb099
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors?is_public=None -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (connectionpool:401) "GET /v2/3610c619c3c24265a5177e390e98f9e7/flavors?is_public=None HTTP/1.1" 200 1209
  DEBUG (session:366) RESP: [200] Content-Length: 1209 Content-Type: application/json X-Compute-Request-Id: req-b28980f7-82f8-4df8-9e89-8e70dfc597f5 Date: Fri, 11 Nov 2016 13:48:26 GMT Connection: keep-alive 
  RESP BODY: {"flavors": [{"id": "1", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/1";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/1";, "rel": "bookmark"}], "name": "m1.tiny"}, {"id": "2", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/2";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/2";, "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/3";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/3";, "rel": "bookmark"}], "name": "m1.medium"}, {"id": "4", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/4";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/4";, "rel": "bookmark"}], "name": "m1.large"}, {"id": "5", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/5";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/5";, "rel": "bookmark"}], "name": "m1.xlarge"}]}

  DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors?is_public=None used request id req-b28980f7-82f8-4df8-9e89-8e70dfc597f5
  DEBUG (session:337) REQ: curl -g -i -X GET http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/1 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973"
  DEBUG (connectionpool:401) "GET /v2/3610c619c3c24265a5177e390e98f9e7/flavors/1 HTTP/1.1" 200 418
  DEBUG (session:366) RESP: [200] Content-Length: 418 Content-Type: application/json X-Compute-Request-Id: req-8d82ca46-875d-4370-b793-0ad1c60aeafa Date: Fri, 11 Nov 2016 13:48:26 GMT Connection: keep-alive 
  RESP BODY: {"flavor": {"name": "m1.tiny", "links": [{"href": "http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/1";, "rel": "self"}, {"href": "http://controller:8774/3610c619c3c24265a5177e390e98f9e7/flavors/1";, "rel": "bookmark"}], "ram": 512, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 1, "id": "1"}}

  DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/flavors/1 used request id req-8d82ca46-875d-4370-b793-0ad1c60aeafa
  DEBUG (session:337) REQ: curl -g -i -X POST http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0aa54250b4ce757d77d059db5ff40f91a331f973" -d '{"server": {"name": "public-instance", "imageRef": "5198dabb-6e54-4d49-a3a0-e678c5974e1c", "key_name": "mykey", "flavorRef": "1", "max_count": 1, "min_count": 1, "networks": [{"uuid": "588f5f89-74c6-48ef-a4d6-a293b7a77f99"}], "security_groups": [{"name": "default"}]}}'
  DEBUG (connectionpool:401) "POST /v2/3610c619c3c24265a5177e390e98f9e7/servers HTTP/1.1" 500 207
  DEBUG (session:366) RESP: [500] Content-Type: application/json; charset=UTF-8 Content-Length: 207 X-Compute-Request-Id: req-8baffd3f-0408-49f6-b898-ce45f15b298f Date: Fri, 11 Nov 2016 13:48:26 GMT Connection: keep-alive 
  RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'requests.exceptions.InvalidSchema'>", "code": 500}}

  DEBUG (client:85) POST call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7/servers used request id req-8baffd3f-0408-49f6-b898-ce45f15b298f
  DEBUG (shell:984) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'requests.exceptions.InvalidSchema'> (HTTP 500) (Request-ID: req-8baffd3f-0408-49f6-b898-ce45f15b298f)
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 982, in main
      OpenStackComputeShell().main(argv)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 909, in main
      args.func(self.cs, args)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 611, in do_boot
      server = cs.servers.create(*boot_args, **boot_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1330, in create
      **boot_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 748, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 356, in _create
      resp, body = self.api.client.post(url, body=body)
    File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 193, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 117, in request
      raise exceptions.from_response(resp, body, url, method)
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'requests.exceptions.InvalidSchema'> (HTTP 500) (Request-ID: req-8baffd3f-0408-49f6-b898-ce45f15b298f)
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'requests.exceptions.InvalidSchema'> (HTTP 500) (Request-ID: req-8baffd3f-0408-49f6-b898-ce45f15b298f)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1640884/+subscriptions


References