Commit Graph

134 Commits

Author SHA1 Message Date
Stephen Finucane 450bacb04a Retire gantt
Change-Id: I8b84f777bf977d2a3dbba4b2ef61c9380205a049
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-01-11 10:44:08 +00:00
Doug Hellmann bbd0fea600 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: Ic4b90b965bda8e84f5dcaa90446282bb24a1cce1
2015-12-23 01:31:09 +00:00
Monty Taylor 19a539910f Make it abundantly clear that Gantt is dead
There is still confusion. Delete the files.

Change-Id: I00e4d9a644743afe5e8567c7dc2b20feef5c97bb
2015-03-31 15:32:27 -04:00
Don Dugger 71411726d6 Change various nova references to gantt in config files
This file was copied from the nova tree, remove some nova specific info.

Need to keep the gettextutils reference.

Update the setup.cfg file also.

Change-Id: I0cb66e6620900fd318f45d758a94f95b144e006a
Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
2014-01-05 14:46:46 -07:00
Joe Gordon a4883260df Minimal changes to get gantt passing the gate
This is the smallest set of changes needed to unwedge the gate. Because
the gate is wedged all these changes need to be in a single patch in
order to fix it.

* point .gitreview at correct repo

pep8
* Don't run tools/config/check_uptodate.sh, we don't even have a config
  file to check yet.
* gantt, doesn't have any local hacking checks yet so remove that
  section from tox.ini
* Update import_exceptions in tox.ini

pylint
* copy lintstack code in from nova.

docs
* add gantt version code, copied in from nova

Change-Id: I1d7adb5bf1bf383a2f8543dda6eb4cdeb26f3b9a
2013-12-26 22:36:27 -08:00
Jenkins 9fdda8e1b6 Merge "Removes os-personalities extension from the V3 API" 2013-12-07 04:21:58 +00:00
Jenkins 7e69ff1a05 Merge "Remove used_limits extension from the V3 API" 2013-12-05 10:49:21 +00:00
Chris Yeoh 20713018a2 Removes os-personalities extension from the V3 API
As per the discussion on the mailing list here:

http://lists.openstack.org/pipermail/openstack-dev/2013-September/015490.html

and discussions at summit, this patch removes the os-personalities
from the V3 API.

DocImpact

Part of blueprint v3-api-remove-extensions

Change-Id: I1a57ca812a9d71c0b1bab5d16ffad8eb82cba539
2013-11-20 22:46:36 +10:30
Christopher Yeoh e483a662f4 Remove V3 API version of coverage extension
As discussed at the summit in the QA session, this removes
the coverage extension from the V3 API. The coverage extension
doesn't work properly and has security issues. An alternative technique,
though more limited in nature will soon be proposed.

Partially implements blueprint nova-v3-api

Change-Id: Ib4296288fefeb7e1e11bb6e44bd1cf355f29b9b9
2013-11-18 21:53:33 +10:30
Chris Yeoh 43816e6a7d Remove used_limits extension from the V3 API
Remove the used_limits extension from the V3 API because
it shows usage for limits which are no longer going to be displayed
by the limits extension. See https://review.openstack.org/#/c/39872/
The limits are not being displayed there because they are already
available through the quotas extension.

Although the quotas extension currently only displays the quota limit
and not usage, the following proposed changeset adds display
of usage: https://review.openstack.org/#/c/32303/. And this is done
in a way which is much more consistent in terms of naming and interface
than used_limits does.

So we no longer need the used_limits extension

Partially implements blueprint nova-v3-api

Change-Id: I8ec1f300335ca4fc3b86323cc3af6bc1591da7bb
2013-11-15 10:59:45 +08:00
He Jie Xu 0e0167fbed Enable extension access_ips for v3 API
This patch enable extension access_ips, remove old 'access_ip_*'
attributes and related unittest from servers core. And remove
old attributes from api samples.

Partially implements bp nova-v3-api

DocImpact

Change-Id: Id4c8bb721550e317e0695d7876e2faa3d6e91a60
2013-10-26 17:19:46 +08:00
Jenkins 4645a64003 Merge "Adds missing entry in setup.cfg for V3 API shelve plugin" 2013-10-09 08:20:04 +00:00
Thierry Carrez 86369b1f31 Open Icehouse development
This should be accepted/merged once all the RC1 bugfixes are in.

This bumps the target version to 2014.1, effectively opening the master
branch to Icehouse development, ending the feature freeze.

The Havana release branch is cut from the previous commit in master.

Change-Id: Ia3a41177e3c91bd75b38833761f9f8af2b503e4b
2013-10-02 17:21:24 +02:00
Chris Yeoh b1415b5032 Adds missing entry in setup.cfg for V3 API shelve plugin
Adds the missing entry in setup.cfg which allows the V3 API
shelve plugin to be loaded. Also adds a v3 version of the unittests
for the shelve plugin.

Change-Id: I737ca0cae503b726b0103a4ae169ffca91188c87
Closes-Bug: #1233454
2013-10-02 12:14:46 +10:00
Dan Smith a9c6297101 Revert baremetal v3 API extension
Baremetal is scheduled to be deprecated in Nova soon. Since
the V3 API is experimental in Havana, we should revert the
extension to avoid maintenance of the extension and its tests
for no real gain.

Things have changed enough since it was added that a simple
git-revert won't work. This reverts the following changes:

  5de5ae1b5d3763dbcf14bf3b4d43199ad5255adf
  92c9975bd2d53624ae595b895c2e96991ee43778
  2382186311794591fb4d35893ffa774157d6131b

Mailing list discussion:

http://lists.openstack.org/pipermail/openstack-dev/2013-September/014614.html

Change-Id: I3bdc7234f91eb4f9078ee24d7ab093b28f9930c9
2013-09-05 15:19:31 -07:00
Jenkins 2f77af6ccd Merge "Port flavormanage extension to v3 API Part 2" 2013-09-04 16:51:07 +00:00
Alexei Kornienko 973e095353 Port flavormanage extension to v3 API Part 2
Ports the flavormanage extension and the corresponding
unittests to the v3 framework.

Partially implements blueprint nova-v3-api

Change-Id: Iaf6b4a2d7f4e4993a6540e8a3afc774b7b158608
2013-09-03 16:31:25 +03:00
Xavier Queralt b2e90fdc1b Add os-block-device-mapping to v3 API
Create a new v3 extension called os-block-device-mapping to handle
the block devices specified on server creation. This extension was
os-block-device-mapping-v2-boot in the old API.

Only the new block device mapping syntax has been ported although the
old one can still be used with v2 API.

blueprint: improve-block-device-handling

Change-Id: I898ae56539c6101680983d1eca4bce6d92bd5ce6
2013-09-03 15:23:40 +02:00
Jenkins 9836e06a6e Merge "Adds API version discovery support for V3" 2013-09-02 10:34:02 +00:00
Jenkins 750f775500 Merge "Adds support for security_groups for V3 API server create" 2013-08-29 15:34:40 +00:00
Jenkins 48a21d0a1e Merge "Removes fixed ips extension from V3 API" 2013-08-29 13:38:56 +00:00
Chris Yeoh a5c170d63a Adds support for security_groups for V3 API server create
Adds support for specifying the security group during the V3 API
server create to the security groups extensions. This was
accidentally missed during the initial port. Adds the
corresponding XML deserialization and unittests.

Partially implements blueprint nova-v3-api
Fixes bug #1208746

Change-Id: Ie9d9e03ae20357212b0f270d97a19a0d0f9b0557
2013-08-29 22:20:52 +09:30
Chris Yeoh 89bf1d66a3 Adds API version discovery support for V3
Adds version information for the V3 API which is only displayed
when the V3 API is enabled. Even if the the V3 API is enabled the
V3 API status is "EXPERIMENTAL" and the V2 one "CURRENT". This was
done so autodiscovery tools would not yet use the V3 version by
default.

Ports the relevant parts of the version extension and associated
tests to the V3 API to display V3 version information for /v3 GET
requests.

DocImpact

Partially implements blueprint nova-v3-api

Change-Id: Idd335ce0df63d91e94a4a757f1fbae94b576c37e
2013-08-28 14:49:05 +09:30
Chris Yeoh 48b8eb43ae Port multiple_create extension to V3 API
Ports the multiple create extension to the V3 API. There is no part1
patch for this changeset because the original V2 file was just a stub
with all of the code in servers.py

DocImpact
Partially implements blueprint nova-v3-api

Change-Id: I5eba468e9c4b753215b91607a3e2441626d2cb57
2013-08-28 14:17:08 +09:30
Chris Yeoh dd528c794f Removes V3 API images and image_metadata extensions
Removes V3 API images and image_metadata extensions as the
same functionality can be accessed directly through glance. Also
removes the associated testcases. There is a discussion about
the decision here:

http://lists.openstack.org/pipermail/openstack-dev/2013-August/012958.html

Fixes the image bookmark links in server information requests
so they point to glance

Partially implements blueprint nova-v3-api

Change-Id: Id32be0c0794b0f4dd220a928345ddf0133e9ffca
2013-08-27 11:11:15 +09:30
Chris Yeoh 8210aa25c7 Removes fixed ips extension from V3 API
The fixed ip extension was one of the first ported to the V3 API
but a later decision around not supporting nova network in the V3 API
means that this extension is not required for V3. The fixed ip extension
only supports nova network, not neutron and the same functionality
can be accessed directly through neutron.

Also changes some extension tests to use a different extension
for white/black list testing

Partially implements bp nova-v3-api

Change-Id: Ie589170e863ee489661e789c5134ed8349ced279
2013-08-26 20:36:41 +09:30
ivan-zhu 199f710e17 Demote personalities from core of API v3 as extensions os-personality
This patch move 'personality' from core into extensions.
* demote personality the attribute of server from servers
* add corresponding tests
* move some tests about personality from test_servers to test_personality

Partially implements blueprint nova-v3-api

Change-Id: I62254a94476271b1d8bcc206dfda1236f155960b
2013-08-15 11:41:52 +08:00
ivan-zhu 97ef0fe098 Port disk_config API to v3 Part 2
This patch contains the changes required to adapt the agent
extension and the corresponding unittest to the v3 framework.
Moves the commented out tests from the v3 version of test_servers
to the user data extension unittests.

Partially implements: bp v3-api-extension-versioning
Partially implements blueprint nova-v3-api

Change-Id: I7eef3ba18d7cc36c1ef78d093f50fd9122ac26c7
2013-08-15 11:36:27 +08:00
Jenkins 9fead8b1e8 Merge "Merged flavor_disabled extension into V3 core api" 2013-08-12 17:55:32 +00:00
Jenkins 57c0e6ca36 Merge "Merged flavorsextraspecs extension into core API" 2013-08-12 17:46:39 +00:00
Jenkins 2244adc67b Merge "Port server_usage API to v3 part 2" 2013-08-09 22:58:12 +00:00
Alexei Kornienko f7fd544601 Merged flavor_disabled extension into V3 core api
This extension was promoted to core API so it's code is moved inside
main controller

Related to blueprint nova-v3-api

Change-Id: Ia526f27382cf3bedea8b97de11659243d724497f
2013-08-08 11:31:21 +03:00
Alexei Kornienko 246ed14399 Merged flavorsextraspecs extension into core API
Partially implements blueprint nova-v3-api

Change-Id: I1eb9bea4996e106c848eb215e19088a968e5200c
2013-08-08 11:11:04 +03:00
John Bresnahan e046476781 Add plug-in modules for direct downloads of glance locations
Glance can expose direct URL locations to its clients.  In current
versions of nova the only URL that can be accessed directly is file://.
This patch adds a notion of download plug-ins.  With this new download
protocol modules can be added without disruption to the rest of the
code base.  Based on the scheme of the URL returned from Glance a
plug-in will be loaded and used to download the data directly, instead
of first routing it through Glance.  If anything fails in the process
the image will be downloaded by way of Glance.

Handlers are loaded with stevedore.  To add a new module follow the example
in nova.image.downloads.file.py.  The module is required to have two
functions:

get_download_hander():
This must return a child of nova.image.download.TransferBase

get_scheme():
Return the URL scheme that this module handles (ex: 'file')

If additional configuration is needed it can be added by the specific
plug-in (as shown by file_download_module_config included with this
patch submission).  Once the module is created it must be added as an
entry point to the python installation.  For those included with nova
this can be done by adding the following it setup.cfg:

[entry_points]
nova.download.modules =
    file = nova.image.xfers.file

Additionally, as part of the multiple-locations work in Glance meta data
comes back with each location describing it.  As an example,
this is needed for direct access to file URLs.  Nova cannot assume that
every file URL is accessible on its mounted file systems, nor can it
assume that the mount points are the same.  This patch solves that
problem for direct access to files.

blueprint image-multiple-location

Change-Id: I79b863c0075cebaadce5b630f22b81d2959ddbb1
2013-08-05 11:14:32 -10:00
He Jie Xu 2da255404e Demote admin-passwd from core of API v3 as extensions os-admin-password
This patch move the action 'change_password' from core into extensions.
* Catch exception InstancePasswordSetFailed explicitly
* Add decorator 'expected_errors'
* Change naming style of action name and attributes
* Add testcase

Partially implements: bp v3-api-extension-versioning

DocImpact

Change-Id: I35fb73a47a58584ad6f8af78ffa087ecebde92a8
2013-08-01 13:42:05 +08:00
Chris Yeoh 035c574ac5 Port server_usage API to v3 part 2
Ports the server usage extension and the corresponding
unittests to the v3 API framework

DocImpact

Partially implements blueprint nova-v3-api

Change-Id: Ic5c14ef83e0ec16f36672377f1daa046044dce78
2013-07-30 10:36:29 +09:30
Joe Gordon 6a55e2771e Remove fping plugin from V3 API
The fping extension, was introduced in
I7d942270aa52bd6216eda0d7ae366ef0195d52a8.  But this doesn't seem like a
good for nova-api.  We have no other 'instance monitoring' support in
nova and doing it out of the nova-api doesn't seem like the right place.

Change-Id: I3e9bd9b1c04aa06b62f1d3d82b0966e69829a620
2013-07-29 14:12:09 -07:00
Jenkins 1a024a0777 Merge "port BaremetalNodes API into v3 part2" 2013-07-26 08:04:32 +00:00
Mahesh Panchaksharaiah d2b4e6a837 Port migrations extension to v3 API part 2
This patch contains changes to port migrations extension to v3.

Partially implements blueprint nova-v3-api

Change-Id: Ie79a0d1eeeee7d4fce7a61d8e0cec90982368cf2
2013-07-24 17:16:42 +05:30
Jenkins 9b9f7e838e Merge "Port used limits extension to v3 API Part 2" 2013-07-18 07:16:54 +00:00
ivan-zhu d09a7598fa port BaremetalNodes API into v3 part2
This patch contains the changes required to adapt the BaremetalNodes
extension and the corresponding unittest to the v3 framework

Change-Id: Iceef736a3821a4628afc34be29a04766421d3e47
2013-07-17 14:58:20 +08:00
Jenkins 3397a0a743 Merge "Port deferredDelete API to v3 Part 2" 2013-07-16 14:13:46 +00:00
ivan-zhu 326e8db073 Port AttachInterfaces API to v3 Part 2
This patch contains the changes required to adapt the AttachInterfaces
extension and the corresponding unittest to the v3 framework

Partially implements: bp v3-api-extension-versioning

Change-Id: I0f3d4da962323a318448634e762f7c31490f9298
2013-07-16 19:57:50 +08:00
Jenkins babebff91c Merge "Port flavor_rxtx extension to v3 API Part 2" 2013-07-16 09:14:10 +00:00
Jenkins daefb3b536 Merge "Porting os-aggregates extensions to API v3 Part 2" 2013-07-16 09:02:01 +00:00
Jenkins d170a60d6b Merge "Porting server metadata core API to API v3 Part 2" 2013-07-16 09:01:18 +00:00
Jenkins 892c9c9772 Merge "Port limits core API to API-v3 Part 2" 2013-07-16 03:07:35 +00:00
Melanie Witt 76dc0d2e71 Port used limits extension to v3 API Part 2
Ports the used limits extension and the corresponding unittests to
the v3 framework.

Partially implements blueprint nova-v3-api

Change-Id: I6f1aa507ffd297e56d9cfd23972bc3bb15ba181a
2013-07-16 00:00:32 +00:00
Mauro S. M. Rodrigues cf8fdab057 Porting os-aggregates extensions to API v3 Part 2
This includes a set of fixes and improvements to os-aggregates:
    - eliminate the action method replacing its functionality with wsgi.action
      decorator.
    - Returns explicity and appropriate status codes for each REST action.
    - Improves information error passed to the user.

In the unit test removes one test that in fact was testing the action method
itself instead of _remove_host and which no longer makes sense since action is
removed.

Partially implements blueprint nova-v3-api

Change-Id: Ie737333c6b058f5b57b3e7c75b3d3eda95b80402
2013-07-15 14:03:40 -04:00
Mauro S. M. Rodrigues ec366da50b Porting server metadata core API to API v3 Part 2
This adapts server metadata API to v3 tree using the new extension
framework.
Partially implements bp v3-api-core-as-extensions

Change-Id: I2013ef255e00e256899f8048c97c1d6c73b3268f
2013-07-15 13:55:11 -04:00