Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591028 - =sys-cluster/resource-agents-3.9.6: stabilization request
Summary: =sys-cluster/resource-agents-3.9.6: stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard: WAS: sys-cluster/resource-agents-1.0....
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2016-08-11 11:40 UTC by Vladimir Romanov (RETIRED)
Modified: 2017-01-14 13:42 UTC (History)
0 users

See Also:
Package list:
=sys-cluster/resource-agents-3.9.6
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Romanov (RETIRED) gentoo-dev 2016-08-11 11:40:42 UTC
Resource-agents versions below 3.9.3 (1.0.4-r1 and 1.0.4-r2 in portage tree) are broken. If you select to keep IP address on a cluster, the /usr/lib64/ocf/resource.d/heartbeat/IPaddr script will be executed. There is a function here - find_interface_generic, which finds name of the interface by IP address. It starts "ifconfig -a" and checks. But

- in the old ifconfig's (which we don't have anymore), interfaces are printed out without a colon, such as eth0, lo, enp2s0. Then this script works fine.
- in the new ifconfig (which we DO have), interfaces are printed out WITH a colon, such as eth0:, lo:, enp2s0:. The IPaddr scripts doesn't know of that and tries to ON or OFF the enp2s0:0: interface. There is no such interface, so it will not work.

This error was fixed in resource-agents-3.9.3 (https://github.com/ClusterLabs/resource-agents/blob/v3.9.3/heartbeat/IPaddr#L381). So, either we need a patch to older version, or we need to remove them (and unmask 3.9.4).
Comment 1 Sergey Popov gentoo-dev 2016-10-26 16:42:27 UTC
Moreover, VirtualDomain script is broken too - it is not working with current stable version of libvirt in tree if you have locale different from english.


Arches, please test and stabilize =sys-cluster/resource-agents-3.9.6

Target keywords: amd64 hppa x86
Comment 2 Sergey Popov gentoo-dev 2016-11-03 12:11:06 UTC
amd64/x86 stable

Last arches, closing
Comment 3 Sergey Popov gentoo-dev 2016-11-03 12:41:42 UTC
Oops, forgot about hppa, silly me

Reopening bug for them, restore previous stable ebuild and needed patches for that arch only
Comment 4 Agostino Sarubbo gentoo-dev 2016-12-28 08:50:08 UTC
Dear Maintainer (or who is mainly involved in this stable request),

This is an auto-generated message that will move the current component to the new component Stabilization.
To ensure that the stabilization will proceed correctly, please fill the fields "Atoms to stabilize" and "Runtime testing required" as described here:
https://archives.gentoo.org/gentoo-dev/message/4b2ef0e9aa7588224b8ae799c5fe31fa
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-14 13:42:39 UTC
Stable for HPPA. Closing.