Closed nrwahl2 closed 3 months ago
Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/resource-agents/job/resource-agents-pipeline/job/PR-1929/1/input
retest this please
tested with both openstack-virtual-ip and floating-ip and it gets the job done.
This makes the
openstack_ports
variable match the format specified in theopenstack-info
metadata (seelongdesc
). It should be a comma-separated list of"SUBNET_ID:PORT_ID"
. It should not beBut rather
The newlines caused parsing issues in an experimental version of Pacemaker. Pacemaker is being fixed (https://github.com/ClusterLabs/pacemaker/pull/3395), but this illustrated an issue in
openstack-info
that makes parsing rather precarious.openstack-virtual-ip
is capable of parsing either format without changes on a stable release of Pacemaker.However, looking ahead, it should be updated to use
attrd_updater --output-as=xml
to query the attribute, as the XML output is much easier and more reliable to parse. (It should check the Pacemaker feature set to determine whether XML output is available forattrd_updater.
)@oalbrigt if you or someone in QE can sanity-check this in an OSP environment, that would be great, or it can wait until Fabio is back.
I tested this last week when Fabio's test environment was up. It worked fine, and as far as I know the code here is the same as what I tested.