[ https://issues.apache.org/jira/browse/WHIRR-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435111#comment-13435111 ]
Doug Mittendorf commented on WHIRR-583: --------------------------------------- This still appears to be a problem with latest trunk (0.8.0-SNAPSHOT) code. I tried using the CentOS 5.8 x64 image from RightScale (ami-3a62c053) {code:none} $ bin/whirr launch-cluster --cluster-name zk-amazon-linux --instance-templates "1 zookeeper" --image-id "us-east-1/ami-3a62c053" Running on provider aws-ec2 using identity XXXXXXXXXXXX Bootstrapping cluster Configuring template for bootstrap-zookeeper Starting 1 node(s) with roles [zookeeper] >> running InitScript{INSTANCE_NAME=bootstrap-zookeeper} on >> node(us-east-1/i-193b5562) << error running InitScript{INSTANCE_NAME=bootstrap-zookeeper} on node(us-east-1/i-193b5562): {output=Reloading sshd: [ OK ] This function does nothing. It just needs to exist so Statements.call("retry_helpers") doesn't call something which doesn't exist Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 set to be updated --> Processing Dependency: java-1.6.0-openjdk = 1:1.6.0.0-1.27.1.10.8.el5_8 for package: java-1.6.0-openjdk-devel --> Processing Dependency: libjli.so(SUNWprivate_1.1)(64bit) for package: java-1.6.0-openjdk-devel --> Processing Dependency: libjli.so()(64bit) for package: java-1.6.0-openjdk-devel --> Running transaction check ---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 set to be updated --> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: java-1.6.0-openjdk --> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk --> Processing Dependency: libgif.so.4()(64bit) for package: java-1.6.0-openjdk --> Running transaction check ---> Package giflib.x86_64 0:4.1.3-7.3.3.el5 set to be updated ---> Package jpackage-utils.noarch 0:5.0.0-1.jpp5 set to be updated ---> Package tzdata-java.x86_64 0:2012c-1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: java-1.6.0-openjdk-devel x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 updates 12 M Installing for dependencies: giflib x86_64 4.1.3-7.3.3.el5 base 39 k java-1.6.0-openjdk x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 updates 36 M jpackage-utils noarch 5.0.0-1.jpp5 rightscale-epel 61 k tzdata-java x86_64 2012c-1.el5 updates 181 k Transaction Summary ================================================================================ Install 5 Package(s) Upgrade 0 Package(s) Total download size: 48 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.1 MB/s | 48 MB 00:11 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : giflib 1/5 Installing : jpackage-utils 2/5 Installing : tzdata-java 3/5 Installing : java-1.6.0-openjdk 4/5 Installing : java-1.6.0-openjdk-devel 5/5 Installed: java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 Dependency Installed: giflib.x86_64 0:4.1.3-7.3.3.el5 java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 jpackage-utils.noarch 0:5.0.0-1.jpp5 tzdata-java.x86_64 0:2012c-1.el5 Complete! zookeeper-3.3.3.tar.gz: OK , error=useradd: warning: the home directory already exists. Not copying any file from skel directory into it. java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) service zookeeper does not support chkconfig , exitStatus=1} << error running InitScript{INSTANCE_NAME=bootstrap-zookeeper} on node(us-east-1/i-193b5562): {output=Reloading sshd: [ OK ] This function does nothing. It just needs to exist so Statements.call("retry_helpers") doesn't call something which doesn't exist Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 set to be updated --> Processing Dependency: java-1.6.0-openjdk = 1:1.6.0.0-1.27.1.10.8.el5_8 for package: java-1.6.0-openjdk-devel --> Processing Dependency: libjli.so(SUNWprivate_1.1)(64bit) for package: java-1.6.0-openjdk-devel --> Processing Dependency: libjli.so()(64bit) for package: java-1.6.0-openjdk-devel --> Running transaction check ---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 set to be updated --> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: java-1.6.0-openjdk --> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk --> Processing Dependency: libgif.so.4()(64bit) for package: java-1.6.0-openjdk --> Running transaction check ---> Package giflib.x86_64 0:4.1.3-7.3.3.el5 set to be updated ---> Package jpackage-utils.noarch 0:5.0.0-1.jpp5 set to be updated ---> Package tzdata-java.x86_64 0:2012c-1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: java-1.6.0-openjdk-devel x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 updates 12 M Installing for dependencies: giflib x86_64 4.1.3-7.3.3.el5 base 39 k java-1.6.0-openjdk x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 updates 36 M jpackage-utils noarch 5.0.0-1.jpp5 rightscale-epel 61 k tzdata-java x86_64 2012c-1.el5 updates 181 k Transaction Summary ================================================================================ Install 5 Package(s) Upgrade 0 Package(s) Total download size: 48 M Downloading Packages: -------------------------------------------------------------------------------- Total 4.1 MB/s | 48 MB 00:11 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : giflib 1/5 Installing : jpackage-utils 2/5 Installing : tzdata-java 3/5 Installing : java-1.6.0-openjdk 4/5 Installing : java-1.6.0-openjdk-devel 5/5 Installed: java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 Dependency Installed: giflib.x86_64 0:4.1.3-7.3.3.el5 java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.27.1.10.8.el5_8 jpackage-utils.noarch 0:5.0.0-1.jpp5 tzdata-java.x86_64 0:2012c-1.el5 Complete! zookeeper-3.3.3.tar.gz: OK , error=useradd: warning: the home directory already exists. Not copying any file from skel directory into it. java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) service zookeeper does not support chkconfig , exitStatus=1} Nodes started: [{id=us-east-1/i-193b5562, providerId=i-193b5562, name=zk-amazon-linux-193b5562, location={scope=ZONE, id=us-east-1d, description=us-east-1d, parent=us-east-1, iso3166Codes=[US-VA]}, group=zk-amazon-linux, imageId=us-east-1/ami-3a62c053, os={family=centos, arch=paravirtual, version=5.0, description=411009282317/RightImage_CentOS_5.8_x64_v5.8.8_EBS, is64Bit=true}, status=RUNNING[running], loginPort=22, hostname=ip-10-62-59-73, privateAddresses=[10.62.59.73], publicAddresses=[174.129.91.33], hardware={id=m1.small, providerId=m1.small, processors=[{cores=1.0, speed=1.0}], ram=1740, volumes=[{type=LOCAL, size=150.0, device=/dev/sda2, bootDevice=false, durable=false}, {id=vol-633e9c03, type=SAN, device=/dev/sda1, bootDevice=true, durable=true}], hypervisor=xen, supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,ALWAYS_TRUE)}, loginUser=root, userMetadata={Name=zk-amazon-linux-193b5562}}] Wrote instances file /Users/dmittendorf/.whirr/zk-amazon-linux/instances Authorizing firewall ingress to [us-east-1/i-193b5562] on ports [2181] for [173.226.92.18/32] Starting to run scripts on cluster for phase configure on instances: us-east-1/i-193b5562 >> running InitScript{INSTANCE_NAME=configure-zookeeper} on >> node(us-east-1/i-193b5562) << success executing InitScript{INSTANCE_NAME=configure-zookeeper} on node(us-east-1/i-193b5562): {output=This function does nothing. It just needs to exist so Statements.call("retry_helpers") doesn't call something which doesn't exist , error=, exitStatus=0} Finished running configure phase scripts on all cluster instances Completed configuration of zk-amazon-linux Hosts: ec2-174-129-91-33.compute-1.amazonaws.com:2181 Starting to run scripts on cluster for phase start on instances: us-east-1/i-193b5562 >> running InitScript{INSTANCE_NAME=start-zookeeper} on >> node(us-east-1/i-193b5562) << success executing InitScript{INSTANCE_NAME=start-zookeeper} on node(us-east-1/i-193b5562): {output=, error=, exitStatus=0} Finished running start phase scripts on all cluster instances Started cluster of 1 instances Cluster{instances=[Instance{roles=[zookeeper], publicIp=174.129.91.33, privateIp=10.62.59.73, id=us-east-1/i-193b5562, nodeMetadata={id=us-east-1/i-193b5562, providerId=i-193b5562, name=zk-amazon-linux-193b5562, location={scope=ZONE, id=us-east-1d, description=us-east-1d, parent=us-east-1, iso3166Codes=[US-VA]}, group=zk-amazon-linux, imageId=us-east-1/ami-3a62c053, os={family=centos, arch=paravirtual, version=5.0, description=411009282317/RightImage_CentOS_5.8_x64_v5.8.8_EBS, is64Bit=true}, status=RUNNING[running], loginPort=22, hostname=ip-10-62-59-73, privateAddresses=[10.62.59.73], publicAddresses=[174.129.91.33], hardware={id=m1.small, providerId=m1.small, processors=[{cores=1.0, speed=1.0}], ram=1740, volumes=[{type=LOCAL, size=150.0, device=/dev/sda2, bootDevice=false, durable=false}, {id=vol-633e9c03, type=SAN, device=/dev/sda1, bootDevice=true, durable=true}], hypervisor=xen, supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,ALWAYS_TRUE)}, loginUser=root, userMetadata={Name=zk-amazon-linux-193b5562}}}], configuration={}} {code} > Install OpenJDK fails on centos > ------------------------------- > > Key: WHIRR-583 > URL: https://issues.apache.org/jira/browse/WHIRR-583 > Project: Whirr > Issue Type: Bug > Affects Versions: 0.7.1 > Reporter: Ioannis Canellos > Assignee: Andrei Savu > Fix For: 0.7.2, 0.8.0-alpha.1 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira