Commit Graph

47577 Commits

Author SHA1 Message Date
Jenkins 35cf533e12 Merge "Add release note for shared storage known issue" 2017-08-10 00:48:07 +00:00
Jenkins 1ce3d78982 Merge "Cleanup release note about ignoring allow_same_net_traffic" 2017-08-09 19:04:13 +00:00
Jenkins 963d284350 Merge "Document service layout for consoles with cells" 2017-08-09 19:03:41 +00:00
Jenkins 1f65849d07 Merge "Mark max microversion for Pike in history doc" 2017-08-09 19:02:57 +00:00
Jenkins 67a0a933a0 Merge "Add a prelude section for Pike" 2017-08-09 19:02:04 +00:00
Jenkins e62fe1accf Merge "doc: provide more details on scheduling with placement" 2017-08-09 19:01:12 +00:00
Matt Riedemann 0d31698d9e Add release note for shared storage known issue
Due to the scheduler report client on the compute service
not being aware of shared storage providers in Placement
for a given compute node, we can't claim support for
shared storage pool modeling in Pike. This adds a release
note to be clear about the lack of that functionality.

Change-Id: I0692a4fdf9a19889c5d708fb9a6a562c914963f9
Related-Bug: #1707256
2017-08-09 11:17:45 -04:00
Jenkins f09ff27dff Merge "Fix migrate single instance when it was created concurrently" 2017-08-09 12:50:51 +00:00
Jenkins 12000b8b87 Merge "no instance info cache update if instance deleted" 2017-08-09 12:43:19 +00:00
Jenkins fa3f2e4796 Merge "Add functional test for local delete allocations" 2017-08-09 03:01:21 +00:00
Matt Riedemann 9add178664 Mark max microversion for Pike in history doc
Change-Id: I180f2e8ca1cccce1b73429cdc47a6e7d7fc40634
2017-08-08 21:56:19 -04:00
Sylvain Bauza 216ccb5b92 Add a prelude section for Pike
Our release notes are read by a lot of people and we somehow need
to summarize the top main changes that are in that release for Nova.
Audience is targeted to be general and not really dev-oriented.

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Change-Id: I65cfb6e22597edfeda687fc2f0c5ae5e098aa950
2017-08-08 21:56:19 -04:00
Matt Riedemann 204e7d7f42 doc: provide more details on scheduling with placement
This provides a more detailed, but still high level, explanation
of how the FilterScheduler is using allocation candidates to pick
hosts during scheduling, and how the allocations are handled during
a move operation, including a resize to the same host.

Ideally this content will live somewhere else in the devref, or
would be updated in the spec for blueprint placement-claims, but
for now this should suffice for Pike release notes that can point
at this upgrade doc.

Change-Id: I274c684f829bc310ebb17faabf498d36f4ceea0c
2017-08-08 21:56:14 -04:00
Jenkins f65891c0c0 Merge "Create For End Users index section" 2017-08-08 23:00:28 +00:00
Jenkins 45d1e5ef55 Merge "Fix the log information argument mistake" 2017-08-08 22:54:36 +00:00
melanie witt 4ba7baf451 Add functional test for local delete allocations
This adds a test that shows we clean up allocations for an instance
that was local deleted while the compute host was down, when the
compute host comes back up.

There might still be a problem if the compute host is never brought
back up, as allocations will still exist for the instance and show
up as usage during usage queries to placement.

Related-Bug: #1679750

Change-Id: Ia68a5a69783963b063264edde84006973bb77ceb
2017-08-08 22:20:00 +00:00
melanie witt 4a3e8ecf38 Document service layout for consoles with cells
This adds information about where the consoleauth service and console
proxies should run with multiple cells in Cells v2.

Change-Id: Ib817581dfe0c32d3888c242166e3daa7b954320a
2017-08-08 20:31:02 +00:00
Sean Dague 53f752a669 Create For End Users index section
This reorganizes the pieces that are for end users into a convenient
chunk up front in the main index page.

Part of bp: doc-migration

Change-Id: Ic2fcabbf3faa531fccb19cffa2564f005142e463
2017-08-08 15:19:01 -04:00
Jenkins 3f12c8badd Merge "doc: Add additional content to admin guide" 2017-08-08 19:06:38 +00:00
Jenkins 3bc32c47e5 Merge "Create reference subpage" 2017-08-08 19:05:46 +00:00
Jenkins c780f31c79 Merge "Handle ironicclient failures in Ironic driver" 2017-08-08 17:47:43 +00:00
Matt Riedemann 0cae8d50fa Cleanup release note about ignoring allow_same_net_traffic
A large chunk of the release note for this is duplicated with
the same reno from e5080c7330
but the formatting and wording is slightly different.

This fixes them to look similar for the duplicate text.

Change-Id: Idd6149ae85ac2724633b80e938c4c1bf981b772b
2017-08-08 12:43:20 -04:00
Jenkins 94638e353a Merge "Fix all >= 2 hit 404s" 2017-08-08 15:54:55 +00:00
jichenjc ef85c99f5e no instance info cache update if instance deleted
Avoid instance info cache update if the instance is deleted,
as the deleted instance's info cache is already deleted in
db layer and it will report InstanceInfoCacheNotFound
exception and lead to a few exception logs in compute.

Please note this is different to regular info cache and
lead to InstanceInfoCacheNotFound exception, it's in the
case when you first create the info cache after instance
delete and InstanceInfo is also deleted.

Change-Id: I860e9e7c7ef458722135a21c6c5745f5519c56c4
Closes-Bug: 1618822
2017-08-08 11:36:30 -04:00
Jenkins 4dc7682e79 Merge "placement: filtering the resource provider id when delete trait association" 2017-08-08 14:43:02 +00:00
Stephen Finucane cadd25e9bc doc: Add additional content to admin guide
Import the following documents from the admin guide [1]:

- cli-manage-flavors.rst
- cli-nova-evacuate.rst
- cli-nova-manage-projects-security.rst
- cli-nova-manage-services.rst
- cli-nova-numa-libvirt.rst
- cli-nova-specify-host.rst
- cli-set-quotas.rst
- cli-set-compute-quotas.rst
- cli-os-migrate.rst
- cli-os-migrate-cfg-ssh.rst
- ts-no-emulator-x86-64.rst
- ts-multipath-warn.rst
- ts-failed-connect-vol-FC-SAN.rst
- ts-failed-attach-vol-no-sysfsutils.rst
- ts-failed-attach-vol-after-detach.rst
- ts-vol-attach-miss-sg-scan.rst

These were missed in the original import [2]. All 'ts-' files are merged
into a single 'support-compute' document, which is already in-tree.

[1] https://github.com/openstack/openstack-manuals/tree/stable/ocata/doc/admin-guide/source
[2] https://review.openstack.org/#/c/477497/

Change-Id: Ifa0039e270e54ea2fb58ab18ce6724e5e8e061a1
Closes-Bug: #1708666
2017-08-08 14:04:14 +01:00
Sean Dague b9efc9d641 Create reference subpage
In an attempt to make the main navigation sidebar not be visual mud
(and really confusing) create a reference sub page that explains all
the references.

Part of bp: doc-migration

Change-Id: I005fc24e49487631d7fe73cb498c61619bcaac9d
2017-08-08 12:28:50 +00:00
Sean Dague ecc6928a4a Fix all >= 2 hit 404s
This fixes all the >= 2 hit 404s from 2017-08-07 with
redirects. nova-cert is being referenced somewhere, in that case we
provide a 410 because that's never coming back.

Part of bp: doc-migration

Change-Id: I313e4a22dc2ad3faa890de864d00943b802e8b30
2017-08-08 07:32:31 -04:00
Jenkins 2765f041b9 Merge "[placement] Add api-ref for RP allocations" 2017-08-08 06:35:35 +00:00
Jenkins faa3be5c15 Merge "Updated from global requirements" 2017-08-08 02:17:14 +00:00
Jenkins e8fbcad8e9 Merge "Split Compute.errors_out_migration into a separate contextmanager" 2017-08-07 23:37:07 +00:00
Jenkins f742baa4c3 Merge "Use wsgi-intercept in OSAPIFixture" 2017-08-07 22:00:53 +00:00
Jenkins 6d4fc21709 Merge "Stop using mox stubs in cast_as_call.py" 2017-08-07 21:48:02 +00:00
Jenkins 6d95c030a1 Merge "Detach device from live domain even if not found on persistent" 2017-08-07 21:47:34 +00:00
Jenkins 2fc0452242 Merge "tools/xenserver: Remove 'cleanup_sm_locks'" 2017-08-07 21:31:55 +00:00
EdLeafe c2d33c3271 Handle ironicclient failures in Ironic driver
The ironic driver uses ironicclient to get the list of nodes from the
Ironic service. If that service is not running, or something otherwise
prevents the ironicclient's call from succeeding, and unhandled
exception will occur. This patch adds a generic exception handler for
this call, logging an error and continuing.

Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>

Closes-Bug: #1706772

Change-Id: I4ebebcf221dfe29e2aa125f5956aec10108f8fbe
2017-08-07 18:25:41 +00:00
Jenkins b93432e907 Merge "Add Contributor Guide section page" 2017-08-07 17:18:25 +00:00
Sylvain Bauza 2bd7df84dc Fix migrate single instance when it was created concurrently
When a multiple-instance creation is requested by the user, we create a
single RequestSpec per instance (each of them having the corresponding
instance UUID) but we keep track of how many concurrent instances were
created at once by updating a field named 'num_instances' and we persist
it.

Unfortunately, due to Ifc5cf482209e4f6f4e3e39b24389bd3563d86444 we now
lookup that field in the scheduler for knowing how many allocations to
do. Since a move operation will only pass a single instance UUID to
migrate to the scheduler, there is a discrepancy that can lead to an
ugly IndexError. Defaulting that loop to be what is passed over RPC
unless we don't have it and then we default back to what we know from
the RequestSpec record.

Change-Id: If7da79356174be57481ef246618221e3b2ff8200
Closes-Bug: #1708961
2017-08-07 16:48:59 +00:00
Jenkins c6b283e132 Merge "Add resource utilities to scheduler utils" 2017-08-07 16:39:05 +00:00
Stephen Finucane 21d5dfacb4 tools/xenserver: Remove 'cleanup_sm_locks'
XenServer 6.0 has long since been replaced and the bug was fixed in 6.1
[1]. No need to keep this legacy script around.

[1] https://bugs.launchpad.net/nova/+bug/1103158/comments/1

Change-Id: I8c41e88281aaf4250859622142a2f03f4452e1be
2017-08-07 12:26:53 +00:00
Andrey Volkov 5f3e136e25 [placement] Add api-ref for RP allocations
This provides simple documentation of the path and response
body parameters when listing resource provider allocations.

Co-Authored-by: Andrey Volkov <avolkov@gmail.com>

Change-Id: I40fcbc3077151227f33c6a021229b5c549889bbe
2017-08-07 12:06:53 +03:00
He Jie Xu e66c1accbd placement: filtering the resource provider id when delete trait association
When delete a trait association for specific resource provider, the current
code will delete that trait associations for all the resource providers.

The expected behaviour is only the specific trait association for the
specific resource provider will be removed. This patch corrects the filter
for the deletion of trait association.

Change-Id: I4b8f1b8f0a8d16f1c415edbfb2a7d342d176f70a
Closes-Bug: #1708978
2017-08-07 10:08:05 +08:00
OpenStack Proposal Bot 92c4689256 Updated from global requirements
Change-Id: I96e70a950ed04862d512f91211c4cb6fc3fd1159
2017-08-07 00:49:24 +00:00
Jenkins 5971dde5d9 Merge "Fix getting instance bdms in multiple cells" 2017-08-04 20:17:19 +00:00
Dan Smith 057ca0b7ef Add resource utilities to scheduler utils
This adds resources_from_flavor() and merge_resources() to help us
in the following patches.

Co-Authored-By: Jay Pipes <jaypipes@gmail.com>
Change-Id: I34e4d572a5fb0e0be48e75dece49ebc7337ad30c
2017-08-04 11:15:04 -07:00
Jenkins cd864faa9d Merge "[placement] Add api-ref for allocations" 2017-08-04 17:00:32 +00:00
Jenkins 2e75b91026 Merge "Fix 409 handling in report client when deleting inventory" 2017-08-04 16:52:08 +00:00
Sean Dague a5acc83c21 Add Contributor Guide section page
In order to wrangle together a top level TOC that makes sense, stop
including everything in the TOC (ideally we could convince sphinx to
not warn on that).

This creates a Contributor Documentation landing page with deep links
to all the relevant documents. It removes all those links from the
front page, and the TOC. They can be found by deep links or search,
and it is a less confusing initial experience for folks.

Part of bp: doc-migration

Change-Id: If5e7940ddd0ae3316f7475742c02abfe3df28ac4
2017-08-04 10:51:15 -04:00
Takashi NATSUME 0a2f45a5b2 Fix getting instance bdms in multiple cells
In the 'detail' method of ExtendedVolumesController
related to 'GET /servers/detail' API,
multiple cells environemnt is not taken into account
when getting instance BDMs.
So fix it.

Change-Id: I9377e988fbdc822df46e91c0db6c8012697bc2ee
Closes-Bug: #1708210
2017-08-04 10:44:56 -04:00
Alexandra Settle 85cd4574b8 Update install guide to clearly define between package installs
Change-Id: I59ada8a4d4c9ff59fe494929510760f397396dc6
2017-08-04 12:45:55 +00:00