Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rdcore: run
blkid
with a clean cache to avoid collecting old
devices which no longer exist Boot VM failed with following logs, the reproduce rate is 2/4. ``` systemd[1]: Starting CoreOS Ensure Unique Boot Filesystem... rdcore[1252]: blkid: error: /dev/sr0: No such file or directory rdcore[1252]: Error: "blkid" "-p" "/dev/sdb1" "/dev/sr0" "/dev/sda4" "/dev/sda2" "/dev/sda3" "/dev/sda1" failed with exit status: 2 systemd[1]: coreos-ignition-unique-boot.service: Main process exited, code=exited, status=1/FAILURE coreos-ignition-unique-boot.service: Failed with result 'exit-code'. Failed to start CoreOS Ensure Unique Boot Filesystem. systemd[1]: coreos-ignition-unique-boot.service: Triggering OnFailure= dependencies. ``` Seems `blkid` collecting old devices from cache which no longer exist, should run with a clean cache before gathering the list of devices. Fixes https://issues.redhat.com/browse/OCPBUGS-17643
- Loading branch information