[ 
https://issues.apache.org/jira/browse/WHIRR-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271305#comment-13271305
 ] 

Andrei Savu commented on WHIRR-583:
-----------------------------------

It looks like this is still an issue we need to fix:

{noformat}
(13:52:57 <~/src/whirr[trunk]>) $ ./bin/whirr launch-cluster --cluster-name 
zk-amazon-linux --instance-templates "1 zookeeper" --image-id 
"us-east-1/ami-e565ba8c" (amazon linux ami)
Running on provider aws-ec2 using identity xxxxx
Bootstrapping cluster
Configuring template for bootstrap-zookeeper
Starting 1 node(s) with roles [zookeeper]
>> running InitScript{instanceName=bootstrap-zookeeper} on 
>> node(us-east-1/i-174d9771)
<< error running InitScript{instanceName=bootstrap-zookeeper} on 
node(us-east-1/i-174d9771): {output=Reloading sshd: [  OK  ]
Loaded plugins: fastestmirror, priorities, security, update-motd
Determining fastest mirrors
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
Setting up Install Process
Package 1:java-1.6.0-openjdk-1.6.0.0-52.1.10.6.44.amzn1.x86_64 already 
installed and latest version
Nothing to do
, error=useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
ssh: unrecognized service
Existing lock /var/run/yum.pid: another copy is running as pid 1211.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  21 M RSS (225 MB VSZ)
    Started: Wed May  9 10:54:22 2012 - 00:04 ago
    State  : Running, pid: 1211
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  29 M RSS (234 MB VSZ)
    Started: Wed May  9 10:54:22 2012 - 00:06 ago
    State  : Uninterruptible, pid: 1211
/tmp/bootstrap-zookeeper/bootstrap-zookeeper.sh: line 87: java: command not 
found
, exitStatus=1}
<< error running InitScript{instanceName=bootstrap-zookeeper} on 
node(us-east-1/i-174d9771): {output=Reloading sshd: [  OK  ]
Loaded plugins: fastestmirror, priorities, security, update-motd
Determining fastest mirrors
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
Setting up Install Process
Package 1:java-1.6.0-openjdk-1.6.0.0-52.1.10.6.44.amzn1.x86_64 already 
installed and latest version
Nothing to do
, error=useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
ssh: unrecognized service
Existing lock /var/run/yum.pid: another copy is running as pid 1211.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  21 M RSS (225 MB VSZ)
    Started: Wed May  9 10:54:22 2012 - 00:04 ago
    State  : Running, pid: 1211
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  29 M RSS (234 MB VSZ)
    Started: Wed May  9 10:54:22 2012 - 00:06 ago
    State  : Uninterruptible, pid: 1211
/tmp/bootstrap-zookeeper/bootstrap-zookeeper.sh: line 87: java: command not 
found
, exitStatus=1}
Nodes started: [[id=us-east-1/i-174d9771, providerId=i-174d9771, 
group=zk-amazon-linux, name=zk-amazon-linux-174d9771, location=[id=us-east-1b, 
scope=ZONE, description=us-east-1b, parent=us-east-1, iso3166Codes=[US-VA], 
metadata={}], uri=null, imageId=us-east-1/ami-e565ba8c, os=[name=null, 
family=amzn-linux, version=pv-2012.03.1, arch=paravirtual, is64Bit=true, 
description=amazon/amzn-ami-pv-2012.03.1.x86_64-ebs], state=RUNNING, 
loginPort=22, hostname=ip-10-50-209-216, privateAddresses=[10.50.209.216], 
publicAddresses=[23.22.94.145], hardware=[id=m1.small, providerId=m1.small, 
name=null, processors=[[cores=1.0, speed=1.0]], ram=1740, volumes=[[id=null, 
type=LOCAL, size=150.0, device=/dev/sda2, durable=false, isBootDevice=false], 
[id=vol-50476b3f, type=SAN, size=null, device=/dev/sda1, durable=true, 
isBootDevice=true]], hypervisor=xen, 
supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,ALWAYS_TRUE),
 tags=[]], loginUser=ec2-user, userMetadata={Name=zk-amazon-linux-174d9771}, 
tags=[]]]
Wrote instances file /Users/andreisavu/.whirr/zk-amazon-linux/instances
Authorizing firewall ingress to [us-east-1/i-174d9771] on ports [2181] for 
[188.27.101.115/32]
Starting to run scripts on cluster for phase configure on instances: 
us-east-1/i-174d9771
>> running InitScript{instanceName=configure-zookeeper} on 
>> node(us-east-1/i-174d9771)
Finished running configure phase scripts on all cluster instances
<< success executing InitScript{instanceName=configure-zookeeper} on 
node(us-east-1/i-174d9771): {output=, 
error=/tmp/configure-zookeeper/configure-zookeeper.sh: line 44: 
/etc/zookeeper/conf/zoo.cfg: No such file or directory
, exitStatus=0}
Completed configuration of zk-amazon-linux
Hosts: ec2-23-22-94-145.compute-1.amazonaws.com:2181
Starting to run scripts on cluster for phase start on instances: 
us-east-1/i-174d9771
>> running InitScript{instanceName=start-zookeeper} on 
>> node(us-east-1/i-174d9771)
Finished running start phase scripts on all cluster instances
<< error running InitScript{instanceName=start-zookeeper} on 
node(us-east-1/i-174d9771): {output=, 
error=/tmp/start-zookeeper/start-zookeeper.sh: line 41: /etc/init.d/zookeeper: 
No such file or directory
, exitStatus=1}
Started cluster of 1 instances
Cluster{instances=[Instance{roles=[zookeeper], publicIp=23.22.94.145, 
privateIp=10.50.209.216, id=us-east-1/i-174d9771, 
nodeMetadata=[id=us-east-1/i-174d9771, providerId=i-174d9771, 
group=zk-amazon-linux, name=zk-amazon-linux-174d9771, location=[id=us-east-1b, 
scope=ZONE, description=us-east-1b, parent=us-east-1, iso3166Codes=[US-VA], 
metadata={}], uri=null, imageId=us-east-1/ami-e565ba8c, os=[name=null, 
family=amzn-linux, version=pv-2012.03.1, arch=paravirtual, is64Bit=true, 
description=amazon/amzn-ami-pv-2012.03.1.x86_64-ebs], state=RUNNING, 
loginPort=22, hostname=ip-10-50-209-216, privateAddresses=[10.50.209.216], 
publicAddresses=[23.22.94.145], hardware=[id=m1.small, providerId=m1.small, 
name=null, processors=[[cores=1.0, speed=1.0]], ram=1740, volumes=[[id=null, 
type=LOCAL, size=150.0, device=/dev/sda2, durable=false, isBootDevice=false], 
[id=vol-50476b3f, type=SAN, size=null, device=/dev/sda1, durable=true, 
isBootDevice=true]], hypervisor=xen, 
supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,ALWAYS_TRUE),
 tags=[]], loginUser=ec2-user, userMetadata={Name=zk-amazon-linux-174d9771}, 
tags=[]]}], configuration={}}

You can log into instances using the following ssh commands:
'ssh -i /Users/andreisavu/.ssh/id_rsa -o "UserKnownHostsFile /dev/null" -o 
StrictHostKeyChecking=no [email protected]'

{noformat}
                
> 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: Ioannis Canellos
>             Fix For: 0.8.0, 0.7.2
>
>


--
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


Reply via email to