<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=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:新細明體;
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:"\@新細明體";
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"新細明體","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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"註解方塊文字 字元";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Cambria","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:24.0pt;
margin-bottom:.0001pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:0cm;
mso-para-margin-left:2.0gd;
mso-para-margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"新細明體","serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.a
{mso-style-name:"註解方塊文字 字元";
mso-style-priority:99;
mso-style-link:註解方塊文字;
font-family:"Cambria","serif";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:368839939;
mso-list-type:hybrid;
mso-list-template-ids:-204695120 -1986910634 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;}
@list l1
{mso-list-id:671642659;
mso-list-type:hybrid;
mso-list-template-ids:-2013205060 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-24.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Update again.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">I have already solved the half issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Here is my environment,<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;mso-para-margin-left:0gd;text-indent:-24.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings;color:#1F497D"><span style="mso-list:Ignore">l<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Two machines: controller node & compute node (service node)<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;mso-para-margin-left:0gd;text-indent:-24.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings;color:#1F497D"><span style="mso-list:Ignore">l<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Cinder-api & cinder-schedule are installed at controller node<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;mso-para-margin-left:0gd;text-indent:-24.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-family:Wingdings;color:#1F497D"><span style="mso-list:Ignore">l<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Cinder-volume is installed at both controller node and compute node<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Here is the output of my “cinder-manage host list” command,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">host zone<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">controller nova<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Compute nova<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">First I marked two lines in cinder.conf because I have not install ceilometers component,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">#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" style="font-family:"Calibri","sans-serif";color:#1F497D">#notification_driver = cinder.openstack.common.notifier.rpc_notifier<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Second I corrected rabbit configuration in cinder.conf at compute node.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Now I can successfully create cinder volume from controller node, and the volume will be created at compute node.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Unfortunately, when I shutdown compute node, I still can NOT create a cinder volume at controller node.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:58.906 13901 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:58.912 13901 INFO cinder.volume.manager [req-bebf157a-53db-47da-8b54-0e8a4d898b61 - - - -
-] Starting volume driver LVMISCSIDriver (2.0.0)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.146 13901 ERROR cinder.volume.manager [req-bebf157a-53db-47da-8b54-0e8a4d898b61 - - -
- -] Error encountered during initialization of driver: LVMISCSIDriver<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 ERROR cinder.volume.manager [req-bebf157a-53db-47da-8b54-0e8a4d898b61 - - -
- -] Unexpected error while running command.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C vgs --noheadings -o name 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" style="font-family:"Calibri","sans-serif";color:#1F497D">Exit code: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Stdout: ''<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Stderr: 'Traceback (most recent call last):\n File "/usr/bin/cinder-rootwrap", line 10, in <module>\n
sys.exit(main())\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/cmd.py", line 107, in main\n filters = wrapper.load_filters(config.filters_path)\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/wrapper.py", line 119, in load_filters\n
for (name, value) in filterconfig.items("Filters"):\n File "/usr/lib/python2.7/ConfigParser.py", line 347, in items\n raise NoSectionError(section)\nConfigParser.NoSectionError: No section: \'Filters\'\n'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py",
line 243, in init_host<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager self.driver.check_for_setup_error()<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py",
line 83, in check_for_setup_error<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager executor=self._execute)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py",
line 81, in __init__<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager if self._vg_exists() is False:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py",
line 106, in _vg_exists<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager self.vg_name, root_helper=self._root_helper,
run_as_root=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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/utils.py",
line 136, in execute<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager return processutils.execute(*cmd, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py",
line 173, in execute<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager cmd=' '.join(cmd))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager ProcessExecutionError: Unexpected error while running
command.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf
env LC_ALL=C vgs --noheadings -o name 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager Exit code: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager Stdout: ''<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager Stderr: 'Traceback (most recent call last):\n File
"/usr/bin/cinder-rootwrap", line 10, in <module>\n sys.exit(main())\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/cmd.py", line 107, in main\n filters = wrapper.load_filters(config.filters_path)\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/wrapper.py",
line 119, in load_filters\n for (name, value) in filterconfig.items("Filters"):\n File "/usr/lib/python2.7/ConfigParser.py", line 347, in items\n raise NoSectionError(section)\nConfigParser.NoSectionError: No section: \'Filters\'\n'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.147 13901 TRACE cinder.volume.manager<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:59.938 13901 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:02:43.962 13901 INFO cinder.volume.manager [req-4fdfc0f3-6dde-4648-a603-be8cfdfc362f - - - -
-] 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:02:43.964 13901 WARNING cinder.volume.manager [req-4fdfc0f3-6dde-4648-a603-be8cfdfc362f - -
- - -] Unable to update stats, LVMISCSIDriver -2.0.0 driver is uninitialized.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:03:43.961 13901 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:03:43.962 13901 WARNING cinder.volume.manager [-] Unable to update stats, LVMISCSIDriver -2.0.0
driver is uninitialized.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:04:43.964 13901 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:04:43.965 13901 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" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Here is my cinder-scheduler.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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:44.348 7395 INFO cinder.openstack.common.service [-] Caught SIGTERM, exiting<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:45.673 13654 AUDIT cinder.service [-] Starting cinder-scheduler node (version 2014.1)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:45.723 13654 INFO oslo.messaging._drivers.impl_rabbit [req-36d9d1ca-7aad-4a6c-af92-8d1db9308eb0
- - - - -] 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:01:46.570 13654 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:06:38.915 13654 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:06:39.114 13654 WARNING cinder.scheduler.host_manager [req-a788cfb9-fc36-41c2-bc5e-5adfa64b9223
1149275f4ea84690a9da5b7f442ab48f 4e898758e77c4d3c8d0b0eecf5ae0957 - - -] volume service is down or disabled. (host: Compute)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:06:39.116 13654 ERROR cinder.scheduler.filters.capacity_filter [req-a788cfb9-fc36-41c2-bc5e-5adfa64b9223
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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 15:06:39.119 13654 ERROR cinder.scheduler.flows.create_volume [req-a788cfb9-fc36-41c2-bc5e-5adfa64b9223
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" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">I have two questions here,<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;mso-para-margin-left:0gd;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">It still has “Error encountered during initialization of driver: LVMISCSIDriver” error message in cinder-volume.log, how to fix this issue?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;mso-para-margin-left:0gd;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">From cinder-scheduler.log, it shows “volume service is down or disabled. (host: Compute)”. How can I modify cinder.conf to create cinder volume at controller
node?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Johnson<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Johnson Cheng [mailto:Johnson.Cheng@QsanTechnology.com]
<br>
<b>Sent:</b> Tuesday, July 15, 2014 11:01 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Can not create cinder volume<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Here is my complete 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:28.849 27399 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:28.862 27399 INFO cinder.volume.manager [req-06b5b19c-20b2-4e8d-a675-b4ef51ebe3a6 - - - -
-] Starting volume driver LVMISCSIDriver (2.0.0)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.985 27399 ERROR cinder.volume.manager [req-06b5b19c-20b2-4e8d-a675-b4ef51ebe3a6 - - -
- -] Error encountered during initialization of driver: LVMISCSIDriver<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 ERROR cinder.volume.manager [req-06b5b19c-20b2-4e8d-a675-b4ef51ebe3a6 - - -
- -] Unexpected error while running command.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C vgs --noheadings -o name 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" style="font-family:"Calibri","sans-serif";color:#1F497D">Exit code: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Stdout: ''<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Stderr: 'Traceback (most recent call last):\n File "/usr/bin/cinder-rootwrap", line 10, in <module>\n
sys.exit(main())\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/cmd.py", line 107, in main\n filters = wrapper.load_filters(config.filters_path)\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/wrapper.py", line 119, in load_filters\n
for (name, value) in filterconfig.items("Filters"):\n File "/usr/lib/python2.7/ConfigParser.py", line 347, in items\n raise NoSectionError(section)\nConfigParser.NoSectionError: No section: \'Filters\'\n'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py",
line 243, in init_host<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager self.driver.check_for_setup_error()<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py",
line 83, in check_for_setup_error<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager executor=self._execute)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py",
line 81, in __init__<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager if self._vg_exists() is False:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py",
line 106, in _vg_exists<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager self.vg_name, root_helper=self._root_helper,
run_as_root=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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/utils.py",
line 136, in execute<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager return processutils.execute(*cmd, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py",
line 173, in execute<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager cmd=' '.join(cmd))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager ProcessExecutionError: Unexpected error while running
command.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf
env LC_ALL=C vgs --noheadings -o name 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager Exit code: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager Stdout: ''<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager Stderr: 'Traceback (most recent call last):\n File
"/usr/bin/cinder-rootwrap", line 10, in <module>\n sys.exit(main())\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/cmd.py", line 107, in main\n filters = wrapper.load_filters(config.filters_path)\n File "/usr/lib/python2.7/dist-packages/oslo/rootwrap/wrapper.py",
line 119, in load_filters\n for (name, value) in filterconfig.items("Filters"):\n File "/usr/lib/python2.7/ConfigParser.py", line 347, in items\n raise NoSectionError(section)\nConfigParser.NoSectionError: No section: \'Filters\'\n'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:29.986 27399 TRACE cinder.volume.manager<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:30.909 27399 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:49.942 27399 INFO cinder.volume.manager [req-2e368031-ee15-428d-8239-2973261f116d - - - -
-] 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" style="font-family:"Calibri","sans-serif";color:#1F497D">2014-07-15 10:55:49.943 27399 WARNING cinder.volume.manager [req-2e368031-ee15-428d-8239-2973261f116d - -
- - -] Unable to update stats, LVMISCSIDriver -2.0.0 driver is uninitialized.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">My cinder version is 1.0.8, and “</span><span lang="EN-US" style="font-family:"Courier New"">cinder service-list</span><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">”
output is listed as below,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">+------------------+------------+------+---------+-------+----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">| Binary | Host | Zone | Status | State | Updated_at |<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">+------------------+------------+------+---------+-------+----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">| cinder-scheduler | controller | nova | enabled | up | 2014-07-15T02:57:55.000000 |<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">| cinder-volume | controller | nova | enabled | up | 2014-07-15T02:57:51.000000 |<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:12.0pt;mso-para-margin-left:1.0gd"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">+------------------+------------+------+---------+-------+----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Johnson<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> John Griffith [<a href="mailto:john.griffith@solidfire.com">mailto:john.griffith@solidfire.com</a>]
<br>
<b>Sent:</b> Monday, July 14, 2014 10:26 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Can not create cinder volume<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Mon, Jul 14, 2014 at 8:13 AM, Duncan Thomas <<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>> wrote:<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On 14 July 2014 12:22, Johnson Cheng <<a href="mailto:Johnson.Cheng@qsantechnology.com" target="_blank">Johnson.Cheng@qsantechnology.com</a>> wrote:<o:p></o:p></span></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">When I use
</span>“<span lang="EN-US">cinder create </span>–<span lang="EN-US">display-name myVolume 1</span>”<span lang="EN-US"> to create a cinder volume, its status will be error when I use
</span>“<span lang="EN-US">cinder list</span>”<span lang="EN-US"> to query it.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">+--------------------------------------+--------+--------------+------+-------------+----------+-------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">| 83059a3e-e66c-4fd8-829e-09ca450b4d70 | error | myVolume | 1 | None | false | |<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:4.4pt;border-collapse:collapse">
<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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">The vgs output,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> VG #PV #LV #SN Attr VSize VFree<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> cinder-volumes 1 0 0 wz--n- 153.38g 153.38g<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Here is my cinder.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">[DEFAULT]<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rootwrap_config = /etc/cinder/rootwrap.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">api_paste_confg = /etc/cinder/api-paste.ini<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">iscsi_helper = tgtadm<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">volume_name_template = volume-%s<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">volume_group = cinder-volumes<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">verbose = True<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">auth_strategy = keystone<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">state_path = /var/lib/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">lock_path = /var/lock/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">volumes_dir = /var/lib/cinder/volumes<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rpc_backend = cinder.openstack.common.rpc.impl_kombu<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rabbit_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rabbit_port = 5672<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rabbit_userid = guest<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">rabbit_password = demo<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">glance_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">control_exchange = cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">notification_driver = cinder.openstack.common.notifier.rpc_notifier<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">[database]<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">connection = mysql://cinder:demo@controller/cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">[keystone_authtoken]<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">auth_host = controller<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">auth_port = 35357<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">auth_protocol = http<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">admin_tenant_name = service<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">admin_user = cinder<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<span lang="EN-US">admin_password = demo<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Here is my cinder-schedule.log<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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 - - -'}<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Here is my cinder-volume.log<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:12.0pt">
<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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Your response will be appreciated.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Let me know if you need more information.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Johnson<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">_______________________________________________<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><o:p></o:p></span></p>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#888888"><br>
<br clear="all">
<span class="hoenzb"><o:p></o:p></span></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span class="hoenzb"><span lang="EN-US" style="color:#888888">--
</span></span><span lang="EN-US" style="color:#888888"><br>
<span class="hoenzb">Duncan Thomas </span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><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><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria Math","serif""></span><span lang="EN-US" style="font-family:"Courier New"">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).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>