Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1490103 - Unable to perform vm operation via button on self-service portal
Unable to perform vm operation via button on self-service portal
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - Service (Show other bugs)
5.8.0
All All
medium Severity medium
: GA
: 5.9.0
Assigned To: Chris Hale
Shveta
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-10 06:48 EDT by Neha Chugh
Modified: 2018-03-01 08:17 EST (History)
7 users (show)

See Also:
Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:17:22 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
service dialog for RHEL hardening and Reset User password (3.73 KB, text/x-vhdl)
2017-09-20 05:15 EDT, Neha Chugh
no flags Details
harden_rhel_server_button (303.01 KB, image/png)
2017-09-20 05:16 EDT, Neha Chugh
no flags Details
reset_user_password_button (301.47 KB, image/png)
2017-09-20 05:16 EDT, Neha Chugh
no flags Details
ruby_script_reset_password (998 bytes, text/plain)
2017-09-20 05:16 EDT, Neha Chugh
no flags Details
error in SUI (119.22 KB, image/png)
2017-09-20 14:54 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Comment 3 Chris Hale 2017-09-13 09:19:39 EDT
Shveta, can you reproduce this on an appliance and let us know the results?
Comment 4 Shveta 2017-09-13 14:12:54 EDT
Can you please provide the method and dialog used .
Some screenshots will also be helpful.
Thanks,
Shveta
Comment 6 Neha Chugh 2017-09-20 05:15 EDT
Created attachment 1328334 [details]
service dialog for RHEL hardening and Reset User password
Comment 7 Neha Chugh 2017-09-20 05:16 EDT
Created attachment 1328335 [details]
harden_rhel_server_button
Comment 8 Neha Chugh 2017-09-20 05:16 EDT
Created attachment 1328336 [details]
reset_user_password_button
Comment 9 Neha Chugh 2017-09-20 05:16 EDT
Created attachment 1328337 [details]
ruby_script_reset_password
Comment 10 Shveta 2017-09-20 14:54:18 EDT
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 .
Comment 11 Shveta 2017-09-20 14:54 EDT
Created attachment 1328559 [details]
error in SUI
Comment 14 Shveta 2017-09-20 16:27:36 EDT
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 .
Comment 15 Neha Chugh 2017-09-25 02:29:52 EDT
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
Comment 16 Chris Hale 2017-09-27 14:45:42 EDT
GH PR - https://github.com/ManageIQ/manageiq-ui-service/pull/1022
Comment 19 Shveta 2017-11-02 20:58:53 EDT
Fixed in 5.9.0.4.20171024163837_ef71ea6
Comment 23 errata-xmlrpc 2018-03-01 08:17:22 EST
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

Note You need to log in before you can comment on or make changes to this bug.