59975 Commits

Author SHA1 Message Date
Rajesh Tailor
e35c2e1d51 Correct wrong reference in docs
This change fixes the wrong url in nova compute admin doc [1]
in projects-users-and-roles section.

[1] https://docs.openstack.org/api-guide/compute/users.html

Closes-Bug: #1992139
Change-Id: Iee3546845bb37ad08f394ec710f7302d37ffd99b
2022-10-11 15:53:45 +05:30
Zuul
03d2715ed4 Merge "update default overcommit" 2022-10-07 02:29:22 +00:00
Zuul
df8e0335fa Merge "Handle "no RAM info was set" migration case" 2022-10-06 23:49:17 +00:00
Zuul
bbebdc3928 Merge "Fix typos in nova docs" 2022-10-06 12:09:51 +00:00
Sean Mooney
1260cdd492 update default overcommit
This change updates the cpu and ram initial
allocation ratios to 4.0 and 1.0 to reflect
the typical values that are suitable for non web
hosting workloads.

Change-Id: I283eb270a4e47da15cf01d098b4f3952f7b5b570
implements: bp/nova-change-default-overcommit-values
2022-10-06 12:50:56 +01:00
Zuul
ce15e7fa68 Merge "Remove the periodic Centos 8 job" 2022-10-05 04:58:19 +00:00
afariasa
6aea9f3772 Remove the periodic Centos 8 job
Centos 9 fips tests are already merged on Nova and Centos 8 jobs were already replaced by Centos 9,
this patch will delete a Centos 8 periodic pipeline that should have been deleted on previous patcc.

Change-Id: Ib735e9b52915639006bb08424d83f8ee39113d4f
2022-10-03 11:49:45 +00:00
Zuul
aad31e6ba4 Merge "Update nova-manage doc page" 2022-09-23 03:40:59 +00:00
Rajesh Tailor
0fce3c03ab Fix typos in nova docs
Change-Id: I7b6f8c198aa42f5ef3f8b158308b993b040454ec
2022-09-23 09:09:37 +05:30
Zuul
13c1450feb Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-09-22 13:42:38 +00:00
Zuul
9bf0ec9dfa Merge "Update master for stable/zed" 2022-09-22 12:05:25 +00:00
Zuul
1025c98793 Merge "Imported Translations from Zanata" 2022-09-20 10:15:51 +00:00
Zuul
9a0a9dd53f Merge "Move uwsgi-gmr reno to the proper place" 2022-09-19 18:06:13 +00:00
Zuul
de64b39c1b Merge "Updated flavors doc" 2022-09-19 13:42:19 +00:00
Thomas Goirand
6a06a57290 requires os-traits >= 2.9.0
Without the latest version, nova fails many unit tests (it failed
with os-traits 2.7.0 at least).

Closes-Bug: #1990121
Change-Id: I6b320ae1f9058aaa5bac91c7c7ca60136e0cee5c
2022-09-19 08:47:51 +00:00
Amit Uniyal
b7356303cd Updated flavors doc
Flavor with special characters in flavor ID is not allowed to create

Closes-Bug: 1920938
Change-Id: I600ae07f7fb039c9ccf461c4bf74ae42d9a3744f
2022-09-17 17:40:52 +00:00
OpenStack Proposal Bot
36b8534c9c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I55e31ea2f0cf43d03601ac2e32e8c7f44f8574b6
2022-09-17 03:40:34 +00:00
c48b75c459 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ieecbed5216c1ed47743bc2b74745c0a91bb105a3
2022-09-16 10:02:19 +00:00
5a9a15a450 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I19ad827588f760c4892fc613c7a44c852c4bf3a7
2022-09-16 10:02:12 +00:00
Pierre Riteau
4fb4f6832c Remove mentions of removed scheduler filters
Change-Id: I1348cca8cbd8b1142dab8507c8aa1b9baf01e73c
2022-09-16 10:39:42 +02:00
Zuul
797779688f Merge "Update min supported service version for Zed" 26.0.0.0rc1 2022-09-15 21:21:36 +00:00
Zuul
b8c62f2055 Merge "Prelude section for Zed release" 2022-09-14 17:13:48 +00:00
Zuul
9dbf462ac2 Merge "Update compute rpc version alias for zed" 2022-09-14 16:50:18 +00:00
Zuul
6cb538ff83 Merge "Bump min oslo.concurrencty to >= 5.0.1" 2022-09-14 15:46:08 +00:00
Sylvain Bauza
cfd3aa8dfc Prelude section for Zed release
We need it before RC1.

Change-Id: Ib674ca6a13f7c5d0254b222effa20d1948a80fe5
2022-09-14 16:10:35 +02:00
Zuul
72f7e89db1 Merge "Test setting the nova job to centos-9-stream" 2022-09-14 13:26:08 +00:00
Takashi Natsume
a1731927cc Update min supported service version for Zed
Nova only supports compute services that are not older than version
N-1. So in Zed the smallest supported nova compute version is Yoga
and the smallest Yoga service version is 61.

Change-Id: I4cbe233087577c7754856afcc4e3fe9fdc2d3008
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-09-14 11:31:50 +00:00
Balazs Gibizer
8f5fd2ae46 Bump min oslo.concurrencty to >= 5.0.1
The oslo.concurrency 5.0.1 fixes the fair lock we use heavily in the
ResourceTracker.

Closes-Bug: #1988311
Change-Id: I68914b2e21726138ee9a178fdf6a8bb6389c09be
2022-09-13 18:09:00 +02:00
Zuul
11cb31258f Merge "Gracefully ERROR in _init_instance if vnic_type changed" 2022-09-10 18:25:00 +00:00
Rajesh Tailor
023d2b4a9a Update nova-manage doc page
nova-manage doc page [1] mentioned usage of `nova-manage db archive`
command, which doesn't exist.

This change updates the doc page with the correct command
`nova-manage db archive_deleted_rows`.

[1] https://docs.openstack.org/nova/latest/cli/nova-manage.html

Closes-Bug: #1981088
Change-Id: Ibcbccf87ec70e9edea61c99d4d3bcf610cc1df64
2022-09-10 15:17:57 +05:30
Zuul
d02d06529c Merge "doc: mark the max microversion for zed" 2022-09-09 10:56:07 +00:00
Balazs Gibizer
e43bf900dc Gracefully ERROR in _init_instance if vnic_type changed
If the vnic_type of a bound port changes from "direct" to "macvtap" and
then the compute service is restarted then during _init_instance nova
tries to plug the vif of the changed port. However as it now has macvtap
vnic_type nova tries to look up the netdev of the parent VF. Still that
VF is consumed by the instance so there is no such netdev on the host
OS. This error killed the compute service at startup due to unhandled
exception. This patch adds the exception handler, logs an ERROR and
continue initializing other instances on the host.

Also this patch adds a detailed ERROR log when nova detects that the
vnic_type changed during _heal_instance_info_cache periodic.

Closes-Bug: #1981813
Change-Id: I1719f8eda04e8d15a3b01f0612977164c4e55e85
2022-09-08 09:19:16 +02:00
Balazs Gibizer
f8c91eb75f Reproduce bug 1981813 in func env
Related-Bug: #1981813
Change-Id: I9367b7ed475917bdb05eb3f209ce1a4e646534e2
2022-09-08 09:15:43 +02:00
Zuul
df366cab7c Merge "Add missing descriptions in HACKING.rst" 2022-09-06 18:25:09 +00:00
Zuul
b542b53585 Merge "Doc follow up for PCI in placement" 2022-09-06 16:30:19 +00:00
Zuul
36091a7ed7 Merge "Follow up for the PCI in placement series" 2022-09-06 16:30:11 +00:00
Takashi Natsume
966dd8b25a doc: mark the max microversion for zed
Just follows the pattern that we do every release.

Change-Id: I6ce6d536290d0126006413aa4b15ba89162d5761
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-09-03 10:34:20 +09:00
Takashi Natsume
a4bf453a3c Update compute rpc version alias for zed
This adds a compute rpc version alias for the named release zed.

Change-Id: Ib81433b4f5a4615d81a74b10e3e99a72ed5b3e1d
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-09-03 10:19:33 +09:00
Zuul
58be0ca8b8 Merge "Generate request_id for Flavor based InstancePCIRequest" 2022-09-02 13:12:56 +00:00
Balazs Gibizer
efb6fd834e Doc follow up for PCI in placement
This fixes the doc comments for the already merged (or being merged)
patches in the series.

blueprint: pci-device-tracking-in-placement
Change-Id: Ia99138d603722a66c9a6ac61b035384d86ccca75
2022-09-02 14:20:18 +02:00
Balazs Gibizer
11bcf2676c Follow up for the PCI in placement series
Fixed various small issues from the already merged (or being merged)
patches.

The logic behind the dropped FIXME and empty condition are handled in
the update_allocations() calls of the translator already.

The removal of  excutils.save_and_reraise_exception from the report
client is safe as self._clear_provider_cache_for_tree does not raise.

blueprint: pci-device-tracking-in-placement
Change-Id: If87dedc6a14f7b116c4238e7534b67574428c01c
2022-09-02 14:07:32 +02:00
Zuul
90e2a5e50f Merge "Add traits for viommu model" 2022-09-02 00:26:47 +00:00
Zuul
457806e206 Merge "libvirt: Add vIOMMU device to guest" 2022-09-01 19:56:09 +00:00
Zuul
8b55b44cc6 Merge "Allow enabling PCI tracking in Placement" 2022-09-01 18:21:52 +00:00
Zuul
82498dfe4b Merge "Handle PCI dev reconf with allocations" 2022-09-01 18:21:45 +00:00
Zuul
2925fd1427 Merge "Heal allocation for same host resize" 2022-09-01 18:16:11 +00:00
Zuul
40ca5e169a Merge "Heal PCI allocation during resize" 2022-09-01 18:16:04 +00:00
Zuul
4b7c31d103 Merge "Heal missing simple PCI allocation in the resource tracker" 2022-09-01 18:15:56 +00:00
Rico Lin
dc05564435 Add traits for viommu model
* Add iommu model trait for viommu model

* Add ``hw_viommu_model`` to request_filter, this will extend the
  transform_image_metadata prefilter to select host with the correct model.

* Provide new compute ``COMPUTE_VIOMMU_MODEL_*`` capablity trait for each model
  it supports in driver.

Implements: blueprint libvirt-viommu-device
Depends-On: https://review.opendev.org/c/openstack/os-traits/+/844336
Change-Id: I2caa1a9c473a2b11c287061280b4a78edb96f859
2022-09-02 02:13:20 +08:00
Zuul
bcdf5988f6 Merge "Add API support for rebuilding BFV instances" 2022-09-01 07:53:12 +00:00