B&R: Error restoring k8s version in backup tarball

Bug #1980158 reported by Hugo Nicodemos Brito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Hugo Nicodemos Brito

Bug Description

Brief Description
-----------------
The following error happens when the restore-platform playbook is run:
Cannot find BACKUP_TARBALL or the kube_cmd_versions table is missing in the backup tarball!

Severity
--------
<Minor: System/Feature is usable with minor issue>

Steps to Reproduce
------------------
Run restore-platform playbook

Expected Behavior
------------------
Restore process running normally

Actual Behavior
----------------
restore-platform breaks trying to get kube_cmd_versions

Reproducibility
---------------
<Reproducible>
100% reproducible

System Configuration
--------------------
<One node system, Two node system, Multi-node system, Dedicated storage, https, IPv4, IPv6 etc.>

Branch/Pull Time/Commit
-----------------------
Master

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Changed in starlingx:
assignee: nobody → Hugo Nicodemos Brito (hbrito)
Ghada Khalil (gkhalil)
tags: added: stx.update
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/848035
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/ebd0c033d2bb9298be8dd4fa3d73cac88e5e7c2f
Submitter: "Zuul (22348)"
Branch: master

commit ebd0c033d2bb9298be8dd4fa3d73cac88e5e7c2f
Author: Hugo Brito <email address hidden>
Date: Tue Jun 28 20:10:06 2022 -0300

    B&R: Improve restore k8s versions

    The restore-platform tries to restore the k8s using
    zgrep into the backup tarball, but the kube_cmd_versions
    can be public.kube_cmd_versions. This improves
    the zgrep by adding regex.

    Test Plan:
    PASS: Perform platform backup and restore Debian
    PASS: Perform platform backup and restore CentOS

    Closes-bug: 1980158

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

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.7.0
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.