Comment 4 for bug 1992103

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to distcloud-client (master)

Reviewed: https://review.opendev.org/c/starlingx/distcloud-client/+/860725
Committed: https://opendev.org/starlingx/distcloud-client/commit/f1a7991e3dd9a5c49b75b4b5575f19993981253c
Submitter: "Zuul (22348)"
Branch: master

commit f1a7991e3dd9a5c49b75b4b5575f19993981253c
Author: Hugo Brito <email address hidden>
Date: Fri Oct 7 13:59:33 2022 -0300

    Parse backup_values YAML file

    Instead of sending the path of the backup_values file
    to the dcmanager, this commit parses the file and only
    sends the content.

    Test Plan:
    1. Add a subcloud using dcmanager subcloud add command.
    2. Create backup_values.yaml
    - platform_backup_filename_prefix: abc
    3. Create a backup using dcmanager subcloud-backup
    without --backup_values <file>.
    - backup file created with default name.
    4. Create a backup using dcmanager subcloud-backup
    --backup_values backup_values.yaml.
    - backup file created with 'abc' prefix.

    Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/860727
    Closes-Bug: 1992103

    Signed-off-by: Hugo Brito <email address hidden>
    Change-Id: I2146136403bc928ab67ab549db823dc71322fdcd