Skip to content

Instantly share code, notes, and snippets.

2014-08-27 15:16:38.629 ERROR nova.compute.manager [req-c08bd6a6-2bd9-4b4f-8f2c-a138db506f0c ServersTestJSON-738206438 ServersTestJSON-1567796321] [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] Instan
ce failed to spawn
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] Traceback (most recent call last):
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] File "/opt/stack/nova/nova/compute/manager.py", line 2134, in _build_resources
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] yield resources
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] File "/opt/stack/nova/nova/compute/manager.py", line 2013, in _build_and_run_instance
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] block_device_info=block_device_info)
2014-08-27 15:16:38.629 TRACE nova.co
# 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.
$ 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'}} \
2014-08-26 03:40:09.520 WARNING nova.virt.disk.mount.nbd [req-a144b56c-094b-4d89-9ba5-937aa1fee111 ServersTestJSON-698736888 ServersTestJSON-1373125453] No free nbd devices
2014-08-26 03:40:09.520 DEBUG nova.openstack.common.lockutils [req-a144b56c-094b-4d89-9ba5-937aa1fee111 ServersTestJSON-698736888 ServersTestJSON-1373125453] Released semaphore "nbd-allocation-lock" fro
m (pid=15425) lock /opt/stack/nova/nova/openstack/common/lockutils.py:291
2014-08-26 03:40:09.521 DEBUG nova.openstack.common.lockutils [req-a144b56c-094b-4d89-9ba5-937aa1fee111 ServersTestJSON-698736888 ServersTestJSON-1373125453] Semaphore / lock released "_inner_get_dev" f
rom (pid=15425) inner /opt/stack/nova/nova/openstack/common/lockutils.py:328
2014-08-26 03:40:09.521 INFO nova.virt.disk.mount.api [req-a144b56c-094b-4d89-9ba5-937aa1fee111 ServersTestJSON-698736888 ServersTestJSON-1373125453] Device allocation failed. Will retry in 2 seconds.
2014-08-26 03:40:10.049 DEBUG nova.openstack.common.periodic_task [-] Running periodic task C
@nelsnelson
nelsnelson / load-test-report-example.txt
Created August 25, 2014 14:34
Load test report example
[Results]
containers = 30
flavor = 64MB Container
image = Debian 7 LXC
[Creation]
mean = 12.84
min = 7.76
max = 17.42
@nelsnelson
nelsnelson / 120
Last active August 29, 2015 14:05
Load test results
[Results]
containers = 120
flavor = 64MB Container
image = Debian 7 LXC
[Creation]
mean = 67.27
min = 8.79
max = 124.45
timeouts = 0
@nelsnelson
nelsnelson / libvirtError.txt
Created August 21, 2014 20:55
Some processes refused to die
Traceback (most recent call last):
File "/opt/stack/nova/nova/compute/manager.py", line 2394, in do_terminate_ins
self._delete_instance(context, instance, bdms, quotas)
File "/opt/stack/nova/nova/hooks.py", line 131, in inner
rv = f(*args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 2363, in _delete_instance
quotas.rollback()
File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/compute/manager.py", line 2340, in _delete_instance
@nelsnelson
nelsnelson / load-test-example.log
Created August 19, 2014 19:52
Example load test run
root@nelsnelson-test1:~/src/load-tests# ./load-public-net.py 4 20 5
2014-08-19 19:51:06,355 INFO [Load] Creating server load-test-0
2014-08-19 19:51:06,523 INFO [Load] Created server cb91f456-6406-487b-a673-6e44b4e2da72 in process 12149 with password LSPi2pzjNUeB
2014-08-19 19:51:06,523 INFO [Load] Waiting until server cb91f456-6406-487b-a673-6e44b4e2da72 status is ACTIVE at 1408477866.52
2014-08-19 19:51:07,611 INFO [Load] Server cb91f456-6406-487b-a673-6e44b4e2da72 is in state BUILD
2014-08-19 19:51:08,697 INFO [Load] Server cb91f456-6406-487b-a673-6e44b4e2da72 is in state BUILD
2014-08-19 19:51:09,782 INFO [Load] Server cb91f456-6406-487b-a673-6e44b4e2da72 is in state BUILD
2014-08-19 19:51:10,465 INFO [Load] Creating server load-test-1
2014-08-19 19:51:10,615 INFO [Load] Created server 551e6c71-1f98-41d3-8dbf-1fbd683db9e3 in process 12149 with password PvL6eVhEKLm8
2014-08-19 19:51:10,616 INFO [Load] Waiting until server 551e6c71-1f98-41d3-8dbf-1fbd683db9e3 status is ACTIVE at 1408477870.62
@nelsnelson
nelsnelson / hashcomp.py
Created April 25, 2014 18:45
Conditional function invocations versus hashed function invocations
#! /usr/bin/env python
import sys
quiet = False
def noop0():
if not quiet:
sys.stdout.write('0')
def noop1():
@nelsnelson
nelsnelson / blacklist
Last active August 29, 2015 14:00
Failure to start a container with 'lxc.seccomp' option set
2
blacklist
mknod errno 0