Skip to content

Instantly share code, notes, and snippets.

View jeevanullas's full-sized avatar

Deependra Singh Shekhawat jeevanullas

View GitHub Profile
@jeevanullas
jeevanullas / cloud-output.log
Created February 16, 2014 20:25
cloud-output.log
2014-02-16 12:12:11 INFO 000079767 Images | Triggering cache population in Walrus for: eki-FE363899
2014-02-16 12:12:11 INFO 000001199 WalrusImageManager | [CorrelationId: 2f60a1e4-602e-47b9-bab4-a96105e836ae-899799 | Account: 000000000000] Processing CacheImage request for fedora20/vmlinuz-3.11.10-301.fc20.x86_64.manifest.xml
2014-02-16 12:12:11 DEBUG 000001199 WalrusImageManager | [CorrelationId: 2f60a1e4-602e-47b9-bab4-a96105e836ae-899799 | Account: 000000000000] No caching task found for image: fedora20/vmlinuz-3.11.10-301.fc20.x86_64.manifest.xml Initiating caching task.
2014-02-16 12:12:11 DEBUG 000001199 WalrusImageManager | [CorrelationId: 2f60a1e4-602e-47b9-bab4-a96105e836ae-899799 | Account: 000000000000] Attempting to cache image fedora20/vmlinuz-3.11.10-301.fc20.x86_64.manifest.xml.
2014-02-16 12:12:11 DEBUG 000001199 WalrusImageManager | [CorrelationId: 2f60a1e4-602e-47b9-bab4-a96105e836ae-899799 | Account: 000000000000] No current caching tasks found f
@jeevanullas
jeevanullas / nc.log
Created February 16, 2014 20:36
nc.log
2014-02-16 12:31:39 INFO 000022097 doRunInstance | [i-F5DF44F8] running instance cores=2 disk=10 memory=512 vlan=-1 net=-1 priMAC=d0:d0:F5:DF:44:F8 privIp=0.0.0.0 plat=linux kernel=(null) ramdisk=(null)
2014-02-16 12:31:39 DEBUG 000022097 vbr_legacy | [i-F5DF44F8] VBR[0] type=swap id=none dev=sda3 size=536870912 format=swap none
2014-02-16 12:31:39 DEBUG 000022097 vbr_legacy | [i-F5DF44F8] VBR[1] type=ephemeral id=none dev=sda2 size=8152546816 format=ext3 none
2014-02-16 12:31:39 DEBUG 000022097 vbr_legacy | [i-F5DF44F8] VBR[2] type=machine id=emi-D5EF3577 dev=sda1 size=2048000512 format=none walrus://fedora20/euca-fedora20-fedora-2013.12.18-x86_64.img.manifest.xml
2014-02-16 12:31:39 DEBUG 000022097 vbr_legacy | [i-F5DF44F8] VBR[3] type=kernel id=eki-FE363899 dev=none size=0 format=none walrus://fedora20/vmlinuz-3.11.10-301.fc20.x86_64.manifest.xml
2014-02-16 12:31:39 DEBUG 00002209
[centos@euca-10-30-1-154 ~]$ terraform plan
Refreshing Terraform state prior to plan...
aws_instance.example: Refreshing state... (ID: i-c934c041)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed.
@jeevanullas
jeevanullas / python-zope-interface-issue
Created May 13, 2015 05:04
Commands to temporarily fix python-zope-interface issue with eucaconsole
# rpm -e python-zope-interface python-chameleon python-zope-component python-transaction python-zope-schema python-zope-configuration python-pyramid python-pyramid-chameleon python-pyramid-tm python-pyramid-beaker python-pyramid-layout --nodeps
# wget ftp://ftp.muug.mb.ca/mirror/centos/6.6/os/x86_64/Packages/python-zope-filesystem-1-5.el6.x86_64.rpm
# rpm -ivh python-zope-filesystem-1-5.el6.x86_64.rpm
# yum install python-zope-interface-3.5.2-2.1.el6.x86_64
# yum install python-chameleon python-pyramid python-pyramid-beaker python-pyramid-chameleon python-pyramid-layout python-pyramid-tm
@jeevanullas
jeevanullas / boto_start
Created January 25, 2012 16:36
boto-123
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)
@jeevanullas
jeevanullas / walrus.py
Created January 31, 2012 12:03
eutester test case for walrus
#!/usr/bin/python
from eucaops import Eucaops
import argparse
import random
import os
import time
import string
if __name__ == '__main__':
@jeevanullas
jeevanullas / botowalrus.py
Created February 1, 2012 08:03
boto walrus communication issues
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'
@jeevanullas
jeevanullas / openbsd-eutester-result
Created February 3, 2013 12:28
Output of: ./testcases/cloud_user/instances/instancetest.py --emi emi-2D8A446A --credpath /root/.euca/ --config eutester.config --password password --tests BasicInstanceChecks MetaData Reboot
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: --->: []
@jeevanullas
jeevanullas / gist:5114186
Created March 8, 2013 04:16
s3cfg for a lab cloud
[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
@jeevanullas
jeevanullas / openshift-ansible-playbook-broker-output.txt
Created April 8, 2013 09:32
ansible playbook openshift origin broker fedora 18 output
# 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]