cinder backup with swift backen fails with kolla-ansible

asked 2019-12-20 04:05:25 -0500

theque42 gravatar image

I am using kolla-ansible to setup up my cloud with cinder-backup using swift.

Now, when testing with the train-release, cinder backup seems to be badly configured by kolla-ansible.

I get:

2019-12-20 11:00:45.049 6 INFO cinder.cmd.backup [-] Backup running with 1 processes. 2019-12-20 11:00:46.016 6 WARNING oslo_config.cfg [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Deprecated: Option "idle_timeout" from group "database" is deprecated. Use option "connection_recycle_time" from group "database". 2019-12-20 11:00:46.510 6 INFO cinder.rpc [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Automatically selected cinder-backup objects version 1.38 as minimum service version. 2019-12-20 11:00:46.529 6 INFO cinder.rpc [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Automatically selected cinder-backup RPC version 2.1 as minimum service version. 2019-12-20 11:00:46.543 6 INFO cinder.rpc [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Automatically selected cinder-volume objects version 1.38 as minimum service version. 2019-12-20 11:00:46.564 6 INFO cinder.rpc [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Automatically selected cinder-volume RPC version 3.16 as minimum service version. 2019-12-20 11:00:46.649 6 INFO oslo_service.service [req-962f990c-345b-429d-8224-f16c6073edb4 - - - - -] Starting 1 workers 2019-12-20 11:00:46.679 29 INFO cinder.service [-] Starting cinder-backup node (version 15.0.0) 2019-12-20 11:00:46.768 29 INFO cinder.backup.manager [req-820d708c-bf49-4d3f-952c-a88041e1b3a7 - - - - -] Cleaning up incomplete backup operations. 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift [-] Can not get Swift capabilities during backup driver initialization.: ClientException: Capabilities GET failed: http://172.16.103.111:8080/info 401 Unauthorized [first 60 chars of response] {"error": {"message": "The request you have made requires au 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift Traceback (most recent call last): 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/swift.py", line 393, in check_for_setup_error 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift
conn.get_capabilities() 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift File "/var/lib/kolla/venv/lib/python2.7/site-packages/swiftclient/client.py", line 1928, in get_capabilities 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift return get_capabilities((parsed, self.http_conn[1])) 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift File "/var/lib/kolla/venv/lib/python2.7/site-packages/swiftclient/client.py", line 1565, in get_capabilities 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift resp, 'Capabilities GET failed', body) 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift ClientException: Capabilities GET failed: http://172.16.103.111:8080/info 401 Unauthorized [first 60 chars of response] {"error": {"message": "The request you have made requires au 2019-12-20 11:00:46.826 29 ERROR cinder.backup.drivers.swift 2019-12-20 11:00:46.830 29 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'cinder.backup.manager.BackupManager._setup_backup_driver' failed: ClientException: Capabilities GET failed: http://172.16.103.111:8080/info 401 Unauthorized [first 60 chars of response] {"error": {"message": "The request you have made requires au

It seems the authentication is not properly configured. Here is some of the params ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-12-22 12:15:26 -0500

UHL-Services gravatar image

Have you tried opening a bug?

Is Cinder on itself working fine without issues, what about the Swift configuration?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-12-20 04:05:25 -0500

Seen: 31,502 times

Last updated: Dec 20 '19