I tried to upgrade openzwave in my latest docker image and it did not go well!
I figured that as I was using docker there would be no impact as I could just tear down the docker-compose environment and start again. There were no changes to the configuration - at least knowingly.
I am now getting errors at ZWave startup:
2018-05-13 18:17:17 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=139866092555232-1>
2018-05-13 18:17:17 INFO (MainThread) [homeassistant.setup] Setting up zwave
2018-05-13 18:17:17 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 145, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/zwave/init.py”, line 227, in setup
from openzwave.option import ZWaveOption
File “/config/deps/lib/python3.6/site-packages/openzwave/option.py”, line 29, in
import libopenzwave
ImportError: /config/deps/lib/python3.6/site-packages/libopenzwave.cpython-36m-x86_64-linux-gnu.so: failed to map segment from shared object: Operation not permitted
2018-05-13 18:17:17 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
zwave
Please check your config., notification_id=invalid_config, service_call_id=139866092555232-2>
I’ve torn down the docker environment and rebuild multiple times without success
Thanks for pointer - there was a local python library structure sitting under config/deps - I deleted this and let the docker image recreate it and zwave is working and several other issues have cleared themselves up at the same time.