PDA

View Full Version : SM 3 API - Issues with Salt Clients and Remote Commands



mal90
16-Jan-2017, 12:30
Hi,

when i issue a remote command via the susemanager web interface everything just works fine:

https://picload.org/image/rorlddlc/saltrc.png

But when i try to issue the same remote command via the susemanager api call scheduleScriptRun it just gets added to the queue but never gets executed:

https://picload.org/image/rorlddlp/saltrcapi.png

Am i missing some point or is this just broken?

At least add a note to the API documentation that scheduleScriptRun doesn't work with salt clients

Greetings

Malcolm

mal90
16-Jan-2017, 13:13
After a while the remote command issued via the susemanager API fails with the following output:
224

kwk
17-Jan-2017, 08:56
I would recommend to open a support request.

mal90
19-Jan-2017, 15:58
Installing the latest SM Updates worked for me.
Patches:

SUSE-SUSE-Manager-Server-3.0-2017-82
SUSE-SUSE-Manager-Server-3.0-2017-84
SUSE-SUSE-Manager-Server-3.0-2017-77

Fixed the Problem. After appling these I am able to issue remote commands via SM API and they get executed.

Is there any Info when the Snapshot and Profile Feature is avaiable for Salt Clients? The documentation just says: Under Review

Greetings
Malcolm

kwk
20-Jan-2017, 08:04
The Snapshot and Profile Feature for Salt clients will probably be replaced by a configuration drift detection.