Commit Graph

942 Commits

Author SHA1 Message Date
Jenkins 99ae65d1c4 Merge "[Trivial] changes tiny RST markup error" 2016-10-06 19:51:50 +00:00
Jenkins 911bc66c59 Merge "Fixes RST markup error to create a code-box." 2016-10-03 15:14:09 +00:00
Ianeta Hutchinson 4b95b03e4b [Trivial] changes tiny RST markup error
Removes trailing bullet point symbol from CLI commands list.

Change-Id: Id615fcbd0f2de696d993df7aaf3fc47bf384fdd0
2016-09-29 14:49:30 +00:00
Ianeta Hutchinson a0b85d6f06 Fixes RST markup error to create a code-box.
Change-Id: Ief06eaa630befb3d9a45ad9177cc40d5ccdf6f34
Closes-Bug: #1628643
2016-09-28 14:17:30 -05:00
Mikhail Feoktistov 4445d48471 libvirt: support user password settings in virtuozzo
Libvirt has "domainSetUserPassword" callback and virtuozzo driver
has an implementation for it. So in this patch we allow to use this
functionality for virtuozzo hypervisor.

Change-Id: Ia398afadfd9fd9544c5d843338ab25c0930d9f74
Implements: blueprint virtuozzo-instance-admin-password
2016-09-28 18:46:26 +00:00
Matt Fischer 81dff5070e docs: Clarify sections & note on filter scheduler
Right on now the Filter Scheduler page it is difficult to find where the
section is on configuring and writing your own. The page is very long.
So this adds some section headers. In addition a note is added to
clarify that when you write your own filter "all_filters" doesn't
include "write your own", both available and default settings need to be
changed.

Change-Id: I99878d3b4dc839ff87bc581e61c85e4ae2c66b2c
2016-09-23 14:22:16 -06:00
Stephen Finucane 3e92d21cd7 trivial: Rewrap guide at 79 characters
Change-Id: Icdaaa341e1fff4ee63ede1e1a059d41960e96f48
2016-09-21 11:32:17 +01:00
Jenkins a18abaf4d6 Merge "modify description of "Inject guest networking config"" 2016-09-19 18:03:06 +00:00
Jenkins 5346932cf2 Merge "Update link in general purpose feature matrix" 2016-09-19 18:00:03 +00:00
Ha Van Tu 1b7b0987f8 Update link in general purpose feature matrix
This patch updates link that the patch [1] added to general purpose
feature matrix
[1] https://review.openstack.org/#/c/344483/
Implements: blueprint feature-classification

Change-Id: I0f5abaf68adcbb49e013c2778cce692c6d8a7327
2016-08-24 15:51:26 +07:00
Jenkins 7b1424c2b6 Merge "Adding details in general purpose feature matrix [1]" 2016-08-24 06:57:36 +00:00
Brian Moss 7ab6397b88 Copy edit feature classification
Copy edit the feature classification document
to improve language and structure.

blueprint feature-classification

Change-Id: I0ca1f8270439109c3b525b2a22ba3f035f0426f0
2016-08-18 16:18:30 +00:00
Sarafraj Singh f34c91a5f2 Adding details in general purpose feature matrix [1]
Added details for:
1. Server create and delete
2. Server snapshot
3. Server power operations
4. Server rebuild and resize

blueprint feature-classification

Change-Id: I2f10b797432ca441bb067e026c6c31419144c110
2016-08-18 14:29:44 +00:00
Jenkins 9a19cdf23b Merge "Add details to general purpose feature matrix" 2016-08-18 13:25:23 +00:00
Jenkins a78ff9aff8 Merge "Adding details in general purpose feature matrix" 2016-08-18 13:24:23 +00:00
Jenkins 0b330408b1 Merge "Expand initial feature classification lists" 2016-08-18 13:23:25 +00:00
Jenkins 3c40b0a9fb Merge "Add prototype feature classification matrix" 2016-08-18 13:22:34 +00:00
xhzhf 4ca189acd4 modify description of "Inject guest networking config"
The description of "Inject guest networking config" in
support-matrix is misleading. Correct it.
In fact, If we config static ip,
guest os can not access metadata service to get ip config.
Closes-Bug: #1612913

Change-Id: I1892e5273a77516dd8e1525e6064fb95fa65e4d3
2016-08-13 15:02:02 +08:00
Jenkins 5b1a858254 Merge "Allow irrelevant,self-defined specs in ComputeCapacityFilter" 2016-08-10 20:32:43 +00:00
Matt Riedemann 45b21e4503 Add docs about microversion testing in Tempest
As discussed at the newton midcycle and in the dev
mailing list:

http://lists.openstack.org/pipermail/openstack-dev/2016-July/099860.html

We should add a Tempest test for any microversion that
changes the response schema so we have coverage in Tempest
and also so we don't have to fill large gaps in coverage
in Tempest when adding other unrelated tests.

Change-Id: Ie7cfe7ee857caf630d4380cf673ae208842fbc00
2016-07-28 20:09:07 -04:00
Pushkar Umaranikar efc713ce5b Add details to general purpose feature matrix
Added details for:
1. Server console output
2. Server rescue
3. Server config drive
4. Server change password
5. Server shelve

Implements: blueprint feature-classification
Change-Id: I59d356b981628e754fdf7921a8748d725d3d968c
2016-07-27 20:12:22 +00:00
Jenkins 0b1a9cc7f8 Merge "New style vendordata support." 2016-07-27 15:30:56 +00:00
ChangBo Guo(gcb) 5a173eb664 Adjust MySQL access with eventlet
PyMySQL works well with eventlet[1], and it's the default MySQL DB API
driver for oslo.db now[2]. So we need adjust the statement.

[1]https://wiki.openstack.org/wiki/PyMySQL_evaluation
[2]http://docs.openstack.org/developer/oslo.db/installation.html
Change-Id: Ib9b0bb9427dd34abbda25a0c91e9832743c6fc08
2016-07-27 05:40:23 +00:00
Michael Still 34b5ea5f44 New style vendordata support.
The nova team would like to stop dynamically loading python modules to
implement vendordata in the metadata service and configdrive. Instead, we
propose to provide a module which can fetch dynamic vendordata from an
external REST server.

Things still to do:
  - Documentation
  - Support HTTP caching headers
  - Cache vendordata responses
  - Write vendordata documentation
  - Unit test coverage of requests exceptions
  - Unit test coverage of attempted vd overwrites

Blueprint: vendordata-reboot
Change-Id: I19c61a637a640a00f90c6bc8e82c38e7d4084493
2016-07-26 08:15:25 -04:00
Sivasathurappan Radhakrishnan f2be1f8cf9 Adding details in general purpose feature matrix
Added details for:
1. Server volumes ops
2. Server block device mapping
3. Server neutron
4. Server pause
5. Server suspend

blueprint feature-classification

Change-Id: I6fe7ce561e47fc09939a7e4ddc25e19f07adef2d
2016-07-26 09:56:45 +00:00
John Garbutt 3ccba23d5d Expand initial feature classification lists
Lets focus on server operations that must be tested for each of the Nova
virt drivers, such as create a server and snapshot a server.

This initial list is not meant to be complete, rather its some of the
key headline server actions that we should look at first. This list
includes all actions of the above type that are included in DefCore.

Follow changes will look at correctly populating the data for each of
the features that have been included.

blueprint feature-classification

Change-Id: Ibe31acbae38ea9f2b06aedded66aa486ed1f5cb8
2016-07-18 18:31:03 +00:00
John Garbutt 027b92dc4e Add prototype feature classification matrix
Add in feature_classification.ini that makes use of new sphinx
extension feature_matrix. While it is loosely based on the
support_matrix extension, longer term this extension will live
outside the Nova tree. As such, this has been created as a new
separate sphinx plugin.

The matrix has links to wiki page for the CI in the header of the
summary matrix. This is called a target.

Also, there are links to admin docs, API docs, and tempest test uuids
added into the feature details. An option is added to ensure these are
always present in the prototype matrix.

A maturity status is added to be clear about the level of maturity
of each feature. When in maturity mode, this is added into the summary
table in place of the status. There is also some formating for the
different maturity levels.

blueprint feature-classification

Change-Id: Ib5895e8de901f1a282d0f5c0ecb811ff8b451497
2016-07-18 18:31:03 +00:00
Jenkins bae1d9cc21 Merge "Deprecate nova-manage vm list command" 2016-07-11 15:23:47 +00:00
Jenkins 66d4ab7579 Merge "Add nova-manage quota_usage_refresh command" 2016-07-10 06:12:38 +00:00
Matt Riedemann 5a5b06fb24 Deprecate nova-manage vm list command
The nova-manage vm command is replaced with the nova list command
in python-novaclient, and has been for a long time.

As of microversion 2.3, the fields that are output from
nova-manage vm list are all covered in the REST API for showing server
details, which can also be used via the --fields option of the nova
list command. The nova list command also allows filtering by host.

This sets the timer for deprecation and then removal in Ocata.

Change-Id: Ibce8c3deb24a16019b721d3b91640ca342ae541b
Closes-Bug: #1494841
2016-07-07 16:15:09 -04:00
Matt Riedemann c1d7fc702a Remove live-migration from nova-manage man page
There is no command for live-migration in nova-manage
so remove it from the man page.

Change-Id: I29764bcc4592ce023cfce53a477a851a633e6541
2016-07-07 16:04:13 -04:00
OctopusZhang 83b59ea603 Allow irrelevant,self-defined specs in ComputeCapacityFilter
For backward compatibility, ComputeCapacityFilter treats extra spec
keys which contain no colons like 'x' the same as 'capabilities:x',
because hoststate doesn't contain attribute like x, this filter always
return False. So it causes conflict with
AggregateInstanceExtraSpecsFilter, and limits user to define extra spec
keys without colons.

This patch solves the conflict and keep it backward compatible.

This patch also joins two lines into one in method host_passes.

Change-Id: Ia9e7c882bcee131e106e67dc46ed9ce1224e4c67
Closes-Bug: #1582589
2016-07-07 17:53:10 +00:00
Chuck Carmack 8d25383ad2 Add nova-manage quota_usage_refresh command
This is the final patch in the sequence.

The nova-manage quota_usage_refresh command will
sync a project or user's usage in the database
with the actual usage.

Implements blueprint: refresh-quotas-usage

Change-Id: Ic6da10b9c567ad5396b4a22b160e1abef8fa8f28
2016-07-06 22:24:02 +00:00
Mikhail Feoktistov d60d70598e libvirt: virtuozzo instance rescue mode support
Adapt "nova rescue" code to support Virtuozzo ploop disks.
In rescue mode we use static mount point /mnt/rescue for original filesystem.
As far as ploop disks are in fact directories
we use rmtree function to delete rescue disks in unrescue procedure.

Implements: blueprint virtuozzo-rescue-support
Change-Id: I07b9e3a8b726635294395b0292fc3592a1b0f918
2016-06-29 17:29:30 +03:00
Mikhail Feoktistov d4aa455d53 libvirt: virtuozzo instance resize support
Adapt "nova resize" code to support Virtuozzo ploop disks.
As far as ploop disks are in fact directories we add '-r' argument
to all utilities that deal with instance' disks such as cp, rsync and scp.
Thus we copy disks universally whether they are folders or files.

Also using "prl_disk_tool" instead of "qemu-img" is better for ploop images
because it resizes guest filesystem as well.

We can't resize disks from guest OS in containers,
because they are not allowed to write directly to block device.
ploop tool can resize partition table and internal filesystem,
but only for container's disks. Such disks must have only one partition
with ext filesystem.

prl_disk_tool can resize disks with internal filesystems
and doesn't require any special layout so it can resize disks
for virtual machines.  So it's better to use this tool instead of ploop.

Also we make compute.filters more strict
We call "ploop" only with "restore-descriptor" argument
And we set disk size in megabytes for prl_disk_tool

Co-Authored-By: Dmitry Guryanov <dguryanov@parallels.com>
Depends-On: I04c4379459c2fc1fd4801ec2aad53d0f6053b6d6
Change-Id: I38dbf73beb01fe1939ddca63fbfedbec1dc3c826
Implements: blueprint virtuozzo-instance-resize-support
2016-06-28 22:13:49 +03:00
Jenkins 5730a39ed7 Merge "fix developer docs on API" 2016-06-24 12:47:03 +00:00
Jenkins 2983c4ecb0 Merge "Modify "policy.conf" to "policy.json"" 2016-06-23 19:17:44 +00:00
Sean Dague c9f7b84df9 fix developer docs on API
During the defcore discussion about the fact that the extensions
facility was deleted from Nova, folks pointed to this doc and the word
extensions to state that it was clearly still supported. There are
many levels of confusion there.

This tries to crisp up the introduction and links to the API docs for
Nova.

Change-Id: Ic0be29fb14bfb00ed7691439318325967d138dc9
2016-06-22 15:06:12 -04:00
zte-hanrong f967d5c570 Modify "policy.conf" to "policy.json"
Because "policy.conf" does not exist in nova project, modify it
to "policy.json" instead.

Change-Id: Ib3e51412d2b6fcb8393bef967da371873cc6a91d
2016-06-22 17:13:08 +08:00
He Jie Xu 2066e43e7f Add a note for policy enforcement by user_id
The policy enforcement by user_id isn't supported by Nova, add a
note to devref to clarify that.

Change-Id: I11aece03f28a8cbe3d37681f49e4325689999142
2016-06-22 14:17:41 +08:00
Jenkins c867b3b85d Merge "Do not register notification objects" 2016-06-10 10:49:10 +00:00
Jenkins 2edb4bb8ed Merge "Update Support Matrix" 2016-06-09 10:25:15 +00:00
Balazs Gibizer 520ee65a55 Do not register notification objects
Only registering the notification objects during unit test.
Notification objects are never used in the Nova RPC interface
and shall not be mixed with such objects.

Change-Id: Iba9079bb204e6ef1302529ac159199ab9fa6272b
2016-06-08 11:32:53 +02:00
Jenkins 220439fcd6 Merge "Make available to build docs with python3" 2016-05-26 17:24:03 +00:00
Chris Dent bd199e3f9b Support for both microversion headers
In this change the new OpenStack-API-Version headers is allowed,
but not required, for requesting a microversion.

Both headers are accepted in the request and both headers are sent in
the response (both the header and its value, and the addition to the Vary
header).

Many tests which explicitly use a microversion header have been
updated to use both. This change is not 100% as most of the tests
are testing the handling of the value of the header, not which
header is involved.

Partially-Implements: blueprint modern-microversions
Change-Id: I68da13b5ba0c2f3357523e765a5b9db81899daf1
2016-05-25 21:41:27 +00:00
Yosef Hoffman 74d6c42a1f Update Support Matrix
HyperV: Nova serial console access support [1] has been merged
successfully. Update support matrix accordingly.

[1] https://review.openstack.org/145004

Change-Id: Ie6792e91c5c6c24d4af448605e4bb7d245bf41a8
Closes-Bug: #1584199
2016-05-23 21:57:03 -04:00
Andrey Volkov 9053a4685b Make available to build docs with python3
On Ubuntu 16.04 a tox package is for python3 by default
and this causes errors in building docs in tox enviroment.

In these changes iterators are replaced with lists where it's needed.
Also external command calls result are decoded from bytes to unicode.

Change-Id: I88ef54405b4bc13c269bdda55ae8289676311ee1
2016-05-23 15:30:20 +03:00
Lucian Petrut 3f96f3039a Hyper-V: Implement nova rescue
The root disk image is moved to a separate disk slot while the
rescue image will take it's place. If the instance requires it,
a temporary config drive is created as well.

Unrescuing the instance will move the root disk image back in
place, removing temporary images.

DocImpact

Implements: blueprint hyper-v-rescue

Change-Id: I6059ae35a77d675f54b98b2b43b5762e1d24365b
2016-05-21 02:15:04 +03:00
Jenkins 101cbb9e39 Merge "docs: link to Laski's cells talk from the Austin summit" 2016-05-17 10:17:08 +00:00
Michael Still 2c49b1e442 Documentation for the vendordata reboot.
Change-Id: I893bc574ba049250f1d06adc2b7f85eac21da1cf
Blueprint: vendordata-reboot
2016-08-30 15:03:17 -04:00