b54179438e53e26a45c8cf046bc3714fe027dc22
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Vishvananda Ishaya
|
20b4d89512 |
Remove a whole bunch of unused imports
Change-Id: I6759e5b6250c48cc0deb4b198b44c948c64c47d1 |
||
|
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 |
||
|
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 |
||
|
Joe Gordon
|
51e7bcf5f4 |
'except:' to 'except Exception:' as per HACKING
Change-Id: I6e372152946dc7b51a4d84d6f4b893774e7d1a1d |
||
|
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 |
||
|
Jenkins
|
2b4ece610e | Merge "Remove remnants of babel i18n infrastructure" | ||
|
Mark McLoughlin
|
3de787b58c |
Remove remnants of babel i18n infrastructure
We use distutils-extra now instead of babel. Change-Id: I10625cc4ef2ac8eefd46ee09e36f8cfaef85061f |
||
|
Ben McGraw
|
89e9231b98 |
Adding an install_requires to the setup call. Now you can pip install nova on a naked machine.
Change-Id: Ia6debb6422be2769efbc6628e760f23dbf5099dc |
||
|
Ben McGraw
|
deb31cb558 |
Removing obsolete bzr-related clauses in setup.py
Change-Id: I31786a20c85ad65f340627320f6f5bf3c4e08d79 |
||
|
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 |
||
|
Matthew Hooker
|
651ff37524 |
These fixes are the result of trolling the pylint violations here
https://jenkins.openstack.org/job/nova-pylint-errors/violations/ |
||
|
Soren Hansen
|
5ad921d7ae | Pass py_modules=[] to setup to avoid installing run_tests.py as a top-level module. | ||
|
Matthew Hooker
|
1fc7164eca | remove obsolete script from setup.py | ||
|
Brian Waldon
|
07646e8584 | removing compute monitor | ||
| c95aaaaefe | Make the import of distutils.extra non-mandatory in setup.py. Just print a warning that i18n commands are not available... | |||
|
Brian Waldon
|
7168812fdf | adding gettext to setup.py | ||
|
Soren Hansen
|
7285694cb8 | Add a find_data_files method to setup.py. Use it to get tools/ installed under /usr/(local/)/share/nova | ||
|
Anthony Young
|
9513458c3e | add nova-vncproxy to setup.py | ||
|
Thierry Carrez
|
912e762c9b | Also remove nova-combined from setup.py | ||
| 8b30a903a4 | PEP8 errors and remove check in authors file for nova-core, since nova-core owns the translation export branch | |||
| 6facb35c26 | Merge trunk and re-run build_i18n | |||
| 322b145dcd | Adds Distutils.Extra support, removes Babel support, which is half-baked at best. | |||
|
Thierry Carrez
|
a6ec10460b | Adding missing scripts and files to setup.py / MANIFEST.in | ||
| 3e412a5f34 | Merge Distutils.Extra changes for automating translation message catalog compilation | |||
|
Monty Taylor
|
dd7008e4ed | Fixed a pep8 spacing issue. | ||
|
Monty Taylor
|
9a3d84b29e | Adds conditional around sphinx inclusion. | ||
|
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. |
||
|
Andy Smith
|
d91229f7a3 | revert live_migration branch | ||
|
masumotok
|
41a9ad538c |
Get reviewed and fixed based on comments.
Merged latest version. |
||
|
Monty Taylor
|
00808c08c6 | Added babel/gettext build support. | ||
|
Soren Hansen
|
a29bba7e9f | s/canonical_version/canonical_version_string/g | ||
|
Soren Hansen
|
8b3925e4d4 | Less code generation. | ||
|
Todd Willey
|
13b1374897 | Track version info, and make available for logging. | ||
|
Todd Willey
|
c7305af780 | Apply logging changes as a giant patch to work around the cloudpipe delete + add issue in the original patch. | ||
|
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. |
||
|
Monty Taylor
|
c273c2b934 | Added reference in setup.py so that python setup.py test works now. | ||
|
masumotok
|
2925ca3ac3 |
rev439ベースにライブマイグレーションの機能をマージ
このバージョンはEBSなし、CPUフラグのチェックなし |
||
|
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". |
||
|
Soren Hansen
|
d3be61f254 | Fix typo "nova.util" -> "nova.utils" | ||
|
Soren Hansen
|
33dd63eaa0 | Merge with trunk. | ||
|
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? | ||
|
Soren Hansen
|
609c50578f | Overwrite build_sphinx, making it run once for each of the html and man builders. | ||
|
Soren Hansen
|
ff9b3b4909 | Update version to 2011.1 as that is the version we expect to release next. | ||
|
Soren Hansen
|
fb5f32be1c | Update version to 2011.1 as that is the version we expect to release next. |