Based on what I see, as a subordinate, charm-neutron-openvswitch does
not get notified about the upgrade of the nova-compute charm.

python-neutron-fwaas gets purged as a result of the nova-compute charm
upgrade which touches some neutron packages. And neutron-openvswitch
does not run any package installation steps as it does not receive a
config-changed event.

I did it manually and the necessary packages got installed:

juju run --unit neutron-openvswitch/4 'hooks/config-changed'

unit-neutron-openvswitch-4: 23:16:28 TRACE juju.worker.uniter.resolver running 
op: run action 43b7a6fe-3399-488f-86a0-8499d2ab891b
unit-neutron-openvswitch-4: 23:16:30 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/neutron.conf
unit-neutron-openvswitch-4: 23:16:30 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/plugins/ml2/openvswitch_agent.ini
unit-neutron-openvswitch-4: 23:16:30 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/l3_agent.ini
unit-neutron-openvswitch-4: 23:16:30 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/fwaas_driver.ini
unit-neutron-openvswitch-4: 23:16:31 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/metadata_agent.ini
unit-neutron-openvswitch-4: 23:16:31 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/dhcp_agent.ini
unit-neutron-openvswitch-4: 23:16:31 INFO unit.neutron-openvswitch/4.juju-log 
Registered config file: /etc/neutron/dnsmasq.conf
unit-neutron-openvswitch-4: 23:16:40 INFO unit.neutron-openvswitch/4.juju-log 
Installing [] with options: ['--option=Dpkg::Options::=--force-confold']
unit-neutron-openvswitch-4: 23:16:44 INFO unit.neutron-openvswitch/4.juju-log 
Installing ['neutron-l3-agent', 'python3-neutron-fwaas'] with options: 
['--option=Dpkg::Options::=--force-confold']
unit-neutron-openvswitch-4: 23:16:57 DEBUG unit.neutron-openvswitch/4.juju-log 
Updating sysctl_file: /etc/sysctl.d/50-openvswitch.conf values: 
{'net.ipv4.neigh.default.gc_thresh1': 128, 'net.ipv4.neigh.default.gc_thresh2': 
28672, 'net.ipv4.neigh.default.gc_thresh3': 32768, 
'net.ipv6.neigh.default.gc_thresh1': 128, 'net.ipv6.neigh.default.gc_thresh2': 
28672, 'net.ipv6.neigh.default.gc_thresh3': 32768, 'net.nf_conntrack_max': 
1000000, 'net.netfilter.nf_conntrack_buckets': 204800, 
'net.netfilter.nf_conntrack_max': 1000000}
unit-neutron-openvswitch-4: 23:16:58 INFO unit.neutron-openvswitch/4.juju-log 
Creating bridge br-int
unit-neutron-openvswitch-4: 23:16:58 INFO unit.neutron-openvswitch/4.juju-log 
Creating bridge br-ex
unit-neutron-openvswitch-4: 23:16:59 INFO unit.neutron-openvswitch/4.juju-log 
Creating bridge br-data
unit-neutron-openvswitch-4: 23:16:59 DEBUG unit.neutron-openvswitch/4.juju-log 
Interface enp4s0f1 is not a Linux bridge
unit-neutron-openvswitch-4: 23:16:59 INFO unit.neutron-openvswitch/4.juju-log 
Adding port enp4s0f1 to bridge br-data
unit-neutron-openvswitch-4: 23:17:00 WARNING 
unit.neutron-openvswitch/4.juju-log prevent-arp-spoofing is True yet this 
feature is deprecated and no longer has any effect in your version of Openstack
unit-neutron-openvswitch-4: 23:17:00 DEBUG unit.neutron-openvswitch/4.juju-log 
Generating template context for amqp
unit-neutron-openvswitch-4: 23:17:01 TRACE unit.neutron-openvswitch/4.juju-log 
Creating choice loader with dirs: [['templates/queens'], ['templates/ocata'], 
['templates/mitaka'], ['templates/liberty'], ['templates/kilo'], 
['templates/juno'], ['templates/icehouse'], ['templates/'], 
['/var/lib/juju/agents/unit-neutron-openvswitch-4/charm/hooks/charmhelpers/contrib/openstack/templates']]
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/ocata/neutron.conf
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/neutron.conf
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/neutron.conf.
unit-neutron-openvswitch-4: 23:17:01 WARNING 
unit.neutron-openvswitch/4.juju-log prevent-arp-spoofing is True yet this 
feature is deprecated and no longer has any effect in your version of Openstack
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/queens/openvswitch_agent.ini
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/plugins/ml2/openvswitch_agent.ini
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/plugins/ml2/openvswitch_agent.ini.
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/mitaka/l3_agent.ini
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/l3_agent.ini
unit-neutron-openvswitch-4: 23:17:01 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/l3_agent.ini.
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/kilo/fwaas_driver.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/fwaas_driver.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/fwaas_driver.ini.
unit-neutron-openvswitch-4: 23:17:02 DEBUG unit.neutron-openvswitch/4.juju-log 
Generating template context for neutron-plugin-api
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/juno/metadata_agent.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/metadata_agent.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/metadata_agent.ini.
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/mitaka/dhcp_agent.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/dhcp_agent.ini
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/dhcp_agent.ini.
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Loaded template from templates/dnsmasq.conf
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Rendering from template: /etc/neutron/dnsmasq.conf
unit-neutron-openvswitch-4: 23:17:02 INFO unit.neutron-openvswitch/4.juju-log 
Wrote template /etc/neutron/dnsmasq.conf.
unit-neutron-openvswitch-4: 23:17:06 INFO unit.neutron-openvswitch/4.juju-log 
Installing [] with options: ['--option=Dpkg::Options::=--force-confold']
unit-neutron-openvswitch-4: 23:17:24 WARNING 
unit.neutron-openvswitch/4.juju-log prevent-arp-spoofing is True yet this 
feature is deprecated and no longer has any effect in your version of Openstack
unit-neutron-openvswitch-4: 23:17:24 INFO unit.neutron-openvswitch/4.juju-log 
Unit is ready
unit-neutron-openvswitch-4: 23:17:26 TRACE juju.worker.uniter.resolver 
charmdir: available=true opState: started=true stopped=false changing=false
unit-neutron-openvswitch-4: 23:17:26 TRACE juju.worker.uniter.resolver running 
op: run update-status hook

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828259

Title:
  [rocky][19.04] Upgrading a deployment from Queens to Rocky resulted in
  purging of neutron-l3-agent package

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1828259/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to