ceph.ceph_admin.upgrade module
Module that interfaces with ceph orch upgrade CLI.
- exception ceph.ceph_admin.upgrade.UpgradeFailure
Bases:
Exception
- class ceph.ceph_admin.upgrade.UpgradeMixin
Bases:
objectCLI that list daemons known to orchestrator.
- monitor_upgrade_status(timeout=3600)
Monitor upgrade status
- Parameters
timeout (int) – Timeout in seconds (default:3600)
- start_upgrade(config: Dict)
Execute the command ceph orch start <args>.
- Parameters
config (Dict) – The key/value pairs passed from the test case.
Example:
Testing ceph orch upgrade config: service: upgrade command: start base_cmd_args: verbose: true format: json | json-pretty | xml | xml-pretty | plain | yaml args: image: "latest" # pick latest image from config version: 16.0.0 # Not supported
- upgrade_check(image)
Check the service versions available against targeted version
- Parameters
image (Str) – image name
- Returns
status (Dict)
- upgrade_status()
Execute the command ceph orch status.
- Returns
upgrade Status (Dict)