Thanks. Done ! https://github.com/uyuni-project/uyuni/issues/2595 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: Silvio Moioli <moio@suse.de> Sent: viernes, 11 de septiembre de 2020 11:48 To: uyuni-users@opensuse.org Subject: Re: [uyuni-users] Check salt-ssh clients status through command line ? CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On 11/09/2020 11.25, Bidault, Philippe wrote:
I have noticed that Uyuni will silently fail to get the package information from a salt-ssh registered client if it get for example a ssh 'permission denied'.
As far as I can see, the only way to detect such failures is to check the taskomatic logs and look for those messages:
2020-09-11 05:07:02,597 [DefaultQuartzScheduler_Worker-13] WARN com.suse.manager.webui.services.impl.SaltService - JsonParsingError({"_error":"Failed to return clean data","stderr":"root@my_server: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).\r\n","stdout":"","retcode":255,"id":"my_server","fun":"state.apply","jid":"20200911050701681150","_stamp":"2020-09-11T05:07:02.592894"}, No salt ssh return value, return code: 255)
I would consider this a bug and would encourage you to open a GitHub issue with reproduction instructions - whatever Action triggered this should fail in a visible way in the UI FMPOV. HTH Regards, -- Silvio Moioli SUSE Manager Development Team -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org