Comment 0 for bug 2026597

Revision history for this message
Ramesh kumar Sivanandam (rsivanan) wrote : BnR: In Storage config - Controller-1 failed to become available during restore

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
Unable to restore storage lab

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