diff --git a/hooks/cinder_hooks.py b/hooks/cinder_hooks.py index 2e067cb3..4e8a453d 100755 --- a/hooks/cinder_hooks.py +++ b/hooks/cinder_hooks.py @@ -125,7 +125,7 @@ def config_changed(): sync_db_with_multi_ipv6_addresses(config('database'), config('database-user')) - e_mountpoint = conf['ephemeral-unmount'] + e_mountpoint = config('ephemeral-unmount') if e_mountpoint and filesystem_mounted(e_mountpoint): umount(e_mountpoint)