eae906f8a84023ff0f0f3af1196d2af112765501
91 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Chuck Short
|
05562a37f8 |
Add missing binary
Add bin/nova-conductor to setup.py. Change-Id: Iaa6d8625c4db0a15bb0e04e4499f2bfa2931c145 Signed-off-by: Chuck Short <chuck.short@canonical.com> |
||
|
Vishvananda Ishaya
|
7e2b93acc5 |
removes the nova-volume code from nova
This removes the majority of the nova-volume code from the codebase. It updates relevent config options to default to cinder. It updates a number of existing tests that were depending on code that was removed. A few things still need to be removed: * volume/driver.py & volume/iscsi.py These files are used by the libvirt volume driver tests. These tests should be updated to mock the relevant calls. * scheduler/simple.py & scheduler/multi.py These files should no longer be necessary so they can be removed in a subsequent patch * exception.py cleanup Once the above files are removed there are a number of unused exceptions which can be removed * database calls and database tables The database calls have not been removed and the tables have not been dropped. This can be done in a separate migration * additional config options and nova.conf.sample There may be a few extra config options that can be removed and the conf sample can be regenerated Implements bp delete-nova-volume Change-Id: I0b540e54dbabd26901a7530035a38583bb521fda |
||
|
Andrew Laski
|
e45d2b6d6a |
Remove unused imports in setup.py
Then glob and os modules are not being used and no longer need to be imported. Change-Id: I0d9862811338fe6c8014c2c50c78c2cca721f9d0 |
||
|
Doug Hellmann
|
b79db19baa |
Add trove classifiers for PyPI
Add classifiers so we can eventually register the project on PyPI to reserve the name, even though we won't release packages there. Change-Id: I35f4fd72de7781d3e01f1d122d5d3267544ffbd6 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com> |
||
|
Andrew Laski
|
ccc0bfb3e6 |
Set install_requires in setup.py.
Updates setup.py to set install_requires using parse_requirements from openstack-common. This allows DevStack to install nova requirements, as currently they are not handled. Also relaxes the version requirement for lxml to >=2.3,<3. This allows DevStack to install nova requirements without needing to install lxml over the installed python-xml system package, currently 2.3.2. Change-Id: Iccebf9604ba5c6fcacb4c5fa5004f9fcb08944f3 |
||
|
Jenkins
|
f220bf6790 | Merge "Refactor instance_usage_audit. Add audit tasklog." | ||
|
Monty Taylor
|
1b5fbda966 |
Remove unused find_data_files function in setup.py
find_data_files was copied in a while back to work around setuptools deficiencies. It has since made its way into distribute, and we are using it from there - thus do not need a copy in our tree anymore. Change-Id: I8bc76a201c325571601ac8da292ebd5690668065 |
||
|
Monsyne Dragon
|
2fdd73816c |
Refactor instance_usage_audit. Add audit tasklog.
The instance usage audit cronjob that generates periodic compute.instance.exists notifications is not particularly scalable. It is run on one server and takes longer as the number of instances grows. This change moves the generation of those events to a periodic task in the compute manager. It also adds an api extension that can be used by administrators to check for errors generating these events. Change-Id: I856d3d0c73c34e570112f1345d306308ef20a9ae |
||
|
Monty Taylor
|
eb2de037a3 |
Update common setup code to latest.
This gets us up to date with common/setup.py and replaces custom nova autodoc generation with the port of that code found in common. Change-Id: I2a1c5d2c0fdcf40dbea50cc123b537adb068cdc2 |
||
|
Jenkins
|
1a2a3519ee | Merge "Use setuptools-git plugin for MANIFEST." | ||
|
Monty Taylor
|
204a42c76f |
Use setuptools-git plugin for MANIFEST.
Instead of a hard-coded MANIFEST.in to list non-code files to be included in the tarball, use the setuptools-git plugin to ensure that every file that's in git will wind up in the tarball. The only things needed in MANIFEST.in now are files that are generated as part of the sdist run. Change-Id: I76df685d58f7b56977d859e8df92e845f450b3e4 |
||
|
Thierry Carrez
|
d9962a8ccf |
Add missing nova-novncproxy to tarballs
Fix setup.py to include bin/nova-novncproxy in generated tarballs. Fixes bug 1018829. Change-Id: Iad2aa32602224e15bb879f81a13b764fc09d9c67 |
||
|
Jenkins
|
355aac94a9 | Merge "Prefix all nova binaries with 'nova-'." | ||
|
Eric Windisch
|
244fd4d946 |
Add zeromq driver. Implements blueprint zeromq-rpc-driver
Change-Id: I7d941a97bf250428e70e8a4ee65ab6cb70fdfcfb |
||
|
Dan Prince
|
6582517c4a |
Prefix all nova binaries with 'nova-'.
Fixes LP Bug #1008625. Change-Id: I2b0dc97133b3039818a52e0b8456dc31cdbd714e |
||
|
Thierry Carrez
|
fea0ae767d |
Include volume-usage-audit in tarballs
Fix setup.py to include a reference to bin/volume-usage-audit and make it included in generated tarballs. Fixes bug #1001218. Change-Id: I9a02e3723a29f3fb960ffa4b10d5499e98bd3a4c |
||
|
Chuck Short
|
7ba26ad4ba |
Generate a Changelog for Nova
Ubuntu uses a tarball to generate packages for Nova and other openstack projects. This allows the user to find out what is included in the tarball. Signed-off-by: Chuck Short <chuck.short@canonical.com> Change-Id: I0291e19eee1ff2c5fc98b499571b2563841c6076 |
||
|
Joe Gordon
|
2c14f1818d |
Remove nova Direct API
blueprint remove-nova-direct-api Change-Id: I3229f8d7f37d66fcd6b978966f3a428a69e08bb1 |
||
|
Joe Gordon
|
02afb4d60c |
Remove tools/nova-debug
Broken and outdated (last updated on Mon Jun 27 2011) Change-Id: I3ed67430e01c2db531b89bc3ffd6e7b174791fbc |
||
|
Brian Waldon
|
a3bab242db |
Remove Virtual Storage Array (VSA) code
* Remove core vsa code (api, manager, drivers) * Remove nova-vsa executable * Remove OpenStack Compute API v2 vsa extension * Remove vsa scheduler * Remove vsa db api methods * Remove Zadara volume driver * Do not migrate out any existing data * Fixes bug 954490 Change-Id: Idab3d60796d5edbc23ef9f0887fcc1af558c6215 |
||
|
Joe Gordon
|
d64564d4be |
Remove broken bin/*spool* tools
Change-Id: Ia67f35374917d7037887b2d2c39ca92ff79587c8 |
||
|
Adam Gandelman
|
89c652d762 |
setup.py: Fix doc building
Commit 5702f80a0 updated local_BuildDoc's parameters without also updating references to the original parameters. This fixes the issue and gets './setup.py build_sphinx' working again. Change-Id: I3483c906c13347a718e1794786830f06af700ebd |
||
|
Yuriy Taraday
|
01a938f7fe |
HACKING fixes, all but sqlalchemy.
Looks like this fixes all HACKING problems that were around. Thanks to Dina Belova and Alexander Kovalev for this work. Change-Id: I8157f0d4890184c1216aab63ef7180ee8b7a184d |
||
|
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 |