Hi Franky,
Thanks for the info, I will give a try to '--ssh-option'.
I am in fact trying to use salt-ssh command to have a status of my registered ssh-push clients because I have difficulties to know the real status of the registered clients.
From what I can see, Uyuni checks the status of its registered salt-ssh clients by executing the salt test.ping command. However and surprisingly, when a test.ping fails for a reason
or another (Root ssh login not authorized anymore, Salt SHIM corrupted, ....) , the registered client is not flagged as such, so it is really hard to know when a server is finally in a good state in Uyuni or not.
I have however observed that when Uyuni has no more test.ping result after some days, it flags the clients as "Inactive" (a small circle with a question mark in it). But this only occurs when taskomatic is not able to trigger salt-ssh push jobs because of all the ssh-push workers being frozen.
I mention this on 2 tickets:
https://github.com/uyuni-project/uyuni/issues/2595
https://github.com/uyuni-project/uyuni/issues/3182
Philippe.
Philippe Bidault | Unix Engineer | Getronics
M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262.
Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you.
Legal disclaimer: http://www.getronics.com/legal/
-----Original Message-----
From: fkobzik@suse.de
Hi all,
I am able to check the status of a ssh_push registered clients by executing this command directly from the Uyuni server:
salt-ssh --priv /srv/susemanager/salt/salt_ssh/mgr_ssh_id 'my_ssh_push_registered_server' test.ping
However I am struggling trying to have this working for a server going through an Uyuni proxy and not registered directly on Uyuni.
Do you have an idea ?
Regards, Philippe.
Philippe Bidault | Unix Engineer | Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.comhttps://www.getronics.com
[cid:3-lines_7512e235-163a-4853-8e4f-b0d4fc62ce73.png]<https://getroni cs.com/>
Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/