diff --git a/node-daemon/pvcnoded/Daemon.py b/node-daemon/pvcnoded/Daemon.py index bc8088c6..111e5f3a 100644 --- a/node-daemon/pvcnoded/Daemon.py +++ b/node-daemon/pvcnoded/Daemon.py @@ -578,7 +578,7 @@ logger.out('Validating Zookeeper schema', state='i') try: node_schema_version = int(zkhandler.read(('node.data.active_schema', myhostname))) except Exception: - node_schema_version = zkhandler.read('base.schema.version') + node_schema_version = int(zkhandler.read('base.schema.version')) if node_schema_version is None: node_schema_version = 0 zkhandler.write([