Hi,
I'm trying to install the Cassandra Community Edition into a Virtual Private Cloud (VPC) in us-east-1 using DataStax Auto-Clustering AMI 2.2 (ami-6139e708). I've had to do several adjustments to your instructions including
- Set up a DHCP server so that the hostnames can be resolved properly for your scripts
- Add several egress ports in the Cassandra VPC Security Group (53 for DNS and another one for GIT)
Now I'm to an issue that I can't find a resolution for in the forums or on the net. It almost seems as if the AMI is trying to use the enterprise edition even though I specified the community edition. Here is my User Data String: --clustername cass --totalnodes 4 --version community --opscenter yes
The ami.log is below.
Any thoughts?
<br />
ubuntu@ip-10-0-0-141:~$ cat ~/datastax_ami/ami.log<br />
[EXEC] 12/06/12-17:01:32 git pull:<br />
Updating 38b1733..0e93a8a<br />
Fast-forward<br />
ds1_launcher.py | 9 ++-<br />
ds2_configure.py | 219 +++++++++++++++++++++++++++++++++++++++-------------<br />
ds4_motd.py | 11 +--<br />
presetup/pre_1.sh | 4 +-<br />
presetup/pre_2.py | 4 +-<br />
tokentoolv2.py | 4 +-<br />
6 files changed, 181 insertions(+), 70 deletions(-)</p>
<p>[EXEC] 12/06/12-17:01:32 sudo rm ds2_configure.py<br />
[INFO] Deleting ds2_configure.py now. This AMI will never change any configs after this first run.<br />
[EXEC:E] 12/06/12-17:01:33 gpg --keyserver pgp.mit.edu --recv-keys 40976EAF437D05B5:<br />
gpg: directory
/root/.gnupg' createdgpg: new configuration file `/root/.gnupg/gpg.conf' created<br />
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created<br />
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 437D05B5 from hkp server pgp.mit.edu
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1</p>
<p>[PIPE] 12/06/12-17:01:33 gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -:
OK</p>
<p>[PIPE] 12/06/12-17:01:33 gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -:
OK</p>
<p>[EXEC] 12/06/12-17:01:34 sudo rm -rf /etc/motd
[EXEC] 12/06/12-17:01:34 sudo touch /etc/motd
[ERROR] No User Data was set. Aborting installation.</p>
<p>Please verify your settings:</p>
<p>[ERROR] Exception seen in ds1_launcher.py:
Traceback (most recent call last):
File "/home/ubuntu/datastax_ami/ds1_launcher.py", line 20, in initial_configurations
ds2_configure.run()
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 783, in run
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 81, in get_ec2_data
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 52, in exit_path
AttributeError</p>
<p>ubuntu@ip-10-0-0-141:~$ exit
`
