Skip to content

Instantly share code, notes, and snippets.

Host 192.168.*
ProxyCommand none
Host 10.*
ProxyCommand none
Host localhost 127.*
ProxyCommand none
$ testr run tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name
======================================================================
FAIL: tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name[gate]
tags: worker-0
----------------------------------------------------------------------
pythonlogging:'': {{{
2014-09-08 13:55:56,010 29271 INFO [tempest.common.rest_client] Request (ServersTestJSON:test_update_server_name): 200 POST http://162.209.109.13:5000/v2.0/tokens
2014-09-08 13:55:56,362 29271 INFO [tempest.common.rest_client] Request (ServersTestJSON:test_update_server_name): 202 POST http://162.209.109.13:8774/v2/3c5bceea2495496b8d307a8088f97839/servers 0.351s
2014-09-08 13:55:56,452 29271 INFO [tempest.common.rest_client] Request (ServersTestJSON:test_update_server_name): 200 GET http://162.209.109.13:8774/v2/3c5bceea2495496b8d307a8088f97839/servers/9321df37-46a1-4882-9c6a-655e9760fb0f 0.084s
2014-09-08 13:55:57,614 29271 INFO [temp
This file has been truncated, but you can view the full file.
$ cat screen-n-api.log
o "n-api failed to start" | tee "/opt/stack/status/stack/n-api.failure"fg || ech
[1] 18036
cd /opt/stack/nova && /usr/local/bin/nova-api
2014-09-08 11:47:59.152 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-paste.ini from (pid=18038) load_app /opt/stack/nova/nova/wsgi.py:517
2014-09-08 11:47:59.355 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') from (pid=18038) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-09-08 11:47:59.509 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-09-08 11:47:59.688 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') from (pid=18038) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-09-08 11:47:59.688 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') from (pid
@nelsnelson
nelsnelson / local.conf
Last active August 29, 2015 14:06
local.conf
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.
ssh.remote_exec(proxy.accessIPv4, proxy.adminPass,
('export TERM=xterm-256color; '
'export PATH="$PATH:/sbin:/usr/sbin";'
'apt-get install -y apt-utils dialog '
'libterm-readline-perl-perl ssh-client '
'>/root/ssh-client.install.out'))
pushd /opt/stack/tempest
[[ -d .testrepository ]] || { echo "Initializing tempest workspace"; testr init; }
ps -eaf | grep -v grep | grep qemu-nbd
pgrep -f qemu-nbd | xargs -n1 echo sudo kill -9
ls /dev/nbd* | xargs -n1 sudo qemu-nbd --disconnect
sed -i 's/\#suspend\=true/#suspend=true\nsuspend=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/\#rescue\=true/#rescue=true\nrescue=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/\#xml_api_v2\=true/#xml_api_v2=true\nxml_api_v2=false/' /opt/stack/tempest/etc/tempest.conf
# sudo jgem install --local /tmp/passenger-4.0.50.gem
Building native extensions. This could take a while...
/usr/java/jruby-1.7.15/lib/ruby/shared/rubygems/ext/ext_conf_builder.rb:43 warning: Tempfile#unlink or delete called on open file; ignoring
ERROR: Error installing /tmp/passenger-4.0.50.gem:
ERROR: Failed to build gem native extension.
/usr/java/jruby/bin/jruby extconf.rb
Attempting to download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/4.0.50/rubyext-jruby-1.9.3-java-linux.tar.gz into /usr/java/jruby-1.7.15/lib/ruby/gems/shared/gems/passenger-4.0.50/download_cache
*** Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/4.0.50/rubyext-jruby-1.9.3-java-linux.tar.gz: The requested URL returned error: 404 Not Found
Attempting to download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/4.0.50/rubyext-jruby-1.9.3-java-linux.tar.gz into /usr/java/jruby-1.7.15/lib/ruby/gems/shared/gems/passenger-4.0.50/downloa
@nelsnelson
nelsnelson / pip.log
Last active August 29, 2015 14:06
Yet another devstack failure
Downloading/unpacking pip
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by <class 'httplib.CannotSendRequest'>: )
Will skip URL https://pypi.python.org/simple/ when looking for download links for pip
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for pip:
* https://pypi.python.org/simple/pip/
$ testr run tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tempest/test_discover} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
[Results]
containers = 30
flavor = 64 MB Container
image = Debian 7 LXC
[create]
mean = 7.24
min = 5.68
max = 31.49