I get 0 for the curl output on the node:
ubuntu@ip-10-72-x-x:~/brisk$ curl http://instance-data/latest/meta-data/ami-launch-index
0
Output of .startlog:
fatal: Not a git repository (or any of the parent directories): .git
[EXEC] 05/31/11-18:49:28 sudo rm -rf /etc/motd
[EXEC] 05/31/11-18:49:28 sudo touch /etc/motd
[INFO] Using cluster name: briskcluster
[INFO] Installing OpsCenter...
[INFO] Using username: whoami
[INFO] Using password: p@sswordupyo
[EXEC] 05/31/11-18:49:28 sudo add-apt-repository "deb http://whoami:p@sswordupyo@deb.opsc.datastax.com/free unstable main"
[EXEC] 05/31/11-18:49:28 sudo add-apt-repository "deb http://debian.riptano.com/maverick maverick main"
[EXEC] 05/31/11-18:49:31 sudo apt-get update:
Get:1 http://debian.riptano.com maverick Release.gpg [490B]
Ign http://debian.riptano.com/maverick/ maverick/main Translation-en
Get:2 http://security.ubuntu.com maverick-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Get:3 http://debian.riptano.com maverick Release [2888B]
Get:4 http://debian.riptano.com maverick/main Sources [9483B]
Get:5 http://security.ubuntu.com maverick-security Release [31.4kB]
Get:6 http://debian.riptano.com maverick/main amd64 Packages [13.9kB]
Get:7 http://security.ubuntu.com maverick-security/main Sources [42.8kB]
Hit http://us-east-1.ec2.archive.ubuntu.com maverick Release.gpg
Ign http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:8 http://us-east-1.ec2.archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com maverick Release
Get:9 http://us-east-1.ec2.archive.ubuntu.com maverick-updates Release [31.4kB]
Hit http://us-east-1.ec2.archive.ubuntu.com maverick/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com maverick/universe Sources
Hit http://us-east-1.ec2.archive.ubuntu.com maverick/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com maverick/universe amd64 Packages
Get:10 http://us-east-1.ec2.archive.ubuntu.com maverick-updates/main Sources [130kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com maverick-updates/universe Sources [42.5kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com maverick-updates/main amd64 Packages [365kB]
Get:13 http://us-east-1.ec2.archive.ubuntu.com maverick-updates/universe amd64 Packages [137kB]
Get:14 http://security.ubuntu.com maverick-security/universe Sources [15.7kB]
Get:15 http://security.ubuntu.com maverick-security/main amd64 Packages [146kB]
Get:16 http://security.ubuntu.com maverick-security/universe amd64 Packages [64.9kB]
Fetched 1034kB in 1s (693kB/s)
Reading package lists...
[EXEC] 05/31/11-18:49:32 sudo apt-get -y install opscenter-free:
Reading package lists...
Building dependency tree...
Reading state information...
[INFO] Using cfsreplication factor: 2
[INFO] Using vanilla nodes: 2
[EXEC] 05/31/11-18:49:32 touch .this_node_is_vanilla
[INFO] Using cluster size: 4
[EXEC] 05/31/11-18:49:32 sudo rm .configurebrisk.py
[INFO] Using manual option. Deleting .configurebrisk.py now. This AMI will never change any configs nor start brisk after this first run.
[INFO] Started with user data set to:
-s 4 -v 2 -c 2 -n briskcluster -o whoami:p@sswordupyo
[INFO] Cluster list: ['10.72.131.x', '10.198.102.x']
[INFO] OpsCenter: 10.72.131.x
[INFO] JobTracker: 10.198.102.x
[INFO] Using a list of seeds
[INFO] cassandra.yaml configured.
[INFO] opscenterd.conf not configured since conf was unable to be located.
[INFO] cassandra-env.sh configured.
[EXEC] 05/31/11-18:50:08 sudo chmod 777 /etc/fstab
[EXEC] 05/31/11-18:50:08 sudo chmod 644 /etc/fstab
[INFO] Unformatted devices: ['/dev/sdb', '/dev/sdc']
[INFO] Clear "invalid flag 0x0000 of partition table 4" by issuing a write, then running fdisk on each device...
[INFO] Confirming devices are not mounted:
[EXEC] 05/31/11-18:50:08 sudo umount /dev/sdb
[PIPE] 05/31/11-18:50:08 echo 'w' | sudo fdisk -c -u /dev/sdb:
Commandyes: standard output: Broken pipe
yes: write error
(m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/31/11-18:50:08 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/sdb:
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First sector (2048-880732159, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-880732159, default 880732159): Using default value 880732159
Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to fd (Linux raid autodetect)
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[INFO] Confirming devices are not mounted:
[EXEC] 05/31/11-18:50:08 sudo umount /dev/sdc
[PIPE] 05/31/11-18:50:08 echo 'w' | sudo fdisk -c -u /dev/sdc:
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/31/11-18:50:08 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/sdc:
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First sector (2048-880732159, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-880732159, default 880732159): Using default value 880732159
Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to fd (Linux raid autodetect)
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[EXEC] 05/31/11-18:50:08 sudo fdisk -l:
Disk /dev/sda1: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 450.9 GB, 450934865920 bytes
11 heads, 35 sectors/track, 2287616 cylinders
Units = cylinders of 385 * 512 = 197120 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3f4ce31f
Device Boot Start End Blocks Id System
/dev/sdb1 6 2287616 440365056 fd Linux raid autodetect
Disk /dev/sdc: 450.9 GB, 450934865920 bytes
11 heads, 35 sectors/track, 2287616 cylinders
Units = cylinders of 385 * 512 = 197120 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5030f157
Device Boot Start End Blocks Id System
/dev/sdc1 6 2287616 440365056 fd Linux raid autodetect
[INFO] Partitions about to be added to RAID0 set: ['/dev/sdb1', '/dev/sdc1']
[INFO] Confirming partitions are not mounted:
[EXEC] 05/31/11-18:50:08 sudo umount /dev/sdb1
[INFO] Confirming partitions are not mounted:
[EXEC] 05/31/11-18:50:08 sudo umount /dev/sdc1
[INFO] Creating the RAID0 set:
[PIPE] 05/31/11-18:50:08 yes | sudo mdadm --create /dev/md0 --chunk=256 --level 0 --raid-devices 2 /dev/sdb1 /dev/sdc1
[PIPE] 05/31/11-18:50:08 echo DEVICE /dev/sdb1 /dev/sdc1 | sudo tee /etc/mdadm/mdadm.conf:
DEVICE /dev/sdb1 /dev/sdc1
[PIPE] 05/31/11-18:50:08 mdadm --examine --scan | sudo tee -a /etc/mdadm/mdadm.conf:
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=e82d3f3c:306d0159:f57e4c98:9d9bdc52
[EXEC] 05/31/11-18:50:08 blockdev --setra 65536 /dev/md0
[INFO] Formatting the RAID0 set:
[EXEC] 05/31/11-18:50:24 sudo mkfs.xfs -f /dev/md0:
meta-data=/dev/md0 isize=256 agcount=32, agsize=6880704 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=220182400, imaxpct=25
= sunit=64 swidth=128 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=107520, version=2
= sectsz=512 sunit=64 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
[PIPE] 05/31/11-18:50:24 echo '/dev/md0 /raid0 xfs defaults,nobootwait,noatime 0 0' | sudo tee -a /etc/fstab:
/dev/md0 /raid0 xfs defaults,nobootwait,noatime 0 0
[EXEC] 05/31/11-18:50:24 sudo mkdir /raid0
[EXEC] 05/31/11-18:50:24 sudo mount -a
[EXEC] 05/31/11-18:50:24 sudo mkdir -p /raid0/cassandra/
[EXEC] 05/31/11-18:50:24 sudo chown -R ubuntu:ubuntu /raid0/cassandra
[INFO] Showing RAID0 details:
[EXEC] 05/31/11-18:50:24 cat /proc/mdstat:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid0 sdc1[1] sdb1[0]
880729600 blocks 256k chunks
unused devices: <none>
[EXEC] 05/31/11-18:50:24 sudo mdadm --detail /dev/md0:
/dev/md0:
Version : 00.90
Creation Time : Tue May 31 18:50:08 2011
Raid Level : raid0
Array Size : 880729600 (839.93 GiB 901.87 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Tue May 31 18:50:08 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 256K
UUID : e82d3f3c:306d0159:f57e4c98:9d9bdc52
Events : 0.1
Number Major Minor RaidDevice State
0 202 17 0 active sync /dev/sdb1
1 202 33 1 active sync /dev/sdc1
[EXEC] 05/31/11-18:50:24 sudo touch .raid_already_exists
[INFO] Mounted Raid.
[PIPE] 05/31/11-18:50:24 echo 1 | sudo tee /proc/sys/vm/overcommit_memory:
1
[EXEC] 05/31/11-18:50:24 sudo ln -s /usr/share/java/jna.jar brisk/resources/cassandra/lib
[INFO] .configurebrisk.py completed!
Starting vanilla node
INFO 18:50:28,340 Logging initialized
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/ubuntu/brisk/resources/cassandra/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/ubuntu/brisk/resources/hadoop/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
INFO 18:50:28,357 Heap size: 3894411264/3894411264
INFO 18:50:32,326 JNA mlockall successful
INFO 18:50:32,338 Loading settings from file:/home/ubuntu/brisk/resources/cassandra/conf/cassandra.yaml
INFO 18:50:32,620 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
INFO 18:50:32,829 Global memtable threshold is enabled at 1238MB
INFO 18:50:32,949 Creating new commitlog segment /raid0/cassandra/commitlog/CommitLog-1306867832949.log
INFO 18:50:32,967 Couldn't detect any schema definitions in local storage.
INFO 18:50:32,967 Found table data in data directories. Consider using the CLI to define your schema.
INFO 18:50:32,978 No commitlog files found; skipping replay
INFO 18:50:32,978 Upgrading to 0.7. Purging hints if there are any. Old hints will be snapshotted.
INFO 18:50:32,990 Cassandra version: 0.8.0-beta2-SNAPSHOT
INFO 18:50:32,991 Thrift API version: 19.10.0
INFO 18:50:32,991 Loading persisted ring state
INFO 18:50:32,993 Starting up server gossip
INFO 18:50:33,004 Enqueuing flush of Memtable-LocationInfo@1071802123(227/283 serialized/live bytes, 4 ops)
INFO 18:50:33,007 Writing Memtable-LocationInfo@1071802123(227/283 serialized/live bytes, 4 ops)
INFO 18:50:33,106 Completed flushing /raid0/cassandra/data/system/LocationInfo-g-1-Data.db (335 bytes)
INFO 18:50:33,128 Starting Messaging Service on port 7000
INFO 18:50:33,190 Saved token not found. Using 0 from configuration
INFO 18:50:33,192 Enqueuing flush of Memtable-LocationInfo@239887136(38/47 serialized/live bytes, 2 ops)
INFO 18:50:33,192 Writing Memtable-LocationInfo@239887136(38/47 serialized/live bytes, 2 ops)
INFO 18:50:33,227 Completed flushing /raid0/cassandra/data/system/LocationInfo-g-2-Data.db (148 bytes)
INFO 18:50:33,231 Will not load MX4J, mx4j-tools.jar is not in the classpath