Comment 2 for bug 1981824

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/850022
Committed: https://opendev.org/starlingx/config/commit/86aa93255e96ec370666a24e3477e827a11873cf
Submitter: "Zuul (22348)"
Branch: master

commit 86aa93255e96ec370666a24e3477e827a11873cf
Author: Mohammad Issa <email address hidden>
Date: Fri Jul 15 15:21:26 2022 +0000

    host-device-show doesn't show firmware info

    When running "system host-device-show controller-0 0000:b2:00.0",
    all firmware info are shown as "None".

    Turns out some services like "sysinv-fpga-agent" and
    "sysinv-conf-watcher" are not initialized properly during initial boot.

    Test Plan:

    PASS: modify the rules script that is used to start systemd unit files,
          to become compatible with the Debian command rules. for example,
          specifying the name of the service with the "--name" option:
          "--name=sysinv-fpga-agent". Then execute:
          "ls /usr/lib/systemd/system/sysinv* -l" after initial boot
          --> Command Response:
              -rw-r--r-- 3 root root 81 Jan 1 1970
              /usr/lib/systemd/system/sysinv-conf-watcher.path

              -rw-r--r-- 3 root root 219 Jan 1 1970
              /usr/lib/systemd/system/sysinv-conf-watcher.service

              -rw-r--r-- 3 root root 389 Jan 1 1970
              /usr/lib/systemd/system/sysinv-fpga-agent.service

    Closes-Bug: 1981824

    Signed-off-by: Mohammad Issa <email address hidden>
    Change-Id: I1491e9607688738fedec188c872a815b074e8dfc