Skip to content

Instantly share code, notes, and snippets.

View hub-cap's full-sized avatar

Michael Basnight hub-cap

View GitHub Profile
+ /home/baz/devstack/tools/create_userrc.sh -PA --target-dir /home/baz/devstack/accrc
ERROR: Unauthorized (HTTP 401)
Failed to update the root certificate: /home/baz/devstack/accrc/cacert.pem
Traceback (most recent call last):
File "/usr/local/bin/tox", line 8, in <module>
load_entry_point('tox==1.3', 'console_scripts', 'tox')()
File "/Library/Python/2.7/site-packages/tox/_cmdline.py", line 18, in main
config = parseconfig(args, 'tox')
File "/Library/Python/2.7/site-packages/tox/_config.py", line 23, in parseconfig
parseini(config)
File "/Library/Python/2.7/site-packages/tox/_config.py", line 180, in __init__
self._makeenvconfig(name, "_xz_9", reader._subs, config)
File "/Library/Python/2.7/site-packages/tox/_config.py", line 221, in _makeenvconfig
NOT
Add unit tests for guestagent.volume.py
- more clean up on test_manager.py
- Migrate guestagent tests to unittest folder
- modify guestagent.manager.py so it recognize '_'
But
Add unit tests for guestagent.volume.py
======================================================================
ERROR: proboscis.case.MethodTest (queue_is_deleted)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
vmware
default via 192.168.88.2 dev br100 metric 100
10.0.0.0/24 dev br100 proto kernel scope link src 10.0.0.1
192.168.88.0/24 dev br100 proto kernel scope link src 192.168.88.248
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
baz@ubuntu:/mnt/hgfs/db/reddwarf-integration/scripts$
cloud server
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 169.254.169.254/32 scope link lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br100 state UP qlen 1000
link/ether 00:0c:29:ef:5d:7c brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:feef:5d7c/64 scope link
valid_lft forever preferred_lft forever
32: 69.20.3.135: new handler Process
32: 69.20.3.135: Plain non-SSL (ws://) WebSocket connection
32: 69.20.3.135: Version hybi-13, base64: 'False'
32: 69.20.3.135: Path: '/websockify'
32: handler exception: 'NoneType' object has no attribute 'items'
32: Traceback (most recent call last):
File "/opt/stack/noVNC/utils/websocket.py", line 797, in top_new_client
self.new_client()
File "./utils/nova-novncproxy", line 85, in new_client
cookie.load(self.headers.getheader('cookie'))
if __name__ == '__main__':
flags.parse_args(sys.argv)
logging.setup("cinder")
utils.monkey_patch()
launcher = service.ProcessLauncher()
for backend in FLAGS.enabled_backends:
server = service.Service.create(binary='cinder-volume',
# service.Service tries to use topic name for the manager if its not sent down
manager=FLAGS.volume_manager,
topic='cinder-volume-%s' % backend)
def create_volume(self, context, volume_id, snapshot_id=None,
image_id=None, source_volid=None):
becomes
def create_volume(self, context, volume_id, snapshot_id=None,
image_id=None, source_volid=None, backend=None):
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (c) 2012 Rackspace Hosting
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#