Upgrading to pike resulted in incomplete installation

Bug #1828318 reported by Wouter van Bommel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron API Charm
Triaged
Medium
Unassigned

Bug Description

Using charm version 19.04 while upgrading neutron-api to pike, the apt upgrade does not handle errors properly.

The relevant snipped from the juju debug-log on the offending unit:

unit-neutron-api-1: 19:54:37 INFO unit.neutron-api/1.juju-log Upgrading OpenStack release
unit-neutron-api-1: 19:54:38 INFO unit.neutron-api/1.juju-log Performing OpenStack upgrade to pike.
unit-neutron-api-1: 19:54:38 INFO unit.neutron-api/1.juju-log DEPRECATION WARNING: Function configure_installation_source is being removed on/around 2017-07 : use charmhelpers.fetch.add_sou
rce() instead.
unit-neutron-api-1: 19:54:39 INFO unit.neutron-api/1.juju-log Installing [] with options: ['--option=Dpkg::Options::=--force-confold']
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade The following packages were automatically installed and are no longer required:
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade libboost-iostreams1.58.0 libboost-random1.58.0 libboost-system1.58.0
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade libboost-thread1.58.0 python-barbicanclient python-os-win
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade python-pyasn1-modules
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Use 'apt autoremove' to remove them.
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Ign:1 http://packages.elastic.co/beats/apt stable InRelease
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Get:2 http://packages.elastic.co/beats/apt stable Release [1797 B]
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Hit:3 http://ppa.launchpad.net/landscape/17.03/ubuntu xenial InRelease
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Ign:5 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike InRelease
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Ign:7 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
unit-neutron-api-1: 19:54:39 DEBUG unit.neutron-api/1.openstack-upgrade Hit:8 https://artifacts.elastic.co/packages/5.x/apt stable Release
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Hit:9 http://archive.ubuntu.com/ubuntu xenial InRelease
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Hit:10 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike Release
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Hit:13 http://ppa.launchpad.net/landscape/18.03/ubuntu xenial InRelease
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Hit:14 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Hit:15 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
unit-neutron-api-1: 19:54:40 DEBUG unit.neutron-api/1.openstack-upgrade Fetched 1797 B in 1s (1774 B/s)
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:54:41 INFO unit.neutron-api/1.juju-log Upgrading with options: ['--option', 'Dpkg::Options::=--force-confnew', '--option', 'Dpkg::Options::=--force-confdef']
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Calculating upgrade...
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade The following packages were automatically installed and are no longer required:
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade libboost-iostreams1.58.0 libboost-random1.58.0 libboost-system1.58.0
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade libboost-thread1.58.0 python-barbicanclient python-os-win
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade python-pyasn1-modules
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade Use 'apt autoremove' to remove them.
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade The following packages have been kept back:
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade neutron-common neutron-plugin-ml2 neutron-server python-neutron
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade python-neutron-fwaas python-sqlalchemy python-sqlalchemy-ext
unit-neutron-api-1: 19:54:41 DEBUG unit.neutron-api/1.openstack-upgrade 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
unit-neutron-api-1: 19:54:43 INFO unit.neutron-api/1.juju-log Installing ['apache2', 'haproxy', 'memcached', 'neutron-plugin-ml2', 'neutron-server', 'python-keystoneclient', 'python-memcache', 'python-mysqldb', 'python-networking-hyperv', 'python-neutron-dynamic-routing', 'python-neutron-fwaas', 'python-neutron-lbaas', 'python-psycopg2', 'python-six', 'uuid'] with options: ['--option', 'Dpkg::Options::=--force-confnew', '--option', 'Dpkg::Options::=--force-confdef']
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade python-memcache is already the newest version (1.57-1).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade python-mysqldb is already the newest version (1.3.7-1build2).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade python-psycopg2 is already the newest version (2.6.1-1build2).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade python-six is already the newest version (1.10.0-3).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade uuid is already the newest version (1.6.2-1.5build2).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade apache2 is already the newest version (2.4.18-2ubuntu3.10).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade haproxy is already the newest version (1.6.3-1ubuntu0.2).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade memcached is already the newest version (1.4.25-2ubuntu1.4).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade python-keystoneclient is already the newest version (1:3.13.0-0ubuntu1~cloud0).
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade Some packages could not be installed. This may mean that you have
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade requested an impossible situation or if you are using the unstable
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade distribution that some required packages have not yet been created
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade or been moved out of Incoming.
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade The following information may help to resolve the situation:
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade The following packages have unmet dependencies:
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade neutron-common : Depends: python-neutron (= 2:10.0.5-0ubuntu1~cloud0) but 2:11.0.6-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade neutron-plugin-ml2 : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade neutron-server : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:43 DEBUG unit.neutron-api/1.openstack-upgrade E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
unit-neutron-api-1: 19:54:43 INFO unit.neutron-api/1.juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade python-memcache is already the newest version (1.57-1).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade python-mysqldb is already the newest version (1.3.7-1build2).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade python-psycopg2 is already the newest version (2.6.1-1build2).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade python-six is already the newest version (1.10.0-3).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade uuid is already the newest version (1.6.2-1.5build2).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade apache2 is already the newest version (2.4.18-2ubuntu3.10).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade haproxy is already the newest version (1.6.3-1ubuntu0.2).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade memcached is already the newest version (1.4.25-2ubuntu1.4).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade python-keystoneclient is already the newest version (1:3.13.0-0ubuntu1~cloud0).
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade Some packages could not be installed. This may mean that you have
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade requested an impossible situation or if you are using the unstable
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade distribution that some required packages have not yet been created
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade or been moved out of Incoming.
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade The following information may help to resolve the situation:
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade The following packages have unmet dependencies:
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade neutron-common : Depends: python-neutron (= 2:10.0.5-0ubuntu1~cloud0) but 2:11.0.6-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade neutron-plugin-ml2 : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade neutron-server : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:54:53 DEBUG unit.neutron-api/1.openstack-upgrade E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
unit-neutron-api-1: 19:54:54 INFO unit.neutron-api/1.juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade python-memcache is already the newest version (1.57-1).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade python-mysqldb is already the newest version (1.3.7-1build2).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade python-psycopg2 is already the newest version (2.6.1-1build2).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade python-six is already the newest version (1.10.0-3).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade uuid is already the newest version (1.6.2-1.5build2).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade apache2 is already the newest version (2.4.18-2ubuntu3.10).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade haproxy is already the newest version (1.6.3-1ubuntu0.2).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade memcached is already the newest version (1.4.25-2ubuntu1.4).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade python-keystoneclient is already the newest version (1:3.13.0-0ubuntu1~cloud0).
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade Some packages could not be installed. This may mean that you have
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade requested an impossible situation or if you are using the unstable
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade distribution that some required packages have not yet been created
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade or been moved out of Incoming.
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade The following information may help to resolve the situation:
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade The following packages have unmet dependencies:
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade neutron-common : Depends: python-neutron (= 2:10.0.5-0ubuntu1~cloud0) but 2:11.0.6-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade neutron-plugin-ml2 : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade neutron-server : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:04 DEBUG unit.neutron-api/1.openstack-upgrade E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
unit-neutron-api-1: 19:55:04 INFO unit.neutron-api/1.juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade Reading package lists...
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade Building dependency tree...
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade Reading state information...
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade python-memcache is already the newest version (1.57-1).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade python-mysqldb is already the newest version (1.3.7-1build2).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade python-psycopg2 is already the newest version (2.6.1-1build2).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade python-six is already the newest version (1.10.0-3).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade uuid is already the newest version (1.6.2-1.5build2).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade apache2 is already the newest version (2.4.18-2ubuntu3.10).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade haproxy is already the newest version (1.6.3-1ubuntu0.2).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade memcached is already the newest version (1.4.25-2ubuntu1.4).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade python-keystoneclient is already the newest version (1:3.13.0-0ubuntu1~cloud0).
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade Some packages could not be installed. This may mean that you have
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade requested an impossible situation or if you are using the unstable
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade distribution that some required packages have not yet been created
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade or been moved out of Incoming.
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade The following information may help to resolve the situation:
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade The following packages have unmet dependencies:
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade neutron-common : Depends: python-neutron (= 2:10.0.5-0ubuntu1~cloud0) but 2:11.0.6-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade neutron-plugin-ml2 : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade neutron-server : Depends: neutron-common (= 2:11.0.6-0ubuntu1~cloud0) but 2:10.0.5-0ubuntu1~cloud0 is to be installed
unit-neutron-api-1: 19:55:14 DEBUG unit.neutron-api/1.openstack-upgrade E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/neutron/neutron.conf
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/default/neutron-server
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/neutron/api-paste.ini
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/apache2/sites-available/openstack_https_frontend.conf
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/haproxy/haproxy.cfg
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/neutron/neutron_lbaas.conf
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/neutron/neutron_vpnaas.conf
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/neutron/plugins/ml2/ml2_conf.ini
unit-neutron-api-1: 19:56:03 INFO unit.neutron-api/1.juju-log Registered config file: /etc/memcached.conf
unit-neutron-api-1: 19:56:04 DEBUG unit.neutron-api/1.juju-log Hardening function '_harden_inner2'
unit-neutron-api-1: 19:56:04 DEBUG unit.neutron-api/1.juju-log No hardening applied to '_harden_inner2'
unit-neutron-api-1: 19:56:04 DEBUG unit.neutron-api/1.juju-log Hardening function 'update_status'
unit-neutron-api-1: 19:56:04 DEBUG unit.neutron-api/1.juju-log No hardening applied to 'update_status'
unit-neutron-api-1: 19:56:04 INFO unit.neutron-api/1.juju-log Updating status.
unit-neutron-api-1: 19:56:09 DEBUG unit.neutron-api/1.juju-log Generating template context for amqp
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status ERROR no relation id specified
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.juju-log Generating template context for identity-service
unit-neutron-api-1: 19:56:10 INFO unit.neutron-api/1.juju-log Inspecting identity-service relations for CA SSL certificate.
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Considering dependency setenvif for ssl:
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module setenvif already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Considering dependency mime for ssl:
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module mime already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Considering dependency socache_shmcb for ssl:
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module socache_shmcb already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module ssl already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module proxy already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Considering dependency proxy for proxy_http:
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module proxy already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module proxy_http already enabled
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.update-status Module headers already enabled
unit-neutron-api-1: 19:56:10 INFO unit.neutron-api/1.juju-log Making dir /etc/apache2/ssl/neutron root:root 555
unit-neutron-api-1: 19:56:10 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:11 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:11 INFO unit.neutron-api/1.juju-log Making dir /etc/apache2/ssl/neutron root:root 555
unit-neutron-api-1: 19:56:11 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:11 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:11 INFO unit.neutron-api/1.juju-log Making dir /etc/apache2/ssl/neutron root:root 555
unit-neutron-api-1: 19:56:11 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:11 DEBUG unit.neutron-api/1.juju-log Changing permissions on existing content: 33184 -> 416
unit-neutron-api-1: 19:56:12 DEBUG unit.neutron-api/1.juju-log Ensuring haproxy enabled in /etc/default/haproxy.
unit-neutron-api-1: 19:56:12 DEBUG unit.neutron-api/1.juju-log Ensuring haproxy enabled in /etc/default/haproxy.
unit-neutron-api-1: 19:56:13 DEBUG unit.neutron-api/1.juju-log VIP HA: VIP is set 10.10.20.178 103.77.104.178
unit-neutron-api-1: 19:56:13 DEBUG unit.neutron-api/1.update-status active
unit-neutron-api-1: 19:56:13 DEBUG unit.neutron-api/1.update-status active
unit-neutron-api-1: 19:56:13 DEBUG unit.neutron-api/1.update-status active
unit-neutron-api-1: 19:56:13 DEBUG unit.neutron-api/1.update-status active
unit-neutron-api-1: 19:56:13 INFO unit.neutron-api/1.juju-log Unit is ready

For the rest is there no reference to either the packages python-neutron-fwaas or python-neutron-vpnaas.
On the cloud the other 2 unit's upgraded fine, the resulting package versions of all three units are; https://pastebin.canonical.com/p/fbHfdsDGHY/

Due to the fact that python-neutron-fwaas & python-neutron-vpnaas where not upgrade the service was unable to start. The fix was: "sudo apt install python-neutron-fwaas python-neutron-vpnaas" which worked without a problem and / or a prompt for help packages etc, and resolved the non-working unit

Revision history for this message
Wouter van Bommel (woutervb) wrote :

A bigger part of the logging can be found here: https://pastebin.canonical.com/p/vyDkQsHt9F/

Changed in charm-neutron-api:
status: New → Triaged
importance: Undecided → Medium
tags: added: charm-upgrade openstack-upgrade
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.