This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns testpal.test01) | |
(require 'pallet.repl) | |
(pallet.repl/use-pallet) | |
(use 'pallet.crate.public-dns-if-no-nameserver) | |
(use 'pallet.crate.automated-admin-user) | |
(use 'pallet.crate.java) | |
(use 'pallet.crate.ssh-key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject testpal "1.0.0-SNAPSHOT" | |
:description "FIXME: write" | |
:dependencies [[org.clojure/clojure "1.2.0"] | |
[org.clojure/clojure-contrib "1.2.0"] | |
[org.jclouds/jclouds-aws "1.0-SNAPSHOT"] | |
[org.jclouds/jclouds-core "1.0-SNAPSHOT"] | |
[org.jclouds/jclouds-jsch "1.0-SNAPSHOT"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.jclouds.compute.RunNodesException: error running 1 node tag(webserver) location(us-east-1) image(ami-74f0061d) size(t1.micro) options(EC2TemplateOptions [groupIds=[], keyPair=null, noKeyPair=false, monitoringEnabled=false, placementGroup=null, noPlacementGroup=false, subnetId=null, userData=null, blockDeviceMappings=[]]) | |
Execution failures: | |
0 error[s] | |
Node failures: | |
1) $ComputationException on node us-east-1/i-5969d535: | |
com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: org/jclouds/ssh/ExecResponse | |
at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:553) | |
at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aopalliance-1.0.jar jclouds-aws-1.0-20110107.002238-219.jar | |
aws-common-1.0-20110126.200145-36.jar jclouds-blobstore-1.0-beta-8.jar | |
aws-ec2-1.0-20110126.201231-39.jar jclouds-bouncycastle-1.0-beta-8.jar | |
aws-s3-1.0-20110126.201213-44.jar jclouds-compute-1.0-20110126.200305-259.jar | |
bcprov-jdk15-1.44.jar jclouds-core-1.0-20110126.200107-262.jar | |
classworlds-1.1-alpha-2.jar jclouds-enterprise-1.0-beta-8.jar | |
clj-http-0.1.1.jar jclouds-joda-1.0-beta-8.jar | |
clj-ssh-0.2.0.jar jclouds-jsch-1.0-20110113.232130-233.jar | |
clojure-1.2.0.jar jclouds-log4j-1.0-20110113.232042-236.jar | |
clojure-contrib-1.2.0.jar jclouds-scriptbuilder-1.0-20110126.200215-260.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Users/backtype/dev/sandbox/testpal/src/testpal/ | |
3 compiler notes: | |
Unknown location: | |
error: | |
java.lang.RuntimeException: org.jclouds.compute.RunNodesException: error running 1 node tag(webserver) location(us-east-1) image(ami-77e50b1e) size(t1.micro) options(EC2TemplateOptions [groupIds=[], keyPair=null, noKeyPair=false, monitoringEnabled=false, placementGroup=null, noPlacementGroup=false, subnetId=null, userData=null, blockDeviceMappings=[]]) | |
Execution failures: | |
0 error[s] | |
Node failures: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject testpal "1.0.0-SNAPSHOT" | |
:description "FIXME: write" | |
:dependencies [[org.clojure/clojure "1.2.0"] | |
[org.clojure/clojure-contrib "1.2.0"] | |
[org.jclouds/jclouds-blobstore "1.0-SNAPSHOT"] | |
[org.jclouds/jclouds-enterprise "1.0-SNAPSHOT"] | |
[org.jclouds/jclouds-aws "1.0-SNAPSHOT"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn filter-by-running [nodes] | |
(filter #(= "RUNNING" (str (.getState %))) nodes)) | |
(defn print-ips-for-tag! [tag-str] | |
(let [running-nodes (filter-by-running (nodes-with-tag tag-str aws))] | |
(println "TAG: " tag-str) | |
(println "PUBLIC: " (map primary-ip running-nodes)) | |
(println "PRIVATE: " (map private-ip running-nodes))) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...done | |
zookeeper:x:999: | |
remote-directory... | |
Directory /usr/local/zookeeper-3.3.1... | |
...done | |
remote-file /tmp/zookeeper-3.3.1.tar.gz... | |
md5sum: zookeeper-3.3.1.tar.gz: No such file or directory | |
zookeeper-3.3.1.tar.gz: FAILED open or read | |
md5sum: WARNING: 1 of 1 listed file could not be read | |
Download of http://www.apache.org/dist/hadoop/zookeeper/zookeeper-3.3.1/zookeeper-3.3.1.tar.gz failed to match md5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.clojars.jasonjckn</groupId> | |
<artifactId>pallet-pom</artifactId> | |
<version>0.4.0-SNAPSHOT</version> | |
<relativePath>../pallet-pom</relativePath> | |
</parent> | |
<groupId>org.clojars.jasonjckn</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO ssh - Authentications that can continue: publickey,keyboard-interactive,password | |
INFO ssh - Next authentication method: publickey | |
INFO ssh - Authentication succeeded (publickey). | |
INFO ssh - Disconnecting from 67.202.61.139 port 22 | |
INFO ssh - Caught an exception, leaving main loop due to Socket closed | |
INFO core - apply-phase :pre-configure for :zookeeper with 1 nodes | |
INFO core - Using identity at /Users/backtype/dev/backtype/profile/keys/cloud | |
INFO core - apply-phase :configure for :zookeeper with 1 nodes | |
INFO core - Using identity at /Users/backtype/dev/backtype/profile/keys/cloud | |
INFO ssh - Connecting to 67.202.61.139 port 22 |
OlderNewer