Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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. ***