Confirmed this issue remains in charm-manila master:
2017-11-22 10:05:34 DEBUG install Preparing to unpack .../python3-psutil_3.4.2-1_amd64.deb ... 2017-11-22 10:05:34 DEBUG install Unpacking python3-psutil (3.4.2-1) ... 2017-11-22 10:05:35 DEBUG install Setting up python3-psutil (3.4.2-1) ... 2017-11-22 10:05:37 DEBUG install Traceback (most recent call last): 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/charm/hooks/install", line 19, in <module> 2017-11-22 10:05:37 DEBUG install main() 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/.venv/lib/python3.5/site-packages/charms/reactive/__init__.py", line 110, in main 2017-11-22 10:05:37 DEBUG install bus.discover() 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 398, in discover 2017-11-22 10:05:37 DEBUG install _register_handlers_from_file(search_path, filepath) 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 428, in _register_handlers_from_file 2017-11-22 10:05:37 DEBUG install _load_module(root, filepath) 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 416, in _load_module 2017-11-22 10:05:37 DEBUG install return importlib.import_module(package + module) 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/.venv/lib/python3.5/importlib/__init__.py", line 126, in import_module 2017-11-22 10:05:37 DEBUG install return _bootstrap._gcd_import(name[level:], package, level) 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap>", line 986, in _gcd_import 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap>", line 969, in _find_and_load 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap>", line 673, in _load_unlocked 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap_external>", line 665, in exec_module 2017-11-22 10:05:37 DEBUG install File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/charm/hooks/relations/manila-plugin/provides.py", line 20, in <module> 2017-11-22 10:05:37 DEBUG install class ManilaPluginProvides(reactive.RelationBase): 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/charm/hooks/relations/manila-plugin/provides.py", line 39, in ManilaPluginProvides 2017-11-22 10:05:37 DEBUG install class states(reactive.bus.StateList): 2017-11-22 10:05:37 DEBUG install File "/var/lib/juju/agents/unit-manila-0/charm/hooks/relations/manila-plugin/provides.py", line 40, in states 2017-11-22 10:05:37 DEBUG install connected = reactive.bus.State('{relation_name}.connected') 2017-11-22 10:05:37 DEBUG install AttributeError: module 'charms.reactive.bus' has no attribute 'State' 2017-11-22 10:05:37 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1
Confirmed this issue remains in charm-manila master:
2017-11-22 10:05:34 DEBUG install Preparing to unpack .../python3- psutil_ 3.4.2-1_ amd64.deb ... juju/agents/ unit-manila- 0/charm/ hooks/install" , line 19, in <module> juju/agents/ unit-manila- 0/.venv/ lib/python3. 5/site- packages/ charms/ reactive/ __init_ _.py", line 110, in main juju/agents/ unit-manila- 0/.venv/ lib/python3. 5/site- packages/ charms/ reactive/ bus.py" , line 398, in discover handlers_ from_file( search_ path, filepath) juju/agents/ unit-manila- 0/.venv/ lib/python3. 5/site- packages/ charms/ reactive/ bus.py" , line 428, in _register_ handlers_ from_file juju/agents/ unit-manila- 0/.venv/ lib/python3. 5/site- packages/ charms/ reactive/ bus.py" , line 416, in _load_module import_ module( package + module) juju/agents/ unit-manila- 0/.venv/ lib/python3. 5/importlib/ __init_ _.py", line 126, in import_module _gcd_import( name[level: ], package, level) _bootstrap> ", line 986, in _gcd_import _bootstrap> ", line 969, in _find_and_load _bootstrap> ", line 958, in _find_and_ load_unlocked _bootstrap> ", line 673, in _load_unlocked _bootstrap_ external> ", line 665, in exec_module _bootstrap> ", line 222, in _call_with_ frames_ removed juju/agents/ unit-manila- 0/charm/ hooks/relations /manila- plugin/ provides. py", line 20, in <module> vides(reactive. RelationBase) : juju/agents/ unit-manila- 0/charm/ hooks/relations /manila- plugin/ provides. py", line 39, in ManilaPluginPro vides reactive. bus.StateList) : juju/agents/ unit-manila- 0/charm/ hooks/relations /manila- plugin/ provides. py", line 40, in states bus.State( '{relation_ name}.connected ') reactive. bus' has no attribute 'State' uniter. operation runhook.go:107 hook "install" failed: exit status 1
2017-11-22 10:05:34 DEBUG install Unpacking python3-psutil (3.4.2-1) ...
2017-11-22 10:05:35 DEBUG install Setting up python3-psutil (3.4.2-1) ...
2017-11-22 10:05:37 DEBUG install Traceback (most recent call last):
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install main()
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install bus.discover()
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install _register_
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install _load_module(root, filepath)
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install return importlib.
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install return _bootstrap.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "<frozen importlib.
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install class ManilaPluginPro
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install class states(
2017-11-22 10:05:37 DEBUG install File "/var/lib/
2017-11-22 10:05:37 DEBUG install connected = reactive.
2017-11-22 10:05:37 DEBUG install AttributeError: module 'charms.
2017-11-22 10:05:37 ERROR juju.worker.