cinder volume creation failed because glance round-robin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Steven Dake | ||
Liberty |
Won't Fix
|
High
|
Unassigned | ||
Mitaka |
Won't Fix
|
High
|
Steven Dake |
Bug Description
currently cinder config point to VIP for glance api server which breaks cinder volume creation in a multinode HA configuration.
Here are steps to reproduce it:
1. Add image to glance
glance image-create --name ubuntu-
glance image-list
+------
| ID | Name |
+------
| 90546163-
+------
2. create cinder volume using glance image just created.
cinder create --name ubuntu-
This step should succeed.
| eead3df3-
3. create another cinder volume using the same image, but different volume name
cinder create --name ubuntu-
| 123bc251-
This step will fail because cinder will try to contact glance API by its configured VIP address and due to round-robin, this request will be redirected to one of controllers, since there is no by default replication of glance images, the server where the request landed will not be able to satisfy it and volume creation operation fails.
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Steven Dake (sdake) |
milestone: | none → newton-1 |
Changed in kolla: | |
status: | Confirmed → In Progress |
Changed in kolla: | |
milestone: | newton-1 → newton-2 |
Changed in kolla: | |
milestone: | newton-2 → newton-3 |
Reviewed: https:/ /review. openstack. org/306662 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=aebb1997a1f e0267906905e931 c83bf20dd01b23
Committed: https:/
Submitter: Jenkins
Branch: master
commit aebb1997a1fe026 7906905e931c83b f20dd01b23
Author: Steven Dake <email address hidden>
Date: Fri Apr 15 16:42:36 2016 -0700
Make Cinder access glance in round robin fashion
In the old rendition of this code, Cinder would attempt
one access to glance, fail, and then cinder would fail. Now
it accesses all servers in round robin fashion.
Change-Id: I4759b0b586919b 33f49b974312072 820062f35c2
Closes-Bug: #1571128