fix: wrong symlink path building for drive signing#2436
fix: wrong symlink path building for drive signing#2436kristina-solovyova merged 2 commits intoweka:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes incorrect /dev/disk/by-path symlink construction when signing drives discovered via lspci vendor/device IDs, preventing duplicate 0000: in the generated PCI path.
Changes:
- Update PCI by-path device string formatting to avoid prepending
0000:whenlspcialready includes the domain. - Apply the same fix for both direct signing and proxy signing paths.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Graphite Automations"Add anton/matt/sergey/kristina as reviwers on operator PRs" took an action on this PR • (04/07/26)3 reviewers were added to this PR based on Anton Bykov's automation. |
|
hey @kristina-solovyova can we get this merged ? I would like very much for the next version of the operator to have this fixed. Having to manually sign the drives because of this bug is a bit annoying. |
hay @Gab-Menezes! Thank you for the fix |
Fixes the symlink path for when signing by
deviceIdandvendorId.Logs from the signing operation:
The string
0000is added wrongly leading the the wrong path, the commandlspci -d {vendor_id}:{device_id} | sort | awk '{print $1}'already returns the0000prefix.Here is the
WekaPolicy