<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/bin/nova-objectstore, 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>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>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>Remove nova.flags imports from bin/*</title>
<updated>2012-11-15T23:03:04+00:00</updated>
<author>
<name>Chris Behrens</name>
<email>cbehrens@codestud.com</email>
</author>
<published>2012-11-15T22:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=e374fb03899a8dd1b143abda65f679b411e26e5b'/>
<id>e374fb03899a8dd1b143abda65f679b411e26e5b</id>
<content type='text'>
nova.flags is no longer needed except to load nova config options shared
across multiple daemons.

This removes nova.flags from the bin programs and makes sure that
nova.flags is imported in nova.config for now.

Change-Id: If066ac0070387bee4b41e6a78ad972f7a0955c75
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nova.flags is no longer needed except to load nova config options shared
across multiple daemons.

This removes nova.flags from the bin programs and makes sure that
nova.flags is imported in nova.config for now.

Change-Id: If066ac0070387bee4b41e6a78ad972f7a0955c75
</pre>
</div>
</content>
</entry>
<entry>
<title>Move parse_args to nova.config</title>
<updated>2012-11-04T21:37:39+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2012-10-15T00:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=efede80046e0504dc8a68ab5447f97b05c02dd7a'/>
<id>efede80046e0504dc8a68ab5447f97b05c02dd7a</id>
<content type='text'>
The flags module will eventually be removed and this is a first step
towards that.

Change-Id: I729b08900e53e2ae6db10633dcff3be59720fa6f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flags module will eventually be removed and this is a first step
towards that.

Change-Id: I729b08900e53e2ae6db10633dcff3be59720fa6f
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to common logging.</title>
<updated>2012-07-02T20:57:09+00:00</updated>
<author>
<name>Andrew Bogott</name>
<email>abogott@wikimedia.org</email>
</author>
<published>2012-06-28T20:59:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=d335457f48d09c3d780c92413fe777030c1335e2'/>
<id>d335457f48d09c3d780c92413fe777030c1335e2</id>
<content type='text'>
I only just moved logging from nova to common, so behavior should remain the same.

Change-Id: I1d7304ca200f9d024bb7244d25be2f9a670318fb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I only just moved logging from nova to common, so behavior should remain the same.

Change-Id: I1d7304ca200f9d024bb7244d25be2f9a670318fb
</pre>
</div>
</content>
</entry>
<entry>
<title>Use cfg's new global CONF object</title>
<updated>2012-05-30T20:24:53+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2012-05-29T07:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=00786bc554a2dfacb3c6f02fbb7e9c98f35d4262'/>
<id>00786bc554a2dfacb3c6f02fbb7e9c98f35d4262</id>
<content type='text'>
Implements blueprint cfg-global-object

Replace nova.flags.FLAGS with openstack.common.cfg.CONF.

In future, we can do a s/FLAGS/CONF/ across the codebase.

Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements blueprint cfg-global-object

Replace nova.flags.FLAGS with openstack.common.cfg.CONF.

In future, we can do a s/FLAGS/CONF/ across the codebase.

Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove old flagfile support.</title>
<updated>2012-05-10T17:17:34+00:00</updated>
<author>
<name>Ghe Rivero</name>
<email>ghe@debian.org</email>
</author>
<published>2012-05-01T12:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=7e3e9b8e9cea4f1bf78d127ffb915b79c854fdbe'/>
<id>7e3e9b8e9cea4f1bf78d127ffb915b79c854fdbe</id>
<content type='text'>
Implements blueprint remove-old-flagfile

nova-manage can still be used to convert old flagfiles style files
to new .ini files:

$ ./bin/nova-manage  config  convert --help
Usage: nova-manage config convert &lt;args&gt; [options]

Options:
  -h, --help        show this help message and exit
  --infile=&lt;path&gt;   old-style flagfile to convert to config
  --outfile=&lt;path&gt;  path for output file. Writes configto stdout if not
                    specified.

Change-Id: Ib8fbbd858b1db7faef70d7d97955e5042bf378f2
Signed-off-by: Ghe Rivero &lt;ghe@debian.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements blueprint remove-old-flagfile

nova-manage can still be used to convert old flagfiles style files
to new .ini files:

$ ./bin/nova-manage  config  convert --help
Usage: nova-manage config convert &lt;args&gt; [options]

Options:
  -h, --help        show this help message and exit
  --infile=&lt;path&gt;   old-style flagfile to convert to config
  --outfile=&lt;path&gt;  path for output file. Writes configto stdout if not
                    specified.

Change-Id: Ib8fbbd858b1db7faef70d7d97955e5042bf378f2
Signed-off-by: Ghe Rivero &lt;ghe@debian.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Imports to human alphabetical order</title>
<updated>2012-04-26T23:25:49+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@cloudscaling.com</email>
</author>
<published>2012-04-26T22:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=60b1154b141601c018e91f39f356592086b6e62e'/>
<id>60b1154b141601c018e91f39f356592086b6e62e</id>
<content type='text'>
Problems identified by enabling N306 in run_tests.sh

Change-Id: Ifddfe58da020dd041bcbbf5f14941514a09f61c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problems identified by enabling N306 in run_tests.sh

Change-Id: Ifddfe58da020dd041bcbbf5f14941514a09f61c1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add nova-all to run all services</title>
<updated>2011-09-28T18:36:19+00:00</updated>
<author>
<name>Vishvananda Ishaya</name>
<email>vishvananda@gmail.com</email>
</author>
<published>2011-09-23T19:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=a870dfae7da2df1e51a9066bf0583c3ab86690e8'/>
<id>a870dfae7da2df1e51a9066bf0583c3ab86690e8</id>
<content type='text'>
 * Cleans up service for objectstore and vncproxy
 * Fixes virt.fake to be runnable via a flag

Change-Id: I18e05a4d727bbbd3481063623dc3b6ad52e233d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Cleans up service for objectstore and vncproxy
 * Fixes virt.fake to be runnable via a flag

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