<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/nova/tests/hyperv, branch shared-key-msg</title>
<subtitle>OpenStack's nova patches.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/'/>
<entry>
<title>hyperv: Move tests under nova/tests/virt/hyperv</title>
<updated>2013-05-23T17:15:41+00:00</updated>
<author>
<name>Rick Harris</name>
<email>rconradharris@gmail.com</email>
</author>
<published>2013-05-21T16:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=6a61e66320025460dbcba9b630b6477e352bf11c'/>
<id>6a61e66320025460dbcba9b630b6477e352bf11c</id>
<content type='text'>
Change-Id: Ia4ea16e5aa4a48e1f10a52394f7b59fdfdb68d54
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia4ea16e5aa4a48e1f10a52394f7b59fdfdb68d54
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes disk size issue during image boot on Hyper-V</title>
<updated>2013-03-04T11:17:49+00:00</updated>
<author>
<name>Alessandro Pilotti</name>
<email>ap@pilotti.it</email>
</author>
<published>2013-03-04T09:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=689e9e3e3d48928fe950b26745a7df6fee2f0718'/>
<id>689e9e3e3d48928fe950b26745a7df6fee2f0718</id>
<content type='text'>
Fixes bug: 1135155

The local root disk size provided in the instance flavor was not properly
taken into account in the Hyper-V driver, this patches provides a
fix for this feature.

In order to resize VHD images with differencing disks (CoW), the cached
base disk is copied to a new file, which is resized to the size
specified in the flavor and cached. This is necessary due to the fact that
differencing VHD disks cannot be resized.

The procedure described above is applied during image spawn, resize and
live migration as needed.

Trying to spawn an instance with a local root disk size smaller than the
image VHD max. internal size will result in an error.

Change-Id: I04f18f0e25c92ed1e1f9f6f18750329a3f9f1711
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug: 1135155

The local root disk size provided in the instance flavor was not properly
taken into account in the Hyper-V driver, this patches provides a
fix for this feature.

In order to resize VHD images with differencing disks (CoW), the cached
base disk is copied to a new file, which is resized to the size
specified in the flavor and cached. This is necessary due to the fact that
differencing VHD disks cannot be resized.

The procedure described above is applied during image spawn, resize and
live migration as needed.

Trying to spawn an instance with a local root disk size smaller than the
image VHD max. internal size will result in an error.

Change-Id: I04f18f0e25c92ed1e1f9f6f18750329a3f9f1711
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused nova.db.api:network_get_by_instance</title>
<updated>2013-02-19T00:19:52+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@cloudscaling.com</email>
</author>
<published>2013-02-19T00:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=a8dc27b54ee991f0370ba587918db2317618c6ec'/>
<id>a8dc27b54ee991f0370ba587918db2317618c6ec</id>
<content type='text'>
Change-Id: I908aaafa149c6548271fd9a3cc91225f2cbdb841
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I908aaafa149c6548271fd9a3cc91225f2cbdb841
</pre>
</div>
</content>
</entry>
<entry>
<title>Implements resize / cold migration on Hyper-V</title>
<updated>2013-02-11T23:43:08+00:00</updated>
<author>
<name>Alessandro Pilotti</name>
<email>ap@pilotti.it</email>
</author>
<published>2013-02-11T21:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=98838cc59cffca3df893084eb7da87f6ac51de2f'/>
<id>98838cc59cffca3df893084eb7da87f6ac51de2f</id>
<content type='text'>
Blueprint: hyper-v-compute-resize

Resize / cold migration is implemented by copying the local disks to a remote
SMB share, identified by the configuration option HYPERV.instances_path_share
or, if empty, by an administrative share with a remote path corresponding to
the configuration option instances_path.

The source instance directory is renamed by adding a suffix "_revert" and
preserved until the migration is confirmed or reverted. In the former case
the directory will be deleted and in the latter renamed to the original name.

The VM corresponding to the instance is deleted on the source host and
recreated on the target. Any mapped volume is disconnected on the source
and reattached to the new VM on the target host.

In case of resize operations, the local VHD file is resized according to
the new flavor limits. Due to VHD limitations, an attempt to resize a disk
to a smaller size will result in an exception.

In case of differencing disks (CoW), should the base disk be missing
in the target host's cache, it will be downloaded and reconnected to the
copied differencing disk.

Same host migrations are supported by using a temporary directory
with suffix "_tmp" during disk file copy.

Unit tests have been added for the new features accordingly.

Change-Id: Ieee2afff8061d2ab73a2252b7d2499178d0515fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blueprint: hyper-v-compute-resize

Resize / cold migration is implemented by copying the local disks to a remote
SMB share, identified by the configuration option HYPERV.instances_path_share
or, if empty, by an administrative share with a remote path corresponding to
the configuration option instances_path.

The source instance directory is renamed by adding a suffix "_revert" and
preserved until the migration is confirmed or reverted. In the former case
the directory will be deleted and in the latter renamed to the original name.

The VM corresponding to the instance is deleted on the source host and
recreated on the target. Any mapped volume is disconnected on the source
and reattached to the new VM on the target host.

In case of resize operations, the local VHD file is resized according to
the new flavor limits. Due to VHD limitations, an attempt to resize a disk
to a smaller size will result in an exception.

In case of differencing disks (CoW), should the base disk be missing
in the target host's cache, it will be downloaded and reconnected to the
copied differencing disk.

Same host migrations are supported by using a temporary directory
with suffix "_tmp" during disk file copy.

Unit tests have been added for the new features accordingly.

Change-Id: Ieee2afff8061d2ab73a2252b7d2499178d0515fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Nova Hyper-V driver refactoring</title>
<updated>2013-01-29T21:22:27+00:00</updated>
<author>
<name>Alessandro Pilotti</name>
<email>ap@pilotti.it</email>
</author>
<published>2013-01-28T22:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=cdfa0d0b3395ce3db6aab21a8f4d39059565e641'/>
<id>cdfa0d0b3395ce3db6aab21a8f4d39059565e641</id>
<content type='text'>
Blueprint: hyper-v-testing-serialization-improvements

This patchset contains a major refactoring of the Hyper-V driver.

The main reason for this refactoring is to provide proper component
abstraction and decoupling, thus replacing almost entirely the remaining
pre-Essex code previously available. This leads to a considerable
semplification of the testing framework, which is now entirely based on
stubs and mocks (mox), without any serialized stub / mock.

From an architectural perspective, the main driver class delegates
operations to "ops" classes (e.g. VMOps, VolumeOps, etc) which contain the
main logic and delegate OS specific actions to "utils" classes (e.g. VMUtils,
LiveMigrationUtils, etc) where the WMI and Win32 API OS specific code resides.

Additional attention has been put also into a better PEP8 code formatting,
including compliance with not mandatory checks like E121 through E128.

Change-Id: I900719c02b7c6b48d44ca68903813a1dcd023f9f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blueprint: hyper-v-testing-serialization-improvements

This patchset contains a major refactoring of the Hyper-V driver.

The main reason for this refactoring is to provide proper component
abstraction and decoupling, thus replacing almost entirely the remaining
pre-Essex code previously available. This leads to a considerable
semplification of the testing framework, which is now entirely based on
stubs and mocks (mox), without any serialized stub / mock.

From an architectural perspective, the main driver class delegates
operations to "ops" classes (e.g. VMOps, VolumeOps, etc) which contain the
main logic and delegate OS specific actions to "utils" classes (e.g. VMUtils,
LiveMigrationUtils, etc) where the WMI and Win32 API OS specific code resides.

Additional attention has been put also into a better PEP8 code formatting,
including compliance with not mandatory checks like E121 through E128.

Change-Id: I900719c02b7c6b48d44ca68903813a1dcd023f9f
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds support for Quantum networking in Hyper-V</title>
<updated>2013-01-14T20:47:14+00:00</updated>
<author>
<name>Alessandro Pilotti</name>
<email>ap@pilotti.it</email>
</author>
<published>2013-01-11T18:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=7a4bec5d996d52c1e22f83642ae4969af291b0ce'/>
<id>7a4bec5d996d52c1e22f83642ae4969af291b0ce</id>
<content type='text'>
Blueprint quantum-plugin-hyper-v

Adds a VIF plugin model to decouple the Nova Hyper-V compute driver
from the actual networking service in use.
Adds a VIF plugin for Quantum and a plugin for Nova networking.

The VIF driver is selected by mapping the value of the "network_api_class"
option to the corresponding VIF driver class name, avoiding this way an
otherwise redundant configuration option.

Change-Id: If35e814e3e5e181e79249c2f9ea86e878771e4c9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blueprint quantum-plugin-hyper-v

Adds a VIF plugin model to decouple the Nova Hyper-V compute driver
from the actual networking service in use.
Adds a VIF plugin for Quantum and a plugin for Nova networking.

The VIF driver is selected by mapping the value of the "network_api_class"
option to the corresponding VIF driver class name, avoiding this way an
otherwise redundant configuration option.

Change-Id: If35e814e3e5e181e79249c2f9ea86e878771e4c9
</pre>
</div>
</content>
</entry>
<entry>
<title>fix N402 for nova/tests</title>
<updated>2013-01-09T05:17:51+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sdague@linux.vnet.ibm.com</email>
</author>
<published>2013-01-09T05:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=22498d2ac061b911eea6fcccc1621840ad912e7b'/>
<id>22498d2ac061b911eea6fcccc1621840ad912e7b</id>
<content type='text'>
convert docstrings on test_ functions to comments to prevent the
function name from being masked by test infrastructure

convert the rest of the docstrings to end in punctuation as per N401

Change-Id: Ib400537c6f7feb30739207a627b5aac3a7eb165a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
convert docstrings on test_ functions to comments to prevent the
function name from being masked by test infrastructure

convert the rest of the docstrings to end in punctuation as per N401

Change-Id: Ib400537c6f7feb30739207a627b5aac3a7eb165a
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unused imports.</title>
<updated>2012-12-21T14:41:47+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2012-12-21T14:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=4acafc7ff3e1306f3400853ec79762f45ef0ae5c'/>
<id>4acafc7ff3e1306f3400853ec79762f45ef0ae5c</id>
<content type='text'>
Removed a bunch of unused imports based on pyflakes.

Change-Id: I00952371200cb4531ddf163447433da756582a21
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed a bunch of unused imports based on pyflakes.

Change-Id: I00952371200cb4531ddf163447433da756582a21
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use testr to run nova unittests.</title>
<updated>2012-12-14T22:22:20+00:00</updated>
<author>
<name>Clark Boylan</name>
<email>clark.boylan@gmail.com</email>
</author>
<published>2012-10-30T23:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4'/>
<id>4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4</id>
<content type='text'>
Convert nova from using nosetests to testr for its test runner. Some
tests had to be modified to get them to run properly under testr.

run_tests.sh has been updated to run testr instead of nosetests.

Coverage is collected by running subunit.run under coverage.py when the
coverage environment is selected.

Note that you will need to rebuild your virtualenvs as nose is being
removed from the dependency lists and is being replaced by testr. Tests
will run in different processes once this test is merged so you cannot
use test classes to pass information between tests. Each test should be
a proper independent unit. Additionally the -x and -d flags to
run_tests.sh have been removed as there are currently no decent
approximations for those functions.

Change-Id: I019ca098972ca749b195f59968cf21edd5ba9109
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert nova from using nosetests to testr for its test runner. Some
tests had to be modified to get them to run properly under testr.

run_tests.sh has been updated to run testr instead of nosetests.

Coverage is collected by running subunit.run under coverage.py when the
coverage environment is selected.

Note that you will need to rebuild your virtualenvs as nose is being
removed from the dependency lists and is being replaced by testr. Tests
will run in different processes once this test is merged so you cannot
use test classes to pass information between tests. Each test should be
a proper independent unit. Additionally the -x and -d flags to
run_tests.sh have been removed as there are currently no decent
approximations for those functions.

Change-Id: I019ca098972ca749b195f59968cf21edd5ba9109
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for new WMI iSCSI initiator API</title>
<updated>2012-12-01T21:14:08+00:00</updated>
<author>
<name>Pedro Navarro Perez</name>
<email>pednape@gmail.com</email>
</author>
<published>2012-12-01T20:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=92792423bf5a62397d961e2cc8bc09e5b6710188'/>
<id>92792423bf5a62397d961e2cc8bc09e5b6710188</id>
<content type='text'>
blueprint hyper-v-volume-w2012

Change-Id: Iba432176c822c45820e2b46e1d28bfa941c8ddab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
blueprint hyper-v-volume-w2012

Change-Id: Iba432176c822c45820e2b46e1d28bfa941c8ddab
</pre>
</div>
</content>
</entry>
</feed>
