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
import boto | |
from boto.ec2.regioninfo import RegionInfo | |
aws_access_key_id="WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw" | |
aws_secret_access_key="k8TB7FQR7buZYoSJyVSdTLkCyXQqM628rhdLyQ" | |
clcip="111.221.6.222" | |
boto_debug=2 | |
conn=boto.connect_ec2(aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key, is_secure=False, region=RegionInfo(name="eucalyptus", endpoint=clcip), port=8773, path="/services/Eucalyptus",debug=boto_debug) |
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
#!/usr/bin/python | |
from eucaops import Eucaops | |
import argparse | |
import random | |
import os | |
import time | |
import string | |
if __name__ == '__main__': |
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
import boto | |
from boto.s3.connection import OrdinaryCallingFormat | |
if __name__ == '__main__': | |
aws_access_key_id='your access key' | |
aws_secret_access_key='your secret key' | |
walrus_ip='your walrus ip' | |
bucket_name='docsforwork' |
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
setuptestname:None | |
Starting setup_debugmethodNone | |
[2013-02-03 04:03:26,899] [instancetest] [DEBUG]: (get_default_userhome_config:1120): Default config not found:/root/.eutester/eutester.conf | |
[2013-02-03 04:03:26,902] [instancetest] [DEBUG]: (show_self:1133): | |
------------------------------------------------------------------------- | |
TESTCASE INFO: | |
---------- | |
NAME: --->: instancetest | |
TEST LIST: --->: [] | |
CONFIG FILES: --->: [] |
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
[default] | |
access_key = Q5XCNRE8JRJPSASBPRTNS | |
secret_key = 1tPSITBoT3DBvTIGqHFUzF44rh4PCh76QjKW0nqa | |
host_base = 10.104.1.168:8773 | |
host_bucket = 10.104.1.168:8773 | |
service_path = /services/Walrus | |
bucket_location = US | |
default_mime_type = binary/octet-stream | |
delete_removed = False | |
dry_run = False |
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
# 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] |
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
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] |
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
$ 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 |
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
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 |
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
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; |
OlderNewer