Public bug reported: 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-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab) ahmad@controller:~/openstack$ Content of /var/log/nova-api.log 2016-11-10 12:57:53.649 5196 ERROR stevedore.extension [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Could not load 'file': cannot import name imageutils 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Unexpected exception in API method 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **create_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions show_deleted=show_deleted) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id) 2016-11-10 12:57:53.650 5196 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-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions result = getattr(client.images, method)(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions % urlparse.quote(str(image_id))) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 284, in head 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return self._request('HEAD', url, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in _request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions resp = self.send(prep, **send_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 590, in send 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions adapter = self.get_adapter(url=request.url) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 672, in get_adapter 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions raise InvalidSchema("No connection adapters were found for '%s'" % url) 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' 2016-11-10 12:57:53.650 5196 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: Thu, 10 Nov 2016 17:56:46 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-9e2836be-78df-4831-ac03-b024425f3ea5 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-10T18:56:46.294268Z", "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": ["lFsBvC5aQDOh21PkGj5jfg"], "issued_at": "2016-11-10T17:56:46.294283Z"}} 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 used request id req-00e1323a-65f5-45c4-9009-5ee891f6a897 REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" DEBUG (connectionpool:401) "GET /v2/ HTTP/1.1" 200 375 RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d DEBUG (client:85) GET call to compute for http://controller:8774/v2/ used request id req-9896df05-4179-4f09-9f86-26b8aa34a94d 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 Date: Thu, 10 Nov 2016 17:56:46 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-6cd4a928-5816-4aa8-8883-b9896129dc80 Date: Thu, 10 Nov 2016 17:56:46 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-6cd4a928-5816-4aa8-8883-b9896129dc80 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-79399f1c-a771-42c0-9946-13676c920ee1 Date: Thu, 10 Nov 2016 17:56:46 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-79399f1c-a771-42c0-9946-13676c920ee1 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b Date: Thu, 10 Nov 2016 17:56:46 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b 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}c265c554c604e40e528e553ef51f05fb52af42f4" -d '{"server": {"name": "public-instanc", "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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 Date: Thu, 10 Nov 2016 17:56:46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) ahmad@controller:~/openstack$ ** Affects: nova Importance: Undecided Status: New ** Description changed: I am using official installation guide for liberty. Everything is fine - until I want to lunch the first instance using demo user. The following + 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-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab) - ahmad@controller:~/openstack$ + ahmad@controller:~/openstack$ Content of /var/log/nova-api.log 2016-11-10 12:57:53.649 5196 ERROR stevedore.extension [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Could not load 'file': cannot import name imageutils 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Unexpected exception in API method 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **create_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions show_deleted=show_deleted) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id) 2016-11-10 12:57:53.650 5196 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-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions result = getattr(client.images, method)(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions % urlparse.quote(str(image_id))) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 284, in head 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return self._request('HEAD', url, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in _request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions resp = self.send(prep, **send_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 590, in send 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions adapter = self.get_adapter(url=request.url) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 672, in get_adapter 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions raise InvalidSchema("No connection adapters were found for '%s'" % url) 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' - 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions - - - Running with debug option: - + 2016-11-10 12:57:53.650 5196 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: Thu, 10 Nov 2016 17:56:46 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-9e2836be-78df-4831-ac03-b024425f3ea5 Content-Length: 249 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json + DEBUG (session:366) RESP: [200] Date: Thu, 10 Nov 2016 17:56:46 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-9e2836be-78df-4831-ac03-b024425f3ea5 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-10T18:56:46.294268Z", "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": ["lFsBvC5aQDOh21PkGj5jfg"], "issued_at": "2016-11-10T17:56:46.294283Z"}} 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 used request id req-00e1323a-65f5-45c4-9009-5ee891f6a897 REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" DEBUG (connectionpool:401) "GET /v2/ HTTP/1.1" 200 375 - RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d DEBUG (client:85) GET call to compute for http://controller:8774/v2/ used request id req-9896df05-4179-4f09-9f86-26b8aa34a94d 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [200] Content-Length: 665 Content-Type: application/json; charset=UTF-8 X-Openstack-Request-Id: req-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 Date: Thu, 10 Nov 2016 17:56:46 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-6cd4a928-5816-4aa8-8883-b9896129dc80 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [404] Content-Type: application/json; charset=UTF-8 Content-Length: 80 X-Compute-Request-Id: req-6cd4a928-5816-4aa8-8883-b9896129dc80 Date: Thu, 10 Nov 2016 17:56:46 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-6cd4a928-5816-4aa8-8883-b9896129dc80 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-79399f1c-a771-42c0-9946-13676c920ee1 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [200] Content-Length: 1209 Content-Type: application/json X-Compute-Request-Id: req-79399f1c-a771-42c0-9946-13676c920ee1 Date: Thu, 10 Nov 2016 17:56:46 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-79399f1c-a771-42c0-9946-13676c920ee1 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [200] Content-Length: 418 Content-Type: application/json X-Compute-Request-Id: req-c4755abc-903a-4e9a-8eb8-4389c6980d1b Date: Thu, 10 Nov 2016 17:56:46 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b 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}c265c554c604e40e528e553ef51f05fb52af42f4" -d '{"server": {"name": "public-instanc", "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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 Date: Thu, 10 Nov 2016 17:56:46 GMT Connection: keep-alive + DEBUG (session:366) RESP: [500] Content-Type: application/json; charset=UTF-8 Content-Length: 207 X-Compute-Request-Id: req-a8407b88-20ab-4e5d-80b5-824b3eee2b46 Date: Thu, 10 Nov 2016 17:56:46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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) + 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) ahmad@controller:~/openstack$ -- 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): New 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-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab) ahmad@controller:~/openstack$ Content of /var/log/nova-api.log 2016-11-10 12:57:53.649 5196 ERROR stevedore.extension [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Could not load 'file': cannot import name imageutils 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions [req-017bedee-66fc-4ef3-aeaf-d424ee1fd2ab 06008100a27c4cf28f5c18920423cf18 3610c619c3c24265a5177e390e98f9e7 - - -] Unexpected exception in API method 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return func(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **create_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions show_deleted=show_deleted) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id) 2016-11-10 12:57:53.650 5196 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-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions result = getattr(client.images, method)(*args, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions % urlparse.quote(str(image_id))) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 284, in head 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions return self._request('HEAD', url, **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in _request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions **kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions resp = self.send(prep, **send_kwargs) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 590, in send 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions adapter = self.get_adapter(url=request.url) 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 672, in get_adapter 2016-11-10 12:57:53.650 5196 ERROR nova.api.openstack.extensions raise InvalidSchema("No connection adapters were found for '%s'" % url) 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' 2016-11-10 12:57:53.650 5196 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: Thu, 10 Nov 2016 17:56:46 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-9e2836be-78df-4831-ac03-b024425f3ea5 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-10T18:56:46.294268Z", "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": ["lFsBvC5aQDOh21PkGj5jfg"], "issued_at": "2016-11-10T17:56:46.294283Z"}} 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 Date: Thu, 10 Nov 2016 17:56:46 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-00e1323a-65f5-45c4-9009-5ee891f6a897 DEBUG (client:85) GET call to compute for http://controller:8774/v2/3610c619c3c24265a5177e390e98f9e7 used request id req-00e1323a-65f5-45c4-9009-5ee891f6a897 REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c265c554c604e40e528e553ef51f05fb52af42f4" 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}c265c554c604e40e528e553ef51f05fb52af42f4" DEBUG (connectionpool:401) "GET /v2/ HTTP/1.1" 200 375 RESP: [200] Content-Length: 375 Content-Type: application/json X-Compute-Request-Id: req-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d Date: Thu, 10 Nov 2016 17:56:46 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-9896df05-4179-4f09-9f86-26b8aa34a94d DEBUG (client:85) GET call to compute for http://controller:8774/v2/ used request id req-9896df05-4179-4f09-9f86-26b8aa34a94d 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 Date: Thu, 10 Nov 2016 17:56:46 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-0ae62b28-5a5b-4628-b761-9e5f5758c8b8 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-6cd4a928-5816-4aa8-8883-b9896129dc80 Date: Thu, 10 Nov 2016 17:56:46 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-6cd4a928-5816-4aa8-8883-b9896129dc80 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-79399f1c-a771-42c0-9946-13676c920ee1 Date: Thu, 10 Nov 2016 17:56:46 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-79399f1c-a771-42c0-9946-13676c920ee1 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}c265c554c604e40e528e553ef51f05fb52af42f4" 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b Date: Thu, 10 Nov 2016 17:56:46 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-c4755abc-903a-4e9a-8eb8-4389c6980d1b 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}c265c554c604e40e528e553ef51f05fb52af42f4" -d '{"server": {"name": "public-instanc", "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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 Date: Thu, 10 Nov 2016 17:56:46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) 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-a8407b88-20ab-4e5d-80b5-824b3eee2b46) ahmad@controller:~/openstack$ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1640884/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

