2d78854d5361a80c91b78a40980fbf19b48cafb3
698 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Jenkins
|
43278552e4 | Merge "Add os-assisted-volume-snapshots extension" | ||
|
Russell Bryant
|
fa13644b05 |
Add os-assisted-volume-snapshots extension
Add a new API extension that exposes assisted volume snapshot capabilities. This extension is admin only by default. We expect it to only be called by Cinder. If you have your deployment set up in such a way that your adminURL is different from the public, this extension can only be loaded in the admin API instance. Cinder will pull that URL out of the service catalog to use. Part of blueprint qemu-assisted-snapshots Change-Id: I79e22ab6ef66fa16dc534a4336e766065702b2f5 |
||
|
Jenkins
|
8b5f0c9bee | Merge "Adds V3 API samples for migrations" | ||
|
Jenkins
|
e5e5068faf | Merge "Add flag to make IsolatedHostsFilter less restrictive" | ||
|
Jenkins
|
88fb94f5fa | Merge "Adds API version discovery support for V3" | ||
|
Chris Yeoh
|
5860420fa6 |
Adds V3 API samples for agents, aggregates and certificates
Adds v3 API samples for the agents, aggregates, and certificates extensions. Bundling them together to save on review load Partially implements blueprint v3-api-unittests Partially implements blueprint v3-api-specification Change-Id: Iee26fe25b5fd369f2a1f5690ddc095a90526a549 |
||
|
Chris Yeoh
|
a1baa247a4 |
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 |
||
|
He Jie Xu
|
6ac3d3626c |
Adds V3 API samples for migrations
Partially implements blueprint v3-api-unittests DocImpact Change-Id: Ic1a1b96f00831b22c9499d3ac2953f3d08819905 |
||
|
Chris Yeoh
|
5303209b73 |
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 |
||
|
Mark McLoughlin
|
d6cc2fa575 |
Fix spice/vnc console api samples tests
Start the consoleauth service, otherwise authorize_console() will fail if we start timing out call()s in the fake RPC driver when there are no consumers for a topic. blueprint: oslo-messaging Change-Id: Ieee37a0370c0b548c589a0573e6e8a68e10a6fdc |
||
|
Yassine Lamgarchal
|
35925e5d28 |
Add flag to make IsolatedHostsFilter less restrictive
This patch allows to run 'isolated' and 'non isolated' images on isolated hosts by adding a flag 'restrict_isolated_hosts_to_isolated_images'. If the flag is set to True then 'non isolated' images can't be run on isolated hosts (same behaviour as the current filter) otherwise they can be run on isolated hosts. DocImpact blueprint improve-isolatedhostsfilter Change-Id: I8c092caf32c05be88a547a7e8cb0530cc4925080 |
||
|
Chris Yeoh
|
6ee525dd7d |
Adds infra for v3 API sample creation
Adds the required infrastructure for the v3 API sample creation. - v3 API samples and the test cases are in their own v3 directory - API samples from "core" are now put in their own (per plugin) directory rather than in the root directory - Testcases to create api samples are now placed in individual files rather than one giant one. I think it makes it clearer what testcases we do have and avoids merge conflict pain Adds API samples for basic servers interaction Fix for bug in servers.py where if no extension was loaded which extends create xml deserialization an exception would occur (fixed here because it causes the api sample tests ported to fail). Partially implements blueprint v3-api-unittests Change-Id: I653af49dcc499c18f14b6e1764711a9922354069 |
||
|
Joe Gordon
|
f364e8ebe3 |
libvirt: sync get_available_resources and get_host_stats
get_available_resources is actually used by the scheduler while get_host_stats was previously used, and is still used for host capabilities. This patch makes get_available_resources and get_host_stats use the same logic to clean up the code. As part of making them use the same logic, some of the unused data returned from get_host_stats is changed to be what get_available_resources expects. This is also in preparation for removing the periodic RPC fanout from compute nodes to the scheduler. This patch cleans up libvirt and fake drivers only. This is not needed for other virt backends as this is a cleanup only. Further cleanup of libvirt and other drivers will happen after get_host_stats isn't used for the compute fanout to schedulers. Because this makes a change to the fake driver, several api samples needed to be changed as well. The fake driver is changed so the test_virt_driver tests can continue to be used Part of bp no-compute-fanout-to-scheduler Change-Id: I1eec5c117a1cb0490e9f9c09e731909bc31698a9 |
||
|
Jenkins
|
edb1347a94 | Merge "Removed scheduler doc costs section" | ||
|
Jenkins
|
fd54b79f4c | Merge "Fix formatting on scheduler documentation" | ||
|
Dan Smith
|
68288b9cd2 |
Fix instance actions testing
Somehow, the instance actions API was different in three places: 1. The actual API from a running system 2. The regular unit tests 3. The api_samples tests This fixes the fake_instance_actions module to look like the database model (which was the root of the problem) as well as the api_samples and regular unit tests to properly confirm the actual behavior I validated manually against a running system. This looks like it changes the external API, but in fact, it makes things match what the external API actually is. Change-Id: I0c8ddff3e0819a65667617083dfaa74f7317cc05 |
||
|
Alvaro Lopez Garcia
|
87d60617c7 |
Removed scheduler doc costs section
Since commit
|
||
|
Alvaro Lopez Garcia
|
0646d3b088 |
Fix formatting on scheduler documentation
Change-Id: Ifac98bbd9931d9bf75f73d4263aa77867cf52522 |
||
|
Tom Fifield
|
166c669fe0 |
Update references with new Mailing List location
Yesterday, openstack@lists.launchpad.org was migrated with all users to openstack@list.openstack.org. This patch updates references to the old mailing list with the new, to ensure that people encountering them don't accidentally try and join the old list! Change-Id: I76242f4f4f0c8c2418068ea709ab2f7aa4502fd5 |
||
|
Jenkins
|
db8fb8f98d | Merge "Remove the monkey patching of _ into the builtins" | ||
|
Alex Gaynor
|
cd9d8e45c6 |
Remove the monkey patching of _ into the builtins
Previous _ was monkey patched into builtins whenever certain modules were imported. This removes that and simply imports it when it is needed. Change-Id: I0af2c6d8a230e94440d655d13cab9107ac20d13c |
||
|
Nikola Dipanov
|
8c3475706d |
Servers API for the new BDM format
This patch makes the nova API aware and able to accept the new block device mapping format introduced in If30afdb59d4c4268b97d3d10270df2cc729a0c4c when booting an instance. It does so by introducing a new extension into the v2 API. There is no v3 extension as part of this patch because volume extension is going away in v3 and thus this functionality can be part of the core servers extension. This will be done in a subsequent patch. The compute API create method will still convert these back to the legacy format for the time being until the compute API will know how to take advantage of the new format. As this change adds the new API extension, marking it as DocImpact so that the changes and the API data format can be documented. blueprint: improve-block-device-handling Change-Id: I2c1b63e41deca26f727fb9ed912a55494db9c76c |
||
|
Jenkins
|
f9b154fc97 | Merge "Per-project-user-quotas for more granularity" | ||
|
Vishvananda Ishaya
|
8f51b120b4 |
Add support for volume swap
Adds support for transparently swapping an attached volume with another volume. Note that this overwrites all data on the new volume with data from the old volume. Implements blueprint volume-swap Change-Id: Iaace71f46acd33cf1531d953d569c0b6d0bbe680 |
||
|
liyingjun
|
77b4012a02 |
Per-project-user-quotas for more granularity
Implements blueprint per-user-quotas.
Fixes bug 968175
Based on the original quotas structure.
NOTE:
quota_instances, quota_cores, quota_ram, quota_key_pairs and
quota_security_groups are supported per user.
Add CRUD methods for project user quotas API. DocImpact
- Shows quotas for a user.
GET v2/{tenant_id}/os-quota-sets/{tenant_id}?user_id={user_id}
- Updates quotas for a user.
POST v2/{tenant_id}/os-quota-sets/{tenant_id}?user_id={user_id}
Add commands for project user quotas management.
- Show user quotas:
nova-manage project quota --project <Project name> --user <User name>
- Update/Create user quotas:
nova-manage project quota --project <Project name> --user <User name>
--key <key> --value <value>
Change-Id: I24af1f6bc439d5d740303c6fe176a9bffe754579
|
||
|
Jenkins
|
960b4f4245 | Merge "Remove unused recreate-db options from run_test.sh" | ||
|
Jenkins
|
536f37906d | Merge "API for shelving" | ||
|
Jenkins
|
a572f60b4b | Merge "Support scoped keys in aggregate extra specs filter" | ||
|
Andrew Laski
|
e53fb7dcdd |
API for shelving
Adds new 'shelve', 'shelveOffload'/'shelve_offload'(V3), and 'unshelve' actions to the API. Exposes the functionality already provided in the compute api. Part of bp shelve-instance Co-author: Dan Smith <danms@us.ibm.com> (Instance objects) Change-Id: Idd485b591730c6ac025ee57a1242afdd02191b2f |
||
|
Jay Lau
|
58e6bee529 |
Add a new GroupAffinityFilter
1) Add a new filter to schedule the instance on to host from a set of group hosts 2) Update filter_scheduler.rst to add the new GroupAffinityFilter filter description Implements blueprint group-affinity-filter DocImpact Change-Id: Iba59764e692cd1d3bc80521ba5a4412f2bebb168 |
||
|
Russell Bryant
|
fbedf60a43 |
Support scoped keys in aggregate extra specs filter
Update AggregateInstanceExtraSpecs to support scoped keys in flavor extra_specs. Otherwise, you can't use this filter in combination with other filters that act on un-scoped extra specs, because they may conflict. This recently came up on the mailing list: http://lists.openstack.org/pipermail/openstack-dev/2013-July/011421.html Fix bug 1198290. DocImpact - See updates to filter_scheduler.rst. Change-Id: I03d1d3268c800dc6982ffa4b13f8b9489428b991 |
||
|
Joe Gordon
|
1d38a9241d |
Remove unused recreate-db options from run_test.sh
run_tests.sh had an option to delete tests.sqlite, but that file is not used anymore so the run_test options don't do anything. Change-Id: I1abb257579da34c9dd7698543d8297268276bbc5 |
||
|
Jenkins
|
bbd681c2aa | Merge "Fix formatting errors in documentation" | ||
|
Jenkins
|
36b167e813 | Merge "Remove doc references to distribute." | ||
|
Oleg Bondarev
|
e354a56933 |
Add "ExtendedVolumes" API extension
- adds an API extension to include list of attached volumes with instance info - adds v3 api porting as well DocImpact Implements blueprint servers-add-volume-list Change-Id: If58dc40b093c2f61c6ae6b82fcd8f0bf53be464a |
||
|
Mahesh Panchaksharaiah
|
405ebb9028 |
List migrations through Admin API
The os-migrations extension exposes endpoint to fetch all migrations.
The migrations can filtered by host and status. If cells are
enabled migrations can be listed for all cells or can be filtered for a
particular cell.
The route for fetching migrations for
a region is - v2/{tenant_id}/os-migrations. Filters can be passed as
query parameters -
v2/{tenant_id}/os-migrations?host=host1&status=finished&cell_name=Child
DocImpact
Change-Id: Id70dbece344a722b2dc8c593dd340ef747eb43d3
Implements: blueprint list-resizes-through-admin-api
|
||
|
Doug Hellmann
|
42a02a1d73 |
Fix formatting errors in documentation
Fix a few rst formatting errors in the docs so sphinx does not generate warnings. Change-Id: I000d2ca3961678b47ead7a7885f3bc88ed7babc7 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com> |
||
|
Doug Hellmann
|
47500553d9 |
Use oslo.sphinx and remove local copy of doc theme
Use the new oslo.sphinx version of the OpenStack doc theme instead of copying it into this repo. blueprint oslo.sphinx Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com> Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8 |
||
|
Monty Taylor
|
f0a2770342 |
Remove doc references to distribute.
Change-Id: I9ea56b6d765fa7214e4bcc0dbca877b411171eea |
||
|
Jenkins
|
a108871de6 | Merge "Sane rest API rate limit defaults" | ||
|
Jenkins
|
758cf7cc81 | Merge "Add AggregateRamFilter" | ||
|
Joe Gordon
|
827c2d30b8 |
Sane rest API rate limit defaults
The previous rate limit defaults were unusable in any deployment. Rate limiting to 10 POSTS per minute and 50 servers per day seems to low, especially when we can use quotas to actually limit the amount of resources a user can consume. Update docstring to explain what the rate limiting is used for. Fixes bug 1178529 DocImpact changed default values Change-Id: I8cc93423f76d9b0a5135adf69babc4ff355a0951 |
||
|
Qiu Yu
|
c32a6d5ec3 |
Add AggregateCoreFilter
Implements blueprint per-aggregate-resource-ratio * AggregateCoreFilter to support per-aggregate cpu_allocation_ratio * Falls back to global setting if per-aggregate value not found DocImpact Change-Id: I9230f46e2490226f3c50d616aa173d4722095087 |
||
|
Qiu Yu
|
f3a6de6a16 |
Add AggregateRamFilter
Implements blueprint per-aggregate-resource-ratio * AggregateRamFilter to support per-aggregate ram_allocation_ratio * Falls back to global setting if per-aggregate value not found DocImpact Change-Id: I93e069f0ac3f595d9a2a17119274c7bfbe8fca31 |
||
|
Jenkins
|
7b18e1433f | Merge "Enhance the validation of the quotas update" | ||
|
gengjh
|
d5bbfad3d0 |
Enhance the validation of the quotas update
Need check whether the already used and reserved exceeds the new quota before update it. DocImpact Implements a validation to validate whether already used and reserved quota exceeds the new quota when run 'nova quota-update', it will throw error if the quota exceeds. This check will be ignored if admin want to force update when run 'nova quota-update' with additional option '--force'. This validation help admin to be aware of whether the quotas are oversold when they try to update quota and also provide an option '--force' to allow admin force update the quotas. Fix bug 1160749 Change-Id: Iba3cee0f0d92cf2e6d64bc83830b0091992d1ee9 |
||
|
Jenkins
|
99f00ff09b | Merge "add xml api sample tests to os-tenant-network" | ||
|
Andrea Rosa
|
c741e862fd |
Give a way to save why a service has been disabled.
Implements blueprint record-reason-for-disabling-service
We added a field to the service table to log a reason when a service has
been disabled.
We added a new API extension called os-extended-services. The new extension
will extend the os-services extension adding:
- A method for disabling a service and specify a reason for that.
PUT /v2/{tenant_id}/os-services/disable-log-reason
When the os-extended-extension is loaded the call:
GET /V2/{tenant_id}/os-services
will return the list of services with reason information it that exists.
DocImpact
Change-Id: I87a4affc45160796ff11c7b03e591e6aba73d62a
|
||
|
Jenkins
|
00d0e2c187 | Merge "Return Customer's Quota Usage through Admin API" | ||
|
Joe Gordon
|
b7fe4e206b |
Rename functions in nova.compute.flavors from instance_type
Second step in removing references to instance_types. Remove all references to instance_type in nova.compute.flavors. Also update compute devref to reflect changed name. Partially implements bp flavor-instance-type-dedup renamed: nova/tests/test_instance_types.py -> test_flavors.py Change-Id: I7413bf832c61d04ab90ec8b1370d3f01372c4172 |