<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/nova/tests/xenapi, 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>xenapi: Moving tests under tests/virt/xenapi/</title>
<updated>2013-05-22T17:19:53+00:00</updated>
<author>
<name>Rick Harris</name>
<email>rconradharris@gmail.com</email>
</author>
<published>2013-05-21T00:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=942169b3b21439c83822d25d213e515c97c85135'/>
<id>942169b3b21439c83822d25d213e515c97c85135</id>
<content type='text'>
We have both a tests/xenapi/ and a tests/virt/xenapi/ directory which
is confusing. This patch standardizes on tests/virt/xenapi/ which
matches the nova/ directory layout.

Change-Id: I324a4730e2477aa1863b17c7ea404ce2932a681c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have both a tests/xenapi/ and a tests/virt/xenapi/ directory which
is confusing. This patch standardizes on tests/virt/xenapi/ which
matches the nova/ directory layout.

Change-Id: I324a4730e2477aa1863b17c7ea404ce2932a681c
</pre>
</div>
</content>
</entry>
<entry>
<title>xenapi: Always set other_config for VDIs</title>
<updated>2013-05-02T15:38:44+00:00</updated>
<author>
<name>Rick Harris</name>
<email>rconradharris@gmail.com</email>
</author>
<published>2013-04-02T17:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=f3843dec216f400417637b145aa2982898f6c0c0'/>
<id>f3843dec216f400417637b145aa2982898f6c0c0</id>
<content type='text'>
The existing code only set `other_config` on a VDI when it was created using
`create_vdi`. This patch updates the code so that `other_config` is also set
when a VDI is created from a dom0 plugin or during a migration.

Also included is a one-time script to set the other_config for existing
VDIs that were affected by this bug.

Fixes bug 1162029

Change-Id: I4fa856754487f77ce9c8e39d45eee7ea5187123e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing code only set `other_config` on a VDI when it was created using
`create_vdi`. This patch updates the code so that `other_config` is also set
when a VDI is created from a dom0 plugin or during a migration.

Also included is a one-time script to set the other_config for existing
VDIs that were affected by this bug.

Fixes bug 1162029

Change-Id: I4fa856754487f77ce9c8e39d45eee7ea5187123e
</pre>
</div>
</content>
</entry>
<entry>
<title>xenapi: fix support for iso boot</title>
<updated>2013-03-28T14:31:02+00:00</updated>
<author>
<name>John Garbutt</name>
<email>john@johngarbutt.com</email>
</author>
<published>2013-03-20T11:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=b1445e7e84b720ac232541ef866fbe7a59faeaf8'/>
<id>b1445e7e84b720ac232541ef866fbe7a59faeaf8</id>
<content type='text'>
Fixes bug 1154731 that stated the iso support was broken.

There were several issues around a vdis list without a 'root' disk.

Because the ISO boot was HVM, only 0-3 devices will work, so, the
devices used have been re-ordered to ensure ISOs can be read
by a HVM guest without PV tools. Once PV tools are present, a
HVM guest will be able to access an ephemeral or swap disk.

Change-Id: I4b57f70301a4256fa975323d7964fde19e8d4508
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug 1154731 that stated the iso support was broken.

There were several issues around a vdis list without a 'root' disk.

Because the ISO boot was HVM, only 0-3 devices will work, so, the
devices used have been re-ordered to ensure ISOs can be read
by a HVM guest without PV tools. Once PV tools are present, a
HVM guest will be able to access an ephemeral or swap disk.

Change-Id: I4b57f70301a4256fa975323d7964fde19e8d4508
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix rebuild with volumes attached</title>
<updated>2013-01-30T18:13:26+00:00</updated>
<author>
<name>Rick Harris</name>
<email>rconradharris@gmail.com</email>
</author>
<published>2013-01-29T07:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=8705f49a4ad9c6f3a93f33e333475285a8f70a30'/>
<id>8705f49a4ad9c6f3a93f33e333475285a8f70a30</id>
<content type='text'>
This patch assumes that the correct behavior for instance rebuild is to
maintain attached volumes across a rebuild operation.

Two important changes are:

1) Detaching all volumes during a rebuild so that they won't be 'in-use'
   when prep_block_devices is called to reattach them.

2) xenapi: Allowing additional volumes, not just root volumes, to be
   attached before boot. To handle this, we cycle through all
   block-device-mappings, not just the root-device, create the VDI, and
   later, create the VBD.

Small changes include:

* Using `connection_data` instead of `dev_params` (to match other parts of
  the code base)

* Renaming `get_vdis_for_boot_from_vol` to `get_vdi_uuid_for_volume` to
  reflect its more general and simpler semantics.

Fixes bug 1071547

Change-Id: Ie54a16be4bae2a718ed7d506f32777d0847b9089
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch assumes that the correct behavior for instance rebuild is to
maintain attached volumes across a rebuild operation.

Two important changes are:

1) Detaching all volumes during a rebuild so that they won't be 'in-use'
   when prep_block_devices is called to reattach them.

2) xenapi: Allowing additional volumes, not just root volumes, to be
   attached before boot. To handle this, we cycle through all
   block-device-mappings, not just the root-device, create the VDI, and
   later, create the VBD.

Small changes include:

* Using `connection_data` instead of `dev_params` (to match other parts of
  the code base)

* Renaming `get_vdis_for_boot_from_vol` to `get_vdi_uuid_for_volume` to
  reflect its more general and simpler semantics.

Fixes bug 1071547

Change-Id: Ie54a16be4bae2a718ed7d506f32777d0847b9089
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce number of iptable-save restore loops</title>
<updated>2013-01-15T19:24:04+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@cloudscaling.com</email>
</author>
<published>2013-01-15T01:30:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=f0539d49271df76222740f76d1b51188ee51a1c3'/>
<id>f0539d49271df76222740f76d1b51188ee51a1c3</id>
<content type='text'>
Instead of running iptables-save and iptables-restore per table,
run iptables save and restore on all tables at once.

Change-Id: If610d07c22ddaeb03ab37ee64d3d3a55d5e5b34f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of running iptables-save and iptables-restore per table,
run iptables save and restore on all tables at once.

Change-Id: If610d07c22ddaeb03ab37ee64d3d3a55d5e5b34f
</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>fix N401 errors, stop ignoring all N4* errors</title>
<updated>2013-01-08T02:39:58+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sdague@linux.vnet.ibm.com</email>
</author>
<published>2013-01-04T20:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=37bfdd3b38b2d2c2f088f67e7bcc2f26c6e01c1c'/>
<id>37bfdd3b38b2d2c2f088f67e7bcc2f26c6e01c1c</id>
<content type='text'>
We had previously been ignoring all our custom N4xx hacking.py
errors. This fixes all the N401 errors "doc strings
should not start with a space" and reduces the ignore set down
to N402 only "single line docstrings should end with period".

It also fixes the N401 parser to catch only docstrings, and
not tripple quoted string blocks used later on in a function.

Clean up a few of the more crazy uses of """ in our code

Clean up additional funky comments to make indents a bit more
consistent, and pull in lines when possible.

Change-Id: I9040a1d2ca7efda83bd5e425b95d1408b5b63577
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We had previously been ignoring all our custom N4xx hacking.py
errors. This fixes all the N401 errors "doc strings
should not start with a space" and reduces the ignore set down
to N402 only "single line docstrings should end with period".

It also fixes the N401 parser to catch only docstrings, and
not tripple quoted string blocks used later on in a function.

Clean up a few of the more crazy uses of """ in our code

Clean up additional funky comments to make indents a bit more
consistent, and pull in lines when possible.

Change-Id: I9040a1d2ca7efda83bd5e425b95d1408b5b63577
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fixes KeyError: 'sr_uuid' when booting from volume on xenapi"</title>
<updated>2012-12-14T18:34:00+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2012-12-14T18:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=8652d71ade5e778da7c5934cc313f9c85443a0ce'/>
<id>8652d71ade5e778da7c5934cc313f9c85443a0ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes KeyError: 'sr_uuid' when booting from volume on xenapi</title>
<updated>2012-12-12T23:15:34+00:00</updated>
<author>
<name>Armando Migliaccio</name>
<email>amigliaccio@internap.com</email>
</author>
<published>2012-12-07T21:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=503d5729547f135951d75d5237b398fe1700aaf2'/>
<id>503d5729547f135951d75d5237b398fe1700aaf2</id>
<content type='text'>
This change fixes the capability for a XenServer/XCP hypervisor
to boot instances from an iscsi volume running on Cinder.

This patch takes into account that Cinder can be configured
with an iscsi back-end, instead of a xensm one, where keys like
sr_uuid are not being specified. It works through the magic of
determining the SR, and the vdi associated with the iscsi target
and lun.

This patch also does a bit of clean-up of code/comments that no
longer apply.

Addresses bug #1087308

Change-Id: Ie7d65eeb965b3468e4407981788725e2b43bff5e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change fixes the capability for a XenServer/XCP hypervisor
to boot instances from an iscsi volume running on Cinder.

This patch takes into account that Cinder can be configured
with an iscsi back-end, instead of a xensm one, where keys like
sr_uuid are not being specified. It works through the magic of
determining the SR, and the vdi associated with the iscsi target
and lun.

This patch also does a bit of clean-up of code/comments that no
longer apply.

Addresses bug #1087308

Change-Id: Ie7d65eeb965b3468e4407981788725e2b43bff5e
</pre>
</div>
</content>
</entry>
<entry>
<title>Use nova.test.TestCase as the base test class.</title>
<updated>2012-12-12T18:02:40+00:00</updated>
<author>
<name>Clark Boylan</name>
<email>clark.boylan@gmail.com</email>
</author>
<published>2012-12-12T18:02:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=170aaf523106d31611a629980dd62bbe0e51e562'/>
<id>170aaf523106d31611a629980dd62bbe0e51e562</id>
<content type='text'>
Subclass nova.test.TestCase instead of unittest.TestCase so that all
tests get the proper setUp and tearDown needed for all tests.

Part of blueprint grizzly-testtools

Change-Id: I8f3cd49e6e0e36eade1fd6ccb6c15359d38f2236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Subclass nova.test.TestCase instead of unittest.TestCase so that all
tests get the proper setUp and tearDown needed for all tests.

Part of blueprint grizzly-testtools

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