<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/bin, 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>Delete unused bin directory</title>
<updated>2013-06-03T18:15:33+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>joe.gordon0@gmail.com</email>
</author>
<published>2013-05-28T05:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c'/>
<id>584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c</id>
<content type='text'>
Delete last bits of bin/.  With the move to entrypoints these aren't
needed anymore.

Update CONF.bindir to default to
  os.path.join(sys.prefix, 'local', 'bin')

Part of blueprint entrypoints-plugins

Change-Id: I95250d3779433e7b85aaa889a873b16c86a7d2be
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Delete last bits of bin/.  With the move to entrypoints these aren't
needed anymore.

Update CONF.bindir to default to
  os.path.join(sys.prefix, 'local', 'bin')

Part of blueprint entrypoints-plugins

Change-Id: I95250d3779433e7b85aaa889a873b16c86a7d2be
</pre>
</div>
</content>
</entry>
<entry>
<title>Update rootwrap with code from oslo.</title>
<updated>2013-05-09T14:54:01+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-05-02T14:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=9c5890cb780587a895a4ac6680dbb4306c30e56f'/>
<id>9c5890cb780587a895a4ac6680dbb4306c30e56f</id>
<content type='text'>
Change-Id: I30f1b8773840c098f1e38d09bf13f0863035289e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I30f1b8773840c098f1e38d09bf13f0863035289e
</pre>
</div>
</content>
</entry>
<entry>
<title>Move console scripts to entrypoints.</title>
<updated>2013-04-04T02:14:27+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2012-08-15T19:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=799a925c1f4a388c30a7f0d9e1ffe1b82e8ced9d'/>
<id>799a925c1f4a388c30a7f0d9e1ffe1b82e8ced9d</id>
<content type='text'>
As part of the move of plugins to entrypoints, take advantage of the
entrypoints based console scripts, which will make our command line scripts
available for unittesting.

Part of blueprint entrypoints-plugins

Co-authored-by: Michael Still &lt;mikal@stillhq.com&gt;

Change-Id: I5f17348b7b3cc896c92263dd518abb128757d81f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the move of plugins to entrypoints, take advantage of the
entrypoints based console scripts, which will make our command line scripts
available for unittesting.

Part of blueprint entrypoints-plugins

Co-authored-by: Michael Still &lt;mikal@stillhq.com&gt;

Change-Id: I5f17348b7b3cc896c92263dd518abb128757d81f
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify and correct the bm partition sizes.</title>
<updated>2013-04-03T21:21:06+00:00</updated>
<author>
<name>Robert Collins</name>
<email>rbtcollins@hp.com</email>
</author>
<published>2013-04-02T04:08:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=a01f907cecc24c18cbe3d32921247125294dd2b9'/>
<id>a01f907cecc24c18cbe3d32921247125294dd2b9</id>
<content type='text'>
The sfdisk code that landed uses -D, which ends up subtracting space
from the first partition - this plays havoc with precisely sized disk
images due to a bug in the automatic adjustment code. Instead we
directly specify the spare space to be allowed.

Additionally, sfdisk can be used much more simply, avoiding any room
for us to make arithmetic errors, and reducing the opportunity for
race conditions with udev so this change does that.

Change-Id: I7f95e867d8775f49698cbbf4b1be40e69db9d538
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sfdisk code that landed uses -D, which ends up subtracting space
from the first partition - this plays havoc with precisely sized disk
images due to a bug in the automatic adjustment code. Instead we
directly specify the spare space to be allowed.

Additionally, sfdisk can be used much more simply, avoiding any room
for us to make arithmetic errors, and reducing the opportunity for
race conditions with udev so this change does that.

Change-Id: I7f95e867d8775f49698cbbf4b1be40e69db9d538
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise rather than generating millions of IPs.</title>
<updated>2013-04-02T18:51:16+00:00</updated>
<author>
<name>David Ripton</name>
<email>dripton@redhat.com</email>
</author>
<published>2013-04-02T16:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=34de8d1529fb9a2e7fad096a6967b9a483ab0cb0'/>
<id>34de8d1529fb9a2e7fad096a6967b9a483ab0cb0</id>
<content type='text'>
Fixes bug #1163394

Formerly if we tried to create many millions of floating IPs with a
range like "192.168.2.224/2", address_to_hosts would happily iterate
over all of them (which would take a long time) and then nova-manage
would eventually crash with an OutOfMemoryError when we tried putting
all of them in a list.  Or, if the initial list wasn't quite big
enough to use all memory, it would blow up later (even more slowly)
when we tried to put them in the database via SQLAlchemy.

Now, raise exception.InvalidInput if the number of IPs is a million
or more.  (A million is erring on the side of caution.)

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

Formerly if we tried to create many millions of floating IPs with a
range like "192.168.2.224/2", address_to_hosts would happily iterate
over all of them (which would take a long time) and then nova-manage
would eventually crash with an OutOfMemoryError when we tried putting
all of them in a list.  Or, if the initial list wasn't quite big
enough to use all memory, it would blow up later (even more slowly)
when we tried to put them in the database via SQLAlchemy.

Now, raise exception.InvalidInput if the number of IPs is a million
or more.  (A million is erring on the side of caution.)

Change-Id: Ifc6b6a8faadc2e97e09f9f6c975e52229f705789
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Remove gettext.install() from nova/__init__.py"</title>
<updated>2013-04-01T19:59:37+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-04-01T19:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=faf59a87e82f94322ffbbad66192cbba269ab9fd'/>
<id>faf59a87e82f94322ffbbad66192cbba269ab9fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Switch nova-baremetal-deploy-helper to use sfdisk."</title>
<updated>2013-04-01T19:27:12+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-04-01T19:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=1c3fe5a0a78caf6ba53861c88409521f5a848f8b'/>
<id>1c3fe5a0a78caf6ba53861c88409521f5a848f8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove gettext.install() from nova/__init__.py</title>
<updated>2013-04-01T17:44:47+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2013-03-31T23:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=9447e59b704701aad765f8ffa109843d9ffc88ae'/>
<id>9447e59b704701aad765f8ffa109843d9ffc88ae</id>
<content type='text'>
The gettext.install() function installs a builtin _() function which
translates a string in the translation domain supplied to the install()
function. If gettext.install() is called multiple times, it's the last
call to the function which wins and the last supplied translation domain
which is used e.g.

 &gt;&gt;&gt; import os
 &gt;&gt;&gt; os.environ['LANG'] = 'ja.UTF-8'
 &gt;&gt;&gt; import gettext
 &gt;&gt;&gt; gettext.install('keystone', unicode=1, localedir='/opt/stack/keystone/keystone/locale')
 &gt;&gt;&gt; print _('Invalid syslog facility')
 無効な syslog ファシリティ
 &gt;&gt;&gt; gettext.install('nova', unicode=1, localedir='/opt/stack/nova/nova/locale')
 &gt;&gt;&gt; print _('Invalid syslog facility')
 Invalid syslog facility

Usually this function is called early on in a toplevel script and we
assume that no other code will call it and override the installed _().
However, in Nova, we have taken a shortcut to avoid having to call it
explicitly from each script and instead call it from nova/__init__.py.

This shortcut would be perfectly fine if we were absolutely sure that
nova modules would never be imported from another program. It's probably
quite incorrect for a program to use nova code (indeed, if we wanted to
support this, Nova code shouldn't use the default _() function) but
nevertheless there are some corner cases where it happens. For example,
the keystoneclient auth_token middleware tries to import cfg from
nova.openstack.common and this in turn causes gettext.install('nova')
in other projects like glance or quantum.

To avoid any doubt here, let's just rip out the shortcut and always
call gettext.install() from the top-level script.

Change-Id: If4125d6bcbde63df95de129ac5c83b4a6d6f130a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The gettext.install() function installs a builtin _() function which
translates a string in the translation domain supplied to the install()
function. If gettext.install() is called multiple times, it's the last
call to the function which wins and the last supplied translation domain
which is used e.g.

 &gt;&gt;&gt; import os
 &gt;&gt;&gt; os.environ['LANG'] = 'ja.UTF-8'
 &gt;&gt;&gt; import gettext
 &gt;&gt;&gt; gettext.install('keystone', unicode=1, localedir='/opt/stack/keystone/keystone/locale')
 &gt;&gt;&gt; print _('Invalid syslog facility')
 無効な syslog ファシリティ
 &gt;&gt;&gt; gettext.install('nova', unicode=1, localedir='/opt/stack/nova/nova/locale')
 &gt;&gt;&gt; print _('Invalid syslog facility')
 Invalid syslog facility

Usually this function is called early on in a toplevel script and we
assume that no other code will call it and override the installed _().
However, in Nova, we have taken a shortcut to avoid having to call it
explicitly from each script and instead call it from nova/__init__.py.

This shortcut would be perfectly fine if we were absolutely sure that
nova modules would never be imported from another program. It's probably
quite incorrect for a program to use nova code (indeed, if we wanted to
support this, Nova code shouldn't use the default _() function) but
nevertheless there are some corner cases where it happens. For example,
the keystoneclient auth_token middleware tries to import cfg from
nova.openstack.common and this in turn causes gettext.install('nova')
in other projects like glance or quantum.

To avoid any doubt here, let's just rip out the shortcut and always
call gettext.install() from the top-level script.

Change-Id: If4125d6bcbde63df95de129ac5c83b4a6d6f130a
</pre>
</div>
</content>
</entry>
<entry>
<title>Show quota 'in_use' and 'reserved' info</title>
<updated>2013-03-28T02:02:37+00:00</updated>
<author>
<name>gengjh</name>
<email>gengjh@cn.ibm.com</email>
</author>
<published>2013-03-28T02:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=1fefa254616df68fb13913c9a9272405d82b0efb'/>
<id>1fefa254616df68fb13913c9a9272405d82b0efb</id>
<content type='text'>
We need show all the quotas related info, including 'in_use' and
'reserved'--not just the limit--when executing 'nova-manage project
quota'.

Fix bug 1160752

Change-Id: I25e10e58c6af705e2189550ad762e6f39bca342e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need show all the quotas related info, including 'in_use' and
'reserved'--not just the limit--when executing 'nova-manage project
quota'.

Fix bug 1160752

Change-Id: I25e10e58c6af705e2189550ad762e6f39bca342e
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch nova-baremetal-deploy-helper to use sfdisk.</title>
<updated>2013-03-27T01:19:46+00:00</updated>
<author>
<name>Chris Krelle</name>
<email>nobodycam@gmail.com</email>
</author>
<published>2013-03-14T22:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=0ee0eba0efc264b94856d2e6b43a5fabe3eeaac0'/>
<id>0ee0eba0efc264b94856d2e6b43a5fabe3eeaac0</id>
<content type='text'>
This patch changes make_partitions function to use sfdisk instead
of fdisk. Also added logging of cmd, stdout, and stderr should
command fail.

Fixes Bug 1088652

Change-Id: Ia2711a5450900c95598253f2a7b02e7c3e83a3d8
Authored-by: Chris Krelle &lt;nobodycam@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes make_partitions function to use sfdisk instead
of fdisk. Also added logging of cmd, stdout, and stderr should
command fail.

Fixes Bug 1088652

Change-Id: Ia2711a5450900c95598253f2a7b02e7c3e83a3d8
Authored-by: Chris Krelle &lt;nobodycam@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
