sap-linuxlab / community.sap_libs

Automation for SAP - Collection of Ansible Modules for SAP for low-level activities which are highly reusable
Apache License 2.0
16 stars 7 forks source link

Using sap control #9

Closed mprusov closed 1 year ago

mprusov commented 2 years ago

Summary

Dear guys,

I try to use sapcontrol module to stop sap system look like:

The task returns the error:

atal: [sappifprdap]: FAILED! => { "changed": false, "error": "Server raised fault: 'Validation constraint violation: invalid value in element 'softtimeout''", "invocation": { "module_args": { "force": false, "function": "StopSystem", "hostname": "localhost", "parameter": "0", "password": null, "port": null, "sysnr": "01", "username": null } }, "msg": "Something went wrong connecting to the SAPCONTROL SOAP API.", "out": {} }

How I can pass arguments into the parameter 'parameter'? Would you explain this topic, please?

Best regards, Mikhail

Issue Type

Documentation Report

Component Name

community.sap_libs.sapcontrol

Ansible Version

$ ansible --version

Community.sap_libs Version

$ ansible-galaxy collection list community.sap_libs

Collection Version


community.sap_libs 1.1.0

Configuration

$ ansible-config dump --only-changed

OS / Environment

No response

Additional Information

No response

Code of Conduct

rainerleber commented 2 years ago

Hi,

Thank you for open this issue. Generally "StopSystem" does not need any parameters. The api does not support the parameter 0 and raise the exception.

rainerleber commented 2 years ago

Instead the 0 provide one of the following parameters.

ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB

rainerleber commented 2 years ago

@mprusov is your issue still present ?

rainerleber commented 1 year ago

closed because inactivity