Install hook failed

Bug #1789433 reported by Chris MacNaughton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack openvswitch-odl charm
Triaged
Low
Unassigned

Bug Description

2018-08-28 07:14:46 DEBUG install Traceback (most recent call last):
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/charm/hooks/install", line 19, in <module>
2018-08-28 07:14:46 DEBUG install main()
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms/reactive/__init__.py", line 69, in main
2018-08-28 07:14:46 DEBUG install bus.discover()
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms/reactive/bus.py", line 416, in discover
2018-08-28 07:14:46 DEBUG install _register_handlers_from_file(search_path, filepath)
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms/reactive/bus.py", line 446, in _register_handlers_from_file
2018-08-28 07:14:46 DEBUG install _load_module(root, filepath)
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms/reactive/bus.py", line 434, in _load_module
2018-08-28 07:14:46 DEBUG install return importlib.import_module(package + module)
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/importlib/__init__.py", line 109, in import_module
2018-08-28 07:14:46 DEBUG install return _bootstrap._gcd_import(name[level:], package, level)
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 1129, in _exec
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 1471, in exec_module
2018-08-28 07:14:46 DEBUG install File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/charm/reactive/layer_openstack.py", line 3, in <module>
2018-08-28 07:14:46 DEBUG install import charms_openstack.charm as charm
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms_openstack/charm/__init__.py", line 19, in <module>
2018-08-28 07:14:46 DEBUG install from charms_openstack.charm.defaults import use_defaults
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms_openstack/charm/defaults.py", line 5, in <module>
2018-08-28 07:14:46 DEBUG install from charms_openstack.charm.classes import OpenStackCharm
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms_openstack/charm/classes.py", line 19, in <module>
2018-08-28 07:14:46 DEBUG install from charms_openstack.charm.core import (
2018-08-28 07:14:46 DEBUG install File "/var/lib/juju/agents/unit-openvswitch-odl-0/.venv/lib/python3.4/site-packages/charms_openstack/charm/core.py", line 24, in <module>
2018-08-28 07:14:46 DEBUG install from charms_openstack.charm import defaults as os_defaults
2018-08-28 07:14:46 DEBUG install ImportError: cannot import name 'defaults'

Revision history for this message
James Page (james-page) wrote :

As this charm is deprecated marking low - if a group of people step up to own it at some point this will need fixing!

Changed in charm-openvswitch-odl:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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