eucalyptus / calyptos

Tool for Managing Eucalyptus
BSD 2-Clause "Simplified" License
5 stars 14 forks source link

'calyptos validate' failing in rolebuilder.py #99

Open dmccue opened 8 years ago

dmccue commented 8 years ago

calyptos version: 5f09e6e

calyptos validate -e environment.yml -p ''

Traceback (most recent call last): File "/usr/bin/calyptos", line 5, in pkg_resources.run_script('calyptos==5f09e6e', 'calyptos') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in runscript exec(script_code, namespace, namespace) File "/usr/lib/python2.7/site-packages/pkgresources.py", line 41, in exec exec("""exec code in globs, locs""") File "", line 1, in File "/usr/lib/python2.7/site-packages/calyptos-5f09e6e-py2.7.egg/EGG-INFO/scripts/calyptos", line 289, in

File "/usr/lib/python2.7/site-packages/calyptos-5f09e6e-py2.7.egg/EGG-INFO/scripts/calyptos", line 93, in validate

File "build/bdist.linux-x86_64/egg/calyptos/rolebuilder.py", line 30, in init File "build/bdist.linux-x86_64/egg/calyptos/rolebuilder.py", line 213, in get_roles TypeError: unhashable type: 'list'

nephomaniac commented 8 years ago

Thanks @dmccue, Is it possible the cassandra host is another list? Could you post the yaml used for this run, or possibly just the cassandras portion? Here's a sample portion of yaml from a recent test I ran.

midokura: cassandras:

This could use a better errror, and type checking here when parsing the yaml it seems. Thanks -M

dmccue commented 8 years ago

&MIDO_REPO_URL http://xxxxx:xxxxx@yum.midokura.com/repo/v1.9/stable/RHEL/6/ &MIDO_API_ADDRESS http://10.143.58.180:8080/midonet-api &MIDO_ZOOKEEPERS