Traceback (most recent call last):


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/knack/cli.py", line 197, in invoke

cmd_result = self.invocation.execute(args)


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 369, in execute

six.reraise(*sys.exc_info())


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 343, in execute

result = cmd(params)


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 182, in __call__

return self.handler(*args, **kwargs)


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/arm.py", line 469, in handler

child_collection_key


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/arm.py", line 335, in _get_child

item_name.lower()), None)


 "/home/foo/.virtualenvs/kubernetes/local/lib/python2.7/site-packages/azure/cli/core/commands/arm.py", line 335, in <genexpr>

item_name.lower()), None)
AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):


 "./patroni.py", line 6, in <module>

main()


 "/opt/patroni/patroni/__init__.py", line 176, in main

return patroni_main()


 "/opt/patroni/patroni/__init__.py", line 143, in patroni_main

patroni = Patroni()


 "/opt/patroni/patroni/__init__.py", line 25, in __init__

self.dcs = get_dcs(self.config)


 "/opt/patroni/patroni/dcs/__init__.py", line 58, in get_dcs

module = importlib.import_module(module_name)


 "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/opt/patroni/patroni/dcs/etcd.py", line 81, in <module>

class Client(etcd.Client):
AttributeError: 'module' object has no attribute 'Client'
