BnR: In storage config, controller-1 failed to become available during restore

Bug #2026597 reported by Ramesh kumar Sivanandam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Ramesh kumar Sivanandam

Bug Description

Brief Description
-----------------
Controller-1 failed to become available after unlock during the restore operation.

-------------------------------------------------------------------------------------
id hostname personality administrative operational availability
-------------------------------------------------------------------------------------

1 controller-0 controller unlocked enabled available
2 compute-0 worker locked disabled online
3 compute-1 worker locked disabled offline
4 controller-1 controller unlocked disabled failed
5 storage-0 storage locked disabled offline
6 storage-1 storage locked disabled offline
7 storage-3 storage locked disabled offline
8 storage-2 storage locked disabled offline
-------------------------------------------------------------------------------------

Severity
--------
Major

Steps to Reproduce
-------------------

1. on an unlocked/enabled/available STORAGE
2. do backup
   ansible-playbook /usr/share/ansible/stx-ansible/playbooks/backup.yml -e
   ansible_become_pass=Li69nux*" -e "admin_password=Li69nux*"
   1. copy
      scp FROM_CONTROLLER:/opt/backups/backup TO_DEVMACHINE:~/backups

shutdown controller-0, controller-1, workers, storages
attach iso, boot from iso, reinstall controller-0 from bootimage.iso
ensure networking
    1. copy
       scp FROM_DEVMACHINE:/backups/backup TO_CONTROLLER:/

    1. Run the restore bootstrapansible-playbook /usr/share/ansible/stx-
       ansible/playbooks/restore_platform.yml -e "initial_backup_dir=/home/sysadmin" -e
       "ansible_become_pass=Li69nux*" -e "admin_password=Li69nux*" -e
       "backup_filename=localhost_platform_backup_2020_04_08_17_50_36.tgz" -e "wipe_ceph_osds=true"

system host-unlock controller-0
configure controller-1, workers, storages to boot from pxe
boot controller-1, workers, storages from pxe

system host-unlock controller-1 ; # wait for it to be available
unlock storages - wait for them to be available

Expected Behavior
-----------------
Controller-1 should become available after restore.

Actual Behavior
---------------
Controller-1 availability shows as failed after restore.

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Standard with dedicated storage

description: updated
Changed in starlingx:
assignee: nobody → Ramesh kumar Sivanandam (rsivanan)
Revision history for this message
Ghada Khalil (gkhalil) wrote (last edit ):
tags: added: stx.9.0 stx.containers
Changed in starlingx:
importance: Undecided → Medium
Ghada Khalil (gkhalil)
summary: - BnR: In Storage config - Controller-1 failed to become available during
+ BnR: In storage config, controller-1 failed to become available during
restore
Changed in starlingx:
status: New → In Progress
Changed in starlingx:
status: In Progress → Fix Released
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.