bbeb53771264dc95e57f96a6fe2a747d5a550b6c
Commit Graph

23315 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
28eca5936f Merge "update neutronclient to 2.3.0 minimum" 2013年09月05日 01:45:24 +00:00
Jenkins
57ccf107aa Merge "vm_state and task_state not updated during instance delete" 2013年09月05日 01:12:50 +00:00
Jenkins
6a638e99ad Merge "Adds ephemeral storage support for Hyper-V" 2013年09月05日 01:11:32 +00:00
Jenkins
ed438b2610 Merge "Adds Hyper-V VHDX support" 2013年09月05日 01:10:59 +00:00
Jenkins
df4939e28b Merge "Adds Hyper-V dynamic memory support" 2013年09月05日 01:09:56 +00:00
Vishvananda Ishaya
8679b2c8e7 Refresh network info cache for secgroups
Before updating security group rules, we need to make sure that
the info cache is up-to-date. Without this source groups are not
updated properly. This was a regression introduced in commit
85aac04704 which fixed a potential
DOS using source groups.
Fixes bug 1216720
Change-Id: I6b5115df53f2e159ea506ef966cd49cedd35f83d
2013年09月04日 17:58:30 -07:00
Jenkins
833e109cc2 Merge "Fix AggregateDBApiTestCase on PostreSQL and MySQL" 2013年09月05日 00:09:26 +00:00
Jenkins
17933ceaf3 Merge "Change resize_instance paths to use objects" 2013年09月04日 23:39:26 +00:00
Ken'ichi Ohmichi
e220baf1b1 Port "Make flavors is_public option .." to v3 tree
The following commit(I5b37fa0bb19683fe1642fd81222547d4a317054e) have
not been merged to v3 tree now, because the commit was merged to the
existing api after porting flavors.py to v3 tree.
 commit b65d506a5f
 Author: Russell Bryant <rbryant@redhat.com>
 Date: Thu Jun 27 21:00:05 2013 +0000
 Make flavors is_public option actually work
This patch ports the commit to v3 tree.
Partially implements blueprint nova-v3-api
Change-Id: I3c7f11c53594118456d0cd62eb1ddf74634b77c3
2013年09月05日 08:35:50 +09:00
Jenkins
1889c62aea Merge "Port Cheetah templates to Jinja2" 2013年09月04日 22:57:09 +00:00
Jenkins
6d4126416e Merge "Remove versioning from IOVisor APIs PATH" 2013年09月04日 22:56:37 +00:00
Dan Smith
d201d9ed66 Add missing Aggregate object tests
This file was not properly git-add'd to commit:
 f2252de974
Related to blueprint compute-api-objects
Change-Id: Ibd25f4479d49f456bcb49e3eb003edf3d4b2b334
2013年09月04日 14:27:11 -07:00
Dan Smith
ee600da2b6 Generalize the _make_list() function for objects
Each object with a list duplicated the _make_list() method in its
own module. This removes that duplication and adds a generalized
helper in objects/base.py. The instance object still uses its own
because it has to do a bunch of other stuff in the loop for
efficiency.
Change-Id: Ic910f39087ebc167b2b930979f7951116caf8598
2013年09月04日 14:27:11 -07:00
Jenkins
ff80ac8d03 Merge "Nova support for vmware cinder driver" 2013年09月04日 21:12:49 +00:00
Shuangtai Tian
fe760bc327 PCI passthrough Libvirt vm config
PCI passthrough device's xml config formatter. adding pci
passthrough device to VM, and detach it from a VM. adapter the
hypervisor PCI passthrough devices management interface given a
unify interface to other PCI passthrough components.
bp:pci-passthrough-libvirt
Co-authored-by: Boris Pavlovic <boris@pavlovic.me>
Change-Id: If55648e5cc2ed5b7ea44aad08205689d99338856
Signed-off-by: Yongli He <yongli.he@intel.com>
2013年09月04日 12:13:03 -07:00
He Yongli
b058b00c5f Add columns_to_join to instance_update_and_get_original
Add a parameter to instance_update_and_get_original() to specify the
expecected columns to be returned.
Change-Id: Ib324fdf02f3d462970cdf7c7065ddc3d87f72fba
Signed-off-by: Yongli He
2013年09月04日 12:13:03 -07:00
Jenkins
28a2250162 Merge "Fix a gross duplication of context code in objects tests" 2013年09月04日 18:45:40 +00:00
Jenkins
96b78e667e Merge "Make compute_api use Aggregate objects" 2013年09月04日 18:45:00 +00:00
Teran McKinney
9dc6784340 XenAPI: Allow 10GB overhead on VHD file check size
_check_vdi_size in vm_utils.py does not account for VHD overhead. Builds
will fail if on disk VHD file usage is even slightly greater than the
root_gb partition allocation size to the VM.
With VHDs, VM root disks usually come from two-file chains (one, if a
snapshot has never been taken or it was not a fast copy build). There is
a mild file format overhead involved and additionally, once a block has
been written to, the space is never freed or compressed from the VHD
file. The two VHD files in the chain may have overlapping blocks adding
to the total amount of overhead over the actual utilization. This can
result in a VM's partition internally not even being full, with the
external VHD File chain being even just a few MB larger than the allowed
size. Building from an image of such a VM will fail due to this check
expecting external/on-disk usage to never be greater than the internal
partion size granted.
This patch adds a 10GB tolerance which should fix almost all cases of
build failures due to this bug.
Fixes: bug #1216042
Change-Id: I69f47351fe83e54775e0147a27450c21196f9bfd
2013年09月04日 18:43:39 +00:00
Alessandro Pilotti
ca821483af Adds ephemeral storage support for Hyper-V
Blueprint: hyper-v-ephemeral-storage
This patchset adds support for creating an ephemeral storage dynamic
VHD or VHDX (based on the versions of vhdutils used) when an instance is
spawned.
The ephemeral disk is correctly migrated during migration/resize and
live migration.
The ephemeral virtual disk is not partitioned or formatted, leaving the
task to guest side tools (e.g.: cloud-init or cloudbase-init).
Change-Id: I0b5d6b55ccdc981efcd507c45184fb2d528bf9c1
2013年09月04日 21:13:29 +03:00
Jenkins
6108a7abb6 Merge "Add support for API message localization" 2013年09月04日 18:05:11 +00:00
Jenkins
82e77933bb Merge "Libvirt: call capabilites before getVersion()" 2013年09月04日 18:02:03 +00:00
Alessandro Pilotti
8f28ddd13a Adds Hyper-V VHDX support
Blueprint: hyper-v-vhdx
The VHDX virtual disk format has been introduced with Hyper-V Server 2012
providing performance and management improvements.
Unlike the VHD format, VHDX allows to resize differencing disks. This
reduces the requirements for local disk space in case of CoW images and
improves the performance of the first spawn operation for any given image
and flavor combination.
Supporting the VHDX format in Hyper-V requires the WMI V2 namespace.
Unit tests have been added accordingly.
Change-Id: Idddec06b9639e22d69426562d1b5a0cbf2890ccf
2013年09月04日 21:00:43 +03:00
Chris Behrens
71eb06f674 Create mixin class for common DB fields
Creates a new DBObjectMixin class for DB-backed objects to use. This
allows us to create non-DB-backed objects without having the common DB
fields automagically added to them.
Related to blueprint unified-object-model
Change-Id: Iaf2d8500505e9acdbffffb1d4bd3db0870ae82a3
2013年09月04日 17:37:48 +00:00
Jenkins
e75ac14c6b Merge "Fix virtual power driver fails silently" 2013年09月04日 17:34:22 +00:00
Chris Behrens
94a860a10e Deprecate conductor migration_get()
It's no longer used. Deprecate it.
Related to blueprint unified-object-model
Change-Id: Ib7be13c53231220eec232442cb1836626b4b580f
2013年09月04日 17:16:47 +00:00
Chris Behrens
ca4a048ca1 Change finish_revert_resize paths to use objects
Converts calls to compute's finish_revert_resize to pass new-world instance
and migration objects.
Related to blueprint unified-object-model
Change-Id: Iee4a47b3dbe96f66c061b51ae9512dad9b86a870
2013年09月04日 17:16:43 +00:00
Chris Behrens
608c67439c Change finish_resize paths to use objects
Converts calls to compute's finish_resize to pass new-world instance
and migration objects.
Related to blueprint unified-object-model
Change-Id: Ic513b826087ced39c8aa939e93fe6c0d250dc1a5
2013年09月04日 17:16:11 +00:00
Chris Behrens
4790e19853 Change resize_instance paths to use objects
Converts calls to compute's resize_instance to pass new-world instance
and migration objects.
Related to blueprint unified-object-model
Change-Id: Idad237ca76b4a28dc80792ad195b95db224161ae
2013年09月04日 17:15:54 +00:00
Jenkins
8d900dacc6 Merge "Port flavormanage extension to v3 API Part 2" 2013年09月04日 16:51:07 +00:00
Jenkins
4ff98af610 Merge "Inherit base image properties on instance creation" 2013年09月04日 16:49:52 +00:00
Gary Kotton
b97072ab9b VMware: Nova boot from cinder volume
Part of blueprint vmware-nova-cinder-support
This patch adds support for booting from a cinder volume.
Change-Id: Ic2104ddda759dbfb3f352b547b417c910d75d9db
2013年09月04日 16:25:25 +00:00
kirankv
9408d79e74 VMware: Multiple cluster support using single compute service
To allow a single VC driver to model multiple clusters in vCenter
as multiple nova-compute nodes. The VC driver will be configured
to represent a set of clusters as compute nodes.
For example to specify two clusters named cluster-A and cluster-B,
the nova.conf should have:
 cluster_name = cluster-A
 cluster_name = cluster-B
DocImpact
Change-Id: Ia5464948cc30b9b744450f9c301c4f3afaff717b
Blueprint: multiple-clusters-managed-by-one-service
2013年09月04日 09:19:12 -07:00
Jenkins
d6818fb08e Merge "Adds metrics collection support in Hyper-V" 2013年09月04日 16:13:53 +00:00
Gary Kotton
2c7a994ab3 Nova support for vmware cinder driver
Part of blueprint vmware-nova-cinder-support
This is the first part of the blueprint that deals with attachment
and detachment of volumes.
Change-Id: I3ad8ae127eef7bfe600be91629c9352a7a5fa4b4
2013年09月04日 09:05:22 -07:00
Jenkins
1040564c19 Merge "Port all rpcapi modules to oslo.messaging interface" 2013年09月04日 15:29:33 +00:00
Jenkins
77a0962bda Merge "VMware: clean up get_network_with_the_name" 2013年09月04日 15:26:44 +00:00
Robert Tingirica
a1b6ea5d03 Adds Hyper-V dynamic memory support
Blueprint: hyper-v-dynamic-memory
Memory overcommit in Hyper-V is handled with a feature called dynamic
memory (memory ballooning). This change adds a configuration option to
enable it.
The value of dynamic_memory_ratio expresses the ratio between the total
RAM assigned to an instance and its startup RAM amount. For example a
ratio of 2.0 for an instance with 1024MB of RAM implies 512MB of RAM
allocated at startup.
Unit tests have been added for this feature as well.
DocImpact
Change-Id: I036eaa3e739d995c6a5bcfb022bf2ed0a999085e
2013年09月04日 18:24:43 +03:00
Jenkins
b2833437b0 Merge "Powervm driver now logs ssh stderr to warning" 2013年09月04日 15:24:41 +00:00
Stanisław Pitucha
dc1108ecd7 Ensure old style images can be resized
In case an image without, or with an old cloud-init is booted, decide
if it's the file, or the nbd device that needs to be resized. Qcow2
files have to be mounted as nbd before attempting a resize.
Fixes bug 1212734
Change-Id: I29cbd4b334c39936342fa429bcc0b95378cade36
2013年09月04日 15:11:23 +00:00
Russell Bryant
38ecf82efb Add nova.utils.get_root_helper()
The pattern for the 'sudo nova-rootwrap' command was duplicated
throughout the code. Put it in one place in nova.utils.
Change-Id: I0d4edfa5a53c3b9a9fa43864f5daaa17a0d024a1
2013年09月04日 11:10:02 -04:00
Xavier Queralt
e34cac4be6 Inherit base image properties on instance creation
When creating an instance, a few properties from the image will be saved
in the instance's system_metadata under the prefix 'image_' for latter
usage.
The keys that the instance will inherit from the image are: 'min_ram',
'min_disk', 'disk_format' and 'container_format' together with the
inheritable image properties.
Related to bug #1039662
Change-Id: I358fb6d8dcafd67c289fe5083bb82140f3759fee
2013年09月04日 11:20:25 +02:00
Joshua Hesketh
4c2f36bfe0 Use utils.execute instead of subprocess
Removes rogue subprocess.Popen calls to make better use of
nova.utils.execute where appropriate to benefit from the
patches pushed into oslo.
Fixes bug 1053382
Change-Id: Iaee5379edd51f215a51d55263196dd6c0d2de0c3
2013年09月04日 16:20:09 +10:00
Jenkins
c314cbca28 Merge "Have tox install via setup.py develop" 2013年09月04日 04:46:27 +00:00
Jenkins
435c624347 Merge "Improve EC2 API error responses" 2013年09月04日 04:01:05 +00:00
Jenkins
f98d2d7755 Merge "Remove a couple of unused stubs" 2013年09月04日 02:12:53 +00:00
Jenkins
983ff7bfe3 Merge "Guest-assisted-snaps libvirt implementation" 2013年09月04日 01:42:22 +00:00
Jenkins
43278552e4 Merge "Add os-assisted-volume-snapshots extension" 2013年09月04日 00:35:21 +00:00
Edgar Magana
8fbd10ff36 Remove versioning from IOVisor APIs PATH
Fix bug #1220454
In the first version of the IOVisor driver, versioning was included in the
the PATH of the native IOVisor commands which was /opt/pg/bin/0/
In the current version, versioning has been deleted from the PATH and
now it should only include /opt/pg/bin/
Change-Id: I2b88eb28593043843a9ac0afd5bff7c268db0f60
2013年09月03日 17:06:39 -07:00
Jenkins
79ef562c3b Merge "VMware: remove conditional suds validation" 2013年09月03日 23:18:29 +00:00