nova doesn't always find images in glance in HA mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Sam Yaple |
Bug Description
With 3 control nodes, glance has the following behavior:
Script started on Sat Oct 10 23:50:49 2015
[?1034hbash-3.2$ glance image-download --file abc 22e61335-
'NoneType' object has no attribute 'close'
bash-3.2$ glance image-download --file abc 22e61335-
'NoneType' object has no attribute 'close'
bash-3.2$ glance image-download --file abc 22e61335-
bash-3.2$ glance image-download --file abc 22e61335-
'NoneType' object has no attribute 'close'
bash-3.2$ glance image-download --file abc 22e61335-
'NoneType' object has no attribute 'close'
bash-3.2$ glance image-download --file abc 22e61335-
every third one works. Nova returns an error on access to glance api calls at same ratio.
Sam has indicated this is normal behavior for a storage backend of file. Sam suggested a solution which locks down the access to one glance api service (I believe) in this change:
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Sam Yaple (s8m) |
milestone: | none → liberty-rc3 |
Changed in kolla: | |
status: | Confirmed → In Progress |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/233429 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=0cefd644502 c7a8851403cbb2e 60dd79c906d475
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0cefd644502c7a8 851403cbb2e60dd 79c906d475
Author: Sam Yaple <email address hidden>
Date: Sun Oct 11 07:22:37 2015 +0000
Glance round robin for default file backend
Closes-Bug: #1504902 db3db19c67f62d9 6275ab2329f
Change-Id: Id4cced68ef078a