cinder scheduler chooses wrong host for the creation of a volume

Asked by gabriel staicu

Hi,

I have a setup with Openstack Havana on ubuntu precise with multiple schedulers and volumes.
root@opstck10:~# cinder service-list
+------------------+----------+------+---------+-------+----------------------------+
| Binary | Host | Zone | Status | State | Updated_at |
+------------------+----------+------+---------+-------+----------------------------+
| cinder-scheduler | opstck08 | nova | enabled | up | 2014-02-12T10:08:28.000000 |
| cinder-scheduler | opstck09 | nova | enabled | up | 2014-02-12T10:08:29.000000 |
| cinder-scheduler | opstck10 | nova | enabled | up | 2014-02-12T10:08:28.000000 |
| cinder-volume | opstck01 | nova | enabled | down | 2014-02-12T09:39:09.000000 |
| cinder-volume | opstck04 | nova | enabled | down | 2014-02-12T09:39:09.000000 |
| cinder-volume | opstck05 | nova | enabled | down | 2014-02-12T09:39:09.000000 |
| cinder-volume | opstck08 | nova | enabled | up | 2014-02-12T10:08:28.000000 |
| cinder-volume | opstck09 | nova | enabled | up | 2014-02-12T10:08:28.000000 |
| cinder-volume | opstck10 | nova | enabled | up | 2014-02-12T10:08:28.000000 |
+------------------+----------+------+---------+-------+----------------------------+

When I am trying to create a new instance from a volume snapshot it keeps choosing for the creation of the volume opstck01 on which cinder-volume is down.
Did anyone encounter the same problem?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Cinder Edit question
Assignee:
No assignee Edit question
Solved by:
gabriel staicu
Solved:
Last query:
Last reply:
Revision history for this message
gabriel staicu (gabriel-staicu) said :
#1

I receive the answer from John Griffith. Here it is:
"Which node is the parent volume and snapshot on? In the case of
create from source-volume and create from snapshot these need to be
created on the same node as the source or snapshot."
opstck01 was chosen to create the volume because it was the parent of the snapshot.