Stouts / Stouts.backup

Ansible role to backup files, databases
MIT License
150 stars 40 forks source link

Using swift : Container creation failed: ClientException No tenant specified #17

Open gzoritchak opened 8 years ago

gzoritchak commented 8 years ago

When I try to use params to initialize the environment variables for SWIFT:

- name: myprofile
  max_full_backups: 5
  full_max_age: 1W
  schedule: 0 6 * * *
  source: /home/project/backup
  target: swift://myprofile
  params:
    - "SWIFT_USERNAME=--username--"
    - "SWIFT_PASSWORD=--password--"
    - "SWIFT_AUTHURL=https://auth.cloud.ovh.net/v2.0"
    - "SWIFT_TENANTNAME=-tenantname-"
    - "SWIFT_AUTHVERSION=2"

I have the exception

Container creation failed: ClientException No tenant specified

shawnzhu commented 8 years ago

Try "SWIFT_USERNAME="tenant-name:--username--"