Skip to content

Instantly share code, notes, and snippets.

# 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.
# 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 list-tests tempest.api.compute.servers.test_servers
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
tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_server_with_admin_password[gate]
tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_server_with_ipv6_addr_only[gate]
tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_server_x[gate]
tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_specify_keypair[gate]
2014-09-17 18:39:16.707 DEBUG nova.virt.disk.api [req-3aa6f048-2f74-4df7-b7e3-8da801153fa8 demo demo] Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd15 /opt/stack/data/nova/instances/8c74e2e7-4efe-41a5-8bee-a3c0c75b9103/rootfs
Exit code: 32
Stdout: u''
Stderr: u'mount: /dev/nbd15 already mounted or /opt/stack/data/nova/instances/8c74e2e7-4efe-41a5-8bee-a3c0c75b9103/rootfs busy\n' from (pid=11642) mount /opt/stack/nova/nova/virt/disk/api.py:310
2014-09-17 18:39:16.708 ERROR nova.virt.disk.api [req-3aa6f048-2f74-4df7-b7e3-8da801153fa8 demo demo] Failed to mount container filesystem '<nova.virt.disk.api._DiskImage object at 0x7f133c7a0a90>' on '/opt/stack/data/nova/instances/8c74e2e7-4efe-41a5-8bee-a3c0c75b9103/rootfs':
--
Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd15 /opt/stack/data/nova/instances/8c74e2e7-4efe-41a5-8bee-a3c0c75b9103/r
pushd /opt/stack/tempest
[[ -d .testrepository ]] || { echo "Initializing tempest workspace"; testr init; }
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/\#resize\=false/#resize=false\nresize=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
sed -i 's/allow_tenant_isolation = True/allow_tenant_isolation = False/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/ force_tenant_isolation = True/# force_tenant_isolation = True/' /opt/stack/tempest/tempest/api/compute/servers/test_list_servers_negative.py
tempest.api.compute.admin.test_servers.ServersAdminTestJSON.test_create_server_with_scheduling_hint[gate]
tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_create_list_show_delete_interfaces[gate,network,smoke]
tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume[gate]
setUpClass (tempest.api.compute.servers.test_server_metadata_negative.ServerMetadataNegativeTestJSON)
tempest.api.compute.test_extensions.ExtensionsTestJSON.test_list_extensions[gate]
setUpClass (tempest.api.network.test_metering_extensions.MeteringJSON)
setUpClass (tempest.api.network.test_metering_extensions.MeteringXML)
tempest.api.network.test_service_type_management.ServiceTypeManagementTestJSON.test_service_provider_list[gate,smoke]
tempest.api.network.test_service_type_management.ServiceTypeManagementTestXML.test_service_provider_list[gate,smoke]
setUpClass (tempest.api.network.test_vpnaas_extensions.VPNaaSTestJSON)
tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_create_list_show_delete_interfaces[gate,network,smoke]
tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume[gate]
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_pause_unpause[compute,network]
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_reboot[compute,network]
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_rebuild[compute,network]
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_stop_start[compute,network]
tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_cross_tenant_traffic[compute,gate,network,smoke]
tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_in_tenant_traffic[compute,gate,netwo
$ testr run tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_rebuild
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'}} \
$ ssh -vv -p29418 [email protected]
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/nels.nelson/.ssh/config
debug1: /home/nels.nelson/.ssh/config line 56: Applying options for review.openstack.org
debug1: /home/nels.nelson/.ssh/config line 85: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to review.openstack.org [23.253.232.87] port 29418.
debug1: Connection established.
$ cat /etc/ssh/ssh_config
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file