a0a83640b9a99e5c099dba3262c61acaa3048b93
Commit Graph

108 Commits

Author SHA1 Message Date
Thierry Carrez
3c87de7c12 A more secure root-wrapper alternative
Alternative to using a sudoers file to limit which commands can be run as
root in Nova. This one makes use of command filters defined in Nova code
itself, which can be customized to deeply inspect command arguments before
allowing a command to be executed.
This change puts the infrastructure in place, together with command filters
that replicate the level of filtering provided by a sudoers file (no deep
argument inspection yet). An example of an advanced filter (RegExpFilter) is
also provided. This new root wrapper is not active by default (root_helper
still defaults to "sudo"). Implements blueprint nova-rootwrap.
Change-Id: I7ad723b55e9446758876f21b4fbb09374a910425
2011年12月07日 15:10:04 +01:00
Jenkins
2b4ece610e Merge "Remove remnants of babel i18n infrastructure" 2011年12月06日 20:47:08 +00:00
Mark McLoughlin
3de787b58c Remove remnants of babel i18n infrastructure
We use distutils-extra now instead of babel.
Change-Id: I10625cc4ef2ac8eefd46ee09e36f8cfaef85061f
2011年12月06日 11:31:02 +00:00
Ben McGraw
89e9231b98 Adding an install_requires to the setup call. Now you can pip install nova on a naked machine.
Change-Id: Ia6debb6422be2769efbc6628e760f23dbf5099dc
2011年11月28日 23:31:46 +00:00
Ben McGraw
deb31cb558 Removing obsolete bzr-related clauses in setup.py
Change-Id: I31786a20c85ad65f340627320f6f5bf3c4e08d79
2011年11月28日 23:30:20 +00:00
Vishvananda Ishaya
e6073532e5 Separate metadata api into its own service
part 1 of blueprint separate-nova-metadata
 * adds api/metadata/ and moves code from ec2
 * moves metadata into separate binary
 * changes metadata forward to use metadata host and port
 * moves the metadata accept rule to the metadata api
 * adds nova-api-* to setup.py
Change-Id: I7f5d8e6cafc55b5c383cd88991f29c6059fb8d82
2011年11月15日 13:27:58 -08:00
Matthew Hooker
651ff37524 These fixes are the result of trolling the pylint violations here
https://jenkins.openstack.org/job/nova-pylint-errors/violations/ 
2011年08月10日 14:53:53 +00:00
Soren Hansen
5ad921d7ae Pass py_modules=[] to setup to avoid installing run_tests.py as a top-level module. 2011年08月10日 10:09:50 +01:00
Matthew Hooker
1fc7164eca remove obsolete script from setup.py 2011年08月08日 15:37:23 -04:00
Brian Waldon
07646e8584 removing compute monitor 2011年08月02日 10:09:58 -04:00
c95aaaaefe Make the import of distutils.extra non-mandatory in setup.py. Just print a warning that i18n commands are not available... 2011年04月26日 14:17:09 -07:00
Brian Waldon
7168812fdf adding gettext to setup.py 2011年04月22日 13:30:13 -04:00
Soren Hansen
7285694cb8 Add a find_data_files method to setup.py. Use it to get tools/ installed under /usr/(local/)/share/nova 2011年04月05日 14:53:56 +02:00
Anthony Young
9513458c3e add nova-vncproxy to setup.py 2011年03月29日 15:34:25 -07:00
Thierry Carrez
912e762c9b Also remove nova-combined from setup.py 2011年02月22日 17:37:12 +01:00
8b30a903a4 PEP8 errors and remove check in authors file for nova-core, since nova-core owns the translation export branch 2011年02月21日 13:10:45 -05:00
6facb35c26 Merge trunk and re-run build_i18n 2011年02月21日 10:04:32 -05:00
322b145dcd Adds Distutils.Extra support, removes Babel support, which is half-baked at best. 2011年02月15日 11:04:47 -05:00
Thierry Carrez
a6ec10460b Adding missing scripts and files to setup.py / MANIFEST.in 2011年02月15日 15:02:50 +01:00
3e412a5f34 Merge Distutils.Extra changes for automating translation message catalog compilation 2011年02月14日 11:04:45 -05:00
Monty Taylor
dd7008e4ed Fixed a pep8 spacing issue. 2011年01月27日 23:53:46 -08:00
Monty Taylor
9a3d84b29e Adds conditional around sphinx inclusion. 2011年01月25日 11:41:49 -08:00
Soren Hansen
50ec058cc7 Refactor run_tests.sh to allow us to run an extra command after the tests.
Run pep8 after unit tests in run_tests.sh.
Fix setup.py to be PEP-8 compliant.
2011年01月19日 10:50:54 +01:00
Andy Smith
d91229f7a3 revert live_migration branch 2011年01月18日 11:01:16 -08:00
masumotok
41a9ad538c Get reviewed and fixed based on comments.
Merged latest version.
2011年01月14日 03:02:17 +09:00
Monty Taylor
00808c08c6 Added babel/gettext build support. 2011年01月10日 11:26:38 -08:00
Soren Hansen
a29bba7e9f s/canonical_version/canonical_version_string/g 2011年01月08日 00:02:24 +01:00
Soren Hansen
8b3925e4d4 Less code generation. 2011年01月07日 15:17:03 +01:00
Todd Willey
13b1374897 Track version info, and make available for logging. 2011年01月06日 15:08:26 -05:00
Todd Willey
c7305af780 Apply logging changes as a giant patch to work around the cloudpipe delete + add issue in the original patch. 2011年01月04日 00:23:35 -05:00
masumotok
bf7bc8725f merge recent revision(version of 2010年12月28日)
Change: 
 1. Use greenthread instead of defer at nova.virt.libvirt_conn.live_migration.
 2. Move nova.scheduler.manager.live_migration to nova.scheduler.driver
 3. Move nova.scheduler.manager.has_enough_resource to nova.scheduler.driver
 4. Any check routine in nova-manage.instance.live_migration is moved to
 nova.scheduler.driver.schedule_live_migration.
2010年12月31日 04:03:37 +09:00
Monty Taylor
c273c2b934 Added reference in setup.py so that python setup.py test works now. 2010年12月23日 08:57:04 -08:00
masumotok
2925ca3ac3 rev439ベースにライブマイグレーションの機能をマージ
このバージョンはEBSなし、CPUフラグのチェックなし
2010年12月07日 19:25:43 +09:00
Soren Hansen
a7fe9d8cbc Add include_package_data=True to setup.py.
This makes sure the various templates get installed into the python path when running "python setup.py install".
2010年11月29日 14:02:03 +01:00
Soren Hansen
d3be61f254 Fix typo "nova.util" -> "nova.utils" 2010年11月24日 15:14:55 +01:00
Soren Hansen
33dd63eaa0 Merge with trunk. 2010年11月22日 22:27:15 +01:00
Anne Gentle
acf8800d73 Adds images (only links one in), start for a nova-manage man file, and also documents all nova-manage commands. Can we merge it in even though the man page build isn't working? 2010年11月19日 22:04:37 +00:00
Soren Hansen
609c50578f Overwrite build_sphinx, making it run once for each of the html and man builders. 2010年11月18日 11:11:30 +01:00
Soren Hansen
ff9b3b4909 Update version to 2011.1 as that is the version we expect to release next. 2010年11月17日 22:14:35 +00:00
Soren Hansen
fb5f32be1c Update version to 2011.1 as that is the version we expect to release next. 2010年11月17日 12:34:15 +01:00
Soren Hansen
3b695e11da Added a .mailmap that maps addresses in bzr to people's real, preferred
e-mail addresses. (I made a few guesses along the way, feel free to
adjust according to what is actually the preferred e-mail)
Added a couple of methods to nova.utils to parse said .mailmap and do
the appropriate (though highly naïve) replacement.
Apply mailmap replacement in changelog generation in setup.py.
Add a unit test that checks everyone is properly listed in Authors.
Add sleepsonthefloor to Authors. If anyone knows the real name, please
add it.
2010年11月11日 19:52:36 -06:00
Vishvananda Ishaya
7c5c8bc2cf add nova-debug to setup.py 2010年10月25日 14:02:32 -07:00
Soren Hansen
f9a780d9c6 Update version to 2010.1 in preparation for Austin release. 2010年10月19日 23:36:28 -04:00
Soren Hansen
9abb45043c Install nova-scheduler. 2010年09月24日 10:21:10 +02:00
Soren Hansen
ea33870fd0 nova-api-new is no more. Don't attempt to install it. 2010年09月24日 10:19:28 +02:00
Soren Hansen
91d88bbad0 This improves the changelog generated as part of "setup.py sdist". If you look at it now, it says that Tarmac has done everything and every little commit is listed. With this patch, it only logs the "top-most" commit and credits the author rather than the committer.
Example from the current output format (from current trunk):
##########################################
2010年08月31日 Tarmac
    Adjust setup.py to match nova-rsapi -> nova-api-new rename.
2010年08月31日 Soren Hansen <soren.hansen@rackspace.com>
    Fix up setup.py to match nova-rsapi -> nova-api-new rename.
2010年08月30日 Tarmac
    Reconnect to libvirt on broken connection.
2010年08月30日 Soren Hansen <soren.hansen@rackspace.com>
    Detect if libvirt connection has been broken and reestablish it.
2010年08月30日 Tarmac
    pylint fixes for /nova/virt/connection.py
2010年08月30日 jaypipes@gmail.com
    Merge trunk and resolve conflicts
##########################################
With this patch, this is reduced to:
##########################################
2010年08月31日 Soren Hansen <soren.hansen@rackspace.com>
    Adjust setup.py to match nova-rsapi -> nova-api-new rename.
2010年08月30日 Soren Hansen <soren.hansen@rackspace.com>
    Reconnect to libvirt on broken connection.
2010年08月30日 jaypipes@gmail.com
    pylint fixes for /nova/virt/connection.py
##########################################
2010年09月01日 18:13:24 +00:00
Soren Hansen
921d9d01d7 Better log formatter for Nova. It's just like gnuchangelog, but logs the author rather than the committer. 2010年08月31日 21:17:48 +02:00
Soren Hansen
85c81f39e0 Fix up setup.py to match nova-rsapi -> nova-api-new rename. 2010年08月31日 09:54:31 +02:00
Monty Taylor
efc6317108 Added ChangeLog generation 2010年07月29日 03:25:03 +00:00
Monty Taylor
49dd0c52c1 Fixed pep8 issues in setup.py - thanks redbo. 2010年07月28日 16:05:17 -07:00