Skip to content

Instantly share code, notes, and snippets.

package main
import (
"fmt"
"os"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/pagination"
"github.com/rackspace/gophercloud/openstack"
"github.com/rackspace/gophercloud/rackspace"
"github.com/rackspace/gophercloud/openstack/compute/v2/servers"
jenkins@devstack-tempest-1414348822:~$ ./safe-devstack-vm-gate-wrap.sh
grep: /etc/ntp.conf: No such file or directory
ntp: unrecognized service
27 Oct 20:24:27 ntpdate[19160]: no servers can be used, exiting
ntp: unrecognized service
Triggered by: https://review.openstack.org/ patchset
Pipeline:
Available disk space on this host:
2014-10-29 12:19:59.834 | + git fetch /home/jenkins/workspace-cache/openstack-dev/devstack HEAD
2014-10-29 12:19:59.835 | fatal: '/home/jenkins/workspace-cache/openstack-dev/devstack' does not appear to be a git repository
2014-10-29 12:19:59.836 | fatal: Could not read from remote repository.
2014-10-29 12:19:59.838 |
2014-10-29 12:19:59.839 | Please make sure you have the correct access rights
2014-10-29 12:19:59.841 | and the repository exists.
2014-10-29 12:19:59.842 | + return 128
2014-10-29 12:19:59.845 | + git_fetch_at_ref openstack-dev/devstack
2014-10-29 12:19:59.847 | + local project=openstack-dev/devstack
2014-10-29 12:19:59.848 | + local ref=
nels.nelson@durga:~/src/go/src/github.com/docker$ DEBUG=true ./bundles/1.3.0-dev/binary/docker-1.3.0-dev hosts create --driver="rackspace" --rackspace-username="${RS_USERNAME}" --rackspace-api-key="${RS_APIKEY}" --rackspace-region="IAD" coreos
[2014-10-28T23:15:31.822242066-05:00] [info] Creating Rackspace server [docker-host-e55f95b3c535ef3918de7f61ab6b6f7e87b8996137cb21c04b4551590449e3ab]...
[2014-10-28T23:15:31.822390350-05:00] [debug] log.go:52 Authenticating with your Rackspace credentials.
[2014-10-28T23:15:34.045733968-05:00] [debug] log.go:52 Image 'CoreOS (Alpha)' with id=325a1c78-78e1-4367-be7a-1334b088018a chosen.
[2014-10-28T23:15:34.046205136-05:00] [debug] log.go:52
[2014-10-28T23:15:34.157850653-05:00] [debug] log.go:52 Flavor '1 GB Performance' with id=performance1-1 chosen.
[2014-10-28T23:15:34.158381953-05:00] [debug] log.go:52 Creating a new SSH key [docker-host-e55f95b3c535ef3918de7f61ab6b6f7e87b8996137cb21c04b4551590449e3ab-key].
[2014-10-28T23:15:34.159035146-05:00] [debug] log.go:52 ex
#! /usr/bin/env bash
export REPO_URL=https://review.openstack.org/p
export WORKSPACE=/home/jenkins/workspace/testing
export ZUUL_REF=HEAD
export ZUUL_PROJECT=openstack/nova
export ZUUL_BRANCH=master
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=1
nels.nelson@sol:~/src/devstack-gate[libvirt_type_support]$ git review -s
cc57c76 - Adding support for DEVSTACK_GATE_LIBVIRT_TYPE
be0846e - Merge "Set ZAQAR_BACKEND in localrc if present"
7eb88e1 - Merge "yum non interactive"
c9d69d8 - Set ZAQAR_BACKEND in localrc if present
3875417 - Merge "Rename config => system-config in devstack-gate"
5dca9af - yum non interactive
31ec62b - Improved error message for when branch not whitelisted in features yaml
f2749aa - Merge "Add kilo to features.yaml"
4f8668d - Merge "Havana branches are dead, remove havana from d-g"
$ tox -epy27 -- nova.tests.virt.libvirt.libvirt_driver
py27 develop-inst-nodeps: /home/nels.nelson/src/nova
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
WARNING:test command found but not installed in testenv
cmd: /usr/bin/find
env: /home/nels.nelson/src/nova/.tox/py27
Maybe forgot to specify a dependency?
py27 runtests: commands[1] | bash tools/pretty_tox.sh nova.tests.virt.libvirt.libvirt_driver
WARNING:test command found but not installed in testenv
cmd: /bin/bash
$ tox -epy27 -- test_connect_auth_cb_exception
py27 develop-inst-nodeps: /home/nels.nelson/src/nova
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
WARNING:test command found but not installed in testenv
cmd: /usr/bin/find
env: /home/nels.nelson/src/nova/.tox/py27
Maybe forgot to specify a dependency?
py27 runtests: commands[1] | bash tools/pretty_tox.sh test_connect_auth_cb_exception
WARNING:test command found but not installed in testenv
cmd: /bin/bash
@nelsnelson
nelsnelson / driver.py
Last active August 29, 2015 14:10
cached image meta data
def _get_cached_image_metadata(self, instance):
# Get the system metadata from the instance
system_meta = utils.instance_sys_meta(instance)
cached_image = utils.get_image_from_system_metadata(system_meta)
# The cached_image should at least contain the inheritable
# properties dictionary, so if there are more entries than
# only the properties entry, then such meta data is sufficient
Setting up puppet (3.7.3-1puppetlabs1) ...
* Starting puppet agent
puppet not configured to start, please edit /etc/default/puppet to enable
...done.
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for ureadahead (0.100.0-16) ...
/tmp/a/scripts/openstack-infra-install.sh: line 8: config/install_modules.sh: No such file or directory
cat: /root/.ssh/id_rsa.pub: No such file or directory
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations