New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filesystem.py: fix xfs growfs #137
Conversation
xfs needs to be mounted to be expanted. Add function to get mountpoint of filesystem. * Fail if xfs filesystem is not mounted xfs growfs needs to be executed on a mountpoint. That will be enforced now by xfsprogs-4.12. https://bugzilla.redhat.com/show_bug.cgi?id=1477192
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks ok. No idea about functionality itself though (can't test)...
Would it be possible to backport this to current 2.9 version as well? |
Could a
@holdenSK Once this has been merged, a backport PR can be raised against |
Co-authored-by: Felix Fontein <felix@fontein.de>
@gundalow A changelog/fragment is included. |
🤔 |
@alxgu Thanks for adding the changelog fragment @anatolinicolae Hi, are you able to checkout this code locally and test it? @alessiofachechi @kbrowder @larsbu @trammel Hi, I see you commented on ansible/ansible#55646 and ansible/ansible#33979 would you possible be able to review this change so we can get it merged? |
@alxgu @holdenSK @anatolinicolae @larsbu Thank you all for your work in getting this done.
@alxgu @holdenSK As this has now been merged, if you'd like to see this fixed in Ansible 2.9 please raise a PR directly against github.com/ansible/ansible |
I'm sorry, but I don't have the same home lab environment anymore, so I'm not really in a position to test this fix. |
SUMMARY
reopening of ansible/ansible#55646
xfs needs to be mounted to be expanted.
Add function to get mountpoint of filesystem.
xfs growfs needs to be executed on a mountpoint. That will be enforced
now by xfsprogs-4.12.
https://bugzilla.redhat.com/show_bug.cgi?id=1477192
Fixes ansible/ansible#33979
ISSUE TYPE
COMPONENT NAME
filesystem.py
ADDITIONAL INFORMATION
before:
after:
or (when mounted)
or (when not mounted)