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 1322702

Summary: Automatic nova evacuate not working
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Asaf Hirshberg <ahirshbe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: abeekhof, arkady_kanevsky, berrange, cdevine, cfeist, christopher_dearborn, cluster-maint, dasmith, eglynn, fdinitto, gael_rehault, jmelvin, John_walsh, j_t_williams, kchamart, kurt_hey, mburns, mgrac, michele, mkolaja, mkrcmari, morazi, ndipanov, oalbrigt, oblaut, randy_perryman, rbryant, royoung, rscarazz, rsussman, sbauza, sferdjao, sgordon, sreichar, ushkalim, vromanso, wayne_allen, yeylon
Target Milestone: rcKeywords: Unconfirmed, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.11-27.el7_2.7 Doc Type: Bug Fix
Doc Text:
Cause: fence_compute only searches for instances created as the admin user Consequence: instances created as non-admin user wont be evacuated when a compute the instance is turned off Fix: update fence_compute to search for instances run as any user Result: fence_compute evacuates as expected
Story Points: ---
Clone Of: 1313561 Environment:
Last Closed: 2016-04-14 22:29:06 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: 1313561    
Bug Blocks:    

Description Marcel Kolaja 2016-03-31 07:38:29 UTC
This bug has been copied from bug #1313561 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 4 arkady kanevsky 2016-04-05 13:42:02 UTC
Mr. Burns, will that land in OSP8 GA?

Comment 5 Fabio Massimo Di Nitto 2016-04-05 13:43:53 UTC
(In reply to arkady kanevsky from comment #4)
> Mr. Burns, will that land in OSP8 GA?

Arkady,

as I mentioned before, the fix for fence-agent doesn´t come from the OSP channels but from the RHEL-HA channels (different release schedules).

We are pushing the fix to be out at the same time of OSP8 GA or max one day later.

Fabio

Comment 6 Mike Burns 2016-04-05 13:59:03 UTC
(In reply to Fabio Massimo Di Nitto from comment #5)
> (In reply to arkady kanevsky from comment #4)
> > Mr. Burns, will that land in OSP8 GA?
> 
> Arkady,
> 
> as I mentioned before, the fix for fence-agent doesn´t come from the OSP
> channels but from the RHEL-HA channels (different release schedules).
> 
> We are pushing the fix to be out at the same time of OSP8 GA or max one day
> later.
> 
> Fabio

Just for clarity, this means that it will be available in RHEL approximately when we do the official announcement of OSP.  The package itself won't be in our images, however.  The package can be updated via virt-customize or by running an update after deploying the overcloud.

Comment 9 Asaf Hirshberg 2016-04-07 14:07:05 UTC
Verified.

code verified, based on bug #1313561
rpm -Uvh fence-agents-common-4.0.11-27.el7_2.7.x86_64.rpm;
rpm -Uvh fence-agents-compute-4.0.11-27.el7_2.7.x86_64.rpm
[root@overcloud-controller-0 ~]# cat /sbin/fence_compute|grep -n all_tenant
107:	servers = nova.servers.list(search_opts={'host': options["--plug"], 'all_tenants': 1 })

Comment 11 errata-xmlrpc 2016-04-14 22:29:06 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-2016-0634.html