Backup and Restore: restore-image failed to read platform.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Wei Zhou |
Bug Description
Brief Description
-----------------
During system restore, CLI `sudo config_controller --restore-images <backupfile_
ERROR:root:Failed to read platform.conf
Traceback (most recent call last):
File "/usr/lib64/
value = str(config.
File "/usr/lib64/
raise NoOptionError(
NoOptionError: No option 'subfunction' in section: 'platform_conf'
This issue blocked further system restore procedure.
Severity
--------
Major
Steps to Reproduce
------------------
1 do system backup according to customer documents while do not backup any cinder volumes
sudo config_controller --backup <output_
save the generated backup-files outside the lab under test
2 do system restore
1) wipe disks on all nodes except the storage nodes
2) power off all nodes except the storage nodes
3) reinstall controller-0 with the same version system software
4) restore the system data:
sudo config_controller --restore-system <backup-
5) restore the system images:
sudo config_controller --restore-images <backup-
Expected Behavior
------------------
The CLI "sudo config_controller --restore-images <bakcup-
Actual Behavior
----------------
The CLI failed with error messages and traceback:
ERROR:root:Failed to read platform.conf
Traceback (most recent call last):
File "/usr/lib64/
value = str(config.
File "/usr/lib64/
raise NoOptionError(
NoOptionError: No option 'subfunction' in section: 'platform_conf'
Restore failed: Restore already in progress.
Reproducibility
---------------
Reproducible
System Configuration
-------
Dedicated storage
Branch/Pull Time/Commit
-------
master as of build-date-time
StarlingX_
Timestamp/Logs
--------------
Thu Dec 13 18:07:23 UTC 2018
Changed in starlingx: | |
assignee: | nobody → Wei Zhou (wzhou007) |
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Fix proposed to branch: master /review. openstack. org/625127
Review: https:/