<div dir="ltr"><div><div><div><div>sometimes i like to stop the cinder-volume service, then run it manually.<br><br></div>service cinder-volume stop<br><br></div>once the service is stopped, run it manually<br><br></div>cinder-volume<br><br></div>send your create command, and see what errors are thrown back in the cinder-volume terminal<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 4:17 PM, Brent Troge <span dir="ltr"><<a href="mailto:brenttroge2016@gmail.com" target="_blank">brenttroge2016@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"><div><div>this looks to be an issue with your lvm configuration.. <br>on your volume host, do you see any errors ? look in cinder logs as well as system logs.<br></div><br></div><div>can you also send your lvm backend configuration ?<br></div><br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 3:44 PM, Turbo Fredriksson <span dir="ltr"><<a href="mailto:turbo@bayour.com" target="_blank">turbo@bayour.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Jul 12, 2016, at 9:32 PM, Brent Troge wrote:<br>
<br>
> cinder service-list<br>
<br>
bladeA01:~# cinder service-list<br>
+------------------+--------------+------+---------+-------+----------------------------+-----------------+<br>
|      Binary      |     Host     | Zone |  Status | State |         Updated_at         | Disabled Reason |<br>
+------------------+--------------+------+---------+-------+----------------------------+-----------------+<br>
|  cinder-backup   |   bladeA01   | nova | enabled |   up  | 2016-07-12T20:32:44.000000 |        -        |<br>
| cinder-scheduler |   bladeA01   | nova | enabled |   up  | 2016-07-12T20:32:43.000000 |        -        |<br>
|  cinder-volume   | bladeA01@lvm | nova | enabled |   up  | 2016-07-12T20:32:39.000000 |        -        |<br>
|  cinder-volume   | bladeA01@nfs | nova | enabled |   up  | 2016-07-12T20:32:39.000000 |        -        |<br>
+------------------+--------------+------+---------+-------+----------------------------+-----------------+<br>
<span><br>
> Also, when you create a volume what happens ?<br>
> Is there any error ?<br>
<br>
<br>
</span>If I create a volume in Horizon, it just say "Error".<br>
<br>
If I create one from the shell:<br>
<br>
  cinder create --name test1 --volume-type lvm \<br>
    --availability-zone nova 10<br>
  [..]<br>
  bladeA01:~# cinder list<br>
  +--------------------------------------+----------+-------+------+-------------+----------+-------------+<br>
  |                  ID                  |  Status  |  Name | Size | Volume Type | Bootable | Attached to |<br>
  +--------------------------------------+----------+-------+------+-------------+----------+-------------+<br>
  | 88087aa1-208c-44f1-bf33-0cda7b757274 |  error   | test1 |  10  |     lvm     |  false   |             |<br>
  | e8f50273-f62e-4cad-8066-725067e062f8 | deleting | test5 |  0   |     lvm     |   true   |             |<br>
  +--------------------------------------+----------+-------+------+-------------+----------+-------------+<br>
<br>
The logs say:<br>
<br>
  ==> /var/log/cinder/cinder-scheduler.log <==<br>
  2016-07-12 21:40:19.868 15552 DEBUG cinder.scheduler.base_filter [req-6aa3569a-f6d4-4131-a2ad-7ed9feb83791 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Starting with 0 host(s) get_filtered_objects /usr/lib/python2.7/dist-packages/cinder/scheduler/base_filter.py:79<br>
  2016-07-12 21:40:19.869 15552 INFO cinder.scheduler.base_filter [req-6aa3569a-f6d4-4131-a2ad-7ed9feb83791 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Filter AvailabilityZoneFilter returned 0 host(s)<br>
<br>
Same thing if I don't use the availability-zone..<br>
--<br>
Life sucks and then you die<br>
<div><div><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>