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
2014-07-27 00:38:53,393 [E] WebDriverException: Message: u"unknown error: session deleted because of page crash\nfrom tab crashed\n (Session info: chrome=35.0.1916.153)\n (Driver info: chromedriver=2.8.240825,platform=Linux .......) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 386 milliseconds\nBuild info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:03'\nSystem info: host: '........', ip: '..........', os.name: 'Linux', os.arch: 'amd64', os.version: '...........', java.version: '1.7.0_45'\nSession ID: f950f9330d746453fdd0f82fc7507a43\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.org.chromium.Chromium.sEhhW5}, rotatable=false, locationContextEnabled=true, version=35.0.1916.153, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEven |
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
# List API: | |
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --dump_api | |
# List VMs: | |
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 -l | |
# Power on VM: | |
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --poweron -v vm-test | |
# Power off VM: |
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
#!/bin/bash | |
if [ ! $# == 1 ]; then | |
echo "Usage: ./r71-cap-sync-testcase-v1.sh <testname>" | |
echo "Example: time ./r71-cap-sync-testcase-v1.sh tc-r7-0001" | |
exit | |
fi | |
testprefix=$1 | |
. r71-environments.sh |
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
export BDIR=/home/backup/(create name of "backup" here) | |
mkdir -p $BDIR | |
chmod 770 $BDIR | |
chgrp postgres $BDIR | |
cd $BDIR | |
katello-service stop | |
service foreman-proxy stop | |
sync; sync; echo 3 > /proc/sys/vm/drop_caches | |
tar --selinux -cvf pulp_data.tar /var/lib/pulp /var/www/pub | |
service mongod start |
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/env python | |
from pyVim import connect | |
from pyVmomi import vim | |
from pyVmomi import vmodl | |
from threading import Thread | |
import tasks | |
import argparse | |
import atexit | |
import logging | |
import requests |
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
<config> | |
<!-- If 'dv-portgroups' is nonzero, each datacenter will have one DVS with that many | |
portgroups. Each host in that datacenter will be attached to one portgroup in a sort | |
of round-robin fashion, and each VM on that host will be attached to that portgroup. | |
--> | |
<inventory> <!-- Optional, by default, all are zeros --> | |
<dc>1</dc> <!-- Number of datacenters --> | |
<host-per-dc>0</host-per-dc> <!-- Number of standalone hosts per datacenter --> | |
<vm-per-host>0</vm-per-host> <!-- Number of VMs per standalone host --> |
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
<config> | |
<!-- If 'dv-portgroups' is nonzero, each datacenter will have one DVS with that many | |
portgroups. Each host in that datacenter will be attached to one portgroup in a sort | |
of round-robin fashion, and each VM on that host will be attached to that portgroup. | |
--> | |
<inventory> <!-- Optional, by default, all are zeros --> | |
<dc>1</dc> <!-- Number of datacenters --> | |
<host-per-dc>0</host-per-dc> <!-- Number of standalone hosts per datacenter --> | |
<vm-per-host>0</vm-per-host> <!-- Number of VMs per standalone host --> |
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
<simulator> | |
<enabled>true</enabled> | |
<cleardb>false</cleardb> | |
<initInventory>vcsim/model/initInventory-perf.cfg</initInventory> | |
<enableHistStats>true</enableHistStats> | |
<perfCounterInfo>vcsim/model/PerfCounterInfo.xml</perfCounterInfo> | |
<metricMetadata>vcsim/model/metricMetadata-perf.cfg</metricMetadata> | |
<datastore> | |
<global>1</global> | |
<cluster>1</cluster> |
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
export BDIR=/home/backup/20150623-genrepos-synced-cv-created | |
mkdir -p $BDIR | |
chmod 770 $BDIR | |
chgrp postgres $BDIR | |
cd $BDIR | |
katello-service stop | |
service foreman-proxy stop | |
sync; sync; echo 3 > /proc/sys/vm/drop_caches | |
tar --selinux -cvf pulp_data.tar /var/lib/pulp /var/www/pub | |
service mongod start |
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
export BDIR=/home/backup/last-clean | |
mkdir -p $BDIR | |
chmod 770 $BDIR | |
cd $BDIR | |
service httpd stop | |
service pulp_celerybeat stop | |
service pulp_resource_manager stop | |
service pulp_workers stop | |
service qpidd stop | |
service qdrouterd stop |
OlderNewer