Bug 1254358

Summary: Missing Dependency: ovirt-guest-agent needs python-ctypes but does not require it
Product: [Fedora] Fedora EPEL Reporter: Gustavo Campos <guhcampos>
Component: ovirt-guest-agentAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: vfeenstr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-19 06:47:53 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 Gustavo Campos 2015-08-17 20:31:26 UTC
Description of problem:

The ovirt-guest-agent package needs python-ctypes, but python-ctypes is never installed as a dependency for ovirt-guest-agend


Version-Release number of selected component (if applicable):
ovirt-guest-agent-1.0.11-1.el5

How reproducible:
Always reproducible (given that python-ctypes is not installed)

Steps to Reproduce:
1. Make sure python-ctypes is not installed
2. Install ovirt-guest-agent
3. service ovirt-guest-agent start

Actual results:
Crash:

service ovirt-guest-agent restart
Starting ovirt-guest-agent: Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 35, in ?
    from GuestAgentLinux2 import LinuxVdsAgent
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 19, in ?
    import ctypes
ImportError: No module named ctypes

Expected results:

Working agent:
service ovirt-guest-agent restart
Starting ovirt-guest-agent:                                [  OK  ]

Additional info:

Installing python-ctypes manually imediatelly fixes the crash.