<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-TW" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 83059a3e-e66c-4fd8-829e-09ca450b4d70 | error | myVolume | 1 | None | false | |<o:p></o:p></span></p>
<table class="MsoNormalTable" 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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My Openstack version is Icehouse, and I install it on Ubuntu 14.04 LTS.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The vgs output,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> VG #PV #LV #SN Attr VSize VFree<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> cinder-volumes 1 0 0 wz--n- 153.38g 153.38g<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">[DEFAULT]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rootwrap_config = /etc/cinder/rootwrap.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">api_paste_confg = /etc/cinder/api-paste.ini<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">iscsi_helper = tgtadm<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">volume_name_template = volume-%s<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">volume_group = cinder-volumes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">verbose = True<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">auth_strategy = keystone<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">state_path = /var/lib/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">lock_path = /var/lock/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">volumes_dir = /var/lib/cinder/volumes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rpc_backend = cinder.openstack.common.rpc.impl_kombu<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rabbit_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rabbit_port = 5672<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rabbit_userid = guest<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">rabbit_password = demo<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">glance_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">control_exchange = cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">notification_driver = cinder.openstack.common.notifier.rpc_notifier<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">[database]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">connection = mysql://cinder:demo@controller/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">[keystone_authtoken]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">auth_uri = http://controller:5000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">auth_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">auth_port = 35357<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">auth_protocol = http<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">admin_tenant_name = service<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">admin_user = cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">admin_password = demo<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder-schedule.log<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><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<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><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 - - -'}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><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.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is my cinder-volume.log<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US">2014-07-14 19:14:15.489 7151 INFO cinder.volume.manager [-] Updating volume status<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Your response will be appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Let me know if you need more information.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Johnson<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>