Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1158501

Summary: [ga][windows][disk mapping] Failed to retrieve disk mapping
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-guest-agentAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: ecohen, gklein, iheim, lsurette, mkenneth, rbalakri, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-30 11:18:26 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 Jiri Belka 2014-10-29 14:00:44 UTC
Description of problem:
seems some OSes are not working correctly :/

* windows 8.1 64bit (for example)

~~~
Dummy-1::INFO::2014-07-31 15:52:54,983::ovirtguestservice::80::root::Starting OVirt Guest Agent service
Dummy-2::INFO::2014-07-31 15:52:54,990::ovirtagentlogic::270::root::Received an external command: refresh...
Dummy-2::ERROR::2014-07-31 15:52:55,033::guestagentwin32::106::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "GuestAgentWin32.pyc", line 84, in GetNetworkInterfaces
  File "win32com\client\__init__.pyc", line 95, in Dispatch
  File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
  File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2147221008, 'CoInitialize has not been called.', None, None)
Dummy-2::ERROR::2014-07-31 15:52:56,036::guestagentwin32::506::root::Failed to retrieve disk mapping
Traceback (most recent call last):
  File "GuestAgentWin32.pyc", line 497, in getDiskMapping
  File "win32com\client\__init__.pyc", line 95, in Dispatch
  File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
  File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2147221008, 'CoInitialize has not been called.', None, None)
Dummy-2::INFO::2014-07-31 15:53:02,885::ovirtagentlogic::270::root::Received an external command: api-version...
Dummy-2::INFO::2014-07-31 15:53:02,885::ovirtagentlogic::109::root::API Version updated from 0 to 1
Dummy-1::INFO::2014-07-31 15:53:39,545::ovirtguestservice::94::root::Stopping OVirt Guest Agent service
Dummy-1::INFO::2014-10-29 13:39:24,193::ovirtguestservice::80::root::Starting OVirt Guest Agent service
Dummy-1::INFO::2014-10-29 13:50:32,411::ovirtguestservice::94::root::Stopping OVirt Guest Agent service
Dummy-1::INFO::2014-10-29 13:50:34,459::ovirtguestservice::80::root::Starting OVirt Guest Agent service
Dummy-1::INFO::2014-10-29 13:51:28,348::ovirtguestservice::94::root::Stopping OVirt Guest Agent service
Dummy-1::INFO::2014-10-29 13:51:55,209::ovirtguestservice::80::root::Starting OVirt Guest Agent service
Dummy-2::INFO::2014-10-29 13:51:55,209::ovirtagentlogic::270::root::Received an external command: refresh...
Dummy-2::ERROR::2014-10-29 13:51:55,223::guestagentwin32::106::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "GuestAgentWin32.pyc", line 84, in GetNetworkInterfaces
  File "win32com\client\__init__.pyc", line 95, in Dispatch
  File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
  File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2147221008, 'CoInitialize has not been called.', None, None)
Dummy-2::ERROR::2014-10-29 13:51:56,240::guestagentwin32::506::root::Failed to retrieve disk mapping
Traceback (most recent call last):
  File "GuestAgentWin32.pyc", line 497, in getDiskMapping
  File "win32com\client\__init__.pyc", line 95, in Dispatch
  File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
  File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2147221008, 'CoInitialize has not been called.', None, None)
Dummy-2::INFO::2014-10-29 13:51:59,598::ovirtagentlogic::270::root::Received an external command: api-version...
Dummy-2::INFO::2014-10-29 13:51:59,598::ovirtagentlogic::109::root::API Version updated from 0 to 1
~~~

Version-Release number of selected component (if applicable):
3.5.6

How reproducible:
100%

Steps to Reproduce:
1. windows 8.1 64 bit with WGT installed
2. start GA
3. you can modify guestagent.py on a host to get value of mapping (https://bugzilla.redhat.com/show_bug.cgi?id=1127607#c2)

Actual results:
empty and error in GA log

Expected results:
should work

Additional info:

Comment 1 Jiri Belka 2014-10-30 11:18:26 UTC
i can't reproduce generally, only some delay.