Skip to content

Instantly share code, notes, and snippets.

View hughsaunders's full-sized avatar

Hugh Saunders hughsaunders

View GitHub Profile
tempest.api.volume.test_availability_zone.AvailabilityZoneV2TestJSON.test_get_availability_zone_list ... ok
tempest.api.volume.test_availability_zone.AvailabilityZoneV2TestXML.test_get_availability_zone_list ... ok
tempest.api.volume.test_extensions.ExtensionsV1TestJSON.test_list_extensions ... SKIP: There are not any extensions configured
tempest.api.volume.test_extensions.ExtensionsV1TestXML.test_list_extensions ... SKIP: There are not any extensions configured
tempest.api.volume.test_extensions.ExtensionsV2TestJSON.test_list_extensions ... SKIP: There are not any extensions configured
tempest.api.volume.test_extensions.ExtensionsV2TestXML.test_list_extensions ... SKIP: There are not any extensions configured
tempest.api.volume.test_qos.QosSpecsV1TestJSON.create_test_qos_specs ... ok
tempest.api.volume.test_qos.QosSpecsV1TestJSON.test_associate_disassociate_qos ... ok
root@node3_galera_container-ab8f6b4a:~# bash -x /etc/init.d/mysql start
+ set -e
+ set -u
+ test -x /usr/sbin/mysqld
+ exit 0
cb 1 (.venv) ~/git/test-playbook
$ ansible-playbook test.yml -i inventory/hosts
PLAY [test] *******************************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [debug ] ****************************************************************
ok: [localhost] => (item=hostvars[groups['g1'][0]]['y']) => {
root@rsuk-0:/home/rally/rally# git fetch https://review.openstack.org/stackforge/rally refs/changes/71/71471/1 && git checkout FETCH_HEAD
From https://review.openstack.org/stackforge/rally
* branch refs/changes/71/71471/1 -> FETCH_HEAD
HEAD is now at 7c068b3... Fix btrfs checking in LxcHost
root@rsuk-0:/home/rally/rally# python setup.py install
running install
Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): fixtures>=0.3.14 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.8 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): jsonschema>=1.3.0,!=1.4.0 in ./.venv/lib/python2.7/site-packages
@hughsaunders
hughsaunders / gist:8882041
Created February 8, 2014 11:07
Current rackspace service catalog
Service: rax:dns
+-----------+------------------------------------------------------+
| Property | Value |
+-----------+------------------------------------------------------+
| publicURL | https://lon.dns.api.rackspacecloud.com/v1.0/*** |
| tenantId | *** |
+-----------+------------------------------------------------------+
Service: compute
+-------------+----------------------------------------------------------+
| Property | Value |
+----------------------+---------------+---------------+---------------+
| action | max (sec) | avg (sec) | min (sec) |
+----------------------+---------------+---------------+---------------+
| cinder.create_volume | 3.89942407608 | 3.74338928858 | 3.47184991837 |
| cinder.delete_volume | 20.1204948425 | 17.7166008949 | 12.9333539009 |
+----------------------+---------------+---------------+---------------+
@hughsaunders
hughsaunders / gist:8556554
Created January 22, 2014 10:28
create rally deployment from environment variables
(.venv)stack@rally2:~/rally$ source ../devstack/openrc admin
(.venv)stack@rally2:~/rally$ rally-manage db recreate
(.venv)stack@rally2:~/rally$ rally deployment createfromenv
+--------------------------------------+----------------------------+----------+------------------+
| uuid | created_at | name | status |
+--------------------------------------+----------------------------+----------+------------------+
| 221be18a-11e7-47eb-af5c-1ea51291834e | 2014-01-22 10:26:33.959921 | from_env | deploy->finished |
+--------------------------------------+----------------------------+----------+------------------+
(.venv)stack@rally2:~/rally$ rally task start --deploy-id=221be18a-11e7-47eb-af5c-1ea51291834e --task doc/samples/tasks/keystone/create-user.json
2014-01-22 10:27:02.945 29453 WARNING rally.benchmark.runner [-] Unable to fully cleanup the cloud: 409-{u'NeutronError': {u'message': u'Removing default security group not allowed.', u'type': u'Security
@hughsaunders
hughsaunders / gist:8519919
Created January 20, 2014 13:34
mysql users
[root@performance14-centos-54a ~]# mysql -u root -h 127.0.0.1 -p -e 'select user,host,password from mysql.user;'Enter password:
+------+--------------------------+-------------------------------------------+
| user | host | password |
+------+--------------------------+-------------------------------------------+
| root | localhost | *267958608B9116CCF2F8614408EAF6998AD54906 |
| root | 127.0.0.1 | *267958608B9116CCF2F8614408EAF6998AD54906 |
| | localhost | |
| | performance14-centos-54a | |
| repl | % | *6433632F0FCADD45047C97F4D35BCBAA800AFD45 |
| root | % | *267958608B9116CCF2F8614408EAF6998AD54906 |
@hughsaunders
hughsaunders / gist:8217232
Created January 2, 2014 10:08
ssh public key for jenkins.uk.rs.wherenow.org openstack gerrit service account
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC374ULETklEa9n3gTQFxzaDKf9uhXgMB+2/P1eT+aa9rPCG1le/o4cj54FXMBWCZ+v5YVveqk+PeGpNxBymwlmmFwZaG2v5MjAatJMCDidpmVEGA6TizWjRGnd87F591zgv0v8CmSbX/WSPVricAE4SU8AZOZiFmdQOeMmgBx73aCWyGHIz4jCZKRO/JGEzhr+XJi3VGsKsw105NumLTuRVtwFnduMJfVMNpR2AUiKSJzdk4qaRDjBO2oHCV90FjI9qUvEUpDXC0Yml+1EI20JOHIT4vZ0TERTHzVpxOU0Gf8jef2MzQY3KQQ0GU/bFqjho9u26lVWfTlPksxW7flL [email protected]
======================================================================
FAIL: tests.serverprovider.test_virsh.VirshProviderTestCase.test_create_vm
----------------------------------------------------------------------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "/opt/stack/rally/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched