Closed MaliciousGenius closed 9 years ago
Thanks for the report.
Which AMI are you using for both of the operations? Did you change what OpsCenter had as it's default?
I used the image ami-8932ccfe in all cases. In OpsCenter changed nothing.
Sorry, but OpsCenter still does not support the 2.5.1 AMI and relies on the 2.4 AMI, which should have been set up as the default in OpsCenter.
Would you mind trying again, but using the default AMI that OpsCenter provides?
I've tried. The same result. Event Log match.
So the current version of OpsCenter only utilizes these AMI id's. I'm waiting on confirmation of how you can change the values yourself. I'll update this thread as soon as I find out/confirm it's possible.
{
"US East (Northern Virginia)": {
"ami-814ec2e8": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"US West (Northern California)": {
"ami-544e6e11": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"US West (Oregon)": {
"ami-4c32ba7c": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"EU (Ireland)": {
"ami-b2212dc6": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"Asia Pacific (Tokyo)": {
"ami-5a863d5b": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"Asia Pacific (Singapore)": {
"ami-3b2c6e69": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
},
"South America (Sao Paulo)": {
"ami-1ce43c01": {
"os": "Ubuntu 12.04",
"username": "ubuntu",
"userdata": "--raidonly --java7"
}
}
}
If you want to change /etc/opscenter/definitions/ec2-instances-1.0.json, you should be able to use the new AMI id's, as found here: https://github.com/riptano/ComboAMI/blob/2.5/ami_ids.json.
In the next releases of OpsCenter we should update that definition for you. Also, keep in mind that when definition files are pushed, this file will be overwritten.
Let me know if this workaround works for you.
Im creating new cluster from ami-b2212dc6 template. After node to cluster (from OpsCenter) again error: "Install Errored: The installed agent doesn't seem to be responding."
log: ~/datastax_ami/ami.log
cat ami.log
[EXEC] 05/16/14-09:01:44 git pull:
Updating b9eca2b..3e1d901
Fast-forward
README.md | 4 +-
ds1_launcher.py | 93 ++++++++++++-
ds2_configure.py | 354 +++++++++++++++++++++++++++++++++++++++++++-------
ds3_after_init.py | 13 +-
ds4_motd.py | 66 ++++++++--
logger.py | 2 +-
presetup/launch_amis | 166 +++++++++++++++++++++++
presetup/pre_1.sh | 4 +-
presetup/pre_2.py | 12 +-
presetup/setup.md | 97 ++++++++++++++
10 files changed, 736 insertions(+), 75 deletions(-)
create mode 100755 presetup/launch_amis
create mode 100644 presetup/setup.md
[EXEC] 05/16/14-09:01:44 sudo chmod 777 /home/ubuntu/.profile
[EXEC] 05/16/14-09:01:44 sudo chmod 644 /home/ubuntu/.profile
[EXEC] 05/16/14-09:01:44 sudo rm ds2_configure.py
[INFO] Deleting ds2_configure.py now. This AMI will never change any configs after this first run.
[EXEC:E] 05/16/14-09:01:45 gpg --keyserver pgp.mit.edu --recv-keys 40976EAF437D05B5:
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
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
[PIPE] 05/16/14-09:01:45 gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -:
OK
[PIPE] 05/16/14-09:01:45 gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -:
OK
[EXEC] 05/16/14-09:01:45 sudo rm -rf /etc/motd
[EXEC] 05/16/14-09:01:45 sudo touch /etc/motd
[INFO] Started with user data set to:
[INFO] --raidonly --java7
[INFO] Using instance type: m1.large
[INFO] meta-data:instance-type: m1.large
[INFO] meta-data:local-ipv4: 172.31.2.62
[INFO] meta-data:public-hostname: ec2-54-76-7-77.eu-west-1.compute.amazonaws.com
[INFO] meta-data:ami-launch-index: 0
[INFO] meta-data:reservation-id: r-45886007
[EXEC] 05/16/14-09:01:45 sudo chmod 777 /etc/fstab
[EXEC] 05/16/14-09:01:45 sudo chmod 644 /etc/fstab
[INFO] Unformatted devices: ['/dev/xvdb', '/dev/xvdc']
[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/16/14-09:01:48 sudo umount /dev/xvdb
[PIPE] 05/16/14-09:01:48 echo 'w' | sudo fdisk -c -u /dev/xvdb:
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/16/14-09:01:48 echo 'w' | sudo fdisk -c -u /dev/xvdb:
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/16/14-09:01:48 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/xvdb:
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): 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.
[PIPE] 05/16/14-09:01:48 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/xvdb:
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): 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/16/14-09:01:48 sudo umount /dev/xvdc
[PIPE] 05/16/14-09:01:48 echo 'w' | sudo fdisk -c -u /dev/xvdc:
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/16/14-09:01:48 echo 'w' | sudo fdisk -c -u /dev/xvdc:
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[PIPE] 05/16/14-09:01:48 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/xvdc:
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): 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.
[PIPE] 05/16/14-09:01:48 echo 'n
p
1
t
fd
w' | sudo fdisk -c -u /dev/xvdc:
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): Partition number (1-4, default 1): 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/16/14-09:01:48 sudo fdisk -l:
Disk /dev/xvda1: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvdb: 450.9 GB, 450934865920 bytes
11 heads, 35 sectors/track, 2287616 cylinders, total 880732160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x28ec0d6f
Device Boot Start End Blocks Id System
/dev/xvdb1 2048 880732159 440365056 fd Linux raid autodetect
Disk /dev/xvdc: 450.9 GB, 450934865920 bytes
11 heads, 35 sectors/track, 2287616 cylinders, total 880732160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf4e2279a
Device Boot Start End Blocks Id System
/dev/xvdc1 2048 880732159 440365056 fd Linux raid autodetect
[INFO] Partitions about to be added to RAID0 set: ['/dev/xvdb1', '/dev/xvdc1']
[INFO] Confirming partitions are not mounted:
[EXEC] 05/16/14-09:01:48 sudo umount /dev/xvdb1
[INFO] Confirming partitions are not mounted:
[EXEC] 05/16/14-09:01:49 sudo umount /dev/xvdc1
[INFO] Creating the RAID0 set:
[EXEC:E] 05/16/14-09:01:52 sudo mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/xvdb1 /dev/xvdc1:
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
[PIPE] 05/16/14-09:01:52 echo DEVICE /dev/xvdb1 /dev/xvdc1 | sudo tee /etc/mdadm/mdadm.conf:
DEVICE /dev/xvdb1 /dev/xvdc1
[PIPE] 05/16/14-09:01:52 echo DEVICE /dev/xvdb1 /dev/xvdc1 | sudo tee /etc/mdadm/mdadm.conf:
DEVICE /dev/xvdb1 /dev/xvdc1
[EXEC] 05/16/14-09:01:57 sudo mdadm --examine --scan:
ARRAY /dev/md/0 metadata=1.2 UUID=122472ee:060df617:ac9703c3:d0ff692f name=ip-172-31-2-62:0
[EXEC] 05/16/14-09:02:03 sudo update-initramfs -u:
update-initramfs: Generating /boot/initrd.img-3.2.0-35-virtual
[EXEC] 05/16/14-09:02:13 sudo blockdev --setra 128 /dev/md0
[INFO] Formatting the RAID0 set:
[EXEC] 05/16/14-09:02:33 sudo mkfs.xfs -f /dev/md0:
meta-data=/dev/md0 isize=256 agcount=32, agsize=6880704 blks
= sectsz=512 attr=2, projid32bit=0
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/16/14-09:02:33 echo '/dev/md0 /raid0 xfs defaults,nobootwait,noatime 0 0' | sudo tee -a /etc/fstab:
/dev/md0 /raid0 xfs defaults,nobootwait,noatime 0 0
[PIPE] 05/16/14-09:02:33 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/16/14-09:02:33 sudo mkdir /raid0
[EXEC] 05/16/14-09:02:34 sudo mount -a
[EXEC] 05/16/14-09:02:34 sudo mkdir -p /raid0/cassandra
[PIPE] 05/16/14-09:02:34 yes | sudo adduser --no-create-home --disabled-password cassandra:
Adding user `cassandra' ...
Adding new group `cassandra' (1001) ...
Adding new user `cassandra' (1001) with group `cassandra' ...
Not creating home directory `/home/cassandra'.
Changing the user information for cassandra
Enter the new value, or press ENTER for the default
Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n]
[PIPE] 05/16/14-09:02:34 yes | sudo adduser --no-create-home --disabled-password cassandra:
Adding user `cassandra' ...
Adding new group `cassandra' (1001) ...
Adding new user `cassandra' (1001) with group `cassandra' ...
Not creating home directory `/home/cassandra'.
Changing the user information for cassandra
Enter the new value, or press ENTER for the default
Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n]
[EXEC] 05/16/14-09:02:34 id cassandra:
uid=1001(cassandra) gid=1001(cassandra) groups=1001(cassandra)
[EXEC] 05/16/14-09:02:34 sudo chown -R cassandra:cassandra /raid0/cassandra
[EXEC] 05/16/14-09:02:34 sudo rm -rf /var/lib/cassandra
[EXEC] 05/16/14-09:02:34 sudo ln -s /raid0/cassandra /var/lib/cassandra
[EXEC] 05/16/14-09:02:34 sudo chown -R cassandra:cassandra /var/lib/cassandra
[INFO] Showing RAID0 details:
[EXEC] 05/16/14-09:02:34 cat /proc/mdstat:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid0 xvdc1[1] xvdb1[0]
880729600 blocks super 1.2 256k chunks
unused devices: <none>
[EXEC] 05/16/14-09:02:34 echo "15000" > /proc/sys/dev/raid/speed_limit_min:
15000 > /proc/sys/dev/raid/speed_limit_min
[EXEC] 05/16/14-09:02:34 sudo mdadm --detail /dev/md0:
/dev/md0:
Version : 1.2
Creation Time : Fri May 16 09:01:52 2014
Raid Level : raid0
Array Size : 880729600 (839.93 GiB 901.87 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Fri May 16 09:01:52 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 256K
Name : ip-172-31-2-62:0 (local to host ip-172-31-2-62)
UUID : 122472ee:060df617:ac9703c3:d0ff692f
Events : 0
Number Major Minor RaidDevice State
0 202 17 0 active sync /dev/xvdb1
1 202 33 1 active sync /dev/xvdc1
[INFO] Mounted Raid.
[PIPE] 05/16/14-09:02:35 yes | sudo add-apt-repository ppa:webupd8team/java:
OK
You are about to add the following PPA to your system:
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK6 / JDK7 / JDK8). There are no actual Java files in this PPA.
More info:
- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Debian installation instructions: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
More info: https://launchpad.net/~webupd8team/+archive/java
[PIPE] 05/16/14-09:02:35 yes | sudo add-apt-repository ppa:webupd8team/java:
OK
You are about to add the following PPA to your system:
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK6 / JDK7 / JDK8). There are no actual Java files in this PPA.
More info:
- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Debian installation instructions: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
More info: https://launchpad.net/~webupd8team/+archive/java
[EXEC] 05/16/14-09:02:52 sudo apt-get update:
Ign http://eu-west-1.ec2.archive.ubuntu.com precise InRelease
Ign http://eu-west-1.ec2.archive.ubuntu.com precise-updates InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://archive.canonical.com lucid InRelease
Get:1 http://eu-west-1.ec2.archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.canonical.com lucid Release.gpg [198 B]
Get:3 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:4 http://eu-west-1.ec2.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:5 http://archive.canonical.com lucid Release [8,215 B]
Get:6 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise Release
Get:7 http://eu-west-1.ec2.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:8 http://ppa.launchpad.net precise/main Sources [1,219 B]
Get:9 http://eu-west-1.ec2.archive.ubuntu.com precise/main Sources [934 kB]
Get:10 http://archive.canonical.com lucid/partner amd64 Packages [14.0 kB]
Get:11 http://ppa.launchpad.net precise/main amd64 Packages [2,798 B]
Get:12 http://ppa.launchpad.net precise/main i386 Packages [2,798 B]
Get:13 http://archive.canonical.com lucid/partner i386 Packages [14.6 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://archive.canonical.com lucid/partner TranslationIndex
Ign http://security.ubuntu.com precise-security InRelease
Ign http://ppa.launchpad.net precise/main Translation-en_US
Get:14 http://security.ubuntu.com precise-security Release.gpg [198 B]
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en_US
Get:15 http://eu-west-1.ec2.archive.ubuntu.com precise/universe Sources [5,019 kB]
Ign http://archive.canonical.com lucid/partner Translation-en
Get:16 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:17 http://security.ubuntu.com precise-security/main Sources [104 kB]
Get:18 http://eu-west-1.ec2.archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:19 http://eu-west-1.ec2.archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:20 http://security.ubuntu.com precise-security/universe Sources [30.9 kB]
Get:21 http://security.ubuntu.com precise-security/main amd64 Packages [385 kB]
Get:22 http://eu-west-1.ec2.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:23 http://security.ubuntu.com precise-security/universe amd64 Packages [93.1 kB]
Get:24 http://eu-west-1.ec2.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:25 http://security.ubuntu.com precise-security/main i386 Packages [414 kB]
Get:26 http://security.ubuntu.com precise-security/universe i386 Packages [97.6 kB]
Get:27 http://eu-west-1.ec2.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:28 http://eu-west-1.ec2.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:29 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main Sources [458 kB]
Get:30 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:31 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe Sources [107 kB]
Get:32 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main amd64 Packages [777 kB]
Get:33 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:34 http://security.ubuntu.com precise-security/main Translation-en [179 kB]
Get:35 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages [240 kB]
Get:36 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main i386 Packages [806 kB]
Get:37 http://security.ubuntu.com precise-security/universe Translation-en [57.1 kB]
Get:38 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe i386 Packages [246 kB]
Get:39 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:40 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:41 http://eu-west-1.ec2.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:42 http://eu-west-1.ec2.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:43 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main Translation-en [298 kB]
Get:44 http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe Translation-en [123 kB]
Fetched 26.7 MB in 13s (1,997 kB/s)
Reading package lists...
[PIPE] 05/16/14-09:02:53 sudo echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
[EXEC] 05/16/14-09:03:16 sudo apt-get install -y oracle-java7-installer:
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
gsfonts gsfonts-x11 libfontenc1 libxfont1 xfonts-encodings xfonts-utils
Suggested packages:
binfmt-support visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core
ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho
ttf-arphic-uming firefox firefox-2 iceweasel mozilla-firefox iceape-browser
mozilla-browser epiphany-gecko epiphany-webkit epiphany-browser galeon
midbrowser moblin-web-browser xulrunner xulrunner-1.9 konqueror
chromium-browser midori google-chrome
The following NEW packages will be installed:
gsfonts gsfonts-x11 libfontenc1 libxfont1 oracle-java7-installer
xfonts-encodings xfonts-utils
0 upgraded, 7 newly installed, 0 to remove and 192 not upgraded.
Need to get 4,234 kB of archives.
After this operation, 6,845 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main oracle-java7-installer all 7u55-0~webupd8~1 [21.8 kB]
Get:2 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
Get:3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libfontenc1 amd64 1:1.1.0-1 [15.4 kB]
Get:4 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxfont1 amd64 1:1.4.4-1ubuntu0.2 [134 kB]
Get:5 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
Get:6 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main xfonts-utils amd64 1:7.6+1 [96.4 kB]
Get:7 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main gsfonts-x11 all 0.22 [9,108 B]
Fetched 4,234 kB in 0s (7,417 kB/s)
Selecting previously unselected package oracle-java7-installer.
(Reading database ... 38753 files and directories currently installed.)
Unpacking oracle-java7-installer (from .../oracle-java7-installer_7u55-0~webupd8~1_all.deb) ...
oracle-license-v1-1 license has already been accepted
Selecting previously unselected package gsfonts.
Unpacking gsfonts (from .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb) ...
Selecting previously unselected package libfontenc1.
Unpacking libfontenc1 (from .../libfontenc1_1%3a1.1.0-1_amd64.deb) ...
Selecting previously unselected package libxfont1.
Unpacking libxfont1 (from .../libxfont1_1%3a1.4.4-1ubuntu0.2_amd64.deb) ...
Selecting previously unselected package xfonts-encodings.
Unpacking xfonts-encodings (from .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb) ...
Selecting previously unselected package xfonts-utils.
Unpacking xfonts-utils (from .../xfonts-utils_1%3a7.6+1_amd64.deb) ...
Selecting previously unselected package gsfonts-x11.
Unpacking gsfonts-x11 (from .../gsfonts-x11_0.22_all.deb) ...
Processing triggers for shared-mime-info ...
Processing triggers for fontconfig ...
Processing triggers for man-db ...
Setting up oracle-java7-installer (7u55-0~webupd8~1) ...
Downloading Oracle Java 7...
--2014-05-16 09:03:01-- http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 95.101.0.120, 95.101.0.89
Connecting to download.oracle.com (download.oracle.com)|95.101.0.120|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz [following]
--2014-05-16 09:03:01-- https://edelivery.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 96.7.228.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|96.7.228.140|:443... connected.
WARNING: cannot verify edelivery.oracle.com's certificate, issued by `/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz?AuthParam=1400231101_029c5253c6009bfea63f61b1cc3956eb [following]
--2014-05-16 09:03:01-- http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz?AuthParam=1400231101_029c5253c6009bfea63f61b1cc3956eb
Connecting to download.oracle.com (download.oracle.com)|95.101.0.120|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 138220064 (132M) [application/x-gzip]
Saving to: `jdk-7u55-linux-x64.tar.gz'
0K ........ ........ ........ ........ ........ ........ 2% 13.3M 10s
3072K ........ ........ ........ ........ ........ ........ 4% 36.8M 6s
6144K ........ ........ ........ ........ ........ ........ 6% 29.8M 6s
9216K ........ ........ ........ ........ ........ ........ 9% 34.5M 5s
12288K ........ ........ ........ ........ ........ ........ 11% 36.8M 4s
15360K ........ ........ ........ ........ ........ ........ 13% 34.9M 4s
18432K ........ ........ ........ ........ ........ ........ 15% 38.8M 4s
21504K ........ ........ ........ ........ ........ ........ 18% 25.8M 4s
24576K ........ ........ ........ ........ ........ ........ 20% 26.0M 4s
27648K ........ ........ ........ ........ ........ ........ 22% 34.4M 4s
30720K ........ ........ ........ ........ ........ ........ 25% 30.9M 3s
33792K ........ ........ ........ ........ ........ ........ 27% 25.6M 3s
36864K ........ ........ ........ ........ ........ ........ 29% 20.9M 3s
39936K ........ ........ ........ ........ ........ ........ 31% 26.6M 3s
43008K ........ ........ ........ ........ ........ ........ 34% 31.2M 3s
46080K ........ ........ ........ ........ ........ ........ 36% 30.8M 3s
49152K ........ ........ ........ ........ ........ ........ 38% 26.8M 3s
52224K ........ ........ ........ ........ ........ ........ 40% 36.4M 3s
55296K ........ ........ ........ ........ ........ ........ 43% 38.2M 3s
58368K ........ ........ ........ ........ ........ ........ 45% 35.6M 2s
61440K ........ ........ ........ ........ ........ ........ 47% 35.2M 2s
64512K ........ ........ ........ ........ ........ ........ 50% 32.7M 2s
67584K ........ ........ ........ ........ ........ ........ 52% 31.5M 2s
70656K ........ ........ ........ ........ ........ ........ 54% 19.4M 2s
73728K ........ ........ ........ ........ ........ ........ 56% 33.3M 2s
76800K ........ ........ ........ ........ ........ ........ 59% 34.9M 2s
79872K ........ ........ ........ ........ ........ ........ 61% 36.4M 2s
82944K ........ ........ ........ ........ ........ ........ 63% 37.7M 2s
86016K ........ ........ ........ ........ ........ ........ 66% 36.2M 2s
89088K ........ ........ ........ ........ ........ ........ 68% 34.7M 1s
92160K ........ ........ ........ ........ ........ ........ 70% 27.6M 1s
95232K ........ ........ ........ ........ ........ ........ 72% 38.5M 1s
98304K ........ ........ ........ ........ ........ ........ 75% 39.4M 1s
101376K ........ ........ ........ ........ ........ ........ 77% 36.5M 1s
104448K ........ ........ ........ ........ ........ ........ 79% 21.3M 1s
107520K ........ ........ ........ ........ ........ ........ 81% 33.4M 1s
110592K ........ ........ ........ ........ ........ ........ 84% 28.3M 1s
113664K ........ ........ ........ ........ ........ ........ 86% 31.9M 1s
116736K ........ ........ ........ ........ ........ ........ 88% 36.7M 0s
119808K ........ ........ ........ ........ ........ ........ 91% 30.2M 0s
122880K ........ ........ ........ ........ ........ ........ 93% 23.8M 0s
125952K ........ ........ ........ ........ ........ ........ 95% 35.5M 0s
129024K ........ ........ ........ ........ ........ ........ 97% 35.1M 0s
132096K ........ ........ ........ ........ ........ ..... 100% 27.2M=4.4s
2014-05-16 09:03:05 (30.2 MB/s) - `jdk-7u55-linux-x64.tar.gz' saved [138220064/138220064]
Download done.
Removing outdated cached downloads...
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/apt to provide /usr/bin/apt (apt) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode.
Oracle JDK 7 installed
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode.
Oracle JRE 7 browser plugin installed
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
Setting up libfontenc1 (1:1.1.0-1) ...
Setting up libxfont1 (1:1.4.4-1ubuntu0.2) ...
Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
Setting up xfonts-utils (1:7.6+1) ...
Setting up gsfonts-x11 (0.22) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
[EXEC] 05/16/14-09:03:19 sudo apt-get install -y oracle-java7-set-default:
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
oracle-java7-set-default
0 upgraded, 1 newly installed, 0 to remove and 192 not upgraded.
Need to get 4,354 B of archives.
After this operation, 57.3 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main oracle-java7-set-default all 7u55-0~webupd8~1 [4,354 B]
Fetched 4,354 B in 0s (164 kB/s)
Selecting previously unselected package oracle-java7-set-default.
(Reading database ... 39047 files and directories currently installed.)
Unpacking oracle-java7-set-default (from .../oracle-java7-set-default_7u55-0~webupd8~1_all.deb) ...
Setting up oracle-java7-set-default (7u55-0~webupd8~1) ...
[EXEC] 05/16/14-09:03:19 sudo update-java-alternatives -s java-7-oracle
[PIPE] 05/16/14-09:03:20 echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" | tee -a /root/.profile:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
[PIPE] 05/16/14-09:03:20 echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" | tee -a /root/.profile:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
[PIPE] 05/16/14-09:03:20 echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" | tee -a /home/ubuntu/.profile:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
[PIPE] 05/16/14-09:03:20 echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" | tee -a /home/ubuntu/.profile:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
[EXEC:E] 05/16/14-09:03:20 wall /tmp/tmpnvG2Jq:
wall: cannot get tty name: Invalid argument
[INFO] ds2_configure.py completed!
[PIPE] 05/16/14-09:03:20 echo "* soft nofile 32768" | sudo tee -a /etc/security/limits.conf:
* soft nofile 32768
[PIPE] 05/16/14-09:03:20 echo "* soft nofile 32768" | sudo tee -a /etc/security/limits.conf:
* soft nofile 32768
[PIPE] 05/16/14-09:03:20 echo "* hard nofile 32768" | sudo tee -a /etc/security/limits.conf:
* hard nofile 32768
[PIPE] 05/16/14-09:03:20 echo "* hard nofile 32768" | sudo tee -a /etc/security/limits.conf:
* hard nofile 32768
[PIPE] 05/16/14-09:03:20 echo "root soft nofile 32768" | sudo tee -a /etc/security/limits.conf:
root soft nofile 32768
[PIPE] 05/16/14-09:03:20 echo "root soft nofile 32768" | sudo tee -a /etc/security/limits.conf:
root soft nofile 32768
[PIPE] 05/16/14-09:03:20 echo "root hard nofile 32768" | sudo tee -a /etc/security/limits.conf:
root hard nofile 32768
[PIPE] 05/16/14-09:03:20 echo "root hard nofile 32768" | sudo tee -a /etc/security/limits.conf:
root hard nofile 32768
[EXEC] 05/16/14-09:03:20 sudo chown -hR ubuntu:ubuntu /home/ubuntu
[EXEC] 05/16/14-09:03:20 sudo chown -hR cassandra:cassandra /raid0/cassandra
[EXEC] 05/16/14-09:03:20 sudo chown -hR cassandra:cassandra /mnt/cassandra
[INFO] Checking permissions for: /home/ubuntu
[INFO] Attempt #0
[INFO] Permissions set for /home/ubuntu as ubuntu:ubuntu
[INFO] Checking permissions for: /raid0/cassandra
[INFO] Attempt #0
[INFO] Permissions set for /raid0/cassandra as cassandra:cassandra
[INFO] AMI Type: False
[EXEC] 05/16/14-09:03:20 sudo mount -a
[EXEC] 05/16/14-09:03:20 sudo swapoff --all
[EXEC] 05/16/14-09:03:20 sudo blockdev --setra 128 /dev/md0
Could you ensure your security group allows the required ports and try again? https://github.com/riptano/ComboAMI#ports-needed
All the necessary ports are open.
As long as you've specified the cassandra-nodes
security group when adding the new node from the OpsCenter interface, you should have been fine because the ami.log looks clean and your security groups look properly set. Let's chalk that last error up to an EC2 latency issue.
Would you mind trying the exact same run again?
Closing this ticket. The scroll is long but the ComboAMI/OpsCenter version alignment problem is going to be fixed with the next rebake, and the rest of this troubleshooting looks like ec2 flakiness. Re-open if I've misunderstood something.
I installed a two-node cluster cassandra. When you try to add a third node(from OpsCenter), an error occurs: FAILURE: Timed out waiting to finish installing DataStax AMI.
Additional information:
node 0
node 3