Debian: Bootstrap not applying custom banner

Bug #1977178 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
-----------------
If a custom banner is provided prior to running Ansible bootstrap playbook on a Debian environment, it fails.

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

Steps to Reproduce
------------------
Put a custom banner in /opt/banner/ and run the Ansible bootstrap.

Expected Behavior
------------------
Ansible bootstrap finishes successfully.

Actual Behavior
----------------
Ansible bootstrap breaks when trying to apply the custom banner.

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
----------

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

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

Changed in starlingx:
status: New → In Progress
Changed in starlingx:
assignee: nobody → Hugo Nicodemos Brito (hbrito)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to utilities (master)

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/844498
Committed: https://opendev.org/starlingx/utilities/commit/794be9e0519afa62d7a18270e007e3841751bd11
Submitter: "Zuul (22348)"
Branch: master

commit 794be9e0519afa62d7a18270e007e3841751bd11
Author: Hugo Brito <email address hidden>
Date: Thu Jun 2 13:12:34 2022 -0300

    Debian: Fix bootstrap apply custom banner

    With the update of update-motd [1], some files were not installed
    with the stx, but they are required to bootstrap to be able to apply
    custom banners.

    1: https://review.opendev.org/c/starlingx/utilities/+/832641

    Test Plan:
    - PASS (Debian and centOS): After bootstrap, the custom banner was
    applied correctly.

    Closes-bug: 1977178

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

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