Please post up more (all) of your cinder-volume.log - something is stopping your driver being initialised, but you haven't provided enough logs to tell what the issue it.
On 14 July 2014 12:22, Johnson Cheng <[email protected]> wrote: > Dear All, > > > > When I use “cinder create –display-name myVolume 1” to create a cinder > volume, its status will be error when I use “cinder list” to query it. > > > +--------------------------------------+--------+--------------+------+-------------+----------+-------------+ > > | ID | Status | Display Name | Size | > Volume Type | Bootable | Attached to | > > > +--------------------------------------+--------+--------------+------+-------------+----------+-------------+ > > | 83059a3e-e66c-4fd8-829e-09ca450b4d70 | error | myVolume | 1 > | None | false | | > > > > > > > > > > > > > > > > > > > > My Openstack version is Icehouse, and I install it on Ubuntu 14.04 LTS. > > > > The vgs output, > > VG #PV #LV #SN Attr VSize VFree > > cinder-volumes 1 0 0 wz--n- 153.38g 153.38g > > > > Here is my 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 = demo > > > > glance_host = controller > > > > control_exchange = cinder > > notification_driver = cinder.openstack.common.notifier.rpc_notifier > > > > [database] > > connection = mysql://cinder:demo@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 = demo > > > > Here is my cinder-schedule.log > > 2014-07-14 17:34:37.592 7141 INFO oslo.messaging._drivers.impl_rabbit [-] > Connected to AMQP server on controller:5672 > > 2014-07-14 17:34:44.769 7141 WARNING cinder.context [-] Arguments dropped > when creating context: {'user': u'1149275f4ea84690a9da5b7f442ab48f', > 'tenant': u'4e898758e77c4d3c8d0b0eecf5ae0957', 'user_identity': > u'1149275f4ea84690a9da5b7f442ab48f 4e898758e77c4d3c8d0b0eecf5ae0957 - - -'} > > 2014-07-14 17:34:45.004 7141 ERROR > cinder.scheduler.filters.capacity_filter > [req-ebae9974-8741-4a6d-af44-456e506e5612 1149275f4ea84690a9da5b7f442ab48f > 4e898758e77c4d3c8d0b0eecf5ae0957 - - -] Free capacity not set: volume node > info collection broken. > > 2014-07-14 17:34:45.030 7141 ERROR cinder.scheduler.flows.create_volume > [req-ebae9974-8741-4a6d-af44-456e506e5612 1149275f4ea84690a9da5b7f442ab48f > 4e898758e77c4d3c8d0b0eecf5ae0957 - - -] Failed to schedule_create_volume: > No valid host was found. > > > > Here is my cinder-volume.log > > 2014-07-14 19:14:15.489 7151 INFO cinder.volume.manager [-] Updating > volume status > > 2014-07-14 19:14:15.490 7151 WARNING cinder.volume.manager [-] Unable to > update stats, LVMISCSIDriver -2.0.0 driver is uninitialized. > > > > > > Your response will be appreciated. > > Let me know if you need more information. > > > > > > Regards, > > Johnson > > > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Duncan Thomas
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
