Bug 1374327

Summary: [nova-compute-wait] Do not use openstack-config tool
Product: Red Hat Enterprise Linux 7 Reporter: Marian Krcmarik <mkrcmari>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: agk, cluster-maint, fdinitto
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-09 07:52:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marian Krcmarik 2016-09-08 12:55:55 UTC
Description of problem:
nova-compute-wait resource agent used in Openstack Instance HA setup (for resource of nova evacuate) uses openstack-config tool for querying nova conf file. The openstack-config tool is part of openstack-utils package and is not anymore installed in default in RHOS10. It was decided that openstack-config|status|service tools should not be a requirement of anything. That's why It would be good to change resource agent and not to use that tool but rather another way how to query conf file or If It's really neccessary then we need to update the guide and ask users to install the package which is still available (not sure how long though).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Configure pacemaker resource which uses nova-compute-wait resource agent.

Actual results:
The configured resource will be in failed status because resource agent will throw an error of missing dependency of openstack-config

Expected results:
The best would be if agent can work without openstack-config dependency.

Additional info:

Comment 2 Andrew Beekhof 2016-09-09 04:31:07 UTC
Oyvind, the upstream agent already has the change to use crudini instead.

If you don't want the whole thing, you can literally just s/openstack-config/crudini/ in the existing patch.

Comment 3 Oyvind Albrigtsen 2016-09-09 07:52:21 UTC
The patch in bz#1320783 updates the agent to use crudini instead of openstack-config.

*** This bug has been marked as a duplicate of bug 1320783 ***