Debian: ansible populate_initial_config.py is checking anaconda.log

Bug #2000781 reported by André Dexheimer Carneiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Unassigned

Bug Description

Brief Description ------------------------------

During bootstrap/persist-config we see this log:

      grep: /var/log/anaconda/anaconda.log: No such file or directory
      Install output = graphical

Severity ------------------------------

Minor

Steps to Reproduce ------------------------------

Bootstrap a subcloud via redfish

Expected Behavior ------------------------------

The check should determine if install is graphical or serial

Actual Behavior ------------------------------

Defaults to graphical

Reproducibility ------------------------------

always

System Configuration ------------------------------

DC

Timestamp/Logs ------------------------------

TASK [bootstrap/persist-config : debug] ****************************************
Tuesday 11 October 2022  03:47:53 +0000 (0:00:26.241)       0:09:14.679 *******
ok: [subcloud6] =>
  populate_result:
    changed: true
    failed: false
    failed_when_result: false
    rc: 0
    stderr: |-
      Shared connection to 2620:10a:a001:a103::1129 closed.
    stderr_lines:
    - Shared connection to 2620:10a:a001:a103::1129 closed.
    stdout: |2-      Populating system config...
      System config completed.
      Populating load config...
      Load config completed.
      Populating management network...
      Populating pxeboot network...
      Populating oam network...
      Populating multicast network...
      Populating cluster host network...
      Populating cluster pod network...
      Populating cluster service network...
      Populating system controller network...
      Network config completed.
      Populating/Updating DNS config...
      DNS config completed.
      Populating/Updating docker proxy config...
      Docker proxy config completed.
      Populating/Updating docker registry config...
      Docker registry config completed.
      Populating/Updating kubernetes config...
      Kubernetes config completed.
      Populating/Updating kube-apiserver config...
      Populating/Updating kube-controller-manager config...
      Populating/Updating cluster-level kubelet config...
      kubernetes control plane components and kubelet completed.
      Management mac = 00:00:00:00:00:00
      Root fs device = /dev/disk/by-path/pci-0000:00:17.0-ata-5.0
      /tmp/.ansible-sysadmin/tmp/ansible-tmp-1665460047.6184354-3871767-159771551572575/populate_initial_config.py:1035: DeprecationWarning: Will be removed in 1.0. Use equivalent Devices method instead.
        part = pyudev.Device.from_device_number(context,
      /tmp/.ansible-sysadmin/tmp/ansible-tmp-1665460047.6184354-3871767-159771551572575/populate_initial_config.py:1038: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.
        if part.parent:
      Boot device = /dev/disk/by-path/pci-0000:00:17.0-ata-5.0
      Console = ttyS0,115200
      Tboot =
      grep: /var/log/anaconda/anaconda.log: No such file or directory
      Install output = graphical
      Host values = {'personality': 'controller', 'hostname': 'controller-0', 'mgmt_ip': 'fd01:15::3', 'mgmt_mac': '00:00:00:00:00:00', 'administrative': 'locked', 'operational': 'disabled', 'availability': 'offline', 'invprovision': 'provisioning', 'rootfs_device': '/dev/disk/by-path/pci-0000:00:17.0-ata-5.0', 'boot_device': '/dev/disk/by-path/pci-0000:00:17.0-ata-5.0', 'console': 'ttyS0,115200', 'tboot': '', 'install_output': 'graphical'}
      Host controller-0 created.
      Successfully updated the initial system config.

Alarms ------------------------------

n/a

Test Activity ------------------------------

Developer Testing

Workaround ------------------------------

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
tags: added: stx.config stx.debian
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ansible-playbooks (master)

Change abandoned by "John Kung <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/ansible-playbooks/+/868924
Reason: Abandon review, reason as per prior comment.

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.