Skip to content

Instantly share code, notes, and snippets.

View vipulsabhaya's full-sized avatar

Vipul Sabhaya vipulsabhaya

View GitHub Profile
*******************************************************************************
Running Reddwarf Integration Tests...
*******************************************************************************
python -B /home/ubuntu/reddwarf-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=blackbox
RUNNING TEST ARGS : ['/home/ubuntu/reddwarf-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=blackbox']
/usr/lib/python2.7/dist-packages/nose/plugins/manager.py:405: UserWarning: Module tests was already imported from /mnt/opt/reddwarf-integration/tests/integration/tests/__init__.py, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
start_glance_registry
Starts the Glance Registry.
Starts the Glance Registry. OK 1.02
@vipulsabhaya
vipulsabhaya / gist:4615300
Last active December 11, 2015 14:38
restart-issues
I basically Ran the tests Manually:
1. ./redstack rd-client instance create --name test --size 2
2. manually execute the follwoing commands
ubuntu@redstack2:~/reddwarf-integration/scripts$ ssh 10.0.0.2 'sudo rm /var/lib/mysql/ib_logfile0'
ubuntu@redstack2:~/reddwarf-integration/scripts$ ssh 10.0.0.2 'sudo rm /var/lib/mysql/ib_logfile1'
ubuntu@redstack2:~/reddwarf-integration/scripts$ ssh 10.0.0.2 'sudo cp /dev/null /var/lib/mysql/ib_logfile0'
ubuntu@redstack2:~/reddwarf-integration/scripts$ ssh 10.0.0.2 'sudo cp /dev/null /var/lib/mysql/ib_logfile1'
@vipulsabhaya
vipulsabhaya / gist:4657858
Created January 28, 2013 18:28
Reddwarf on Devstack
Installing Reddwarf with Devstack
This has been tested on Ubuntu 12.04 Instance on HPCloud.
0. Boot 12.04 Precise instance on HPCloud (xlarge or larger)
1. $ git clone https://github.com/openstack-dev/devstack.git
2. $ git clone https://github.com/stackforge/reddwarf-integration.git
3. $ cp ~/reddwarf-integration/script/local.sh ~/devstack/
4. $ printf "ADMIN_PASSWORD=password\nMYSQL_PASSWORD=password\nRABBIT_PASSWORD=password\nSERVICE_PASSWORD=password\nSERVICE_TOKEN=tokentoken\nFLAT_INTERFACE=br100" > ~/devstack/localrc
@vipulsabhaya
vipulsabhaya / gist:4735753
Created February 8, 2013 01:10
dib error
ubuntu@ubuntu:~/reddwarf-integration/scripts$ ./redstack build-image mysql
*******************************************************************************
Building an image for use with development and integration tests.
*******************************************************************************
*******************************************************************************
Actually building the image, this can take up to 15 minutes
*******************************************************************************
/home/ubuntu/.ssh already exists
Keyfile already exists in authorized_keys - skipping
XXX -a 'amd64' -o '/home/ubuntu/images/precise_mysql_image/precise_mysql_image' -x -- 'vm' 'reddwarf-guest' 'reddwarf-mysql'
ldconfig deferred processing now taking place
dib-run-parts Thu May 2 04:50:41 UTC 2013 15-reddwarf-dep completed
dib-run-parts Thu May 2 04:50:41 UTC 2013 Running /tmp/in_target.d/install.d/20-etc
0+1 records in
0+1 records out
489 bytes (489 B) copied, 2.2569e-05 s, 21.7 MB/s
dib-run-parts Thu May 2 04:50:41 UTC 2013 20-etc completed
dib-run-parts Thu May 2 04:50:41 UTC 2013 Running /tmp/in_target.d/install.d/50-user
+ id -u ubuntu
dib-run-parts Thu May 2 04:50:41 UTC 2013 50-user completed
ubuntu@ubuntu:/tmp$ sudo mount -l
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
ubuntu@ubuntu:/tmp/build/dbaas-mycnf$ sudo mount -l
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
ubuntu@ubuntu:/tmp/build/dbaas-mycnf$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 38G 3.6G 33G 10% /
udev 990M 4.0K 990M 1% /dev
tmpfs 400M 344K 399M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 999M 0 999M 0% /run/shm
cgroup 999M 0 999M 0% /sys/fs/cgroup
tmpfs 999M 999M 0 100% /tmp/image.W1OyPl65
/dev/loop1p1 957M 445M 463M 50% /tmp/image.W1OyPl65/mnt
ubuntu@ubuntu:/var/log$ sudo cat first-boot.d.log
ssh stop/waiting
ssh start/running, process 845
+ sed -i -r 's/^\s*#(net\.ipv4\.ip_forward=1.*)/\1/' /etc/sysctl.conf
+ echo 1
* Stopping NTP server ntpd
start-stop-daemon: warning: failed to kill 759: No such process
...done.
* Starting NTP server ntpd
...done.
ubuntu@ubuntu:/var/log$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 905M 886M 0 100% /
udev 243M 4.0K 243M 1% /dev
tmpfs 99M 208K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
overflow 1.0M 0 1.0M 0% /tmp
ubuntu@ubuntu:/var/log$ lsblk