Bug 1214359

Summary: [RFE] Add fence_compute to fence-agents package
Product: Red Hat Enterprise Linux 7 Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.1CC: cluster-maint, djansa, djuran, fdinitto, jherrman, jkurik, markmc, mgrac, mjuricek, mschuppe, myllynen, nbarcet, pneedle, snagar, yeylon
Target Milestone: rcKeywords: FutureFeature, OtherQA, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.11-16.el7 Doc Type: Enhancement
Doc Text:
The fence_nova_host fencing agent has been added to the fence-agents packages, which provides fencing support for virtual machines using the OpenStack Nova compute service.
Story Points: ---
Clone Of: 1185030
: 1228599 (view as bug list) Environment:
Last Closed: 2015-11-19 12:40: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: 1214360    
Bug Blocks: 1178665, 1185030, 1228599, 1241845, 1251948, 1261487    

Comment 3 Sylvain Bauza 2015-05-12 14:09:09 UTC
So I have a serious problem with the new priority since I will attend the OpenStack Summit next week and will be back on May 25th. 

Just to make sure I'm not making things wrong, could you please confirm that the file to port to Python is https://github.com/beekhof/osp-ha-deploy/blob/master/pcmk/fence_compute ?

The deadlist is at risk for me but I can provide a first draft for using the Nova python client.

Comment 4 Fabio Massimo Di Nitto 2015-05-12 14:12:03 UTC
(In reply to Sylvain Bauza from comment #3)
> So I have a serious problem with the new priority since I will attend the
> OpenStack Summit next week and will be back on May 25th. 
> 
> Just to make sure I'm not making things wrong, could you please confirm that
> the file to port to Python is
> https://github.com/beekhof/osp-ha-deploy/blob/master/pcmk/fence_compute ?
> 

Yes and it´s receiving regular updates as bugs are fixed.

> The deadlist is at risk for me but I can provide a first draft for using the
> Nova python client.

Comment 5 Sylvain Bauza 2015-05-12 20:14:25 UTC
I just provided a pull request https://github.com/beekhof/osp-ha-deploy/pull/10

Comment 6 Marek Grac 2015-05-14 11:23:16 UTC
With only minor modification, fence agent is in upstream now. 

In order to add it to the RHEL7, I would prefer to have package python-novaclient in dependencies. Is it possible? I can see it in Fedora but not in RHEL

Comment 7 Fabio Massimo Di Nitto 2015-05-14 11:47:20 UTC
(In reply to Marek Grac from comment #6)
> With only minor modification, fence agent is in upstream now. 

which modification?

> 
> In order to add it to the RHEL7, I would prefer to have package
> python-novaclient in dependencies. Is it possible? I can see it in Fedora
> but not in RHEL

No it´s not possible, that why the nova client is try: at import and should fail for help or metadata (and work in our build system)

Fabio

Comment 12 Fabio Massimo Di Nitto 2015-06-15 15:08:04 UTC
I am "OtherQA".

Andrew and I have been testing fence_compute in combination with NovaCompute (#1214360) and it works as expected.

A node fail, NovaCompute is notified, calls into fence_compute and nova will evacuate the OSP instances as planned.

Comment 15 errata-xmlrpc 2015-11-19 12:40:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2384.html