AIO-SX upgrade playbook fails restoring home directory

Bug #2043280 reported by Joshua Kraitberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Joshua Kraitberg

Bug Description

Brief Description
-----------------
Ansible AIO-SX optimized upgrade playbook fails on "Restore home directory" step.

Severity
--------
Critical

Steps to Reproduce
------------------
Start upgrade FROM 21.12_PATCH0012 to 22.12_PATCH0004 (iteration 2023-11-10)
Reinstall ISO
Run upgrade playbook

Expected Behavior
------------------
Upgrade playbook runs successfully

Actual Behavior
----------------
Fail

Reproducibility
---------------
100% on affected system, 0% on everything else

System Configuration
--------------------
AIO-SX stand-alone

Branch/Pull Time/Commit
-----------------------
11/11/2023

Last Pass
---------
N/A

Timestamp/Logs
--------------
TASK [optimized-restore/restore-configuration : Restore home directory] ********************************************************************************************************************************************************************************************************
Friday 10 November 2023 23:28:08 +0000 (0:00:00.304) 0:01:28.184 *******
fatal: [localhost]: FAILED! => changed=true
  cmd:
  - tar
  - --use-compress-program=pigz
  - -C
  - /
  - -xpf
  - /opt/platform-backup/mini_upgrade_data_2023-11-10T222049_b8cb44fd-4bab-4d65-8a00-afd309aa55d7.tgz
  - --exclude
  - home/sysadmin/ansible.log
  - --overwrite
  - home/
  delta: '0:00:00.066376'
  end: '2023-11-10 23:28:08.925322'
  msg: non-zero return code
  rc: 2
  start: '2023-11-10 23:28:08.858946'
  stderr: |-
    tar: home: Directory renamed before its status could be extracted
    tar: Exiting with failure status due to previous errors
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

PLAY RECAP *********************************************************************************************************************************************************************************************************************************************************************
localhost : ok=226 changed=70 unreachable=0 failed=1 skipped=247 rescued=0 ignored=0

Test Activity
-------------
AIO-SX Upgrade Testing

Workaround
----------
None

Changed in starlingx:
assignee: nobody → Joshua Kraitberg (jkraitbe-wr)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.