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
Remote command errors with operation not permitted #1792
Comments
|
@jamiees2: What version of st2 are you using? Maybe you are affected by #1762. It's weird. In some hosts, setting parallel to True breaks (this is understandable because of the interaction between multiprocessing and eventlets). So we set it to False and some users have complained about weird errors. Depending on your st2 version, it might be either True or False. We could switch it to the opposite and check. BTW username and password need not be provided. It looks like they are both empty. Also, we are replacing the current SSH runner. Fabric is really buggy especially in an eventlet environment. Progress is being made as we speak. lakshmi-kannan#2. |
I just tried adding the parameter Oh, and the username and password were provided, just removed for posting here :) That's awesome aswell, is there any ETA for when the new ssh runner will land? I'm working on getting windows+ssh working in stackstorm using freeSSHd. I have the runner ready, but just need to debug this error to test it. |
|
Great! Updating stackstorm resolved the issue. Thanks! |
|
@jamiees2 Just want to call out that the upgrade fixing the issue is more coincidental than anything else. We don't understand the root cause very well. The real fix would be to swap fabric with the new runner which we got a better grip for. Regarding ETA, it should be available in the next release. I can let you know when it's ready for testing and give you instructions on how to try it out i.e. if you are interested and want to help us in testing :). |
|
@lakshmi-kannan Great! Sure, happy to help :) I'm currently working on this runner: https://gist.github.com/jamiees2/6e744897eae5107b63de which works as of now, although some cleanup is needed ;). Also, perhaps this is relevant? http://stackoverflow.com/questions/25224875/python-eventlet-fabric-gives-ioerror-errno-1-operation-not-permitted-when-run I found this, but wasn't in the mood for replacing eventlet. |
|
Yeah, we identified a bunch of bugs with fabric + eventlet. We use a fork of fabric. Anyways, long story short, fabric doesn't work well for us. About your windows runner, I am little confused why you can't use the default ssh runner. Is there some cross platform issue that's stopping you? I took a cursory look at your runner and didn't see much difference from existing fabric runner for *nix. |
|
Well, to be honest, there was just this line here: https://gist.github.com/jamiees2/6e744897eae5107b63de#file-windows-py-L82 Initially there was more, but I realized that wasn't neccessary. The script runner has to be somewhat different because of entirelly different commands though :) |
Hi.
When using the
remote-shell-cmdrunner as follows:, it always fails with the following error:
Any ideas?
The text was updated successfully, but these errors were encountered: