<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 14, 2014 at 8:13 AM, Duncan Thomas <span dir="ltr"><<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div>

<div class="gmail_extra"><br>

<br><div class="gmail_quote"><div><div class="h5">On 14 July 2014 12:22, Johnson Cheng <span dir="ltr"><<a href="mailto:Johnson.Cheng@qsantechnology.com" target="_blank">Johnson.Cheng@qsantechnology.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">







<div lang="ZH-TW" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Dear All,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">|                  ID                  | Status | Display Name | Size | Volume Type | Bootable | Attached to |<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">| 83059a3e-e66c-4fd8-829e-09ca450b4d70 | error  |   myVolume   |  1   |     None    |  false   |             |<u></u><u></u></span></p>
<table border="1" cellspacing="0" cellpadding="0" style="margin-left:4.4pt;border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="198" valign="top" style="width:148.5pt;border:solid windowtext 1.0pt;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="48" valign="top" style="width:36.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="78" valign="top" style="width:58.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="38" valign="top" style="width:28.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="73" valign="top" style="width:54.75pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="58" valign="top" style="width:43.5pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
<td width="73" valign="top" style="width:54.75pt;border:solid windowtext 1.0pt;border-left:none;padding:0cm 1.4pt 0cm 1.4pt">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My Openstack version is Icehouse, and I install it on Ubuntu 14.04 LTS.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The vgs output,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  VG                #PV #LV #SN Attr   VSize   VFree<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  cinder-volumes      1   0   0 wz--n- 153.38g 153.38g<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder.conf<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">[DEFAULT]<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rootwrap_config = /etc/cinder/rootwrap.conf<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">api_paste_confg = /etc/cinder/api-paste.ini<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">iscsi_helper = tgtadm<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">volume_name_template = volume-%s<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">volume_group = cinder-volumes<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">verbose = True<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">auth_strategy = keystone<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">state_path = /var/lib/cinder<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">lock_path = /var/lock/cinder<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">volumes_dir = /var/lib/cinder/volumes<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rpc_backend = cinder.openstack.common.rpc.impl_kombu<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rabbit_host = controller<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rabbit_port = 5672<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rabbit_userid = guest<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">rabbit_password = demo<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">glance_host = controller<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">control_exchange = cinder<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">notification_driver = cinder.openstack.common.notifier.rpc_notifier<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">[database]<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">connection = mysql://cinder:demo@controller/cinder<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">[keystone_authtoken]<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">auth_host = controller<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">auth_port = 35357<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">auth_protocol = http<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">admin_tenant_name = service<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">admin_user = cinder<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">admin_password = demo<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder-schedule.log<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">2014-07-14 17:34:37.592 7141 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">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 - - -'}<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">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.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder-volume.log<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">2014-07-14 19:14:15.489 7151 INFO cinder.volume.manager [-] Updating volume status<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:12.0pt"><span lang="EN-US">2014-07-14 19:14:15.490 7151 WARNING cinder.volume.manager [-] Unable to update stats, LVMISCSIDriver -2.0.0  driver is uninitialized.<u></u><u></u></span></p>




<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Your response will be appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Let me know if you need more information.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Johnson<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>

<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Duncan Thomas
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><div class="gmail_default" style="font-family:'courier new',monospace">​Make sure "controller" resolves on your cinder-volume node.  It appears that either your volume-node isn't able to communicate with the controller (you can check this by trying a 'cinder service-list').  Another possibility is something's not quite right with your message queue settings.  Main thing here would again be name resolution and that your message queue is actually matched up here (ie settings on the controller match those on your volume-node).</div>

<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><br></div></div>