Comment 54 for bug 1906280

Revision history for this message
Ryan Mickler (ryanmickler) wrote :

I just got this ERROR on the install hook of ovn-dedicated-chassis

2021-02-12 04:44:00 INFO juju-log Invoking reactive handler: hooks/relations/tls-certificates/requires.py:109:broken:certificates
2021-02-12 04:44:00 INFO juju-log Invoking reactive handler: reactive/ovn_chassis_charm_handlers.py:28:enable_chassis_reactive_code
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-charm.installed
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-config.changed
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-config-rendered
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-update-status
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-upgrade-charm
2021-02-12 04:44:00 DEBUG juju-log tracer: set flag charms.openstack.do-default-certificates.available
2021-02-12 04:44:00 INFO juju-log Invoking reactive handler: reactive/ovn_chassis_charm_handlers.py:58:disable_openstack
2021-02-12 04:44:00 INFO juju-log Invoking reactive handler: reactive/layer_openstack.py:14:default_install
2021-02-12 04:44:01 DEBUG install Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
2021-02-12 04:44:02 DEBUG install Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
2021-02-12 04:44:02 DEBUG install Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease
2021-02-12 04:44:02 DEBUG install Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
2021-02-12 04:44:03 DEBUG install Reading package lists...
2021-02-12 04:44:04 DEBUG juju-log tracer: set flag ovn-dedicated-chassis-installed
2021-02-12 04:44:04 ERROR juju-log Hook error:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 74, in main
    bus.dispatch(restricted=restricted_mode)
  File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 390, in dispatch
    _invoke(other_handlers)
  File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 359, in _invoke
    handler.invoke()
  File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 181, in invoke
    self._action(*args)
  File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/charm/reactive/layer_openstack.py", line 27, in default_install
    instance.install()
  File "lib/charm/openstack/ovn_dedicated_chassis.py", line 82, in install
    super().install()
  File "lib/charms/ovn_charm.py", line 287, in install
    self.options.mlockall_disabled):
AttributeError: 'OVNDedicatedChassisConfigurationAdapter' object has no attribute 'mlockall_disabled'

2021-02-12 04:44:04 DEBUG install Traceback (most recent call last):
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/charm/hooks/install", line 22, in <module>
2021-02-12 04:44:04 DEBUG install main()
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 74, in main
2021-02-12 04:44:04 DEBUG install bus.dispatch(restricted=restricted_mode)
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 390, in dispatch
2021-02-12 04:44:04 DEBUG install _invoke(other_handlers)
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 359, in _invoke
2021-02-12 04:44:04 DEBUG install handler.invoke()
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 181, in invoke
2021-02-12 04:44:04 DEBUG install self._action(*args)
2021-02-12 04:44:04 DEBUG install File "/var/lib/juju/agents/unit-ovn-dedicated-chassis-0/charm/reactive/layer_openstack.py", line 27, in default_install
2021-02-12 04:44:04 DEBUG install instance.install()
2021-02-12 04:44:04 DEBUG install File "lib/charm/openstack/ovn_dedicated_chassis.py", line 82, in install
2021-02-12 04:44:04 DEBUG install super().install()
2021-02-12 04:44:04 DEBUG install File "lib/charms/ovn_charm.py", line 287, in install
2021-02-12 04:44:04 DEBUG install self.options.mlockall_disabled):
2021-02-12 04:44:04 DEBUG install AttributeError: 'OVNDedicatedChassisConfigurationAdapter' object has no attribute 'mlockall_disabled'