2186 Commits

Author SHA1 Message Date
Jenkins
03e76353a8 Merge "devref and reno for nova-{api,metadata}-wsgi scripts" 2017-05-03 16:12:44 +00:00
Jenkins
0a7965030d Merge "Remove unnecessary execute permissions" 2017-05-03 11:47:51 +00:00
Jenkins
19fdd69048 Merge "Remove nova-cert leftovers" 2017-05-03 03:26:50 +00:00
Chris Dent
4b89755784 devref and reno for nova-{api,metadata}-wsgi scripts
This provides a brief explanation of the new nova-api-wsgi [1] and
nova-metadata-wsgi [2] scripts in the Architecture section of the devref
with links to the new doc added to the man pages for the eventlet
scripts.

The nova-api.rst mentioned ec2 so figured best to fix that now
rather than forget about it, despite not being entirely germane.

There is also a reno note that indicates the availability of the new
scripts.

There is a devstack change which is testing the new wsgi scripts as
well as forcing grenade to not use them at
If2d7e363a6541854f2e30c03171bef7a41aff745

[1] I7c4acfaa6c50ac0e4d6de69eb62ec5bbad72ff85
[2] Icb35fe2b94ab02c0ba8ba8129ae18aae0f794756

Change-Id: I351b2af3b256d3031bd2a65feba0495e815f8427
Related-Bug: #1661360
2017-05-02 16:58:28 +00:00
Jenkins
3653231715 Merge "Update devref with vendordata changes." 2017-05-02 16:10:54 +00:00
Michael Still
812801561d Update devref with vendordata changes.
Change-Id: Id0e39e998b6fa46b0fc91d3512afdafcf50a01a2
2017-05-02 15:10:54 +00:00
Emilien Macchi
f2121f5880 Remove nova-cert leftovers
Right now, we can't build Nova package in RDO because the tooling still
find some bits for nova-cert in Nova codebase.
This patch aims to purge them:

- man entry for nova-cert
- nova-cert binary in setup.cfg

Change-Id: Iebee0fbcdad5808e6543e3bcad10ea1f08b8f306
2017-05-02 08:19:29 -04:00
Takashi NATSUME
dccd839dfd Remove unnecessary execute permissions
TrivialFix
Change-Id: Ic3a634071b5b7629151f434c8549031b12f9baea
2017-05-02 14:39:25 +09:00
Jenkins
d6d5c6be0c Merge "Remove nova-cert" 2017-05-01 15:09:26 +00:00
jichenjc
d6bf770816 Trivial fix: fix broken links
the guideline include a broken links
nova/api/openstack/rest_api_version_history.rst need to be
nova/api/openstack/compute/rest_api_version_history.rst

Change-Id: I54f4796382865081654f2ab471fd67274d84bb89
2017-04-28 17:03:48 +08:00
Matthew Treinish
2bcee77e3b
Remove nova-cert
This commit removes nova-cert which has been deprecated since change
Id7a1fc943cbe6d860a50d3cc776717b55351004b. The APIs have been hard coded
to return a 410 whenever they're called now. For the API ref a new
section for obsolete apis is added to the bottom of the page and the
certificates api ref is moved there.

Implements bp remove-nova-cert

Change-Id: I2c78a0c6599b92040146cf9f0042cff8fd2509c3
2017-04-27 22:28:01 -04:00
Jenkins
2658bd30f8 Merge "Update doc/source/process.rst" 2017-04-26 12:29:51 +00:00
Jenkins
eeb1bfcec8 Merge "2.45: Remove Location header from createImage and createBackup responses" 2017-04-25 22:28:38 +00:00
Jenkins
ee722915fb Merge "nova-manage: Deprecate 'shell' commands" 2017-04-25 21:18:19 +00:00
Takashi NATSUME
f332a0476f Update doc/source/process.rst
Update doc/source/process.rst for pike cycle.

TrivialFix
Change-Id: Ic5075996122fc56cd2f7a0953470f2f6ab1a8b80
2017-04-25 13:09:51 -07:00
Matt Riedemann
66b0cf3337 2.45: Remove Location header from createImage and createBackup responses
This changes the response for the createImage and createBackup
server action APIs to no longer return a Location header and instead
returns a json dict body with the snapshot image ID. This is done
in a new microversion.

Implements blueprint remove-create-image-location-header-response

Closes-Bug: #1679285

Change-Id: Idc899ee76b8265b1c9e0871b6c7c277424cdd442
2017-04-25 15:52:14 -04:00
He Jie Xu
03ce169884 Deprecate Multinic, floatingip action and os-virtual-interface API
The following APIs which are considered as proxies of Neutron networking
API, are deprecated and will result in a 404 error response in new
Microversion:

     POST /servers/{server_uuid}/action
     {
         "addFixedIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "removeFixedIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "addFloatingIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "removeFloatingIp": {...}

And the nova-network specific API for query server's interfaces is
deprecated also:

     GET /servers/{server_uuid}/os-virtual-interfaces

Partial implement blueprint deprecate-multinic-proxy-api

Change-Id: I1848db384a825d3b166f113b30ebad92113af8e5
2017-04-25 12:04:05 -04:00
Jenkins
5450cea2f2 Merge "Deprecate os-hosts API" 2017-04-25 15:14:24 +00:00
Jenkins
3d09b67205 Merge "Adding auto_disk_config field to InstancePayload" 2017-04-25 13:05:41 +00:00
Jenkins
c3597c87d8 Merge "add tags field to instance.update notification" 2017-04-24 16:49:26 +00:00
Jenkins
893ee87d3c Merge "Tell people that the nova-cells man page is for cells v1" 2017-04-21 17:57:51 +00:00
Jenkins
60ad364963 Merge "Add release note and update cell install guide for multi-cell limitations" 2017-04-21 17:57:06 +00:00
Matt Riedemann
a2fd38f45a Tell people that the nova-cells man page is for cells v1
We have to continue scrubbing our documentation for anything
that generically refers to 'cells' since older documentation is
referring to cells v1, and we don't want people to confuse that
with cells v2. This simply provides a warning that cells v1 is
not recommended for new deployments and if you were looking for
help with cells v2 commands, we need to redirect you.

Change-Id: I3bd0332607bff169b5f496d17e4fc7d372ea991b
2017-04-21 10:11:39 -07:00
Matt Riedemann
9a5c3cd7da Add release note and update cell install guide for multi-cell limitations
As of change If1e03c9343b8cc9c34bd51c2b4d25acdb21131ff, using
"nova hypervisor-list" before compute hosts are mapped to a cell
will result in an empty list.

Our cells v2 install steps mention using 'nova hypervisor-list' after
creating a cell and starting compute services to tell when to run
the discover_hosts command, but now hypervisor-list won't work until
you've run discover_hosts, so it's a catch-22.

This change adds a release note to let people writing deployment tools
to know about the change in behavior and also updates the install steps
to use service-list instead of hypervisor-list, since service-list does
not require the compute host to be mapped to the cell first.

We are going to need to make a similar change in the OpenStack install
guide since that also mentions using 'nova hypervisor-list' before
discover_hosts.

Change-Id: If2baab40c2e2a3de20e561bba50688d615b002ef
Closes-Bug: #1682060
2017-04-21 10:11:03 -07:00
Sujitha
bb7d5214a4 Adding auto_disk_config field to InstancePayload
Add auto_disk_config field to InstancePayload based on
instance.auto_disk_config boolean value. If true, set it to
AUTO else MANUAL.

Implements: bp additional-notification-fields-for-searchlight
Change-Id: I18af99479562e2fe5e74e6e1252b804b074fee58
2017-04-21 12:45:39 +02:00
Sujitha
eb1ac77dd7 add tags field to instance.update notification
Tags field is added to the InstanceUpdatePayload based on the
tags field fo the related Instance object. Adding tags to instance.create
notification will be handled in the bp tag-instances-when-boot.

Implements: bp additional-notification-fields-for-searchlight

Change-Id: Ifad6487de200767fc16d035ad830c77bba49154a
2017-04-21 12:44:12 +02:00
jichenjc
aad4be2e3d Deprecate os-hosts API
This patch deprecates os-hosts APIs including:

GET /os-hosts - list hosts
GET /os-hosts/{host_name} - show host details
PUT /os-hosts/{host_name} - update host status
GET /os-hosts/{host_name}/reboot - reboot host
GET /os-hosts/{host_name}/shutdown - shutdown host
GET /os-hosts/{host_name}/startup - start host

Much of the ``os-hosts`` API is duplicated with the ``os-services`` and
``os-hypervisors`` APIs. It's not a good idea to make nova have the
compute related API, so this patch deprecated them.

Implements blueprint deprecate-os-hosts

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

Change-Id: Ieb85653b85a1eff38a9fb0c9ff05e4cd39150ecc
2017-04-20 11:58:26 -04:00
Matt Riedemann
75a7e6fc7d Remove unused os-pci API
The os-pci API was never part of the v2.0 API and was added
to the v3 API, but when the v3 API turned into the v2.1 API
which is backward compatible with the v2.0 API, the os-pci
API was removed from v2.1. The original intent was to enable
it in a microversion but that never happened.

We should just delete this API since it has a number of issues
anyway:

1. It's not documented (which makes sense since it's not enabled).
2. The PciHypervisorController just takes the compute_nodes.pci_stats
   dict and dumps it to json out of the REST API with no control over
   the keys in the response. That means if we ever change the fields
   in the PciDevicePool object, we implicitly introduce a backward
   incompatible change in the REST API.
3. We don't want to be reporting host stats out of the API [1].
4. To make the os-hypervisors extension work in a multi-cell environment
   we'd have to add uuids to the PciDevices model and change the API to
   return and take in uuids to identify the devices for GET requests.
5. And last but not least, no one has asked for this in over two years.

As a result of removing this API we can also remove the join on the
pci_devices table when showing details about an instance or listing
instances, which were added years ago because of the PciServerController:

Id3c8a0b187e399ce2acecd4aaa37ac95e731d46c

Id3e60c3c56c2eb4209e8aca8a2c26881ca86b435

[1] https://docs.openstack.org/developer/nova/policies.html?#metrics-gathering

Closes-Bug: #1426241
Closes-Bug: #1673869

Change-Id: I9099744264eeec175672d10d04da69648dec1a9d
2017-04-18 23:47:40 -04:00
shaofeng_cheng
6f7bbf3e17 Update etherpad url
Update etherpad url in how_to_get_involved.rst.

Change-Id: I2f9709c1cdb21eab7804c4e2948dc90ffb0350b7
2017-04-18 09:21:56 +08:00
Jenkins
b5a9ebf4f2 Merge "Add server-action-removefloatingip.json file and update servers-actions.inc" 2017-04-07 18:34:30 +00:00
Jenkins
3d015a8b4d Merge "fixed typos and reword stable api doc" 2017-04-07 09:15:34 +00:00
Matt Riedemann
f828f6db6f docs: update description for AggregateInstanceExtraSpecsFilter
This copies a line from the ComputeCapabilitiesFilter description
which points out that if the flavor does not have any extra specs
then it passes the filter. I had to figure this out via code inspection
so it would be good to document it.

Change-Id: Id7b3ec5dd2847c9ea615981031d7e0f2b1beb3e2
2017-04-04 17:42:48 -04:00
Stephen Finucane
b8ee0ca245 nova-manage: Deprecate 'shell' commands
The usefulness of these options is dubious at best and there's no real
reason to keep them around. Deprecate this command now, with the plan to
remove it entirely in Queens.

Change-Id: I5c578d4f322cab1be69b8e498a8dd3bbff29b269
Partially-Implements: bp move-nova-cmds-to-cliff
2017-04-04 14:25:57 +01:00
Jenkins
13f44f90c0 Merge "doc: Separate the releasenotes guide from the code-review section" 2017-04-03 22:53:20 +00:00
Lee Yarwood
c6a399f453 doc: Separate the releasenotes guide from the code-review section
This was previously hidden within the code review guide making it almost
impossible to find from the initial index page.

Change-Id: I47e771c641d72a837345b1b9a07e86ca4313b518
2017-04-03 22:02:59 +00:00
Matt Riedemann
068d2565d1 Distinguish between cells v1 and v2 in upgrades doc
The note about rolling upgrades not being supported for cells
was referring to cells v1, so let's make that clear.

We will support rolling upgrades for cells v2 deployments, we
just haven't documented it yet (or done it in a grenade job).

Change-Id: I6a8b3d3aaa49859e8b769a296684ac96883719f8
2017-04-03 13:31:15 -04:00
libing
e0582bf174 Add server-action-removefloatingip.json file and update servers-actions.inc
Part of bp:api-ref-in-rst-pike

Change-Id: I6a7dbbd5d999fef557a110a6828a317e2e8da3c0
2017-03-31 14:12:38 +00:00
Lee Yarwood
9cf7a0363a doc: Move code-review under developer policies
This was previously hidden within Architecture Evolution Plans.

Change-Id: I7198f46e0f1a0a3d37312cc85077e53367c2cdec
2017-03-30 16:33:36 +01:00
Jenkins
07fcf70cae Merge "doc: add some documentation around quotas" 2017-03-29 23:23:07 +00:00
Jenkins
7f5dd33a70 Merge "Complete verification of servers-action-fixed-ip.inc" 2017-03-28 10:58:37 +00:00
Jenkins
7814c685fc Merge "doc: configurable versioned notifications topics" 2017-03-27 13:31:27 +00:00
jichenjc
8eea19e5ac fixed typos and reword stable api doc
fixed some typos and reword the statement for better
readability in stable_api.rst file.
also, do some enhancement on /extensions API about it
is already deprecated and no more add to it.

Change-Id: I9946d8b095b1418aedb2210ab3a22589625fd2fb
2017-03-25 22:44:39 +08:00
Dan Smith
03b4c67b22 Set instance.availability_zone whenever we schedule
This ensures that instance.availability_zone reflects what AZ the
instance is actually in. In the case where no AZ was requested at
boot, previously this would always be some default value, which
isn't as useful to the things that need to consider what AZ the
instance is actually in (without doing all the aggregate math to
determine it on the fly).

Related to blueprint cells-aware-api
Change-Id: I8d426f2635232ffc4b510548a905794ca88d7f99
2017-03-23 09:30:40 -07:00
Sean Dague
e580afa839 update i18n guide for nova
This reflects the new approach of not translating log messages

Change-Id: Ie402c697a76a78db039a05ee03c60381ba37d91e
2017-03-21 07:15:54 -04:00
Jenkins
5e252d1c66 Merge "Remove extension in API layer" 2017-03-20 14:39:36 +00:00
Jenkins
d4c4f7d43d Merge "Replace obsolete vanity openstack.org URLs" 2017-03-20 13:27:20 +00:00
Jenkins
cb506ec2e5 Merge "nova-status: require placement >= 1.4" 2017-03-20 13:14:28 +00:00
Jenkins
47d90a3028 Merge "Transform instance.reboot.error notification" 2017-03-18 23:20:25 +00:00
Jenkins
dbbf5919ad Merge "Transform instance.reboot notifications" 2017-03-18 23:15:58 +00:00
Gábor Antal
896ee40d27 Transform instance.reboot.error notification
Change-Id: Icef17163538e3cff8242d12ae21ec2f0c19ee494
Implements: bp versioned-notification-transformation-pike
2017-03-16 14:43:50 +00:00