[Openstack] cinder create error

b t 905ben at gmail.com
Fri Sep 19 19:09:07 UTC 2014


thanks , John .

here is the cinder.conf in the controller node .


root at controller:/etc/cinder# more cinder.conf
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes

rpc_backend = cinder.openstack.common.rpc.impl_kombu
rabbit_host = controller
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = openstack123



[database]
connection = mysql://cinder:openstack123@controller/cinder


[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = openstack123


root at controller:/etc/cinder#

On Mon, Sep 15, 2014 at 9:54 PM, John Griffith <john.griffith at solidfire.com>
wrote:

> On Sep 12, 2014 8:10 PM, "b t" <905ben at gmail.com> wrote:
> >
> > I am installing icehouse in ubuntu.
> > now get to point to create volume and I got status error , and sometimes
> stuck on creating .
> > any idea ?
> > here is the log .  thanks !
> >
> >
> > root at controller:/var/log/cinder#
> > root at controller:/var/log/cinder# cinder list
> >
> +--------------------------------------+--------+--------------+------+-------------+----------+-------------+
> > |                  ID                  | Status | Display Name | Size |
> Volume Type | Bootable | Attached to |
> >
> +--------------------------------------+--------+--------------+------+-------------+----------+-------------+
> > | 1e8b59be-454c-4532-a2ec-8457c0a04486 | error  |   myVolume   |  1   |
>     None    |  false   |             |
> > | acfdad32-f81c-487f-8afa-19ee8ba6c989 | error  |   myVolume   |  1   |
>     None    |  false   |             |
> > | b2cd112b-ecef-4c1e-9501-ebda34492657 | error  |   my-disk    |  2   |
>     None    |  false   |             |
> >
> +--------------------------------------+--------+--------------+------+-------------+----------+-------------+
> >
> >
> >
> >
> > root at controller:/var/log/cinder# more cinder-scheduler.log
> > 2014-09-12 21:58:02.875 10328 AUDIT cinder.service [-] Starting
> cinder-scheduler node (version 2014.1.2)
> > 2014-09-12 21:58:02.933 10328 INFO oslo.messaging._drivers.impl_rabbit
> [req-d3ab770b-8cd0-4d5c-8939-6ef3ad8f92ca - - - - -] Connected to AMQP
> server on controller:5672
> > 2014-09-12 21:58:03.789 10328 INFO oslo.messaging._drivers.impl_rabbit
> [-] Connected to AMQP server on controller:5672
> > 2014-09-12 21:59:10.423 10328 WARNING cinder.context [-] Arguments
> dropped when creating context: {'user':
> u'33444db757c14559add65a2e606c2102', 'tenant':
> u'd4c3bf6ee2af44129fc38bf76f4a5623', 'use
> > r_identity': u'33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -'}
> > 2014-09-12 21:59:11.028 10328 ERROR cinder.scheduler.flows.create_volume
> [req-03be4b43-29d2-4208-8924-853840b9214b 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] Failed
> > to schedule_create_volume: No valid host was found.
> > 2014-09-12 22:47:41.737 10328 WARNING cinder.context [-] Arguments
> dropped when creating context: {'user':
> u'33444db757c14559add65a2e606c2102', 'tenant':
> u'd4c3bf6ee2af44129fc38bf76f4a5623', 'use
> > r_identity': u'33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -'}
> > 2014-09-12 22:47:41.757 10328 ERROR cinder.scheduler.flows.create_volume
> [req-5c268fcf-5c4d-49ed-be1b-0460411e76b0 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] Failed
> > to schedule_create_volume: No valid host was found.
> > 2014-09-12 22:56:01.742 10328 WARNING cinder.context [-] Arguments
> dropped when creating context: {'user':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'tenant':
> u'0faf8d7dfdac4a53af195b5436992976', 'use
> > r_identity': u'dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -'}
> > 2014-09-12 22:56:01.765 10328 ERROR cinder.scheduler.flows.create_volume
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] Failed
> > to schedule_create_volume: No valid host was found.
> > root at controller:/var/log/cinder#
> >
> >
> >
> >
> >
> > 2014-09-12 22:47:48.097 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44370)
> > 2014-09-12 22:47:48.192 10354 INFO cinder.api.openstack.wsgi
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] GET http://controll
> > er:8776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail
> > 2014-09-12 22:47:48.228 10354 AUDIT cinder.api.v1.volumes
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 13, 2, 47, 41),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'da4108f1-f419-4f02-8e0d-29ca5d3c9c0f', 'size': 2L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'my-disk',
> 'instance_uuid': None, 'bootable': False, 'created_
> > at': datetime.datetime(2014, 9, 13, 2, 47, 41), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:47:48.229 10354 AUDIT cinder.api.v1.volumes
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 13, 1, 59, 11),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'0b5a3e41-c806-4931-9767-5c17575dcf7d', 'size': 1L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created
> > _at': datetime.datetime(2014, 9, 13, 1, 59, 10), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:47:48.230 10354 AUDIT cinder.api.v1.volumes
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': None, 'provider_geometry': None, 'snapshot_id': None,
> 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id': u'3
> > 78f6e84-db04-4375-813d-ea112ef247df', 'size': 1L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_description': None, 'volume_admin_metadata':
> >  [], 'encryption_key_id': None, 'project_id':
> u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None, 'scheduled_at':
> None, 'status': u'creating', 'volume_type_id': None, 'deleted': False, 'pro
> > vider_location': None, 'host': None, 'source_volid': None,
> 'provider_auth': None, 'display_name': u'myVolume', 'instance_uuid': None,
> 'bootable': False, 'created_at': datetime.datetime(2014, 9, 1
> > 1, 4, 31, 49), 'attach_status': u'detached', 'volume_type': None,
> '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:47:48.233 10354 INFO cinder.api.openstack.wsgi
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] http://controller:8
> > 776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail returned with
> HTTP 200
> > 2014-09-12 22:47:48.238 10354 INFO eventlet.wsgi.server
> [req-eee31803-7249-403c-90bf-912ed6a0f3e4 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:47:48] "GET /v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail
> HTTP/1.1" 200 1509 0.135516
> > 2014-09-12 22:48:34.993 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44372)
> > 2014-09-12 22:48:35.121 10354 INFO cinder.api.openstack.wsgi
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] GET http://controll
> > er:8776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail
> > 2014-09-12 22:48:35.156 10354 AUDIT cinder.api.v1.volumes
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 13, 2, 47, 41),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'da4108f1-f419-4f02-8e0d-29ca5d3c9c0f', 'size': 2L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'my-disk',
> 'instance_uuid': None, 'bootable': False, 'created_
> > at': datetime.datetime(2014, 9, 13, 2, 47, 41), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:48:35.156 10354 AUDIT cinder.api.v1.volumes
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 13, 1, 59, 11),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'0b5a3e41-c806-4931-9767-5c17575dcf7d', 'size': 1L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created
> > _at': datetime.datetime(2014, 9, 13, 1, 59, 10), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:48:35.157 10354 AUDIT cinder.api.v1.volumes
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': None, 'provider_geometry': None, 'snapshot_id': None,
> 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id': u'3
> > 78f6e84-db04-4375-813d-ea112ef247df', 'size': 1L, 'user_id':
> u'33444db757c14559add65a2e606c2102', 'attach_time': None, 'attached_host':
> None, 'display_description': None, 'volume_admin_metadata':
> >  [], 'encryption_key_id': None, 'project_id':
> u'd4c3bf6ee2af44129fc38bf76f4a5623', 'launched_at': None, 'scheduled_at':
> None, 'status': u'creating', 'volume_type_id': None, 'deleted': False, 'pro
> > vider_location': None, 'host': None, 'source_volid': None,
> 'provider_auth': None, 'display_name': u'myVolume', 'instance_uuid': None,
> 'bootable': False, 'created_at': datetime.datetime(2014, 9, 1
> > 1, 4, 31, 49), 'attach_status': u'detached', 'volume_type': None,
> '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:48:35.160 10354 INFO cinder.api.openstack.wsgi
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] http://controller:8
> > 776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail returned with
> HTTP 200
> > 2014-09-12 22:48:35.167 10354 INFO eventlet.wsgi.server
> [req-03cb5178-d3d5-4e48-b502-015faec5bac3 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:48:35] "GET /v1/d4c3bf6ee2af44129fc38bf76f4a5623/volumes/detail
> HTTP/1.1" 200 1509 0.168161
> > 2014-09-12 22:49:00.130 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44376)
> > 2014-09-12 22:49:00.223 10354 INFO cinder.api.openstack.wsgi
> [req-bb7bd127-38b8-4866-83c2-2f6e6fba4000 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] GET http://controll
> > er:8776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/os-services
> > 2014-09-12 22:49:00.232 10354 INFO cinder.api.openstack.wsgi
> [req-bb7bd127-38b8-4866-83c2-2f6e6fba4000 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] http://controller:8
> > 776/v1/d4c3bf6ee2af44129fc38bf76f4a5623/os-services returned with HTTP
> 403
> > 2014-09-12 22:49:00.242 10354 INFO eventlet.wsgi.server
> [req-bb7bd127-38b8-4866-83c2-2f6e6fba4000 33444db757c14559add65a2e606c2102
> d4c3bf6ee2af44129fc38bf76f4a5623 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:49:00] "GET /v1/d4c3bf6ee2af44129fc38bf76f4a5623/os-services
> HTTP/1.1" 403 367 0.109804
> > 2014-09-12 22:50:06.864 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44384)
> > 2014-09-12 22:50:07.017 10354 INFO cinder.api.openstack.wsgi
> [req-59098387-5f76-4aff-91f7-1e3d77bd42bc dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] GET http://controll
> > er:8776/v1/0faf8d7dfdac4a53af195b5436992976/os-services
> > 2014-09-12 22:50:07.057 10354 INFO cinder.api.openstack.wsgi
> [req-59098387-5f76-4aff-91f7-1e3d77bd42bc dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] http://controller:8
> > 776/v1/0faf8d7dfdac4a53af195b5436992976/os-services returned with HTTP
> 200
> > 2014-09-12 22:50:07.095 10354 INFO eventlet.wsgi.server
> [req-59098387-5f76-4aff-91f7-1e3d77bd42bc dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:50:07] "GET /v1/0faf8d7dfdac4a53af195b5436992976/os-services
> HTTP/1.1" 200 428 0.227918
> > 2014-09-12 22:55:42.239 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44387)
> > 2014-09-12 22:55:42.276 10354 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): controller
> > 2014-09-12 22:55:42.710 10354 INFO cinder.api.openstack.wsgi
> [req-979a1d04-adbd-42b4-81a3-f5757f54d2a2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] GET http://controll
> > er:8776/v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail
> > 2014-09-12 22:55:42.794 10354 AUDIT cinder.api.v1.volumes
> [req-979a1d04-adbd-42b4-81a3-f5757f54d2a2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 11, 1, 21, 45),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'1e8b59be-454c-4532-a2ec-8457c0a04486', 'size': 1L, 'user_id':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created
> > _at': datetime.datetime(2014, 9, 11, 1, 21, 45), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:55:42.795 10354 AUDIT cinder.api.v1.volumes
> [req-979a1d04-adbd-42b4-81a3-f5757f54d2a2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 11, 1, 21, 1),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None,
> 'mountpoint':
> >  None, 'deleted_at': None, 'id':
> u'acfdad32-f81c-487f-8afa-19ee8ba6c989', 'size': 1L, 'user_id':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'attach_time': None, 'attached_host':
> None, 'display_descript
> > ion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type_
> > id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created_
> > at': datetime.datetime(2014, 9, 11, 1, 21, 1), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:55:42.939 10354 INFO cinder.api.openstack.wsgi
> [req-979a1d04-adbd-42b4-81a3-f5757f54d2a2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] http://controller:8
> > 776/v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail returned with
> HTTP 200
> > 2014-09-12 22:55:42.947 10354 INFO eventlet.wsgi.server
> [req-979a1d04-adbd-42b4-81a3-f5757f54d2a2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:55:42] "GET /v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail
> HTTP/1.1" 200 1311 0.699988
> > 2014-09-12 22:56:01.516 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44390)
> > 2014-09-12 22:56:01.630 10354 INFO cinder.api.openstack.wsgi
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] POST http://control
> > ler:8776/v1/0faf8d7dfdac4a53af195b5436992976/volumes
> > 2014-09-12 22:56:01.634 10354 AUDIT cinder.api.v1.volumes
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] Create volume of 2 GB
> > 2014-09-12 22:56:01.747 10354 AUDIT cinder.api.v1.volumes
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': 'nova', 'terminated_at': None,
> 'reservations': ['fbff06b4-df12-42b9-944b-e6720cc43051',
> 'ad9c2f94-35b2-49c1-ac3c-ce7aabbb2b58'], 'updated_at': None,
> 'provider_geomet
> > ry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint': None,
> 'deleted_at': None, 'id': 'b2cd112b-ecef-4c1e-9501-ebda34492657', 'size':
> 2, 'user_id': u'dfbdec26a06a4c5cb35f994937b092fb', 'a
> > ttach_time': None, 'attached_host': None, 'display_description': None,
> 'volume_admin_metadata': [], 'encryption_key_id': None, 'project_id':
> u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': No
> > ne, 'scheduled_at': None, 'status': 'creating', 'volume_type_id': None,
> 'deleted': False, 'provider_location': None, 'host': None, 'source_volid':
> None, 'provider_auth': None, 'display_name': u'm
> > y-disk', 'instance_uuid': None, 'bootable': False, 'created_at':
> datetime.datetime(2014, 9, 13, 2, 56, 1, 688573), 'attach_status':
> 'detached', 'volume_type': None, '_name_id': None, 'volume_meta
> > data': [], 'metadata': {}}
> > 2014-09-12 22:56:01.750 10354 INFO cinder.api.openstack.wsgi
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] http://controller:8
> > 776/v1/0faf8d7dfdac4a53af195b5436992976/volumes returned with HTTP 200
> > 2014-09-12 22:56:01.763 10354 INFO eventlet.wsgi.server
> [req-230d0a9c-851c-4612-9549-cc9fb07a2197 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:56:01] "POST /v1/0faf8d7dfdac4a53af195b5436992976/volumes
> HTTP/1.1" 200 601 0.240412
> > 2014-09-12 22:56:06.174 10354 INFO eventlet.wsgi.server [-] (10354)
> accepted ('192.168.1.80', 44392)
> > 2014-09-12 22:56:06.248 10354 INFO cinder.api.openstack.wsgi
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] GET http://controll
> > er:8776/v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail
> > 2014-09-12 22:56:06.291 10354 AUDIT cinder.api.v1.volumes
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 13, 2, 56, 1),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None,
> 'mountpoint':
> >  None, 'deleted_at': None, 'id':
> u'b2cd112b-ecef-4c1e-9501-ebda34492657', 'size': 2L, 'user_id':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'attach_time': None, 'attached_host':
> None, 'display_descript
> > ion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type_
> > id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'my-disk',
> 'instance_uuid': None, 'bootable': False, 'created_a
> > t': datetime.datetime(2014, 9, 13, 2, 56, 1), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:56:06.292 10354 AUDIT cinder.api.v1.volumes
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 11, 1, 21, 45),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint'
> > : None, 'deleted_at': None, 'id':
> u'1e8b59be-454c-4532-a2ec-8457c0a04486', 'size': 1L, 'user_id':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'attach_time': None, 'attached_host':
> None, 'display_descrip
> > tion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type
> > _id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created
> > _at': datetime.datetime(2014, 9, 11, 1, 21, 45), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:56:06.293 10354 AUDIT cinder.api.v1.volumes
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] vol={'migration_status
> > ': None, 'availability_zone': u'nova', 'terminated_at': None,
> 'updated_at': datetime.datetime(2014, 9, 11, 1, 21, 1),
> 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None,
> 'mountpoint':
> >  None, 'deleted_at': None, 'id':
> u'acfdad32-f81c-487f-8afa-19ee8ba6c989', 'size': 1L, 'user_id':
> u'dfbdec26a06a4c5cb35f994937b092fb', 'attach_time': None, 'attached_host':
> None, 'display_descript
> > ion': None, 'volume_admin_metadata': [], 'encryption_key_id': None,
> 'project_id': u'0faf8d7dfdac4a53af195b5436992976', 'launched_at': None,
> 'scheduled_at': None, 'status': u'error', 'volume_type_
> > id': None, 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': u'myVolume',
> 'instance_uuid': None, 'bootable': False, 'created_
> > at': datetime.datetime(2014, 9, 11, 1, 21, 1), 'attach_status':
> u'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': []}
> > 2014-09-12 22:56:06.442 10354 INFO cinder.api.openstack.wsgi
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] http://controller:8
> > 776/v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail returned with
> HTTP 200
> > 2014-09-12 22:56:06.449 10354 INFO eventlet.wsgi.server
> [req-3a170e85-73e5-47e6-be63-7f8ad00c87d2 dfbdec26a06a4c5cb35f994937b092fb
> 0faf8d7dfdac4a53af195b5436992976 - - -] 192.168.1.80 - - [12/Sep
> > /2014 22:56:06] "GET /v1/0faf8d7dfdac4a53af195b5436992976/volumes/detail
> HTTP/1.1" 200 1839 0.273142
> > root at controller:/var/log/cinder#
> >
> >
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> The create errors are the result of the scheduler not finding a valid host
> for the requested volume.  See the error entry "No valid host".
>
> This is commonly a config issue where the cinder volume service is not
> configured correctly and isn't reporting in to the scheduler.
>
> The other common issue is not enough free space on device for requested
> vol size.
>
> Double check your cinder conf, and comes between controller service and
> volume node.  You can send your cinder.conf and some details around your
> Cinder deployment and we can go from there.
>
> Thanks,
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140919/4e362813/attachment.html>


More information about the Openstack mailing list