Bug 1374980

Summary: replace openstack-config usage with crudini in nova-compute-wait
Product: Red Hat Enterprise Linux 7 Reporter: Michele Baldessari <michele>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: agk, cluster-maint, fdinitto, rscarazz
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-11 12:20:16 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 Michele Baldessari 2016-09-11 10:01:18 UTC
Description of problem:
We currently use openstack-config to retrieve some config options from .conf files:
...
NOVA_HOST=$(openstack-config --get /etc/nova/nova.conf DEFAULT host 2>/dev/null)
...
openstack-config --get /etc/nova/nova.conf DEFAULT host 2>/dev/null
...


Since "openstack-config" is part of the openstack-utils which is not installed by default in OSP10 and is actually deprecated, we should move to the crudini tool to get those values.

This has already happened upstream we need to just pull the trivial change
(https://github.com/openstack/openstack-resource-agents/commit/9c635bfe348825127c9ab3bcf11e41159787d074)

Comment 1 Fabio Massimo Di Nitto 2016-09-11 12:20:16 UTC
Patch is already included in the build for 1320783 and getting prepped for Zstream

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