Bug 1619618
| Summary: | There is no way how to refresh power state of a VM from SSUI | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jan Zmeskal <jzmeskal> | ||||||||
| Component: | UI - Service | Assignee: | Jason Frey <jfrey> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Niyaz Akhtar Ansari <nansari> | ||||||||
| Severity: | low | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 5.9.4 | CC: | dmetzger, jfrey, jzmeskal, lavenel, mfeifer, obarenbo, sshveta | ||||||||
| Target Milestone: | GA | Keywords: | Automation | ||||||||
| Target Release: | 5.11.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2019-06-11 15:25:54 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | CFME Core | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jan Zmeskal
2018-08-21 10:17:28 UTC
Created attachment 1477480 [details]
Unknown power state in SSUI
Created attachment 1477481 [details]
Unknown power state in Admin UI
Created attachment 1477483 [details]
VM in SSUI after relationships/power state refresh
Jason and I discussed the options for this functionality and where might be the appropriate place for this to be worked on and I am assigning the ticket to him to allow him to respond with this thoughts on how to proceed with this request. It's ambiguous from your description what you mean by "option to refresh power state of VM from UI". Do you mean a button to refetch the data from the CloudForms API (more like a browser refresh, but without refreshing the page), or do you mean something similar to the "Refresh Relationships and Power states" from the admin UI? The admin UI button actually forces a full refresh of the provider. Full refreshes can be very expensive, and we should probably not expose that to self-service end users because they can unintentionally cause the system to slow down. If RBAC'd properly I'd be surprised if any admin would even give the permission for this feature to an end user, so adding a button doesn't feel like the right approach. What does feel like the right approach is investigating what circumstances cause the power state to be reported improperly, replicating that in-house, and then just fixing the actual underlying problem. A couple of questions. - Does the value also show as unknown in the admin UI at the same time? The attached screen shot shows it as also unknown, but does it eventually resolve itself? - If you literally refresh the page, does the power state eventually correct itself? Hi Jason, > Do you mean a button to refetch the data from the CloudForms API? Yes, that's pretty much what I had in mind. > What does feel like the right approach is investigating what circumstances > cause the power state to be reported improperly, replicating that in-house, > and then just fixing the actual underlying problem. If you believe this is the correct way to tackle the problem, we can probably just re-state the problem defined in this bug and go this way. > - Does the value also show as unknown in the admin UI at the same time? The > attached screen shot shows it as also unknown, but does it eventually > resolve itself? > - If you literally refresh the page, does the power state eventually correct > itself? The Unknown state can be seen at the same time in admin UI. However, the correct state (in this case ON) will eventually get displayed in the Admin UI. However, *only after* you refresh the VM details page. Jan |