<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/nova/virt/baremetal/db, 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>Merge "Do not raise NEW exceptions"</title>
<updated>2013-06-24T15:28:10+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-24T15:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=4526cfc5238af18a338c928285c2e299c43bee8d'/>
<id>4526cfc5238af18a338c928285c2e299c43bee8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not raise NEW exceptions</title>
<updated>2013-06-21T20:09:22+00:00</updated>
<author>
<name>Boris Pavlovic</name>
<email>boris@pavlovic.me</email>
</author>
<published>2013-06-14T13:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=616098dcd36b20e01d38898b8942003df664e6ac'/>
<id>616098dcd36b20e01d38898b8942003df664e6ac</id>
<content type='text'>
Raising NEW exception is bad practice, because we lose TraceBack.
So all places like:

except SomeException as e:
    raise e

should be replaced by

except SomeException:
    raise

If we are doing some other actions before reraising we should
store information about exception then do all actions and then
reraise it. This is caused by eventlet bug. It lost information
about exception if it switch threads.

fixes bug 1191730

Change-Id: Ia375ecef9f16bda65d5146d14ed4b37a988abb0c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Raising NEW exception is bad practice, because we lose TraceBack.
So all places like:

except SomeException as e:
    raise e

should be replaced by

except SomeException:
    raise

If we are doing some other actions before reraising we should
store information about exception then do all actions and then
reraise it. This is caused by eventlet bug. It lost information
about exception if it switch threads.

fixes bug 1191730

Change-Id: Ia375ecef9f16bda65d5146d14ed4b37a988abb0c
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop `bm_pxe_ips` table from baremetal database.</title>
<updated>2013-06-14T12:42:07+00:00</updated>
<author>
<name>Victor Sergeyev</name>
<email>vsergeyev@mirantis.com</email>
</author>
<published>2013-06-13T16:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=b138117a8df51afeaa0e8e43a75b02c4b56418b6'/>
<id>b138117a8df51afeaa0e8e43a75b02c4b56418b6</id>
<content type='text'>
- added migration and tests
- removed model `BareMetalPxeIp`
- from nova/virt/baremetal/db/sqlalchemy/api.py removed functions
 `bm_pxe_ip_get_all`, `bm_pxe_ip_create`, `bm_pxe_ip_create_direct`,
 `bm_pxe_ip_destroy`, `bm_pxe_ip_destroy_by_address`, 'bm_pxe_ip_get`,
 `bm_pxe_ip_get_by_bm_node_id`, `bm_pxe_ip_associate`, 'bm_pxe_ip_disassociate`
- from nova/virt/baremetal/db/api.py removed functions
 `bm_node_associate_and_update`, `bm_pxe_ip_create`, `bm_pxe_ip_create_direct`,
 `bm_pxe_ip_destroy`, `bm_pxe_ip_destroy_by_address`, `bm_pxe_ip_get_all`,
 `bm_pxe_ip_get`, `bm_pxe_ip_get_by_bm_node_id, `bm_pxe_ip_associate`,
 `bm_pxe_ip_disassociate`
- from nova/tests/virt/baremetal/db/utils.py removed function `new_bm_pxe_ip`
- removed nova/tests/virt/baremetal/db/test_bm_pxe_ip.py
- modified `baremetal/volume_driver.py` - now we get `address` using
  nova db api

Fixes bug 1156745

Change-Id: I61f78d692da276694d79a7c1a8d45a466d124c70
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- added migration and tests
- removed model `BareMetalPxeIp`
- from nova/virt/baremetal/db/sqlalchemy/api.py removed functions
 `bm_pxe_ip_get_all`, `bm_pxe_ip_create`, `bm_pxe_ip_create_direct`,
 `bm_pxe_ip_destroy`, `bm_pxe_ip_destroy_by_address`, 'bm_pxe_ip_get`,
 `bm_pxe_ip_get_by_bm_node_id`, `bm_pxe_ip_associate`, 'bm_pxe_ip_disassociate`
- from nova/virt/baremetal/db/api.py removed functions
 `bm_node_associate_and_update`, `bm_pxe_ip_create`, `bm_pxe_ip_create_direct`,
 `bm_pxe_ip_destroy`, `bm_pxe_ip_destroy_by_address`, `bm_pxe_ip_get_all`,
 `bm_pxe_ip_get`, `bm_pxe_ip_get_by_bm_node_id, `bm_pxe_ip_associate`,
 `bm_pxe_ip_disassociate`
- from nova/tests/virt/baremetal/db/utils.py removed function `new_bm_pxe_ip`
- removed nova/tests/virt/baremetal/db/test_bm_pxe_ip.py
- modified `baremetal/volume_driver.py` - now we get `address` using
  nova db api

Fixes bug 1156745

Change-Id: I61f78d692da276694d79a7c1a8d45a466d124c70
</pre>
</div>
</content>
</entry>
<entry>
<title>baremetal: drop 'prov_mac_address' column</title>
<updated>2013-05-17T15:17:08+00:00</updated>
<author>
<name>Arata Notsu</name>
<email>notsu@virtualtech.jp</email>
</author>
<published>2013-04-03T10:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=48bd75998a9e68d7dafdeab47fd6c70adb3113f6'/>
<id>48bd75998a9e68d7dafdeab47fd6c70adb3113f6</id>
<content type='text'>
bm_nodes.prov_mac_address is no longer used. So drop it.

Change-Id: I3c7294da8f62581aba8c948171cb02f80cf054ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bm_nodes.prov_mac_address is no longer used. So drop it.

Change-Id: I3c7294da8f62581aba8c948171cb02f80cf054ef
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve Python 3.x compatibility</title>
<updated>2013-04-22T02:22:24+00:00</updated>
<author>
<name>Dirk Mueller</name>
<email>dirk@dmllr.de</email>
</author>
<published>2013-04-22T02:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=f3826902a018d835d1ba19123d68aed7b26d2b5f'/>
<id>f3826902a018d835d1ba19123d68aed7b26d2b5f</id>
<content type='text'>
A bit of mechanical translation to clean
out the deprecated except x,y: construct

Change-Id: I80883b6b0c014bdf4799e8b7b2c4a4a07d951a0b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A bit of mechanical translation to clean
out the deprecated except x,y: construct

Change-Id: I80883b6b0c014bdf4799e8b7b2c4a4a07d951a0b
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "baremetal: Integrate provisioning and non-provisioning interfaces"</title>
<updated>2013-04-10T20:11:18+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-04-10T20:11:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=e3521d37b089674275a94ef7aef45715482377d0'/>
<id>e3521d37b089674275a94ef7aef45715482377d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary LOG initialisation</title>
<updated>2013-04-10T13:26:12+00:00</updated>
<author>
<name>Stanislaw Pitucha</name>
<email>stanislaw.pitucha@hp.com</email>
</author>
<published>2013-04-10T13:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=17ba935d9da2ff912196bb47f6856fb64db13247'/>
<id>17ba935d9da2ff912196bb47f6856fb64db13247</id>
<content type='text'>
Remove a lot of getLogger lines and imports of logging in modules
which never use that functionality.

Change-Id: Icdaee2c540980412b000d02ebf1ec568dcf5b38a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove a lot of getLogger lines and imports of logging in modules
which never use that functionality.

Change-Id: Icdaee2c540980412b000d02ebf1ec568dcf5b38a
</pre>
</div>
</content>
</entry>
<entry>
<title>baremetal: Integrate provisioning and non-provisioning interfaces</title>
<updated>2013-04-04T10:08:49+00:00</updated>
<author>
<name>Arata Notsu</name>
<email>notsu@virtualtech.jp</email>
</author>
<published>2013-04-04T10:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=12149410fb85212668c377dc8c13364753b081cd'/>
<id>12149410fb85212668c377dc8c13364753b081cd</id>
<content type='text'>
Originally, baremetal pxe/tilera driver managed two types of network
interfaces in two tables; provisioning interfaces in bm_nodes table
and non-provisioning (normal) interfaces in bm_interfaces table.
But, now actually both types are handled in the same way and there is
no difference between them except for which table they are in.

This patch moves the provisioning interfaces to bm_interfaces. However
it does not drop prov_mac_address in bm_nodes since VirtualPowerManager
still uses it to identify a target in a list of VMs returned by the
VM's host.

Change-Id: I5ce940e7127aa3b29ba7802612938dc5dbc3152f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally, baremetal pxe/tilera driver managed two types of network
interfaces in two tables; provisioning interfaces in bm_nodes table
and non-provisioning (normal) interfaces in bm_interfaces table.
But, now actually both types are handled in the same way and there is
no difference between them except for which table they are in.

This patch moves the provisioning interfaces to bm_interfaces. However
it does not drop prov_mac_address in bm_nodes since VirtualPowerManager
still uses it to identify a target in a list of VMs returned by the
VM's host.

Change-Id: I5ce940e7127aa3b29ba7802612938dc5dbc3152f
</pre>
</div>
</content>
</entry>
<entry>
<title>baremetal: Drop unused columns in bm_nodes</title>
<updated>2013-04-02T02:08:41+00:00</updated>
<author>
<name>Arata Notsu</name>
<email>notsu@virtualtech.jp</email>
</author>
<published>2013-02-26T18:30:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=415b51bf7170539751993133c087c31cea4150b7'/>
<id>415b51bf7170539751993133c087c31cea4150b7</id>
<content type='text'>
Drop these two columns:
* bm_nodes.prov_vlan_id
* bm_nodes.registration_status

And update related code, tests and api_samples.

Change-Id: Iadefc83a00ad9ae5a3bb39f357080299875bdf09
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop these two columns:
* bm_nodes.prov_vlan_id
* bm_nodes.registration_status

And update related code, tests and api_samples.

Change-Id: Iadefc83a00ad9ae5a3bb39f357080299875bdf09
</pre>
</div>
</content>
</entry>
<entry>
<title>Make bm model's deleted column match database</title>
<updated>2013-03-08T19:36:03+00:00</updated>
<author>
<name>Boris Pavlovic</name>
<email>boris@pavlovic.me</email>
</author>
<published>2013-03-07T22:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=47c7454d1b8926040577f77822729463d42ed635'/>
<id>47c7454d1b8926040577f77822729463d42ed635</id>
<content type='text'>
In Models by default type of deleted column is Integer, but bm tabels
use Boolean type for deleted columns.This produce bug in postgresql
(type mismatch).

At this moment we are not able to do any db migrations, so there is
only one way to fix this bug. Change type of deleted columns in Models
from Integer to Boolean.

In Havana we will be able to change deleted columns types to type of id
for bm tables and use soft_delete and UC as in rest of nova.

Fixes bug 1140294

Change-Id: Id56c4bbff7048ed5c746dc995380be9ba0a12c39
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Models by default type of deleted column is Integer, but bm tabels
use Boolean type for deleted columns.This produce bug in postgresql
(type mismatch).

At this moment we are not able to do any db migrations, so there is
only one way to fix this bug. Change type of deleted columns in Models
from Integer to Boolean.

In Havana we will be able to change deleted columns types to type of id
for bm tables and use soft_delete and UC as in rest of nova.

Fixes bug 1140294

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