-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
stdin issue with lvdisplay command #9128
Comments
Thanks for the report. This may not be an actual bug in salt, but rather just an idiosyncrasy in the way salt and lvdisplay interact. But we'll investigate. |
Hi all, Tracking it looks like the issue comes from the difference between the file status flags of the console fds. The Good
The Bad
Stdout Errorstdin: fdopen failed: Invalid argument |
Fix for bug #9128: issue with salt-master ttys with lvdisplay command
Fixed in #9227 |
Hi,
I am currently using the lvm module in a few states files throught the use of lvm.lv_present.
I noticed the following behavior on my states:
-> when launched localy, through salt-call, the lvdisplay command is working fine
-> when launched remotely it fails
To dig a bit further, I ran the following test case around the lvdisplay command
and I found a workaround. Set the stdin to /dev/null
QUESTION: I am currently wondering the right way to fix that bug. Be specific on the lvm module or set it directly in the cmdmod module ... This may need further investigation ? Your thought ? Is there a global file descriptor issue ?
KO Test case :
OK test case:
Regards,
Frédéric
The text was updated successfully, but these errors were encountered: