Debian: sysinv-agent sometimes reports wrong lvm_pv_name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
pvdisplay on Centos and Debian return different values for PV Name.
On Centos it is the actual path, and on Debian it is a symlink.
The pvdisplay command is invoked by sysinv-agent to report disks to sysinv.
The difference in path logic means that sysinv can create additional entries in the database, and those entries are incomplete (they do not have all fields) due to their odd format.
The incomplete rows in the database lead to invalid entries in hieradata, which cause puppet apply failures and eventually leads to an inability to unlock the host.
Typically the first unlock is fine, it is subsequent unlocks and reboots that will fail.
Severity
--------
Major
Steps to Reproduce
------------------
reboot an unlocked debian controller
Expected Behavior
------------------
It shouldnt blow up
Actual Behavior
----------------
It fails the puppet apply.
Reproducibility
---------------
Almost 100%. We think a SCSI backend does not encounter this scenario, but the majority of other disk types do.
System Configuration
-------
Debian AIO-SX
Branch/Pull Time/Commit
-------
March 12
Last Pass
---------
Never. We dont typically get this far, as debian is still under development.
Timestamp/Logs
--------------
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
2022-03-07 22:15:25.499 61824 ERROR sysinv.
sysinv 2022-03-07 22:15:25.519 61824 INFO sysinv.
Test Activity
-------------
Developer Testing
Workaround
-----------
Dont reboot
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
tags: | added: stx.7.0 stx.debian |
Changed in starlingx: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/834032
Review: https:/