[PKG-Openstack-devel] Bug#774788: neutron-metadata-agent overwrites config on update
Benedikt Trefzer
benedikt.trefzer at cirrax.com
Wed Jan 7 16:43:38 UTC 2015
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
Steps to reproduce on a fresh jessie system:
add
deb http://snapshot.debian.org/archive/debian/20150101T040509Z/
jessie main
to /etc/apt/sources.list
run:
# export DEBIAN_FRONTEND=noninteractive; # Important !!
# apt-get install neutron-metadata-agent=2014.1.3-7
neutron-common=2014.1.3-7 python-neutron=2014.1.3-7
alter /etc/neutron/metadata_agent.ini auth_url line to:
auth_url = https://8.8.8.8:55555/v3.0
run:
#apt-get upgrade:
The following packages will be upgraded:
neutron-common neutron-metadata-agent python-neutron
check the auth_url line in /etc/neutron/metadata_agent.ini:
auth_url = http://127.0.0.1://8.8.8.8
Which is definitly not what you want !
I'm setting severity to serios, since I think this violates debian policy.
Cheers
Benedikt Trefzer
Additional infos (after upgrade):
# debconf-show neutron-metadata-agent
neutron/admin-password: (password omitted)
neutron/region-name: regionTwo
neutron/admin-user: admin-bin-ich
neutron/admin-tenant-name: admin-bin-ich
neutron/auth-host: 127.0.0.1
# debconf-show neutron-common
neutron/admin-password: (password omitted)
neutron-common/mysql/app-pass: (password omitted)
neutron/rabbit_password: (password omitted)
neutron-common/password-confirm: (password omitted)
neutron-common/app-password-confirm: (password omitted)
neutron-common/mysql/admin-pass: (password omitted)
neutron-common/pgsql/admin-pass: (password omitted)
neutron-common/pgsql/app-pass: (password omitted)
neutron-common/upgrade-error: abort
neutron-common/db/basepath: /var/lib/neutron
neutron/rabbit_host: localhost
neutron-common/pgsql/method: unix socket
neutron-common/dbconfig-remove:
neutron-common/remote/newhost:
neutron-common/dbconfig-upgrade: true
neutron/enable_tunneling: true
neutron-common/dbconfig-reinstall: false
neutron/tunnel_id_ranges: 1:1000
neutron/configure_db: true
neutron-common/passwords-do-not-match:
neutron-common/pgsql/no-empty-passwords:
neutron-common/pgsql/admin-user: postgres
neutron-common/mysql/admin-user: root
neutron-common/pgsql/changeconf: false
neutron-common/internal/reconfiguring: false
neutron-common/pgsql/manualconf:
neutron-common/db/dbname: neutrondb
neutron-common/install-error: abort
neutron/admin-tenant-name: admin-bin-ich
neutron-common/pgsql/authmethod-admin: ident
neutron-common/remove-error: abort
neutron/plugin-select: ml2
neutron-common/remote/host:
neutron-common/database-type: sqlite3
neutron-common/db/app-user:
neutron/rabbit_userid: guest
neutron-common/internal/skip-preseed: false
neutron-common/dbconfig-install: true
neutron/local_ip:
neutron-common/missing-db-package-error: abort
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages neutron-metadata-agent depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.55
ii dpkg 1.17.22
ii init-system-helpers 1.22
iu neutron-common 2014.1.3-8
neutron-metadata-agent recommends no packages.
neutron-metadata-agent suggests no packages.
-- debconf information excluded
More information about the Openstack-devel
mailing list