[Openstack] Cinder - no availability zones

Brent Troge brenttroge2016 at gmail.com
Tue Jul 12 21:27:00 UTC 2016


sometimes i like to stop the cinder-volume service, then run it manually.

service cinder-volume stop

once the service is stopped, run it manually

cinder-volume

send your create command, and see what errors are thrown back in the
cinder-volume terminal



On Tue, Jul 12, 2016 at 4:17 PM, Brent Troge <brenttroge2016 at gmail.com>
wrote:

> this looks to be an issue with your lvm configuration..
> on your volume host, do you see any errors ? look in cinder logs as well
> as system logs.
>
> can you also send your lvm backend configuration ?
>
>
>
>
> On Tue, Jul 12, 2016 at 3:44 PM, Turbo Fredriksson <turbo at bayour.com>
> wrote:
>
>> On Jul 12, 2016, at 9:32 PM, Brent Troge wrote:
>>
>> > cinder service-list
>>
>> bladeA01:~# cinder service-list
>>
>> +------------------+--------------+------+---------+-------+----------------------------+-----------------+
>> |      Binary      |     Host     | Zone |  Status | State |
>>  Updated_at         | Disabled Reason |
>>
>> +------------------+--------------+------+---------+-------+----------------------------+-----------------+
>> |  cinder-backup   |   bladeA01   | nova | enabled |   up  |
>> 2016-07-12T20:32:44.000000 |        -        |
>> | cinder-scheduler |   bladeA01   | nova | enabled |   up  |
>> 2016-07-12T20:32:43.000000 |        -        |
>> |  cinder-volume   | bladeA01 at lvm | nova | enabled |   up  |
>> 2016-07-12T20:32:39.000000 |        -        |
>> |  cinder-volume   | bladeA01 at nfs | nova | enabled |   up  |
>> 2016-07-12T20:32:39.000000 |        -        |
>>
>> +------------------+--------------+------+---------+-------+----------------------------+-----------------+
>>
>> > Also, when you create a volume what happens ?
>> > Is there any error ?
>>
>>
>> If I create a volume in Horizon, it just say "Error".
>>
>> If I create one from the shell:
>>
>>   cinder create --name test1 --volume-type lvm \
>>     --availability-zone nova 10
>>   [..]
>>   bladeA01:~# cinder list
>>
>> +--------------------------------------+----------+-------+------+-------------+----------+-------------+
>>   |                  ID                  |  Status  |  Name | Size |
>> Volume Type | Bootable | Attached to |
>>
>> +--------------------------------------+----------+-------+------+-------------+----------+-------------+
>>   | 88087aa1-208c-44f1-bf33-0cda7b757274 |  error   | test1 |  10  |
>>  lvm     |  false   |             |
>>   | e8f50273-f62e-4cad-8066-725067e062f8 | deleting | test5 |  0   |
>>  lvm     |   true   |             |
>>
>> +--------------------------------------+----------+-------+------+-------------+----------+-------------+
>>
>> The logs say:
>>
>>   ==> /var/log/cinder/cinder-scheduler.log <==
>>   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
>>   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)
>>
>> Same thing if I don't use the availability-zone..
>> --
>> Life sucks and then you die
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160712/c2fe254b/attachment.html>


More information about the Openstack mailing list