URL Swift backup endpoint trunk the complete value

Bug #1862604 reported by Iban Cabrillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Following the cinder-backup driver for Stein (14.0.3) version,

the backup_url_swift value should be the swift endpoint but the cinder-backup driver crash on starup. Cinder always look at the same value for swift endpoint "https:hostname:port/info"

For example for this swift endpoint value:

# The URL of the Swift endpoint (uri value)
backup_swift_url = https://hostname:8080/swift/v1/

https://hostname:8080/info 404 Not Found

2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'cinder.backup.manager.BackupManager._setup_backup_driver' failed: swiftclient.exceptions.ClientException: Capabilities GET failed: https://api.cloud.ifca.es:8080/info 404 Not Found [first 60 chars of response] b'<?xml version="1.0" encoding="UTF-8"?><Error><Code>NoSuchBuc'
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall Traceback (most recent call last):
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall File "/usr/lib/python3/dist-packages/oslo_service/loopingcall.py", line 150, in _run_loop
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall result = func(*self.args, **self.kw)
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall File "/usr/lib/python3/dist-packages/cinder/backup/manager.py", line 152, in _setup_backup_driver
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall backup_service.check_for_setup_error()
2020-02-10 09:44:38.410 31097 ERROR oslo.service.loopingcall File "/usr/lib/python3/dist-packages/cinder/backup/drivers/swift.py", line 393, in check_for_setup_error

Regards, I

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.