Ask Your Question
0

volume created on wrong scalio pool

asked 2018-07-20 02:22:47 -0500

chris.walker gravatar image

Hi,

I have installed Openstack Queens and am using ScaleIO 2.6 for storage.

I ran into one issue with the Capabilities filter. It was stopping me from creating volumes. Since disabling it, I can create volumes.

The issue I'm now having is that I have two backends configured. When I create a volume, and explicity define a backend to use, Cinder seems to randomly pick a backend to create the volume on.

My volume types are configured like so:

[root@ulzosp001 ~(keystone_admin)]# openstack volume type list
+--------------------------------------+--------------+-----------+
| ID                                   | Name         | Is Public |
+--------------------------------------+--------------+-----------+
| b50a5600-d88f-4d0b-8138-807dfea763ff | SpinningDisk | True      |
| 706dedd1-aa79-49e6-a069-896cd1730d9c | SSD          | True      |
+--------------------------------------+--------------+-----------+
[root@ulzosp001 ~(keystone_admin)]# openstack volume type show b50a5600-d88f-4d0b-8138-807dfea763ff
+--------------------+---------------------------------------------------------+
| Field              | Value                                                   |
+--------------------+---------------------------------------------------------+
| access_project_ids | None                                                    |
| description        | None                                                    |
| id                 | b50a5600-d88f-4d0b-8138-807dfea763ff                    |
| is_public          | True                                                    |
| name               | SpinningDisk                                            |
| properties         | pool='PD01:SASPool', volume_backend_name='SpinningDisk' |
| qos_specs_id       | None                                                    |
+--------------------+---------------------------------------------------------+
[root@ulzosp001 ~(keystone_admin)]# openstack volume type show 706dedd1-aa79-49e6-a069-896cd1730d9c
+--------------------+------------------------------------------------+
| Field              | Value                                          |
+--------------------+------------------------------------------------+
| access_project_ids | None                                           |
| description        | None                                           |
| id                 | 706dedd1-aa79-49e6-a069-896cd1730d9c           |
| is_public          | True                                           |
| name               | SSD                                            |
| properties         | pool='PD01:SSDPool', volume_backend_name='SSD' |
| qos_specs_id       | None                                           |
+--------------------+------------------------------------------------+

My cinder.conf contains the following:

enabled_backends=SpinningDisk,SSD
...
default_volume_type=SpinningDisk
...
[SpinningDisk]
volume_driver = cinder.volume.drivers.dell_emc.scaleio.driver.ScaleIODriver
volume_backend_name = SpinningDisk
san_ip = 10.138.79.3
sio_storage_pools = PD01:SASPool
san_login = admin
san_password = S@ndpitScaleIO
san_thin_provision = false

[SSD]
volume_driver = cinder.volume.drivers.dell_emc.scaleio.driver.ScaleIODriver
volume_backend_name = SSD
san_ip = 10.138.79.3
sio_storage_pools = PD01:SSDPool
san_login = admin
san_password = S@ndpitScaleIO
san_thin_provision = false

Most recently, I created this volume:

openstack volume create --type SSD --size 800 SSD1

This volume was created on the SASPool (SpinningDisk type).

Can anyone think of any possible causes for this? Is this related to the CapabilitiesFilter?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-20 02:32:26 -0500

chris.walker gravatar image

Of course just as I ask the question I find the solution. I re-enabled the CapabilityFilter and then removed the pool=XXXX properties from the volume types.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-07-20 02:22:47 -0500

Seen: 30 times

Last updated: Jul 20 '18