I hereby claim:
- I am jeevanullas on github.
- I am jeevanullas (https://keybase.io/jeevanullas) on keybase.
- I have a public key ASAgRjs3SsagblTyFCsmBrr7Q5ey8Kvwc4nlPp0UfoxxGgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'rubygems' | |
require 'yaml' | |
require 'aws-sdk' | |
require 'logger' | |
require 'net/http' | |
require 'net/ssh' | |
AWS.config({ | |
:access_key_id => '<Access Key>', | |
:secret_access_key => '<Secret Key>', |
T 10.104.1.168:33409 -> 10.104.1.150:8773 [AP] | |
POST /services/Eucalyptus/ HTTP/1.1 | |
Host: 10.104.1.150:8773 | |
User-Agent: aws-sdk-java/1.3.33 Linux/2.6.32-358.2.1.el6.centos.plus.x86_64 OpenJDK_64-Bit_Server_VM/20.0-b12 | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
Content-Length: 224 | |
Connection: Keep-Alive | |
Action=DescribeInstances&SignatureMethod=HmacSHA256&AWSAccessKeyId=XMBBFJDYDY5CRK7MFY3IH&SignatureVersion=2&Version=2012-12-01&Signature=cXv9nwPrtEOHV6WRTjApyMXf%2FsDLQTsC3XjK7Y9cZPQ%3D&Timestamp=2013-04-11T16%3A31%3A42.797Z | |
## |
#### | |
T 10.104.1.151:55014 -> 10.104.1.150:8773 [AP] | |
POST /services/Eucalyptus HTTP/1.1 | |
Host: 10.104.1.150:8773 | |
User-Agent: aws-sdk-java/1.3.33 Linux/2.6.32-358.2.1.el6.centos.plus.x86_64 OpenJDK_64-Bit_Server_VM/20.0-b12 | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
X-Forwarded-For: 10.104.1.168 | |
X-Forwarded-Host: eucalyptus.example.com | |
X-Forwarded-Server: eucalyptus.example.com | |
Connection: Keep-Alive |
<VirtualHost *> | |
ServerName eucalyptus.example.com | |
ProxyRequests Off | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPass / http://10.104.1.168:8773/services/Eucalyptus | |
ProxyPassReverse / http://10.104.1.168:8773/services/Eucalyptus | |
<Location /> |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Set; | |
import java.io.File; | |
import com.amazonaws.AmazonClientException; | |
import com.amazonaws.AmazonServiceException; | |
import com.amazonaws.auth.AWSCredentials; | |
import com.amazonaws.auth.PropertiesCredentials; |
Application Options | |
------------------- | |
Namespace: jeevanullas | |
Cartridges: diy-0.1 | |
Gear Size: default | |
Scaling: no | |
Creating application 'demoeuca' ... dnsruby can't connect to 192.168.112.120:53 from 0.0.0.0:63182, use_tcp=false, exception = Errno::EACCES, Permission denied - bind(2) | |
[root@g-12-04 ~]# rhc app create demoeuca diy-0.1 | |
Application Options |
$ rhc setup --debug | |
DEBUG: Running greeting_stage | |
OpenShift Client Tools (RHC) Setup Wizard | |
This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. | |
DEBUG: Running login_stage | |
DEBUG: Connecting to https://broker.example.com/broker/rest/api | |
DEBUG: Request GET https://broker.example.com/broker/rest/api | |
DEBUG: SSL Verification failed -- Using self signed cert |
ansible-playbook node.yml | |
SSH password: | |
PLAY [Node pre-install configs] ********************* | |
GATHERING FACTS ********************* | |
ok: [10.104.3.10] | |
TASK: [Hostname config] ********************* | |
ok: [10.104.3.10] |
# ansible-playbook broker.yml | |
SSH password: | |
PLAY [Broker pre-install configs] ********************* | |
GATHERING FACTS ********************* | |
ok: [10.104.3.10] | |
TASK: [Hostname config] ********************* | |
changed: [10.104.3.10] |