DC Debian | Subcloud install failing due to non-existing directory (/etc/pmon.d)

Bug #1991968 reported by Shrikumar Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Shrikumar Sharma

Bug Description

Brief Description

Debian sub cloud is failing to bootstrap at the "Register kubelet with pmond" task due to a non-existing directory, /etc/pmon.d.

Severity

Major

Steps to Reproduce

Deploy Debian Subcloud
Watch Ansible logs
Expected Behavior

Ansible task "Register kubelet with pmond" completed

Actual Behavior

"Register kubelet with pmond" task fails as /etc/pmon.d directory does not exist

Reproducibility

1 out of 1

System Configuration

DC

Load info (eg: 2022-03-10_20-00-07)

Debian DC 2022-10-04_18-00-11

Last Pass

NA

Timestamp/Logs

DC-1/Subcloud8 - http://yow-cgcs-test.wrs.com/jenkins/view/Install_DC/job/cgcs-distributedcloud-1_subcloud-8/282/

TASK [bootstrap/bringup-essential-services : Register kubelet with pmond] ******
Thursday 06 October 2022 01:30:55 +0000 (0:00:00.519) 0:34:27.956 ******
fatal: [subcloud8]: FAILED! => changed=false
  msg: Destination directory /etc/pmon.d does not exist
Alarms

NA

Test Activity

Debian Testing

Workaround

NA

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

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

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

Reviewed: https://review.opendev.org/c/starlingx/metal/+/860595
Committed: https://opendev.org/starlingx/metal/commit/d323cb7a729095c80aa5b2b4bd74e0ffd29c3046
Submitter: "Zuul (22348)"
Branch: master

commit d323cb7a729095c80aa5b2b4bd74e0ffd29c3046
Author: Shrikumar Sharma <email address hidden>
Date: Thu Oct 6 16:26:59 2022 +0000

    Subcloud install failing due to non-existing directory (/etc/pmon.d)

    Debian sub cloud is failing to bootstrap at the "Register kubelet
    with pmond" task due to a non-existing directory, /etc/pmon.d.

    This change ensures that the directory /etc/pmon.d exists, and that
    the required files for different traits are appropriately linked.

    TEST PLAN:

    PASS: Verify that /etc/pmon.d is created on the subcloud when
          deploying the subcloud

    PASS: Verify that the "Register kublet with pmond" ansible task
          completes

    Closes-Bug: 1991968

    Signed-off-by: Shrikumar Sharma <email address hidden>
    Change-Id: I6d71fad61bd0fa3a58cc1ab4f2d33fb7a7ec1bc7

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
assignee: nobody → Shrikumar Sharma (ssharma3)
tags: added: stx.8.0 stx.distcloud stx.metal
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.