Bug 1437965

Summary: fence_compute: project_id changed to project_name as a parameter for nova python client
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Reznik <jreznik>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Asaf Hirshberg <ahirshbe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: abeekhof, afazekas, cluster-maint, dclarke, fdinitto, mcornea, mkrcmari, mnavrati, mschuppe, oalbrigt, royoung, rscarazz, ushkalim
Target Milestone: rcKeywords: AutomationBlocker, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.11-47.el7_3.5 Doc Type: Bug Fix
Doc Text:
Due to a switch from positional arguments to named arguments in the Nova python client, creating a Nova connection inside the fence_compute agent previously failed on OpenStack Ocata. As a consequence, the fence_compute stonith device failed to start, and the force-down functionality for the nova-compute service was not available. A patch has been applied to fix this bug, and the described problem no longer occurs.
Story Points: ---
Clone Of: 1426693 Environment:
Last Closed: 2017-04-12 12:38:40 UTC Type: ---
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: 1426693    
Bug Blocks: 1393789    

Description Jaroslav Reznik 2017-03-31 14:38:24 UTC
This bug has been copied from bug #1426693 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Marian Krcmarik 2017-04-03 09:58:34 UTC
Some bad news and some good news

Bad news: we have an indentation problem, mismatch of tabs and space.
Apr 01 21:59:41 [14104] controller-0.localdomain       crmd:  warning: log_action:      fence_compute[25423] stderr: [   File "/usr/sbin/fence_compute", line 335 ]
Apr 01 21:59:41 [14104] controller-0.localdomain       crmd:  warning: log_action:      fence_compute[25423] stderr: [     nova = client.Client(version, ]
Apr 01 21:59:41 [14104] controller-0.localdomain       crmd:  warning: log_action:      fence_compute[25423] stderr: [                                 ^ ]
Apr 01 21:59:41 [14104] controller-0.localdomain       crmd:  warning: log_action:      fence_compute[25423] stderr: [ TabError: inconsistent use of tabs and spaces in indentat
ion ]

Good news:
I fixed the indentation and did testing of the build on RHOS8/10/11 and It went good,It solved the problem on RHOS11 and did not break on older release, so if we fix the indentation we are good.

Comment 11 errata-xmlrpc 2017-04-12 12:38:40 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://access.redhat.com/errata/RHBA-2017:0930

Comment 12 Oyvind Albrigtsen 2017-04-18 10:06:05 UTC
*** Bug 1440487 has been marked as a duplicate of this bug. ***