System Restore fails on attempt to apply banner customization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Michel Thebeau [WIND] |
Bug Description
Brief Description
-----------------
CLI 'sudo configure_
Severity
--------
Critical
Steps to Reproduce
------------------
1) Do system backup following the documented procedures:
-backup system data using CLI:
sudo config_controller --backup-system <backup_
-backup glance images using CLI for each image:
sudo image-backup export <image_uuid>
-backup cinder volumes using CLI for each volumes:
cinder export <volume_uuid> (for "available" volumes)
cinder snapshot-create --force True --name <snp_name> <volume_uuid> (for "in-use" volumes)
cinder snapshot-export <snp_id> (for "in-use" volumes)
-save all files generated under /opt/backup
2) wipe disks and reinstall same version of system on controller-0 (e.g. using same ISO)
3) restore system using CLI:
sudo config_controller --restore-system <system-
Expected Behavior
------------------
The CLI is expected to run to completion without any error and.
Actual Behavior
----------------
The CLI failed after 11 out of 25 steps (44%), Traceback was diplayed:
Step 11 of 25 [######
File "/usr/bin/
load_
File "/usr/lib64/
backup_
File "/usr/lib64/
utils.
File "/usr/lib64/
stdout=blog, stderr=blog)
File "/usr/lib64/
retcode = call(*popenargs, **kwargs)
File "/usr/lib64/
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/
errread, errwrite)
File "/usr/lib64/
raise child_exception
OSError: [Errno 2] No such file or directory
Further investigation found that the file '/usr/sbin/
Reproducibility
---------------
Reproducible
Only ran once, but it's confirmed the package containing the file was not in the build.
System Configuration
-------
Any system types
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-08-29_20-18-00
Timestamp/Logs
2018-08-31 21:13:20,512
--------------
[2018-08-31 21:13:20,512] 824 INFO MainThread telnet.exec_cmd:: executing: echo "Li69nux*" | sudo -S config_controller --restore-system /home/wrsroot/
[2018-08-31 21:29:43,431] 840 DEBUG MainThread telnet.exec_cmd:: index:2, output:echo "Li69nux*" | sudo -S config_controller --restore-sy
stem /home/wrsroot/
cgcs-ironpass-
Restoring system (this will take several minutes):
Step 1 of 25 [# ] [4%]
Step 2 of 25 [### ] [8%]
Step 3 of 25 [##### ] [12%]
Step 4 of 25 [####### ] [16%]
Step 5 of 25 [######### ] [20%]
Step 6 of 25 [########## ] [24%]
Step 7 of 25 [############ ] [28%]
Step 8 of 25 [############## ] [32%]
Step 9 of 25 [################ ] [36%]
Step 10 of 25 [################## ] [40%]
Step 11 of 25 [######
File "/usr/bin/
load_
File "/usr/lib64/
backup_
File "/usr/lib64/
utils.
File "/usr/lib64/
stdout=blog, stderr=blog)
File "/usr/lib64/
retcode = call(*popenargs, **kwargs)
File "/usr/lib64/
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/
errread, errwrite)
File "/usr/lib64/
raise child_exception
OSError: [Errno 2] No such file or directory
tags: | added: stx.update |
Changed in starlingx: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
tags: |
added: stx.config removed: stx.update |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Targeted for stx.2018.10 - this breaks starlingx backup & restore