Ansible failed to provision initial system configuration

Bug #2013103 reported by Jorge Saffe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Jorge Saffe

Bug Description

Brief Description
-----------------
During system bootstrap, after bootstrap ansible playbook starts,
if it fails after completing persist-config step and before k8s service is started, the installation will fail again when trying to replay the bootstrap ansible playbook.

Severity
--------
Critical

Steps to Reproduce
------------------
* Start fresh install with Debian AIO-SX.
* Stop bootstrap ansible playbook after persist-config step is completed.
* Replay bootstrap ansible playbook and complete the installation.

Expected Behavior
------------------
Ansible playbook success

Actual Behavior
----------------
Ansible playbook failed

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/878789

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/878789
Committed: https://opendev.org/starlingx/config/commit/90c8e6aaf9b1b2cc5edebc696ac7c82aa69a20c7
Submitter: "Zuul (22348)"
Branch: master

commit 90c8e6aaf9b1b2cc5edebc696ac7c82aa69a20c7
Author: Jorge Saffe <email address hidden>
Date: Tue Mar 28 12:35:38 2023 -0400

    Replay of bootstrap playbook fails providing initial system config

    During system bootstrap, after bootstrap ansible playbook starts,
    if it fails after completing persist-config step and before k8s service
    is started, the installation will fail again when trying to replay the
    bootstrap ansible playbook.

    Test Plan:
      PASS: Start fresh install with Debian AIO-SX.
      PASS: Stop bootstrap ansible playbook after persist-config step.
      PASS: Replay bootstrap ansible playbook and complete the installation.
      PASS: Add extra-volumes during runtime, apply changes and delete.

    Closes-Bug: 2013103

    Signed-off-by: Jorge Saffe <email address hidden>
    Change-Id: I59f08b587c45c405a4ce1afc88913efd7befe8f9

Changed in starlingx:
status: In Progress → Fix Released
Bruce Jones (bejones)
tags: added: stx.9.0 stx.config
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Jorge Saffe (jsaffe)
importance: Undecided → Medium
importance: Medium → High
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.