[Openstack-operators] Glance issues with ceph after Juno upgrade

Abel Lopez alopgeek at gmail.com
Mon Mar 9 22:42:00 UTC 2015


IIRC, The config file looks dramatically different in Juno.
Take a look at the new sections in https://github.com/openstack/glance/blob/stable/juno/etc/glance-api.conf <https://github.com/openstack/glance/blob/stable/juno/etc/glance-api.conf>

In the sample config, it lists the stores as 'glance.store.{type}.Store', so in your [glance_store] section, you may want to try
stores = glance.store.rbd.Store

> On Mar 9, 2015, at 3:24 PM, Nathan Stratton <nathan at robotics.net> wrote:
> 
> I am able to run glance image-list, but if I try to delete or do anything else with images I get the error below.
> 
> I updated keystone_authtoken section for Juno like I did with all the other modules, the ceph part of my config:
> 
> default_store = rbd
> show_image_direct_url=True
> 
> [glance_store]
> stores = rbd
> rbd_store_pool = images
> rbd_store_user = images
> rbd_store_ceph_conf = /etc/ceph/ceph.conf
> rbd_store_chunk_size = 8
> 
> 
> 
> 
> 
> 
> 
> 
> 
> api.log
> 2015-03-09 18:19:34.084 2882 DEBUG glance.api.middleware.version_negotiation [-] Determining version of request: HEAD /v1/images/52423bc4-aa33-4dae-a122-d1d421ebcb90 Accept: */* process_request /usr/lib/python2.7/site-packages/glance/api/m
> iddleware/version_negotiation.py:44
> 2015-03-09 18:19:34.084 2882 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:57
> 2015-03-09 18:19:34.084 2882 DEBUG glance.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:69
> 2015-03-09 18:19:34.085 2882 DEBUG glance.api.middleware.version_negotiation [-] new path /v1/images/52423bc4-aa33-4dae-a122-d1d421ebcb90 process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:70
> 2015-03-09 18:19:34.085 2882 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-
> Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domai
> n-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
> 2015-03-09 18:19:34.085 2882 DEBUG keystonemiddleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:708
> 2015-03-09 18:19:34.086 2882 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://10.71.0.218:35357/ <http://10.71.0.218:35357/> -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/lib/python2.7/site-packages/keystonecli
> ent/session.py:155
> 2015-03-09 18:19:34.096 2882 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.71.0.218
> 2015-03-09 18:19:34.102 2882 DEBUG urllib3.connectionpool [-] "GET / HTTP/1.1" 300 759 _make_request /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:357
> 2015-03-09 18:19:34.112 2882 DEBUG keystoneclient.session [-] RESP: [300] {'date': 'Mon, 09 Mar 2015 22:19:34 GMT', 'content-type': 'application/json', 'content-length': '759', 'vary': 'X-Auth-Token'}
> RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}, {"base": "application/xml", "type": "applicatio
> n/vnd.openstack.identity-v3+xml"}], "id": "v3.0", "links": [{"href": "http://10.71.0.218:35357/v3/ <http://10.71.0.218:35357/v3/>", "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "applicatio
> n/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://10.71.0.218:35357/v2.0/ <http://10.71.0.218:35357/v2.0/>", "rel": "self"}, {"href": "http://docs.openstack.o <http://docs.openstack.o/>
> rg/", "type": "text/html", "rel": "describedby"}]}]}}
>  _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
> 2015-03-09 18:19:34.112 2882 DEBUG keystonemiddleware.auth_token [-] Server reports support for api versions: v3.0, v2.0 _get_supported_versions /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1508
> 2015-03-09 18:19:34.113 2882 INFO keystonemiddleware.auth_token [-] Auth Token confirmed use of v3.0 apis
> 2015-03-09 18:19:34.113 2882 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://10.71.0.218:35357/v2.0/tokens <http://10.71.0.218:35357/v2.0/tokens> get_auth_ref /usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:77
> 2015-03-09 18:19:34.344 2882 DEBUG urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 3085 _make_request /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:357
> 2015-03-09 18:19:34.345 2882 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://10.71.0.218:35357/v3/auth/tokens <http://10.71.0.218:35357/v3/auth/tokens> -H "X-Subject-Token: TOKEN_REDACTED" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-
> Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
> 2015-03-09 18:19:34.421 2882 DEBUG urllib3.connectionpool [-] "GET /v3/auth/tokens HTTP/1.1" 200 5955 _make_request /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:357
> 2015-03-09 18:19:34.422 2882 DEBUG keystoneclient.session [-] RESP: [200] {'x-subject-token': 'ab227a58aa834295b436b27b6d583ab1', 'content-type': 'application/json', 'content-length': '5955', 'vary': 'X-Auth-Token', 'date': 'Mon, 09 Mar 20
> 15 22:19:34 GMT'}
> RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "d7ed50bf853340e0980d1cbcae8c14ca", "name": "admin"}], "expires_at": "2015-03-09T23:19:34.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id":
> "0ebcdedac0a3480ca81050bfedd97cf1", "name": "BroadSoft Labs"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "internal", "id"
> : "1dfd84fe0de14c3c81efdfd7ff8a1244"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "admin", "id": "dbe4ac2d75f7461f8ff051a45ffb7479"}, {"region_id": "
> RegionOne", "url": "http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v1/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "public", "id": "f6b89971788841ea8934481e0549b566"}], "type": "volume", "id": "1f7e0f9d13e04702b2f3fc09c6264440", "name":
>  "cinder"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "internal", "id": "965990191c7d4fcdb95575dd2e504233"}, {"region_id": "RegionOne
> ", "url": "http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8774/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "public", "id": "b34d88fc20a740e48dbd4abfe83ea0d3"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8774/v2/0ebcdedac0a3480 <http://10.71.0.218:8774/v2/0ebcdedac0a3480>
> ca81050bfedd97cf1", "region": "RegionOne", "interface": "admin", "id": "b44be58a5a594cddb0b7988fcd892866"}], "type": "compute", "id": "2ef5b343a1db454496f6f6a49f7cadef", "name": "nova"}, {"endpoints": [{"region_id": "RegionOne", "url": "ht
> tp://10.71.0.218:8773/services/Admin <http://10.71.0.218:8773/services/Admin>", "region": "RegionOne", "interface": "admin", "id": "498579a152e54ad58976a779e0ba5724"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8773/services/Cloud <http://10.71.0.218:8773/services/Cloud>", "region": "RegionOne", "interface":
> "public", "id": "9db7f116de96427f9d46308a193720ce"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8773/services/Cloud <http://10.71.0.218:8773/services/Cloud>", "region": "RegionOne", "interface": "internal", "id": "a9690389707945d59b3e384ef2ad3ca4"}], "type": "ec2", "id
> ": "3b65a72c6aa740f184dae95c7ab75d18", "name": "nova_ec2"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:9292 <http://10.71.0.218:9292/>", "region": "RegionOne", "interface": "admin", "id": "1dff3e40f9bf430f9b79654b8e59c1f1"}, {"region_id": "
> RegionOne", "url": "http://10.71.0.218:9292 <http://10.71.0.218:9292/>", "region": "RegionOne", "interface": "public", "id": "771116392a7f459cb1a17949400b1f88"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:9292 <http://10.71.0.218:9292/>", "region": "RegionOne", "interface": "intern
> al", "id": "86f11c1eff1e49c28a6f7becb468c65e"}], "type": "image", "id": "3e096c40dc30433c8faaabc90fde590c", "name": "glance"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:8777 <http://10.71.0.218:8777/>", "region": "RegionOne", "interface":
> "public", "id": "98ff5aa8b3ec4df0a6cc2c876dd0d7dc"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8777 <http://10.71.0.218:8777/>", "region": "RegionOne", "interface": "internal", "id": "db4fd3bf92924604a5f9fb3bb5b7d550"}, {"region_id": "RegionOne", "url":
> "http://10.71.0.218:8777 <http://10.71.0.218:8777/>", "region": "RegionOne", "interface": "admin", "id": "e8709f38fe99463db729fc279b971736"}], "type": "metering", "id": "83c1d5a234b64f04a0c4794ae7b78a50", "name": "ceilometer"}, {"endpoints": [{"region_id": "RegionOn
> e", "url": "http://10.71.0.218:8774/v3 <http://10.71.0.218:8774/v3>", "region": "RegionOne", "interface": "admin", "id": "09fe287f2f8a481489902d46c1d53118"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8774/v3 <http://10.71.0.218:8774/v3>", "region": "RegionOne", "interface": "internal"
> , "id": "74b6c579a9fc4701bceeb6c9ff087393"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8774/v3 <http://10.71.0.218:8774/v3>", "region": "RegionOne", "interface": "public", "id": "a3d3a3ebfd18464681d9beca32bff030"}], "type": "computev3", "id": "89022a20fceb
> 49acbcea29da6a1b99cd", "name": "novav3"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "internal", "id": "2b512611f30746c7b96a0d10dd7c21
> b5"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "public", "id": "7b265978a43d4e71b3716e14c3aef045"}, {"region_id": "RegionOne", "url": "http://10.71 <http://10.71/>
> .0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1", "region": "RegionOne", "interface": "admin", "id": "d52055842ac84d0ab96eb7a5f955c6fb"}], "type": "volumev2", "id": "93e9407c4b804340a68d07979cf9c70a", "name": "cinderv2"}, {"endpoints": [{"
> region_id": "RegionOne", "url": "http://10.71.0.218:35357/v2.0 <http://10.71.0.218:35357/v2.0>", "region": "RegionOne", "interface": "admin", "id": "0ef37dfe1c78489ba1fb0599b0956d87"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:5000/v2.0 <http://10.71.0.218:5000/v2.0>", "region": "RegionOne
> ", "interface": "public", "id": "3c21d97558e8407b95be99fbbecbf85d"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:5000/v2.0 <http://10.71.0.218:5000/v2.0>", "region": "RegionOne", "interface": "internal", "id": "a6bd7e60570947348234ec58c990b796"}], "type": "ide
> ntity", "id": "bec8eac6bf0c42d58ab660f1e20aa1e9", "name": "keystone"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "public", "id": "06e
> 9d088a7d2402b88f2c517dbb817db"}, {"region_id": "RegionOne", "url": "http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "internal", "id": "a3bfaeda0b27439aad6fb27dbbef2abb"}, {"region_id": "Reg
> ionOne", "url": "http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1 <http://10.71.0.218:8776/v2/0ebcdedac0a3480ca81050bfedd97cf1>", "region": "RegionOne", "interface": "admin", "id": "db22acdf8ac546d0804b20fe48fc7d3b"}], "type": "volumev2", "id": "e5e84e597530415a9066fa7edf43b97d", "name": "
> cinder_v2"}], "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b4397deb6a884a8c8e70fbc255ce6d80", "name": "nathan"}, "audit_ids": ["ieQMYcoPQoGPGY5s76AfGw"], "issued_at": "2015-03-09T22:19:34.066839"}}
>  _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
> 2015-03-09 18:19:34.423 2882 DEBUG keystonemiddleware.auth_token [-] Storing token in cache store /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:1708
> 2015-03-09 18:19:34.424 2882 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
> 2015-03-09 18:19:34.424 2882 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keyston
> emiddleware/auth_token.py:746
> 2015-03-09 18:19:34.431 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Matched HEAD /images/52423bc4-aa33-4dae-a122-d1d421ebcb90 __call__ /usr/lib
> /python2.7/site-packages/routes/middleware.py:100
> 2015-03-09 18:19:34.432 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Route path: '/images/{id}', defaults: {'action': u'meta', 'controller': <gl
> ance.common.wsgi.Resource object at 0x4bd2d90>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
> 2015-03-09 18:19:34.432 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Match dict: {'action': u'meta', 'controller': <glance.common.wsgi.Resource
> object at 0x4bd2d90>, 'id': u'52423bc4-aa33-4dae-a122-d1d421ebcb90'} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
> 2015-03-09 18:19:34.433 2882 DEBUG glance.common.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Constructed URL: http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4 <http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4>
> 21ebcb90 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398
> 2015-03-09 18:19:34.868 2882 DEBUG glance.registry.client.v1.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Registry request GET /images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 HTTP 200 request id req-b5bfb8a1-1d67-48e6-a82b-b205b760e405 do_request /usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py:122
> 2015-03-09 18:19:34.870 2882 INFO glance.wsgi.server [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - - [09/Mar/2015 18:19:34] "HEAD /v1/images/52423bc4-aa33-4dae-
> a122-d1d421ebcb90 HTTP/1.1" 200 773 0.787107
> 2015-03-09 18:19:34.873 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Determining version of request: HEAD /v1/images/524
> 23bc4-aa33-4dae-a122-d1d421ebcb90 Accept: */* process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:44
> 2015-03-09 18:19:34.873 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Using url versioning process_request /usr/lib/pytho
> n2.7/site-packages/glance/api/middleware/version_negotiation.py:57
> 2015-03-09 18:19:34.873 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Matched version: v1 process_request /usr/lib/python
> 2.7/site-packages/glance/api/middleware/version_negotiation.py:69
> 2015-03-09 18:19:34.874 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] new path /v1/images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:70
> 2015-03-09 18:19:34.874 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Removing headers from request environment: X-Service-Catalog,X-
> Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-
> Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _
> remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
> 2015-03-09 18:19:34.874 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Authenticating user token __call__ /usr/lib/python2.7/site-pack
> ages/keystonemiddleware/auth_token.py:708
> 2015-03-09 18:19:34.875 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Returning cached token _cache_get /usr/lib/python2.7/site-packa
> ges/keystonemiddleware/auth_token.py:1793
> 2015-03-09 18:19:34.875 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Authenticating service token __call__ /usr/lib/python2.7/site-p
> ackages/keystonemiddleware/auth_token.py:727
> 2015-03-09 18:19:34.875 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Received request from user: user_id None, project_id None, role
> s None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
> 2015-03-09 18:19:34.876 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Matched HEAD /images/52423bc4-aa33-4dae-a122-d1d421ebcb90 __call__ /usr/lib
> /python2.7/site-packages/routes/middleware.py:100
> 2015-03-09 18:19:34.876 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Route path: '/images/{id}', defaults: {'action': u'meta', 'controller': <gl
> ance.common.wsgi.Resource object at 0x4bd2d90>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
> 2015-03-09 18:19:34.877 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Match dict: {'action': u'meta', 'controller': <glance.common.wsgi.Resource
> object at 0x4bd2d90>, 'id': u'52423bc4-aa33-4dae-a122-d1d421ebcb90'} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
> 2015-03-09 18:19:34.877 2882 DEBUG glance.common.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Constructed URL: http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4 <http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4>
> 21ebcb90 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398
> 2015-03-09 18:19:35.111 2882 DEBUG glance.registry.client.v1.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Registry request GET /images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 HTTP 200 request id req-6544c9ab-96f6-42ca-bdb8-f24b59e1eaaf do_request /usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py:122
> 2015-03-09 18:19:35.113 2882 INFO glance.wsgi.server [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - - [09/Mar/2015 18:19:35] "HEAD /v1/images/52423bc4-aa33-4dae-
> a122-d1d421ebcb90 HTTP/1.1" 200 773 0.240116
> 2015-03-09 18:19:35.116 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Determining version of request: DELETE /v1/images/5
> 2423bc4-aa33-4dae-a122-d1d421ebcb90 Accept: */* process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:44
> 2015-03-09 18:19:35.116 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Using url versioning process_request /usr/lib/pytho
> n2.7/site-packages/glance/api/middleware/version_negotiation.py:57
> 2015-03-09 18:19:35.116 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Matched version: v1 process_request /usr/lib/python
> 2.7/site-packages/glance/api/middleware/version_negotiation.py:69
> 2015-03-09 18:19:35.116 2882 DEBUG glance.api.middleware.version_negotiation [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] new path /v1/images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:70
> 2015-03-09 18:19:35.117 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Removing headers from request environment: X-Service-Catalog,X-
> Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-
> Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _
> remove_auth_headers /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:780
> 2015-03-09 18:19:35.117 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Authenticating user token __call__ /usr/lib/python2.7/site-pack
> ages/keystonemiddleware/auth_token.py:708
> 2015-03-09 18:19:35.117 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Returning cached token _cache_get /usr/lib/python2.7/site-packa
> ges/keystonemiddleware/auth_token.py:1793
> 2015-03-09 18:19:35.118 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Authenticating service token __call__ /usr/lib/python2.7/site-p
> ackages/keystonemiddleware/auth_token.py:727
> 2015-03-09 18:19:35.118 2882 DEBUG keystonemiddleware.auth_token [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Received request from user: user_id None, project_id None, role
> s None service: user_id None, project_id None, roles None __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:746
> 2015-03-09 18:19:35.119 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Matched DELETE /images/52423bc4-aa33-4dae-a122-d1d421ebcb90 __call__ /usr/l
> ib/python2.7/site-packages/routes/middleware.py:100
> 2015-03-09 18:19:35.119 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Route path: '/images/{id}', defaults: {'action': u'delete', 'controller': <
> glance.common.wsgi.Resource object at 0x4bd2d90>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
> 2015-03-09 18:19:35.119 2882 DEBUG routes.middleware [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Match dict: {'action': u'delete', 'controller': <glance.common.wsgi.Resourc
> e object at 0x4bd2d90>, 'id': u'52423bc4-aa33-4dae-a122-d1d421ebcb90'} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
> 2015-03-09 18:19:35.120 2882 DEBUG glance.common.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Constructed URL: http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4 <http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4>
> 21ebcb90 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398
> 2015-03-09 18:19:35.563 2882 DEBUG glance.registry.client.v1.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Registry request GET /images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 HTTP 200 request id req-87646bbf-6b5f-4efa-90fe-3fabbd4eb7bd do_request /usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py:122
> 2015-03-09 18:19:35.563 2882 DEBUG glance.registry.client.v1.api [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Updating image metadata for image 52423bc4-aa33-4dae-a122-d1d42
> 1ebcb90... update_image_metadata /usr/lib/python2.7/site-packages/glance/registry/client/v1/api.py:166
> 2015-03-09 18:19:35.564 2882 DEBUG glance.common.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Constructed URL: http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4 <http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4>
> 21ebcb90 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398
> 2015-03-09 18:19:35.863 2882 DEBUG glance.registry.client.v1.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Registry request PUT /images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 HTTP 200 request id req-2c97e983-76c5-4e5a-abab-b49a5cba4f02 do_request /usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py:122
> 2015-03-09 18:19:35.864 2882 DEBUG glance.registry.client.v1.api [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Updating image metadata for image 52423bc4-aa33-4dae-a122-d1d42
> 1ebcb90... update_image_metadata /usr/lib/python2.7/site-packages/glance/registry/client/v1/api.py:166
> 2015-03-09 18:19:35.864 2882 DEBUG glance.common.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Constructed URL: http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4 <http://0.0.0.0:9191/images/52423bc4-aa33-4dae-a122-d1d4>
> 21ebcb90 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398
> 2015-03-09 18:19:36.311 2882 DEBUG glance.registry.client.v1.client [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Registry request PUT /images/52423bc4-aa33-4dae-a122-d1d421e
> bcb90 HTTP 200 request id req-ef0b1972-90b6-469b-ad09-f053f691a2a1 do_request /usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py:122
> 2015-03-09 18:19:36.323 2882 INFO glance.wsgi.server [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/eventlet/wsgi.py", line 433, in handle_one_response
>     result = self.application(self.environ, start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
>     resp = self.call_func(req, *args, **self.kwargs)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
>     return self.func(req, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 394, in __call__
>     response = req.get_response(self.application)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
>     application, catch_exc_info=False)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
>     app_iter = application(self.environ, start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
>     resp = self.call_func(req, *args, **self.kwargs)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
>     return self.func(req, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/osprofiler/web.py", line 99, in __call__
>     return request.get_response(self.application)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
>     application, catch_exc_info=False)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
>     app_iter = application(self.environ, start_response)
>   File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 748, in __call__
>     return self._call_app(env, start_response)
>   File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 684, in _call_app
>     return self._app(env, _fake_start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
>     resp = self.call_func(req, *args, **self.kwargs)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
>     return self.func(req, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 394, in __call__
>     response = req.get_response(self.application)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
>     application, catch_exc_info=False)
>   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
>     app_iter = application(self.environ, start_response)
>   File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 203, in __call__
>     return app(environ, start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
>     return resp(environ, start_response)
>   File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
>     response = self.app(environ, start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
>     return resp(environ, start_response)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
>     resp = self.call_func(req, *args, **self.kwargs)
>   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
>     return self.func(req, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 683, in __call__
>     request, **action_args)
>   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 707, in dispatch
>     return method(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/glance/common/utils.py", line 449, in wrapped
>     return func(self, req, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line 1073, in delete
>     {'status': ori_status})
>   File "/usr/lib/python2.7/site-packages/glance/openstack/common/excutils.py", line 82, in __exit__
>     six.reraise(self.type_, self.value, self.tb)
>   File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line 1069, in delete
>     upload_utils.initiate_deletion(req, loc_data, id)
>   File "/usr/lib/python2.7/site-packages/glance/api/v1/upload_utils.py", line 46, in initiate_deletion
>     id, location_data)
>   File "/usr/lib/python2.7/site-packages/glance/common/store_utils.py", line 124, in delete_image_location_from_backend
>     safe_delete_from_backend(context, image_id, location)
>   File "/usr/lib/python2.7/site-packages/glance/common/store_utils.py", line 58, in safe_delete_from_backend
>     ret = store_api.delete_from_backend(location['url'], context=context)
>   File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 276, in delete_from_backend
>     loc = location.get_location_from_uri(uri, conf=CONF)
>   File "/usr/lib/python2.7/site-packages/glance_store/location.py", line 75, in get_location_from_uri
>     raise exceptions.UnknownScheme(scheme=pieces.scheme)
> UnknownScheme: None
> 2015-03-09 18:19:36.324 2882 INFO glance.wsgi.server [df745be0-c099-41cb-a26e-089f334bd3bf b4397deb6a884a8c8e70fbc255ce6d80 0ebcdedac0a3480ca81050bfedd97cf1 - - -] 10.71.0.218 - - [09/Mar/2015 18:19:36] "DELETE /v1/images/52423bc4-aa33-4da
> e-a122-d1d421ebcb90 HTTP/1.1" 500 139 1.208575
> 
> ><>
> nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | www.broadsoft.com <http://www.broadsoft.com/>_______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150309/954aa81c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150309/954aa81c/attachment-0001.pgp>


More information about the OpenStack-operators mailing list