[PKG-Openstack-devel] Bug#774788: Bug#774788: neutron-metadata-agent overwrites config on update

Benedikt Trefzer benedikt.trefzer at cirrax.com
Wed Jan 7 22:42:42 UTC 2015



On 07.01.2015 22:40, Thomas Goirand wrote:
> On 01/07/2015 05:43 PM, Benedikt Trefzer wrote:
>> Package: neutron-metadata-agent
>> Version: 2014.1.3-8
>> Severity: serious
>>
>> Hi
>> Upgrade of neutron-metadata-agent overwrites the parameter
>> auth_url in /etc/neutron/metadata_agent.ini
> 
> Hi Benedict,
> 
> What happens is that the auth_url in neutron.conf is first read, and
> then what's in there is used to alter the auth_url of metadata_agent.ini
> to match that. I don't think it's normal that you don't have matching
> pairs, and therefore, I don't believe this is a bug, as the postinst
> just repairs a broken config.
> 
> I'm not closing this bug to give you the opportunity to let me know your
> thoughts here.
> 
> Cheers,
> 
> Thomas Goirand (zigo)
> 
> 
Hi Thomas

I'm using the openstack puppet modules to handle the config files in
out production environment.
Since neutron-server is not running on the same host as the metadata
agent, neutron.conf does not have an auth_url entry at all (which for
that case is not necessar).

That's probably why it's then overwritten with the default, (from the
templates file) which makes the neutron-metadata-agent unusable until
the next puppet run.

To conclude, yes it's happening in a working, not broken environment.
Setting the auth_url value in neutron.conf to avoid a change in
metadata_agent.ini seems to be a workaround (did not yet test this), but
I don't think this should be the solution.

Cheers,

Benedikt



More information about the Openstack-devel mailing list