Skip to content

Instantly share code, notes, and snippets.

View gregdek's full-sized avatar

Greg DeKoenigsberg gregdek

View GitHub Profile
@gregdek
gregdek / gist:8044795
Created December 19, 2013 19:30
stderr from eucadev chef run
Gregs-MacBook-Pro:eucadev gregdek$ cat /tmp/chef02.err
/Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/ruby_compat.rb:30:in `select': closed stream (IOError)
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/ruby_compat.rb:30:in `io_select'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/transport/packet_stream.rb:73:in `available_for_read?'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/transport/packet_stream.rb:85:in `next_packet'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:172:in `block in poll_message'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:167:in `loop'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:167:in `poll_message'
from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.8/lib/net/ssh/connection/session.rb:454:in `dispatch_incoming_packets'
from /Applica
@gregdek
gregdek / gist:8028881
Created December 18, 2013 20:01
eucadev chef failure
make[1]: Entering directory `/root/eucalyptus/clc'
#
# Note to the developer: there are three possible scenarios for
Copied defaults to /root/eucalyptus/clc/modules/www/conf/eucalyptus-web.properties
# updating dependencies.
#
# 1. A cloud-libs git repository exists in 'lib'. We'll update it.
# 2. The 'lib' directory is not a git repository and we assume you
# know what you're doing. We won't touch it.
Using cloud-libs branch testing
@gregdek
gregdek / gist:7996993
Created December 16, 2013 23:35
Output of jenkins run
Started by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jenkins-install eustore image-16
[jenkins-install eustore image-16] $ /bin/sh -xe /tmp/hudson7588184812884397489.sh
+ git clone https://github.com/gregdek/eutester.git repo
Initialized empty Git repository in /var/lib/jenkins/jenkins-install eustore image-16/repo/.git/
+ cd repo
+ git checkout testing
Already on 'testing'
+ cd ..
@gregdek
gregdek / gist:7472824
Created November 14, 2013 19:28
euca-get-console-output for Centos 6.4 eustore image under eucadev
[root@eucadev-all ~]# ssh -i my-first-keypair ec2-user@192.168.192.102
ssh: connect to host 192.168.192.102 port 22: No route to host
[root@eucadev-all ~]# euca-describe-groups
GROUP sg-CDEF3EFB 477858397745 default default group
PERMISSION 477858397745 default ALLOWS icmp -1 -1 FROM CIDR 0.0.0.0/0 ingress
PERMISSION 477858397745 default ALLOWS tcp 22 22 FROM CIDR 0.0.0.0/0 ingress
[root@eucadev-all ~]# euca-describe-instances
RESERVATION r-C46C4094 477858397745 default
[root@euca-all ~]# euca-get-console-output i-8D313CF6
i-8D313CF6
2013-11-08T16:45:51.119Z
^[[1;256r^[[256;256H^[[6n
Google, Inc.
Serial Graphics Adapter 12/07/11
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@c6b18n1.dev.centos.org) Wed Dec 7 17:04:47 UTC 2011
Term: 80x24
4 0
SeaBIOS (version seabios-0.6.1.2-26.el6)
@gregdek
gregdek / gist:5499920
Created May 2, 2013 03:11
Error in create_resources with Euca 3.3
[vagrant@localhost vagrant]$ EUTESTER/testcases/cloud_admin/create_resources.py --credpath=CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/
setuptestname:None
setup_debugmethod:
testcasename:None
log_level:None
logfile:None
logfile_level:debug
Starting setup_debugmethod, name:create_resources
After populating... setup_debugmethod: testcasename:Nonelog_level:debuglogfile:Nonelogfile_level:debug
[2013-05-02 02:57:55,017] [create_resources] [DEBUG]: create_resources: Eulogger init test message. Init complete
@gregdek
gregdek / gist:5498048
Created May 1, 2013 20:19
Errors from eutester create_user.py and create_resources.py
[vagrant@localhost vagrant]$ EUTESTER/testcases/gregdek/play_create_resources.py --credpath=CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/
/usr/lib/python2.6/site-packages/boto/pyami/config.py:75: UserWarning: Unable to load AWS_CREDENTIAL_FILE (/vagrant/CREDS/3.3-TEST-credentials/iamrc)
warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
setuptestname:None
Starting setup_debugmethodNone
[2013-05-01 20:11:34,480] [play_create_resources] [DEBUG]: (show_self:1163):
-------------------------------------------------------------------------
TESTCASE INFO:
----------
NAME: --->: play_create_resources