Previously cache client used endpoints from service catalog to
request cache items from node. It works perfectly on devstack
but it doesn't work when an OpenStack cloud is deployed with HA
(3/5/7 controllers). We need to use -H option instead.
This option makes cache management client interact with the local
endpoint which is more appropriate as image cache is local to
each node/controller.
Closes-Bug: #1634486
(cherry-picked from commit 616060db65ac3f12c0a71fd21f8156c6e993d7ab)
Reviewed: https:/ /review. openstack. org/396620 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=d9e584bd4fd 95cdb19b89d0edf 591c13c10cd8d9
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit d9e584bd4fd95cd b19b89d0edf591c 13c10cd8d9
Author: kairat_kushaev <email address hidden>
Date: Thu Nov 3 13:21:05 2016 +0300
Do not use service catalog for cache client
Previously cache client used endpoints from service catalog to
request cache items from node. It works perfectly on devstack
but it doesn't work when an OpenStack cloud is deployed with HA
(3/5/7 controllers). We need to use -H option instead.
This option makes cache management client interact with the local
endpoint which is more appropriate as image cache is local to
each node/controller.
Closes-Bug: #1634486 2c0a71fd21f8156 c6e993d7ab)
(cherry-picked from commit 616060db65ac3f1
Change-Id: I355fb36d9af7e0 6dcac70b8263dc1 a2b915ffc8f