2013-07-03 12:33:19 DEBUG [cinder.service] root_helper : sudo 2013-07-03 12:33:19 DEBUG [cinder.service] memcached_servers : None 2013-07-03 12:33:19 DEBUG [cinder.service] logging_default_format_string : %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s 2013-07-03 12:33:19 DEBUG [cinder.service] osapi_volume_ext_list : [] 2013-07-03 12:33:19 DEBUG [cinder.service] backup_api_class : cinder.backup.api.API 2013-07-03 12:33:19 DEBUG [cinder.service] fake_rabbit : False 2013-07-03 12:33:19 DEBUG [cinder.service] log_date_format : %Y-%m-%d %H:%M:%S 2013-07-03 12:33:19 DEBUG [cinder.service] default_volume_type : None 2013-07-03 12:33:19 DEBUG [cinder.service] use_syslog : False 2013-07-03 12:33:19 DEBUG [cinder.service] no_snapshot_gb_quota : False 2013-07-03 12:33:19 DEBUG [cinder.service] syslog_log_facility : LOG_USER 2013-07-03 12:33:19 DEBUG [cinder.service] bindir : /usr/lib/python2.7/dist-packages/bin 2013-07-03 12:33:19 DEBUG [cinder.service] auth_strategy : keystone 2013-07-03 12:33:19 DEBUG [cinder.service] config_file : ['/etc/cinder/cinder.conf'] 2013-07-03 12:33:19 DEBUG [cinder.service] fatal_exception_format_errors : False 2013-07-03 12:33:19 DEBUG [cinder.service] instance_uuid_format : [instance: %(uuid)s] 2013-07-03 12:33:19 DEBUG [cinder.service] db_driver : cinder.db 2013-07-03 12:33:19 DEBUG [cinder.service] volume_manager : cinder.volume.manager.VolumeManager 2013-07-03 12:33:19 DEBUG [cinder.service] glance_api_insecure : False 2013-07-03 12:33:19 DEBUG [cinder.service] pybasedir : /usr/lib/python2.7/dist-packages 2013-07-03 12:33:19 DEBUG [cinder.service] api_paste_config : api-paste.ini 2013-07-03 12:33:19 DEBUG [cinder.service] policy_default_rule : default 2013-07-03 12:33:19 DEBUG [cinder.service] control_exchange : openstack 2013-07-03 12:33:19 DEBUG [cinder.service] log_file : /var/log/cinder/cinder-api.log 2013-07-03 12:33:19 DEBUG [cinder.service] keystone_authtoken : 2013-07-03 12:33:19 INFO [cinder.wsgi] Started osapi_volume on 0.0.0.0:8776 2013-07-03 12:35:28 DEBUG [keystoneclient.middleware.auth_token] Authenticating user token 2013-07-03 12:35:28 DEBUG [keystoneclient.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role 2013-07-03 12:35:28 DEBUG [keystoneclient.middleware.auth_token] Server reports support for api versions: v3.0, v2.0 2013-07-03 12:35:28 INFO [keystoneclient.middleware.auth_token] Auth Token confirmed use of v2.0 apis 2013-07-03 12:35:28 DEBUG [keystoneclient.middleware.auth_token] Storing 8fb8a9771a7d4080a57659d7bcba9aca token in memcache 2013-07-03 12:35:28 WARNING [cinder.openstack.common.policy] Inheritance-based rules are deprecated; use the default brain instead of HttpBrain. 2013-07-03 12:35:28 DEBUG [routes.middleware] Matched GET /d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1 2013-07-03 12:35:28 DEBUG [routes.middleware] Route path: '/{project_id}/volumes/:(id)', defaults: {'action': u'show', 'controller': } 2013-07-03 12:35:28 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': , 'project_id': u'd10f6830dab748d0a532fe4fe39ac55e', 'id': u'8b842461-e2dd-4b01-a510-9b665f4f5ae1'} 2013-07-03 12:35:28 INFO [cinder.api.openstack.wsgi] GET http://10.33.156.153:8776/v1/d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1 2013-07-03 12:35:28 DEBUG [cinder.api.openstack.wsgi] Unrecognized Content-Type provided in request 2013-07-03 12:35:28 DEBUG [cinder.utils] backend 2013-07-03 12:35:29 AUDIT [cinder.api.v1.volumes] vol={'volume_metadata': [], 'availability_zone': u'nova', 'terminated_at': None, 'updated_at': datetime.datetime(2013, 7, 2, 15, 37, 34), 'snapshot_id': None, 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id': u'8b842461-e2dd-4b01-a510-9b665f4f5ae1', 'size': 1L, 'user_id': u'b635a22a36694824a9f3464d47734392', 'attach_time': None, 'display_description': None, 'project_id': u'd10f6830dab748d0a532fe4fe39ac55e', 'launched_at': datetime.datetime(2013, 7, 2, 15, 37, 34), 'scheduled_at': datetime.datetime(2013, 7, 2, 15, 37, 33), 'status': u'available', 'volume_type_id': None, 'deleted': False, 'provider_location': None, 'volume_glance_metadata': [], 'host': u'svl-ceph-10', 'source_volid': None, 'provider_auth': None, 'display_name': u'upload-volume-tst', 'instance_uuid': None, 'created_at': datetime.datetime(2013, 7, 2, 15, 37, 33), 'attach_status': u'detached', 'volume_type': None} 2013-07-03 12:35:29 INFO [cinder.api.openstack.wsgi] http://10.33.156.153:8776/v1/d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1 returned with HTTP 200 2013-07-03 12:35:29 DEBUG [keystoneclient.middleware.auth_token] Authenticating user token 2013-07-03 12:35:29 DEBUG [keystoneclient.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role 2013-07-03 12:35:29 DEBUG [keystoneclient.middleware.auth_token] Returning cached token 8fb8a9771a7d4080a57659d7bcba9aca 2013-07-03 12:35:29 DEBUG [routes.middleware] Matched POST /d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1/action 2013-07-03 12:35:29 DEBUG [routes.middleware] Route path: '/{project_id}/volumes/:(id)/action', defaults: {'action': u'action', 'controller': } 2013-07-03 12:35:29 DEBUG [routes.middleware] Match dict: {'action': u'action', 'controller': , 'project_id': u'd10f6830dab748d0a532fe4fe39ac55e', 'id': u'8b842461-e2dd-4b01-a510-9b665f4f5ae1'} 2013-07-03 12:35:29 INFO [cinder.api.openstack.wsgi] POST http://10.33.156.153:8776/v1/d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1/action 2013-07-03 12:35:29 DEBUG [cinder.api.openstack.wsgi] Action body: {"os-volume_upload_image": {"container_format": "bare", "force": false, "image_name": "from-upload-volume-tst", "disk_format": "raw"}} 2013-07-03 12:35:29 DEBUG [glanceclient.common.http] curl -i -X GET -H 'X-Auth-Token: 8fb8a9771a7d4080a57659d7bcba9aca' -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://10.33.156.153:9292/v2/schemas/image 2013-07-03 12:35:29 DEBUG [glanceclient.common.http] HTTP/1.1 200 OK date: Wed, 03 Jul 2013 19:35:29 GMT content-length: 1934 content-type: application/json; charset=UTF-8 x-openstack-request-id: req-c4c9c688-b63a-457d-a9ef-260503f8ecbb {"additionalProperties": {"type": "string"}, "name": "image", "links": [{"href": "{self}", "rel": "self"}, {"href": "{file}", "rel": "enclosure"}, {"href": "{schema}", "rel": "describedby"}], "properties": {"status": {"enum": ["queued", "saving", "active", "killed", "deleted", "pending_delete"], "type": "string", "description": "Status of the image"}, "name": {"type": "string", "description": "Descriptive name for the image", "maxLength": 255}, "tags": {"items": {"type": "string", "maxLength": 255}, "type": "array", "description": "List of strings related to the image"}, "checksum": {"type": "string", "description": "md5 hash of image contents.", "maxLength": 32}, "created_at": {"type": "string", "description": "Date and time of image registration"}, "size": {"type": "integer", "description": "Size of image file in bytes"}, "disk_format": {"enum": ["raw", "vhd", "vmdk", "vdi", "iso", "qcow2", "aki", "ari", "ami"], "type": "string", "description": ""}, "updated_at": {"type": "string", "description": "Date and time of the last image modification"}, "visibility": {"enum": ["public", "private"], "type": "string", "description": "Scope of image accessibility"}, "id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": "string", "description": "An identifier for the image"}, "protected": {"type": "boolean", "description": "If true, image will not be deletable."}, "min_ram": {"type": "integer", "description": "Amount of ram (in MB) required to boot image."}, "file": {"type": "string"}, "container_format": {"enum": ["bare", "ovf", "ami", "aki", "ari"], "type": "string", "description": ""}, "min_disk": {"type": "integer", "description": "Amount of disk space (in GB) required to boot image."}, "direct_url": {"type": "string", "description": "URL to access the image file kept in external store"}, "self": {"type": "string"}, "schema": {"type": "string"}}} 2013-07-03 12:35:29 ERROR [cinder.api.middleware.fault] Caught error: 'Controller' object has no attribute 'create' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cinder/api/middleware/fault.py", line 73, in __call__ return req.get_response(self.application) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send application, catch_exc_info=False) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application app_iter = application(self.environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ return resp(environ, start_response) File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__ return self.app(env, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ return resp(environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ return resp(environ, start_response) File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__ response = self.app(environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ return resp(environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__ resp = self.call_func(req, *args, **self.kwargs) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func return self.func(req, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 803, in __call__ content_type, body, accept) File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 851, in _process_stack action_result = self.dispatch(meth, request, action_args) File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 927, in dispatch return method(req=request, **action_args) File "/usr/lib/python2.7/dist-packages/cinder/api/contrib/volume_actions.py", line 180, in _volume_upload_image force) File "/usr/lib/python2.7/dist-packages/cinder/volume/api.py", line 63, in wrapped return func(self, context, target_obj, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/cinder/volume/api.py", line 717, in copy_volume_to_image recv_metadata = self.image_service.create(context, metadata) File "/usr/lib/python2.7/dist-packages/cinder/image/glance.py", line 245, in create **sent_service_image_meta) File "/usr/lib/python2.7/dist-packages/cinder/image/glance.py", line 146, in call return getattr(client.images, method)(*args, **kwargs) AttributeError: 'Controller' object has no attribute 'create' 2013-07-03 12:35:29 INFO [cinder.api.middleware.fault] http://10.33.156.153:8776/v1/d10f6830dab748d0a532fe4fe39ac55e/volumes/8b842461-e2dd-4b01-a510-9b665f4f5ae1/action returned with HTTP 500