Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Razique,

these are the logs of three files after executing the command

cinder-api.log

2012-11-06 15:40:32 INFO cinder.api.openstack.wsgi [req-c4b44a16-c1b9-4e74-9c43-c73e07329308 de9a94795afd434a9d6fd40bcd228a42 f2150818509d4735bd669305662564aa] POST http://192.168.0.111:8776/v1/f2150818509d4735bd669305662564aa/volumes 2012-11-06 15:40:32 AUDIT cinder.api.openstack.volume.volumes [req-c4b44a16-c1b9-4e74-9c43-c73e07329308 de9a94795afd434a9d6fd40bcd228a42 f2150818509d4735bd669305662564aa] Create volume of 1 GB 2012-11-06 15:40:32 DEBUG cinder.quota [req-c4b44a16-c1b9-4e74-9c43-c73e07329308 de9a94795afd434a9d6fd40bcd228a42 f2150818509d4735bd669305662564aa] Created reservations ['704be3ef-f73e-4e61-a805-9c44f411b3f0', 'd5257501-00dd-442a-85b2-f6cd560e93e4'] reserve /usr/lib/python2.7/dist-packages/cinder/quota.py:663 2012-11-06 15:40:32 24143 DEBUG cinder.openstack.common.rpc.amqp [-] Making asynchronous cast on cinder-scheduler... cast /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:377 2012-11-06 15:40:32 AUDIT cinder.api.openstack.volume.volumes [req-c4b44a16-c1b9-4e74-9c43-c73e07329308 de9a94795afd434a9d6fd40bcd228a42 f2150818509d4735bd669305662564aa] vol={'availability_zone': 'nova', 'terminated_at': None, 'updated_at': None, 'provider_auth': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id': '9e6bc2bd-1c0c-485f-9e50-073fff5456a0', 'size': 1, 'user_id': u'de9a94795afd434a9d6fd40bcd228a42', 'attach_time': None, 'display_description': None, 'project_id': u'f2150818509d4735bd669305662564aa', 'launched_at': None, 'scheduled_at': None, 'status': 'creating', 'volume_type_id': None, 'deleted': False, 'provider_location': None, 'host': None, 'display_name': u'test1', 'instance_uuid': None, 'created_at': datetime.datetime(2012, 11, 6, 10, 10, 32, 456434), 'attach_status': 'detached'} 2012-11-06 15:40:32 INFO cinder.api.openstack.wsgi [req-c4b44a16-c1b9-4e74-9c43-c73e07329308 de9a94795afd434a9d6fd40bcd228a42 f2150818509d4735bd669305662564aa] http://192.168.0.111:8776/v1/f2150818509d4735bd669305662564aa/volumes returned with HTTP 200

cinder-scheduler.log

2012-11-06 15:40:32 4224 DEBUG cinder.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'member', u'admin'], u'_context_request_id': u'req-c4b44a16-c1b9-4e74-9c43-c73e07329308', u'_context_quota_class': None, u'args': {u'topic': u'cinder-volume', u'image_id': None, u'snapshot_id': None, u'volume_id': u'9e6bc2bd-1c0c-485f-9e50-073fff5456a0'}, u'_context_auth_token': '<sanitized>', u'_context_is_admin': True, u'_context_project_id': u'f2150818509d4735bd669305662564aa', u'_context_timestamp': u'2012-11-06T10:10:32.425778', u'_context_read_deleted': u'no', u'_context_user_id': u'de9a94795afd434a9d6fd40bcd228a42', u'method': u'create_volume', u'_context_remote_address': u'192.168.0.111'} _safe_log /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/common.py:195 2012-11-06 15:40:32 4224 DEBUG cinder.openstack.common.rpc.amqp [-] unpacked context: {'user_id': u'de9a94795afd434a9d6fd40bcd228a42', 'roles': [u'member', u'admin'], 'timestamp': u'2012-11-06T10:10:32.425778', 'auth_token': '<sanitized>', 'remote_address': u'192.168.0.111', 'quota_class': None, 'is_admin': True, 'request_id': u'req-c4b44a16-c1b9-4e74-9c43-c73e07329308', 'project_id': u'f2150818509d4735bd669305662564aa', 'read_deleted': u'no'} _safe_log /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/common.py:195 2012-11-06 15:40:32 4224 ERROR cinder.openstack.common.rpc.amqp [-] Exception during message handling 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last): 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 276, in _process_data 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, *args) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py", line 145, in dispatch 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/scheduler/manager.py", line 98, in _schedule 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp db.volume_update(context, volume_id, {'status': 'error'}) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/db/api.py", line 256, in volume_update 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp return IMPL.volume_update(context, volume_id, values) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 124, in wrapper 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp return f(args, *kwargs) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1071, in volume_update 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp volume_ref = volume_get(context, volume_id, session=session) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 124, in wrapper 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp return f(args, *kwargs) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1014, in volume_get 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp raise exception.VolumeNotFound(volume_id=volume_id) 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp VolumeNotFound: Volume 9e6bc2bd-1c0c-485f-9e50-073fff5456a0 could not be found. 2012-11-06 15:40:32 4224 TRACE cinder.openstack.common.rpc.amqp

cinder-volume.log

2012-11-06 15:39:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._publish_service_capabilities periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:39:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._report_driver_status periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:40:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._publish_service_capabilities periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:40:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._report_driver_status periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:41:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._publish_service_capabilities periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:41:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._report_driver_status periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:42:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._publish_service_capabilities periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164 2012-11-06 15:42:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager._report_driver_status periodic_tasks /usr/lib/python2.7/dist-packages/cinder/manager.py:164

Please provide me a solution..