Bug 1459612 - SmartState Analysis fails with undefined method `vhd' for Azure Windows instances/VMs
Summary: SmartState Analysis fails with undefined method `vhd' for Azure Windows insta...
Keywords:
Status: CLOSED DUPLICATE of bug 1475540
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: cfme-future
Assignee: Jerry Keselman
QA Contact: Satyajit Bulage
URL:
Whiteboard: azure:smartstate
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-07 15:00 UTC by ncatling
Modified: 2017-09-05 13:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-05 13:02:32 UTC
Category: ---
Cloudforms Team: Azure
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ncatling 2017-06-07 15:00:49 UTC
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:

Comment 3 Jeff Teehan 2017-06-16 14:22:34 UTC
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

Comment 5 Rich Oliveri 2017-08-02 17:53:03 UTC
Jerry,

I think this is related to the manage storage issues you're looking into.

Comment 6 Jerry Keselman 2017-08-02 18:01:35 UTC
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.

Comment 7 Krain Arnold 2017-08-18 06:59:43 UTC
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.....

Comment 8 Jerry Keselman 2017-09-05 13:02:32 UTC
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 ***


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