This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git log -n 5 | |
commit 66a10b49b93d87aad1ece68318b3a99027d03459 | |
Author: Andrew Melton <[email protected]> | |
Date: Tue Sep 23 12:13:34 2014 -0700 | |
Libvirt: fix domain creation for lxc | |
A condition was introduced during domain creation that needs | |
disk_info to determine whether or not an instance was booted from | |
volume. Many calls to _create_domain_and_network were not providing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7811 def test_resume(self, mock_get_existing_domain_xml, | |
7812 mock_create_domain_and_network, mock_attach_pci_devices, | |
7813 mock_get_instance_pci_devs): | |
7814 dummyxml = ("<domain type='kvm'><name>instance-0000000a</name>" | |
7815 "<devices>" | |
7816 "<disk type='file'><driver name='qemu' type='raw'/>" | |
7817 "<source file='/test/disk'/>" | |
7818 "<target dev='vda' bus='virtio'/></disk>" | |
7819 "<disk type='file'><driver name='qemu' type='qcow2'/>" | |
7820 "<source file='/test/disk.local'/>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git log -n 6 | |
commit 66a10b49b93d87aad1ece68318b3a99027d03459 | |
Author: Andrew Melton <[email protected]> | |
Date: Tue Sep 23 12:13:34 2014 -0700 | |
Libvirt: fix domain creation for lxc | |
A condition was introduced during domain creation that needs | |
disk_info to determine whether or not an instance was booted from | |
volume. Many calls to _create_domain_and_network were not providing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git log -n 4 | |
commit aa762d834787575ec6a08d915e465c4947dc6d05 | |
Author: Andrew Melton <[email protected]> | |
Date: Tue Sep 23 12:13:34 2014 -0700 | |
Libvirt: fix domain creation for lxc | |
A condition was introduced during domain creation that needs | |
disk_info to determine whether or not an instance was booted from | |
volume. Many calls to _create_domain_and_network were not providing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
198 def get_image_metadata(context, image_api, image_id_or_uri, instance): | |
199 image_system_meta = {} | |
200 | |
201 # Get the system metadata from the instance | |
202 system_meta = utils.instance_sys_meta(instance) | |
203 | |
204 # In case of boot from volume, image_id_or_uri may be None | |
205 if image_id_or_uri is not None: | |
206 # It is only safe to use cached image metadata when the requested image | |
207 # is the same as the instance's image. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tox -epy27 | |
py27 create: /home/nels.nelson/src/nova/.tox/py27 | |
py27 installdeps: -r/home/nels.nelson/src/nova/requirements.txt, -r/home/nels.nelson/src/nova/test-requirements.txt | |
py27 develop-inst: /home/nels.nelson/src/nova | |
py27 runtests: commands[0] | find . -type f -name *.pyc -delete | |
py27 runtests: commands[1] | bash tools/pretty_tox.sh | |
running testr | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================== | |
Failed 3 tests - output below: | |
============================== | |
nova.tests.virt.libvirt.test_driver.LibvirtDriverTestCase.test_finish_migration_power_off | |
----------------------------------------------------------------------------------------- | |
Captured traceback: | |
~~~~~~~~~~~~~~~~~~~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go build client.go | |
# github.com/rackspace/gophercloud/openstack/utils | |
../../../../../src/test-gophercloud/rax/client/src/github.com/rackspace/gophercloud/openstack/utils/utils.go:48: unknown gophercloud.AuthOptions field 'IdentityEndpoint' in struct literal | |
../../../../../src/test-gophercloud/rax/client/src/github.com/rackspace/gophercloud/openstack/utils/utils.go:49: unknown gophercloud.AuthOptions field 'UserID' in struct literal | |
../../../../../src/test-gophercloud/rax/client/src/github.com/rackspace/gophercloud/openstack/utils/utils.go:52: unknown gophercloud.AuthOptions field 'TenantID' in struct literal | |
../../../../../src/test-gophercloud/rax/client/src/github.com/rackspace/gophercloud/openstack/utils/utils.go:54: unknown gophercloud.AuthOptions field 'DomainID' in struct literal | |
../../../../../src/test-gophercloud/rax/client/src/github.com/rackspace/gophercloud/openstack/utils/utils.go:55: unknown gophercloud.AuthOptions field 'DomainName' in struct literal | |
# github.com/rackspace/gophercloud/openstack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"fmt" | |
"os" | |
"github.com/rackspace/gophercloud" | |
"github.com/rackspace/gophercloud/openstack" | |
"github.com/rackspace/gophercloud/openstack/utils" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/nels.nelson/src/test-gophercloud/rax/client$ echo $GOPATH | |
/Users/nels.nelson/src/test-gophercloud/rax/client | |
/Users/nels.nelson/src/test-gophercloud/rax/client$ cat client.go | |
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/rackspace/gophercloud" | |
"github.com/rackspace/gophercloud/openstack" |