Project: datamanagement
Issue DM-2982: Updating node status in qserv-admin to INACTIVE fails
In qserv-admin.py when attempting to update a node status from ACTIVE to INACTIVE the following error is produced: {code} > update node worker2 state=INACTIVE; Traceback (most recent call last): File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 650, in main() File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 645, in main parser.receiveCommands() File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 163, in receiveCommands self.parse(cmd[:pos]) File "/usr/l ocal/home/vaikunth/src/qserv/bin/qserv-admin.py", line 180, in parse self._funcMap[t](tokens[1:]) File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 380, in _parseUpdate self._parseUpdateNode(tokens[1:]) File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 405, in _parseUpdateNode self._impl.setNodeState(**options) File "/usr/local/home/vaikunth/src/qserv/lib/python/lsst/qserv/admin/qservAdmin.py", line 660, in setNodeState self._kvI.set(nodeKey, state) File "/usr/local/home/vaikunth/src/qserv/lib/python/lsst/qserv/css/kvInterface.py", line 415, in set self._zk.set(k, v) File "/usr/local/home/vaikunth/qserv/Linux64/kazoo/2.0b1+1/lib/python/kazoo-2.0b1-py2.7.egg/kazoo/client.py", line 1170, in set return self.set_async(path, value, version).get() File "/usr/local/home/vaikunth/qserv/Linux64/kazoo/2.0b1+1/lib/python/kazoo-2.0b1-py2.7.egg/kazoo/client.py", line 1182, in set_async raise TypeError("value must be a byte string") {code}
Story points: 1