Backup playbook freezes at "Create etcd snapshot"

Bug #1953163 reported by Bernardo Decco de Siqueira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Bernardo Decco de Siqueira

Bug Description

Brief Description

Have a fully deployed setup.
Playing with window size of the terminal then running backup.yml may freeze the ansible task.

Initial investigation showed etcdctl had a bad formated argument for endpoint. Instead of a full IPv4 (192.168.206.1) it had a partial (192.168.).
Ip is determined by this command : `system addrpool-list | awk '/cluster-host-subnet/{print$14}'`.

Revision history for this message
Bernardo Decco de Siqueira (bdeccode) wrote :

I was able to reproduce the error using a 1680x1050 display.
After zoom out the terminal the create etcd step passed.
To fix this bug we need to add the --nowrap to system addrpool-list at the task 'Get etcd endpoints' on /usr/share/ansible/stx-ansible/playbooks/roles/backup/backup-system/tasks/main.yml

WRCP version 21.12

Changed in charm-ironic-conductor:
status: New → In Progress
assignee: nobody → Bernardo Decco de Siqueira (bdeccode)
affects: charm-ironic-conductor → starlingx
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

screening: very specific issue related to the terminal settings when running the B&R; would be nice to fix, but will not hold up any release

tags: added: stx.config stx.update
Changed in starlingx:
importance: Undecided → Low
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/+/820384
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/5ebb6e66f53cbb6f98776f97e33170bb2ce5dd0e
Submitter: "Zuul (22348)"
Branch: master

commit 5ebb6e66f53cbb6f98776f97e33170bb2ce5dd0e
Author: Bernardo Decco de Siqueira <email address hidden>
Date: Fri Dec 3 11:09:47 2021 -0300

    Fix Backup playbook freezes at Create etcd snapshot

    I was able to reproduce the error using a 1680x1050 display.
    After zoom out the terminal the create etcd step passed.
    To fix this bug we need to add the --nowrap to system addrpool-list at
    the task Get etcd endpoints

    Closes-Bug: 1953163
    Signed-off-by: Bernardo Decco de Siqueira <email address hidden>
    Change-Id: I1936d998cdd22359d0ef55ce3db232b29bd46498

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.