Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1353165

Summary: fence-agents-virsh or fence-agents-common lacks dependency on python-pycurl
Product: [Fedora] Fedora Reporter: Damien Ciabrini <dciabrin>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: mgrac, oalbrigt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.20-3.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1353221 1372595 (view as bug list) Environment:
Last Closed: 2016-07-12 15:05:16 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:
Bug Depends On:    
Bug Blocks: 1353221    

Description Damien Ciabrini 2016-07-06 10:41:19 UTC
Description of problem:

When trying to run fence_virsh on a fedora24 cloud image, one gets
import error from the python interpreter.

    ImportError: No module named pycurl

Even if the fence-agents specfile has a "BuildDepends: python-pycurl", it seems that fence-agents-virsh or fence-agents-common lacks a "Requires: python-pycurl".

Version-Release number of selected component (if applicable):
fence-agents-virsh-4.0.20-2.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1. install fence-agents-virsh
   sudo dnf install -y fence-agents-virsh 

2. try to run the agent
   sudo /usr/sbin/fence_virsh --help

Actual results:
Traceback (most recent call last):
  File "/usr/sbin/fence_virsh", line 12, in <module>
    from fencing import *
  File "/usr/share/fence/fencing.py", line 3, in <module>
    import sys, getopt, time, os, uuid, pycurl, stat
ImportError: No module named pycurl

Expected results:
fence_virsh should import pycurl and execute properly

Additional info:
This was tested on Fedora 24 cloud image Fedora-Cloud-Base-24-1.2.x86_64.qcow2

Comment 1 Fedora Update System 2016-07-06 11:46:48 UTC
fence-agents-4.0.20-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-274bda497a

Comment 2 Fedora Update System 2016-07-10 16:00:59 UTC
fence-agents-4.0.20-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-274bda497a

Comment 3 Fedora Update System 2016-07-12 15:05:14 UTC
fence-agents-4.0.20-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.