-
Notifications
You must be signed in to change notification settings - Fork 12
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
Do machine checks/tasks execute using Ansible or the SSH executor? #271
Comments
Tracking back the code we have the following call chain:
From there on the asynchronous task queue (which is broken) picks up both of the tasks and executes them. |
Hi @SchoolGuy, Thanks so much for the explanation. Actually, running the RescanAll does trigger the Ansible playbook, just that it uses 'root' to login to our ubuntu bastion machine, which gets blocked.
However, as for the machine reservation by deadline, we noticed that Orthos does not honour the expiry time; the machine is still listed as reserved by a user even after the deadline has elapsed. Is there any way to fix this? |
@venera70 Allowing root login is a configuration issue on the target box. Without that things will get tricky in other places because things like lspci and the likes will not work without root privileges. Orthos not respecting the end of the reservation is a bug that I see internally at SUSE as well and I am planning on working on it in the new year when I am back at work. |
Hi @SchoolGuy, That would be really great, thanks! Additionally, could we request that the reservation system be able to specify down to an hour granularity, rather than a day? We were also testing out the orthos-cli, and we've noticed that reserving a machine via the CLI, it would not accept days less than 7:
It seems that the value supplied is being subtracted by 6, as we repeated this with Duration = 20 days and the Reserved Until was 14 days in the future. |
Once I am back in the office I will see what I can do. But as said that will sadly not be this calender year. |
Hi @SchoolGuy any update on this? Thanks. |
I am in the office next week. I will start asap on this then. |
We are trying to get the Rescan All action going in Orthos2, having already set up key-based SSH auth to the target host.
However looking at the logs
/var/log/orthos2/default.log
, we don't see any messages on the remote execution taking place, even with the logging level at debug.Also, it is a little confusing on whether the SSH Executoris being executed or whether Ansible executor is being used.
We see that there are some shell scripts in the scripts dir that are called by machinecheck.py.
In the docs, there don't seem to be any mention of ansible: https://orthos2.readthedocs.io/en/latest/adminguide/server_configuration.html#ssh-keys-paths
Kindly advise, thanks.
The text was updated successfully, but these errors were encountered: