riptano / ComboAMI

The AMI takes a set of input parameters via the EC2 user-data to install, RAID, ring, and launch a DataStax Enterprise/Community cluster.
69 stars 59 forks source link

Issue with LeadingSeed #11

Closed mbulman closed 11 years ago

mbulman commented 11 years ago

When provisioning this ami via OpsCenter, which specifies raidonly=true, the following stack trace shows up in ami.log:

[ERROR] Exception seen in ds0_updater.py:
Traceback (most recent call last):
  File "ds0_updater.py", line 14, in <module>
    ds1_launcher.run()
  File "/home/ubuntu/datastax_ami/ds1_launcher.py", line 156, in run
    wait_for_seed()
  File "/home/ubuntu/datastax_ami/ds1_launcher.py", line 122, in wait_for_seed
    nodetoolStatement = "nodetool -h " + conf.get_config("AMI", "LeadingSeed") + " ring"
TypeError: cannot concatenate 'str' and 'bool' objects

There don't seem to be any actual problems related to it, but it'd be nice to fix to avoid red herrings

joaquincasares commented 11 years ago

Cool, thanks. I've made the changes to avoid this in the future. Let me know if you run into any other issues.