config-parallel-backups
Objectives:
Parallel backups assumes that we have multiple storage location and implement storing simultaneously.
There we have several problems to be solved:
1) Unfortunately Freezer now can accept only one storage as parameter:
--storage swift/local/ssh
So there are no possibility to provide several storages.
2) Currently Freezer assumes that all credentials for OS will be in env. But we have no mechanism to define it through command line.
Possible solutions:
1) Preserve possibility to provide *everything* through command line.
It can be implemented the next way:
--storage1 local --container1 /tmp/ --storage2 ssh --container2 /tmp/mybackup --ssh-username2 myname --ssh-host2 8.8.8.8 --ssh-key2 ~/mykey.pem --storage3 ssh --container3 /tmp/mybackup --ssh-username3 test --ssh-host3 8.8.8.10 --ssh-key3 ~/mykey.pem
In this case we should add --os-username --os-password --os-auth-url --os-endpoint-path --os-region-name
Or we can add to env os-username1, os-username2 ...
Pros: preserve cli
Cons: not very beautiful command
Questions:
Should we have multiple upload-limit, restart_
2) Create parallel backups *only* with config
Question:
Should we change current config or wait until new version of config oslo.config will be integrated
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Eldar Nugaev
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by