Bug 1284084
Summary: | Refresh Relationships on SCVMM Provider throws ERROR if any VM contains 2 DVD drives. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Jeff Teehan <jteehan> |
Component: | Providers | Assignee: | Daniel Berger <dberger> |
Status: | CLOSED ERRATA | QA Contact: | Jeff Teehan <jteehan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.5.0 | CC: | bsorota, cpelland, dajohnso, dberger, gblomqui, jfrey, jhardy, joesmit, jprause, jteehan, obarenbo |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.6.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | provider:scvmm:ems_refresh:error | ||
Fixed In Version: | 5.6.1.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-18 17:44:45 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: | |
Embargoed: |
Description
Jeff Teehan
2015-11-20 19:16:12 UTC
Updated BZ. I didn't even realize this was related to a test I was performing. This issue occurs if any of the provider VMs has 2 DVD drives included in the configuration. Removing the second DVD from the offending VM fixes this issue. This issue is in 5.4.4 as well. https://10.16.6.254/ems_infra/show/1120r1 Jeff, I don't suppose you have the full backtrace, do you? I don't, but the offending VM is still sitting there. I just need to add the second DVD and then do the refresh. Bronaugh had it traced once upon a time. Have to turn the second DVD on/off for troubleshooting as it does kill all scvmm2 connections while it's going. Hit me up on IRC when you're ready and we can do it together. Ok, we dug into it: [----] E, [2016-02-04T16:26:07.377548 #2992:997988] ERROR -- : [TypeError]: no implicit conversion of Symbol into Integer Method:[rescue in block in refresh] [----] E, [2016-02-04T16:26:07.377860 #2992:997988] ERROR -- : /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:417:in `[]' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:417:in `process_iso_image' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:393:in `process_vm_guest_devices' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:317:in `process_vm_hardware' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:193:in `parse_vm' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:64:in `block in get_vms' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:601:in `block in process_collection' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:600:in `each' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:600:in `process_collection' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:64:in `get_vms' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:31:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:7:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresher.rb:10:in `parse_inventory' I have a fix for this but i cannot make a PR because i cannot write a spec test; the SCVMM specs cannot be updated because the QE SCVMM environment the specs are based on has grown too big. Joe Smith is in the process of setting us up with a small environment of our own for spec testing purposes. Daniel, shall i take this BZ since i have a fix? Do you have a different plan for writing SCVMM specs? Bronagh, if you have a fix ready go ahead and take this one. I have a fix for this, once a test SCVMM environment is ready exclusively for spec tests then i can test and make a PR. Joe - please let me know when this is available. Joe, Jeff, Is there a VM with 2 DVDs? Thanks B I think we covered this already. Clearing flag. Awesome. Glad this one is gone. DualDVD returns: IDE C:\DualDVDa\SmallWin12Template.vhdx, Size: 30 GB, Size on disk: 5 GB, Percent Used Provisioned Space: 16.7% C:\DualDVDa\SmallWin12Template.vhdx, Mode: persistent IDE C:\tmp\en_visio_professional_2016_x005F_x86_x005F_x64_dvd_6962139.iso IDE C:\tmp\en_office_professional_plus_2016_x005F_x86_x005F_x64_dvd_6962141.iso That would be two DVDs. Moving to verified using https://10.16.7.93/vm_infra/explorer 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://rhn.redhat.com/errata/RHSA-2016-1634.html |