Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created October 7, 2014 14:43
Show Gist options
  • Save nelsnelson/d75ff16cf6e4d09f6e7f to your computer and use it in GitHub Desktop.
Save nelsnelson/d75ff16cf6e4d09f6e7f to your computer and use it in GitHub Desktop.
$ 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
disk_info and thus the condition was always eventualing to True.
This change adds disk_info to each call that was missing it.
Closes-bug: #1370590
Change-Id: I391de9b8a819c54337b657071451c608fdfef4d6
commit e1d1ba3f2a3b3fe9d63ffde1e812f3fb663fcee6
Merge: 07da35a 93cce2b
Author: Nels Nelson <[email protected]>
Date: Tue Sep 30 00:14:56 2014 -0500
Merge branch 'get-cached-image-meta-data' of https://github.com/nelsnelson/nova into get-cached-image-meta-data
Conflicts:
nova/compute/utils.py
Change-Id: Iee172139dcf18032a2f6e640a290e610638ebb4b
commit 07da35ac440b8b888ebbd6d5b6de2b656f062097
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
disk_info and thus the condition was always eventualing to True.
This change adds disk_info to each call that was missing it.
Closes-bug: #1370590
Change-Id: I391de9b8a819c54337b657071451c608fdfef4d6
commit 924bc3af9039f4e9a6b5cf1b5e2392df37f77073
Author: Andrew Melton <[email protected]>
Date: Tue Sep 23 10:56:14 2014 -0700
Refactoring some libvirt tests to use mock
Test Case: nova.tests.virt.libvirt.test_driver.LibvirtConnTestCase
Tests:
test_hard_reboot
test_resume
test_finish_migration_power_on
test_finish_migration_power_off
test_finish_revert_migration_after_crash
test_finish_revert_migration_after_crash_before_backup
test_finish_revert_migration_after_crash_delete_failed
Partial-Bug: #1370590
Change-Id: I4072295497627549e3e78a03a420d47b18156d6c
commit be22bd0e2812b63728a6b4550ac9091021f41459
Author: Nels Nelson <[email protected]>
Date: Tue Sep 30 15:51:03 2014 -0500
Get image metadata from system metadata cache
Try to get cached image from the instance system metadata.
If it is uncached, or only contains inheritable properties,
then fetch the image from glance.
blueprint image-meta-try-system-meta-before-glance
Change-Id: I107806206d5c0efc49f7254d0048e7655f6ed418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment