Skip to content

fix : support for 2.17.0 release#227

Open
mickaelsv wants to merge 1 commit into
cea-hpc:masterfrom
mickaelsv:fix-recovery-status
Open

fix : support for 2.17.0 release#227
mickaelsv wants to merge 1 commit into
cea-hpc:masterfrom
mickaelsv:fix-recovery-status

Conversation

@mickaelsv

Copy link
Copy Markdown

Since 2.17.0, recovery_status has been moved to debugfs, fixed path parser to support this change

Comment thread lib/Shine/Lustre/Target.py Outdated
recov_path = glob('/proc/fs/lustre/*/%s/recovery_status' % self.label)
# Since 2.17.0, recovery_status has been moved to debugfs
recov_path = (
glob('/proc/fs/lustre/*/%s/recovery_status' % self.label) or

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) better to test the most future looking path first, which is the one that is the most likely to succeed eventually, so the debugfs one.

Also, at some point, we should rely on lctl get_param , or ideally lctl list_param --path , but this is only available starting in 2.16

@mickaelsv mickaelsv force-pushed the fix-recovery-status branch from ac003cc to 79a2581 Compare June 10, 2026 08:57

@degremont degremont left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also fix the commit message to keep the same message style:

<component>: <change>

someting like:

Target: also read recovery_status in debugfs

Since 2.17.0, recovery_status has been moved to debugfs, fixed path
parser to support this change
@mickaelsv mickaelsv force-pushed the fix-recovery-status branch from 79a2581 to 85d5ac4 Compare June 11, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants