Public bug reported:

The glance-replicator is not usable in newer OpenStack Releases (using
Rocky here).

glance-replicator size controller:9292 --debug  
2019-05-22 12:51:42.174 32480 DEBUG glance.cmd.replicator [-] Request: GET 
http://controller:9292/v1/images/detail?is_public=None with headers {} 
_http_request /usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:164
2019-05-22 12:51:42.177 32480 DEBUG glance.cmd.replicator [-] Response: 300 
Multiple Choices {'date': 'Wed, 22 May 2019 10:51:42 GMT', 'content-length': 
'852', 'content-type': 'application/json'} _http_request 
/usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:174
Total size is 0 bytes (0.0 B) across 0 images

Source shows, that the v1 endpoint is hardcoded. Glance v1 has been
deprecated since Newton.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1830026

Title:
  glance-replicator is deprecated since glance v2

Status in Glance:
  New

Bug description:
  The glance-replicator is not usable in newer OpenStack Releases (using
  Rocky here).

  glance-replicator size controller:9292 --debug  
  2019-05-22 12:51:42.174 32480 DEBUG glance.cmd.replicator [-] Request: GET 
http://controller:9292/v1/images/detail?is_public=None with headers {} 
_http_request /usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:164
  2019-05-22 12:51:42.177 32480 DEBUG glance.cmd.replicator [-] Response: 300 
Multiple Choices {'date': 'Wed, 22 May 2019 10:51:42 GMT', 'content-length': 
'852', 'content-type': 'application/json'} _http_request 
/usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:174
  Total size is 0 bytes (0.0 B) across 0 images

  Source shows, that the v1 endpoint is hardcoded. Glance v1 has been
  deprecated since Newton.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1830026/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to