Commit Graph

474 Commits

Author SHA1 Message Date
Joe Gordon 58373748ac Remove nova-volume scheduling support
Continuation of I0b540e54dbabd26901a7530035a38583bb521fda

* delete scheduler.simple
* modify scheduler.multi instead of delete to continue supporting
  I753e87fc8979fd0b62529974f00cf11fa55b3d63
* update scheduler.multi docstring
* scheduler.rpcapi bumped to 2.3
* change default scheduler to scheduler.filter_scheduler

DocImpact

part of bp delete-nova-volume

Change-Id: Ie9d9b46742b2d92cd1e9ffe982ef658907a1d411
2012-10-31 23:10:11 +00:00
Jenkins 6143e90d77 Merge "Add API samples to Admin Actions" 2012-10-29 19:27:03 +00:00
Jenkins f3d2669280 Merge "Addtional 2 packages for dev environment on ubuntu" 2012-10-29 18:26:21 +00:00
Mauro S. M. Rodrigues 9d54a1b70d Add API samples to Admin Actions
Change-Id: If072bf9e9a55c79c71fd3911776045ee46483a00
2012-10-29 07:17:32 -04:00
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
2012-10-28 11:34:05 -07:00
Jenkins 409de17308 Merge "Migrate to fileutils and lockutils." 2012-10-26 02:28:54 +00:00
Jolyon Brown 73f56fa819 Addtional 2 packages for dev environment on ubuntu
In file doc/source/devref/development.environment.rst added packages
build-dep and python-mysqldb which I have had to add on ubuntu 12.04
to enable the dev environment to be setup. Without these run_tests.sh
fails with error 'mysql_config not found' when setting up the virtual env.

Change-Id: I4af775386469deecf122a9e165457f241339b20b
2012-10-25 12:51:16 +01:00
Michael Still 0d4e6dbe6f Migrate to fileutils and lockutils.
Migrate nova to using openstack-common's file and lock utilities.
Resolves bug 1063230.

Change-Id: I1a4c87856bc08cd33b61d7098ed856baa4583654
2012-10-25 09:20:46 +11:00
Matthew Treinish 7fbe9ad597 Add availability zone extension to API samples test.
Change-Id: I43e64d6637ef850119475c5d470cc54e7168c388
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-10-24 17:10:04 -04:00
Mauro S. M. Rodrigues d6e0fdf752 Add Server diagnostics extension api samples
Change-Id: Id53e17caa75dcab01dd3209f771891b4e92debec
2012-10-22 07:14:49 -04:00
Mauro S. M. Rodrigues d2af738f02 Add api samples to simple tenant usage extension
Change-Id: Ib6e00e5c049846146619f52732cd06fefac62494
2012-10-11 00:59:07 -04:00
Jenkins 3d726a77ca Merge "Add api-samples to Used limits extension" 2012-10-10 23:56:57 +00:00
Mauro S. M. Rodrigues 10f31f7c43 Add api-samples to Used limits extension
Change-Id: I67069637db35eeb5a87026bf62252d006ed11b98
2012-10-09 00:01:08 -04:00
Matthew Treinish 3f77dec937 Add Multiple Create extension to API sample tests.
Change-Id: Ifa5cf31cc61e4269502ff692508866948670e46f
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-10-05 10:00:13 -04:00
Mauro S. M. Rodrigues 103ba15161 Add api samples to Certificates extension
Change-Id: Ifb61c9cd90f03225c27b5683e5f54f30c636994c
2012-10-02 15:01:10 -07:00
Matthew Treinish ce2ba8fae8 Add aggregates extension to API samples test.
Change-Id: I8f0f5b022795dc1d766e585cab8fe5f8445a3722
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-10-01 14:51:04 -04:00
Jenkins 62e49b5ec4 Merge "all_extensions api_samples testing for server actions" 2012-09-30 07:35:12 +00:00
Jenkins cf9d5de2ce Merge "Add servers/ips api_samples tests" 2012-09-30 07:34:30 +00:00
Mauro S. M. Rodrigues dda508ec6f Add api samples to cloudpipe extension
Change-Id: I0c9d5ac191c9c9dc6c74f955857aebf7c1952b94
2012-09-28 10:03:16 -04:00
Dan Smith e788d7694d Add servers/ips api_samples tests
Change-Id: I65f8b53b4126458e1522f0bc47559dc1318a473a
2012-09-25 09:41:36 -07:00
Sean Dague 8d4af6b906 all_extensions api_samples testing for server actions
server actions sometimes return servers objects, which means
their output is different when extensions are enabled. This
adds api samples for those cases to give a more realistic view
to the user of what they might expect.

Change-Id: Iaa9a4c3a373dee41931c5dc4f1b805f09a05299f
2012-09-25 10:15:27 -04:00
Jenkins 13a08f6ec7 Merge "Remove refs to ATAoE from nova docs" 2012-09-25 08:17:02 +00:00
Nikola Dipanov 7090ef9437 Integration tests virtual interfaces API extension
Adds tests and templates for testing of the virtual interfaces
API extension. Tests both json and XML API functionality.

Change-Id: I95f4e6667c3c2df123246d73498f13d826e3866a
2012-09-24 17:31:07 +02:00
Tom Fifield 43bc7d6996 Remove refs to ATAoE from nova docs
fixes bug 912108

Nova volumes' ATAoE is long gone. This patch merely removes the
remaining comments about it from the nova devref documentation.

Change-Id: Ic5586c0d596acae05cdee4ba9cb5ec453315b773
2012-09-23 14:12:42 +10:00
Jenkins 1ec8b5d06c Merge "Added description of operators for extra_specs" 2012-09-20 20:28:58 +00:00
Nikola Dipanov b456a862ad Adds API sample testing for rescue API extension
Adds tests and templates for testing of the server rescue
API extension. Tests both json and XML API functionality.

Change-Id: Icb241e96ebedde0b6385f8ba60eebd0e768f22da
2012-09-20 09:55:01 +02:00
Mauro S. M. Rodrigues 894ea491dd Add Keypairs extension to API samples test.
NOTE: This include two samples of post request: One to create the keypair and
another to import from a public key

Change-Id: I754fd5998cf8be46a96e69e3459c91d4f767575e
2012-09-18 20:49:59 -04:00
Jenkins 0de73a0d90 Merge "sample api testing for os-floating-ips extension" 2012-09-18 22:48:47 +00:00
Jenkins ebb2814524 Merge "Makes scheduler hints and disk config xml correct" 2012-09-18 22:41:18 +00:00
Jenkins 1071af1d8f Merge "Add user-data extension to API samples tests" 2012-09-18 22:40:48 +00:00
Sean Dague 1861cb557e sample api testing for os-floating-ips extension
API testing for negative error codes now removed so this
is only sample api testing

Change-Id: I144a6b69498b86be56ceecb680c5be2a51acdbb8
2012-09-18 15:15:13 -07:00
Vishvananda Ishaya 8d43c3fba1 Makes scheduler hints and disk config xml correct
The scheduler hints and disk config extensions were not using
proper prefixes when deserializing xml. This patch modifes
them to deserialize properly. It leaves the old deserialization
in place as well so anyone using the broken implementation
will continue to work.

It also updates the api samples to use the new format. Note that
the proper fix required changing the alias for the scheduler hints
extension, since the alias is used for xml, so the samples had
to be moved.

Finally it fixes an issue with deserialization, allowing it to
support multiple hints with the same name.

Part of bug 1050997

Change-Id: I9969582d65d44de25388f07b6d2013fb7d093fb2
2012-09-18 12:46:52 -07:00
Jenkins 1db2f54e0b Merge "Fix doc/README.rst to render properly" 2012-09-18 19:10:21 +00:00
Joe Gordon fba9f7666d Fix doc/README.rst to render properly
Fix doc/README.rst to work on github:
https://github.com/openstack/nova/tree/master/doc

Change-Id: Ib589607014158c2a5af26bd137e252e5a0de30c6
2012-09-18 11:42:51 -07:00
Sean Dague c9d6c65dc5 Add user-data extension to API samples tests
Change-Id: Ia7da11820e0008c6a46715fb4016da4474c3ddcc
2012-09-18 14:29:04 -04:00
Nikola Dipanov 4d0854f338 Adds API sample testing for Extended server attributes extension
Adds the basic test and templates for testing the response
of the extended server attributes extension. Tests both the
json and XML responses.

Change-Id: I38f43263bf5de854d7d7cf6d2180cf68831ad09b
2012-09-18 19:37:19 +02:00
Matthew Treinish 32c8c53f47 Add console output extension to API samples test.
Change-Id: I0ac1f893b06882acaa7c61dade61eb991a5d0d04
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-09-18 10:03:27 -04:00
Jenkins baf5e03f1c Merge "Add man pages" 2012-09-18 00:18:47 +00:00
Jenkins 6f129a4c79 Merge "Includes sec group quota details in limits API response" 2012-09-17 22:42:40 +00:00
Jenkins 036953b177 Merge "Add api samples to Scheduler hints extension" 2012-09-17 21:53:53 +00:00
Joe Gordon c8b15fc78c Add man pages
Add partially written manpages for:
* nova-all
* nova-api-ec2
* nova-api-metadata
* nova-api-os-compute
* nova-api-os-volume
* nova-api
* nova-cert
* nova-compute
* nova-console
* nova-consoleauth
* nova-dhcpbridge
* nova-network
* nova-novncproxy
* nova-objectstore
* nova-rootwrap
* nova-rpc-zmq-receiver
* nova-scheduler
* nova-volume-usage-audit
* nova-volume
* nova-xvpvncproxy

Change-Id: I3734831ce2f6b5d765e98b3f50fe8c1ad7965685
2012-09-17 12:00:08 -07:00
Jenkins 5206850e1c Merge "Add README for doc folder" 2012-09-17 17:37:32 +00:00
Jenkins 1270149696 Merge "Add api_samples tests for servers actions" 2012-09-17 15:21:18 +00:00
Mauro S. M. Rodrigues 940e1cfd7d Add api samples to Scheduler hints extension
Change-Id: Ic324d796dac0cfc7b36c47a181b55e09cb1503e2
2012-09-15 20:32:27 -04:00
Matthew Treinish 0e0d46353e Add security groups extension to API samples test.
Change-Id: Ie7635cacf96e0bafbd412ff40d7912aa0da4677d
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-09-14 15:15:10 -04:00
Dan Smith 52c850bb1d Add api_samples tests for servers actions
Change-Id: I67446ccd53c83b5fcfc3a1857a10e160263834dd
2012-09-14 10:32:27 -07:00
Joe Gordon 6dc8b4573a Add README for doc folder
In preparation for more more man pages

Change-Id: I55a9d332e5cbba90ff1e2a2cb0c0d24ae35fba5b
2012-09-13 17:39:30 -07:00
Ram Nalluri f609313116 Includes sec group quota details in limits API response
Added the security groups quota details to
the limit API response so that these details
also get displayed to the user.

Fixes bug 1049578
Change-Id: I45c345141747f99359c8948e959030f8cb99e866
2012-09-13 19:11:14 +05:30
Jenkins e72db9fe93 Merge "Adds more servers list and servers details samples" 2012-09-13 02:18:27 +00:00
Vishvananda Ishaya 8c168dd4fd Adds more servers list and servers details samples
This moves the servers detail test into the base servers test so
it runs with all_extensions as well. It also renames the
results to be consistent with the other tests. Finally it
adds test for servers-list both with and without extensions.

Change-Id: I6eed3932fa594f1a39faa55453461680781e6a9f
2012-09-12 14:57:52 -07:00