Shveta, can you reproduce this on an appliance and let us know the results?
Can you please provide the method and dialog used . Some screenshots will also be helpful. Thanks, Shveta
Created attachment 1328334 [details] service dialog for RHEL hardening and Reset User password
Created attachment 1328335 [details] harden_rhel_server_button
Created attachment 1328336 [details] reset_user_password_button
Created attachment 1328337 [details] ruby_script_reset_password
Appliance : https://10.8.198.50/ui/service I created a service (ssui_bz) which has same two buttons as attached in the BZ. I am able to submit the reset request from OPS UI but getting error from SUI .
Created attachment 1328559 [details] error in SUI
I checked the database .My Understanding . The service on which the operation was performed (ssui_bz) has service_id = 10 . ======================================================== vmdb_production=# select id from services where name = 'ssui_bz'; id ---- 10 (1 row) When the VM operation is performed through buttons from SUI , the same ID is used for VM(=10) and searched and hence it fails. Neha , correct me if I am wrong .
Hello Shveta, Yes, this is exactly what is happening. When we performed VM operations via SUI, the service ID is used as VM ID and looked for it and got failed as it is unable to find the same ID in vms table. Let me know if you have any further query on this. Regards, Neha Chugh
GH PR - https://github.com/ManageIQ/manageiq-ui-service/pull/1022
Fixed in 5.9.0.4.20171024163837_ef71ea6
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0380