Bug 1478353

Summary: update crudini to 0.9: current version changes a symbolic link to a regular file
Product: [Community] RDO Reporter: Alfredo Moralejo <amoralej>
Component: distributionAssignee: Lars Kellogg-Stedman <lars>
Status: CLOSED NEXTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: markmc, srevivo
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: crudini-0.9-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-05 09:41:45 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:
Bug Depends On:    
Bug Blocks: 1427510    

Description Alfredo Moralejo 2017-08-04 12:03:35 UTC
The openstack-config command changes a symbolic link to a regular file.

  For example, according to the Installation Reference, /etc/neutron/plugin.ini
  is a symbolic link to /etc/neutron/plugins/ml2/ml2_conf.ini

    # ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini
    # ll /etc/neutron/plugin.ini
    lrwxrwxrwx. 1 root root 37 Jun 13 14:38 /etc/neutron/plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini

  Then, configure the plugin file with the openstack-config command.

    # openstack-config --set /etc/neutron/plugin.ini ml2 tenant_network_types vlan
    # ll /etc/neutron/plugin.ini
    -rw-r-----. 1 root neutron 3959 Jun 13 14:39 /etc/neutron/plugin.ini

  The symbolic link file is changed to a regular file and its content is
  different from the original file.

This is fixed by crudini 0.9

Comment 1 Alfredo Moralejo 2017-08-05 09:41:19 UTC
crudini-0.9-2.el7 built in CBS and published to common-testing