[Openstack] Cinder - no availability zones

Turbo Fredriksson turbo at bayour.com
Tue Jul 12 20:44:04 UTC 2016


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





More information about the Openstack mailing list