| Summary: | Automate service objects do not list all VMs associated with the service | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Shane Boulden <sboulden> |
| Component: | Automate | Assignee: | drew uhlmann <duhlmann> |
| Status: | CLOSED NOTABUG | QA Contact: | Shveta <sshveta> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.6.0 | CC: | dajohnso, jhardy, jteehan, mkanoor, obarenbo, sboulden, tfitzger |
| Target Milestone: | GA | ||
| Target Release: | 5.7.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | provision:service:ui | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-06 17:42:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Shane Boulden
2016-08-19 02:27:30 UTC
Shane - Please provide an example of the counts you getting back so we can validate that our results match yours. For example, is v_total_vms returning more or less then the number of VMs returned from service.vms? I'll take the QE on this to start but may reassign. I promised Shane I would follow up, but I need your help Shveta. Let me know if you can reproduce it or send it back to me. Thanks. I recreated the use case . I don't see any bug . I have a service named "bundle" which has 5 catalog items and hence 5 Vm's were provisioned. (service.v_total_vms) PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0 PostgreSQLAdapter#log_after_checkin, connection_pool: size: 5, connections: 1, in use: 0, waiting_in_queue: 0 PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0 PostgreSQLAdapter#log_after_checkin, connection_pool: size: 5, connections: 1, in use: 0, waiting_in_queue: 0 => 5 Rails Console shell command also returned 5 VM's. Please let me know if there was some other issue . Hi Shveta, Thanks very much for your assistance. I've tried to replicate this issue multiple times at the site today, unfortunately without success. I suspect I introduced this in a post-provision automation, and if I can reproduce the behaviour I'll update you. Greg, Thanks for following up on this. I was seeing the number of VMs reported less than the UI. I have the original service which still shows this behaviour; v_total_vms reports 1, and 3 are shown in the UI, however, I'm unable to replicate it. |