Description of problem: SmartState Analysis of Azure Windows VMs fails with: undefined method `vhd' for #<Azure::Armrest::VirtualMachineModel::Properties::StorageProfile::OsDisk:0x0000000ede9d98> Version-Release number of selected component (if applicable): 5.8.0.17 How reproducible: Steps to Reproduce: 1. SSA any Windows VM on Azure provider 2. Error produced 3. Actual results: ERROR -- : MIQ(MiqServer#scan_metadata) undefined method `vhd' for #<Azure::Armrest::VirtualMachineModel::Properties::StorageProfile::OsDisk:0x0000000ede9d98> ERROR -- : MIQ(VmScan#process_abort) job aborting, undefined method `vhd' for #<Azure::Armrest::VirtualMachineModel::Properties::StorageProfile::OsDisk:0x0000000ede9d98> Expected results: Additional info:
This problem isn't global. SSA is working fine on multiple appliances. We're going to need a little more information. Output for 2012 and 2016 Status = Ok 06/15/17 23:05:35 UTC 06/15/17 22:53:24 UTC 06/15/17 22:53:17 UTC finished Process completed successfully Scan from Vm WS2016SSA admin EVM Synchronization complete Status = Ok 06/15/17 22:36:32 UTC 06/15/17 22:15:53 UTC 06/15/17 22:15:44 UTC finished Process completed successfully Scan from Vm WS2012R2SSA admin EVM Synchronization complete
Jerry, I think this is related to the manage storage issues you're looking into.
Yes. This is the error one would get attempting to run SSA against a VM with a Managed Disk. Working on a fix right now.
For what it's worth, I'm seeing this consistently as well, and on RHEL and Ubuntu workloads so the problem is not only affecting Windows machines. The error is consistent: undefined method `vhd' for #<Azure::Armrest::VirtualMachineModel::Properties::StorageProfile::OsDisk.....
This BZ is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1475540 in which the fixes for this issue are being tracked. Closing this one in lieu of the other BZ. *** This bug has been marked as a duplicate of bug 1475540 ***