b54179438e53e26a45c8cf046bc3714fe027dc22
Commit Graph

68 Commits

Author SHA1 Message Date
Monty Taylor
b54179438e Move translations to babel locations.
If we structure things like this, we can get things
actually, you know, installed.
Locales ast and oc aren't supported by babel. We'll re-import them
from Launchpad once we get babel updated.
If you want translations installed, run:
 python setup.py compile_catalog
Before you run either setup.py sdist or setup.py install
More work is needed to actually properly use the installed translations, but
we're closer.
Change-Id: I4a4bedd982c89063aa09688c9cbcf97054bcb34b
2012年02月08日 19:30:39 -08:00
Monty Taylor
4a4c274c83 Get rid of distutils.extra.
We moved to DistUtilsExtra because it promised a more automatic workflow
from setup.py. It doesn't actually deliver though, and it also vomits
warnings during setup.py usage, and also breaks pip integration.
So this is going back to babel. Mostly folks shouldn't need to know
anything about this. We'll need to update the translations import
jobs in Jenkins, and we might need to add a corresponding translations
upload job that runs post-merge.
Translations installation doesn't fully work - but it actually wasn't fully
working before. Getting this part of the project done now though is a
pre-requisite for using tox for multi-python testing (tox starts by
creating an sdist tarball and then installing it into the venv, which
is just 100% broken with DistUtilsExtra)
Change-Id: I126e1bcfab0656eab6ca10de67d3d2aaa8b844f3
2012年02月08日 19:30:39 -08:00
Thierry Carrez
71410724cd Remove ajaxterm from Nova
Removes copy of ajaxterm code, nova-ajax-console-proxy,
and support for get_ajax_console from Nova proper.
Implements blueprint remove-ajaxterm
Fixes bug 917963
Change-Id: I2c0ff427c53c0f63a18b10475d6b4cbe9a085d83
2012年02月07日 21:14:31 +01:00
Vishvananda Ishaya
0c5273c85e Create nova cert worker for x509 support
* Adds new worker for cert management
 * Makes decrypt use an rpc to the worker
 * Moves CA filesystem creation out of cloud.setup
 * Moves test for X509 into crypto
 * Adds test for encrypting and decrypting using cert
 * Cleans up extra code in cloudpipe
 * Fixes bug 918563
 * Prepares for a future patch that will fix bug 903345
Change-Id: I4693c50c8f432706f97395af39e736f49d60e719
2012年01月24日 15:10:34 -08:00
Anthony Young
8d010cacb5 Implements blueprint vnc-console-cleanup
* Creates a unified way to access vnc consoles for xenserver and libvirt
 * Now supports both java and websocket clients
 * Removes nova-vncproxy - a replacement version of this (nova-novncproxy) can be found as described in vncconsole.rst
 * Adds nova-xvpvncproxy, which supports a java vnc client
 * Adds api extension to access java and novnc access_urls
 * Fixes proxy server to close/shutdown sockets more cleanly
 * Address style feedback
 * Use new-style extension format
 * Fix setup.py
 * utils.gen_uuid must be wrapped like str(utils.gen_uuid()) or it can't be serialized
Change-Id: I5e42e2f160e8e3476269bd64b0e8aa77e66c918c
2012年01月17日 14:18:31 -08:00
Mark McLoughlin
d72109e711 Add missing scripts to setup.py (lp#917676)
If distutils-extra is installed, all scripts are automatically included
in the tarball. We should explicitly include them in setup.py to avoid
confusion.
As an example, the 2011.3 tarballs appear to have been generated with
distutils-extra but the 2011年3月1日/2012.1 tarballs are now being
generated in a venv. So, these newer tarballs are missing scripts which
were included in 2011.3.
Change-Id: I2a85418b84b93e041f6c7d31833b09acdcb29daa
2012年01月17日 15:07:58 +00:00
Vishvananda Ishaya
20b4d89512 Remove a whole bunch of unused imports
Change-Id: I6759e5b6250c48cc0deb4b198b44c948c64c47d1
2012年01月13日 13:55:38 -08:00
Anthony Young
60ff2e3b72 Implements blueprint separate-nova-volumeapi
* Moves openstack/v2 directory to compute and fixes tests accordingly
 * Moves some code from api/openstack/compute to shared location, for use by volume api
 * Implements basic volume functionality for types, volumes, and snapshots
 * Changes service name from osapi to osapi_compute (and adds osapi_volume)
 * Renames nova-api-os to nova-api-os-compute, adds nove-api-os-volume
 * Separate extension mechanism for compute and volume
 ** Removes flag osapi_extension and replaces with osapi_compute_extension and osapi_volume_extension
 * Updates the paste config
 * Fixes setup.py to include nova-os-api-compute and nova-os-api-volume
 * Fix bug in volume version code that occurred as result of trunk merge
 * Update integrated/test_volumes.py to use new endpoint
Change-Id: I4c2e57c3cafd4e1a9e2ff3ce201c8cf28326afcd
2012年01月13日 09:06:55 -08:00
Monty Taylor
10372e7e9a Remove install_requires processing.
Loading install_requires with the contents of pip-requires
isn't getting us any real beneift and is causing issues.
a) It can conflict with installing nova into an environment
 where deps have been installed from packages (devstack)
b) It breaks the ability to use -e git urls in pip-requires
 which we want to start using for python-novaclient and
 python-keystoneclient
c) It causes spurious network traffic when we're trying to
 test things.
At the same time, since we are not expecting anyone to
install nova from setup.py for production, the normal benefit
of the feature is not needed.
Change-Id: I402f975c652dc1c2b54b0c362b8abbb6886f8844
2012年01月04日 12:41:49 -08:00
Joe Gordon
51e7bcf5f4 'except:' to 'except Exception:' as per HACKING
Change-Id: I6e372152946dc7b51a4d84d6f4b893774e7d1a1d
2011年12月27日 12:07:06 -08:00
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