Bug 1372595

Summary: fence-agents-virsh or fence-agents-common lacks dependency on python-pycurl
Product: [Fedora] Fedora Reporter: Oyvind Albrigtsen <oalbrigt>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dciabrin, extras-qa, mgrac, oalbrigt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.24-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1353165 Environment:
Last Closed: 2017-11-20 17:58:47 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 Oyvind Albrigtsen 2016-09-02 07:54:07 UTC
+++ This bug was initially created as a clone of Bug #1353165 +++

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

Still present in Fedora 25.

Comment 1 Fedora Update System 2016-09-02 08:09:01 UTC
fence-agents-4.0.24-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-41457b9b84

Comment 2 Fedora Update System 2016-09-03 03:53:33 UTC
fence-agents-4.0.24-2.fc25 has been pushed to the Fedora 25 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-41457b9b84

Comment 3 Fedora End Of Life 2017-11-16 18:35:46 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora Update System 2017-11-20 17:58:47 UTC
fence-agents-4.0.24-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.