4292 Commits

Author SHA1 Message Date
dengzhaosen
2dfccce221 Add the conditional statement for log_config_append
As the nova.DEFAULT.log_config_append is a aption
for the configuration of nova, we should be add
condtional statement here.

Change-Id: Ib9c50c9ccc0c93226fffccc997c232b0259dff0c
2023-12-01 16:17:36 +08:00
Singh, Jasvinder (js581j)
b50501344f Fix indentation in heat chart
This commit is to fix the issue with heat chart, because of
indentation issue in annotations. The current chart is not allowing
the upgrade via helm if not fixed. Also bumping the chart version
and added release notes.

Change-Id: Ic22d2d20d00febc51bd410316522a85d2f7e582e
2023-11-22 10:51:40 -06:00
Anselme, Schubert (sa246v)
11eb3b2384
Add barbican certificate generation
This PS adds generation of certificate for barbican, when
tls connection is enabled (manifest.certificate=true), using
values from endpoints.key_manager.host_fqdn_override.default.tls
This PS also fixes tls connection to rabbitmq.

Change-Id: I6397ce934e33975b1d91795aaade498f3a71468a
Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com>
2023-11-17 17:36:53 -05:00
Zuul
41d046c1b5 Merge "Use region option in keystone endpoint-update.py" 2023-11-15 23:05:22 +00:00
chung00-lee
5b596e39ba Use region option in keystone endpoint-update.py
In multi-region environment, endpoints of other regions are also changed.
So, if we add the region option to endpoint-update file,
it changes endpoints only for the current region.

story: 2010965
task: 49081
Change-Id: Ia678b6737871dec8f6979924de7f2ba53153e7bf
2023-11-13 13:45:17 +09:00
Keonwoo.kim
88688f9199 Use --region option to prevent OS_SWIFT_ENDPOINT_PREFIX is broken in storage-init.sh
If there are multi regions, OS_SWIFT_ENDPOINT_PREFIX has broken url. To prevent this problem, use --region option.

story: 2010964
task: 49071
Change-Id: I1bbd76616ab9c9ec7a8554c7f382642b2dbe0661
2023-11-10 01:15:47 +09:00
Ritchie, Frank (fr801x)
488481c332 Ability to add extra commands for service cleaner
This PS makes to possible to add extra commands to the nova service
cleaner job if needed.

Change-Id: Ic1dee3e15a5b56712128142e054e0ca2813944bf
2023-11-08 15:53:20 -05:00
Zuul
545a621ffc Merge "Remove test jobs for old Openstack releases" 2023-11-08 02:20:17 +00:00
Zuul
e08418ced7 Merge "Disable DVR for OVN floating ip" 2023-11-07 23:33:02 +00:00
Zuul
9dcd98e7e9 Merge "fix(ovn): enable dependency to handle slow envs" 2023-11-07 20:21:33 +00:00
Vladimir Kozhukalov
0f106414a5 Remove test jobs for old Openstack releases
The PR removes test jobs for:
- Victoria
- Wallaby
- Xena

Change-Id: I7f5623685b61435d6bfc7092915a35baa13fc8c1
2023-11-06 17:09:13 -06:00
ricolin
6ae4b98eec Disable DVR for OVN floating ip
DVR with OVN floating ip is currently unstable and caused us a lot
of network connectivity issues.

This propose disable it as the default value (False) for
`enable_distributed_floating_ip`.

Change-Id: Ibcf49c331482336e1cbae76dfc2bde86962e350e
2023-11-06 15:37:00 -06:00
ricolin
dbceca760a fix(ovn): enable dependency to handle slow envs
With these missing flags, the Helm deploy would finish
but the services would not be functional, causing the
jobs to fail.

Change-Id: If0f6447945552fe6aedace45562e27efcab9a534
2023-11-06 15:36:01 -06:00
Ritchie, Frank (fr801x)
e44c4749b4 Ability to define extra commands for cell setup
This PS makes to possible to add extra commands to the nova cell setup
job if needed.

Change-Id: I3b1f4e2ee58e60d3d830772cbb57c115dd712824
2023-11-06 16:16:39 -05:00
Vladimir Kozhukalov
52cd767c84 Cleanup unnecessary files
We recently re-worked all the deployment jobs
so they use `deploy-env` Ansible role which works
for both multi-node and single-node environments.
This means there is no need to have diffrent sets
of scripts for these two cases.

Also when we deploy Openstack components it is better
to have values overrides for different scenarios but
not different sets of scripts. Here we remove unused
deployment scripts which in many cases duplicated
the code base.

We will be cleaning up the code base even further to
provide excelent user experience.

Change-Id: Iacda03964a4dd0e60873593df9f590ce20504f2f
2023-11-02 16:12:27 -05:00
Zuul
0943a9f774 Merge "Fix: Allow multiple ovs opetions in ovs-vsctl" 2023-11-02 20:58:33 +00:00
Zuul
2551f89cff Merge "fix: ovs support member" 2023-11-02 20:48:01 +00:00
ricolin
45b44f74e5 Fix: Allow multiple ovs opetions in ovs-vsctl
story: 2010934

Change-Id: I15ac563a8bf0fd7a01a5f29317b23bdabd615ab2
2023-11-01 00:12:21 +08:00
ricolin
5a4ab112c8 fix: ovs support member
OVS 2.15 changed terminology slave to member.
This change reflect that change.

Change-Id: If100748f9dc7083406b8004d0066673b54159b2c
2023-11-01 00:12:21 +08:00
Vladimir Kozhukalov
2815d67688 Use osh-bandit role for the bandit job
Change-Id: I1ced9902237777683feb36e5a3a261b9c0d56c42
2023-10-30 14:54:26 -05:00
Vladimir Kozhukalov
c987d4a3a0 Update osh-selenium image used by default
Change-Id: I31dce9be26f0e36ac00ef8e359d2ad72d6e46272
2023-10-26 12:49:04 -05:00
ricolin
51235e8b03 Allow manila properly config network host
This allow manila to respect fqdn host config for share network host

Depends-On: https://review.opendev.org/c/openstack/manila/+/897077

Change-Id: I8393f2b130c8c8914d946a1772fff08ff8b58652
2023-10-24 14:45:20 +08:00
Vladimir Kozhukalov
1a885ddd1f Update deployment documentation
Recently we updated our test jobs so that all of them
use the `deploy-env` Ansible role which utilizes the
Kubeadm to deploy the test Kubernetes cluster.

The role works for both multi-node and single-node
environments. Although the deployment of Kubernetes itself
is out of scope of Openstack-Helm, we recommen using this
role to deploy test and development Kubernetes clusters.
So at the moment there is no need to provide
different sets of tools single-node and multi-node test envs.
Now this is a matter of the Ansible inventory file.

Also the deployment procedure of OpenStack on top of Kubernetes
using Helm is the same for multi-node and single-node clusters
because it only relies on the Kubernetes API.

We will be improving the `deploy-env` role even futher and
we will be cleaning up the deployment scripts and the documentation
so to provide a clear experience for the Openstack-Helm users.

Change-Id: I70236c4a2b870b52d2b01f65b1ef9b9518646964
2023-10-23 19:10:30 -05:00
Vladimir Kozhukalov
5500b2ae0b Remove unnecessary doc locales
Change-Id: Id2f101783973dd935b41403442f1f78533d7ac73
2023-10-18 20:52:08 -05:00
Vladimir Kozhukalov
82a6aa8ce9 Add 2023.2 (Bobcat) jobs
Change-Id: Iea2a16db8acaa94259aeb3e21097bb771b70c38e
2023-10-13 12:40:12 -05:00
Vladimir Kozhukalov
fc365b8dd5 Bump Cirros image version to 0.6.2
In Bobcat by default the ssh keypair is generated
with ed25519 algorithm which is incompatible with
Cirros 0.3.5. The Cirros 0.6.2 also requires minimum
128Mi of RAM

Change-Id: I0135c09a9ae5bc3171891576b29a450f7000f180
2023-10-12 13:45:53 -05:00
Ritchie, Frank (fr801x)
507ed30b95 Improve cinder authentication support
The current values specified in values.yaml along with the configmap-etc
template can make it very difficult for the end user to properly configure
a cinder authentication method other than password. These changes give the end
user the needed flexibility.

Change-Id: I99e75e1aa9ddd8378518b1291123a34d2881715f
2023-09-28 12:49:05 -04:00
Thales Elero Cervi
7189e6c916 Nova: Add IP addresses search control flag
Add options to nova to enable/disable the use of:
1. The vnc or spice server proxyclient address found by the console
   compute init container
2. The my_ip hypervisor address found by compute init container
3. The libvirt live_migration_inbound_addr used by nova compute to
   live-migrate instances

These options can be used to prevent cases where the found addresses
overwrite what has already been defined in nova.conf by per host nova
compute DaemonSet overrides.
It is important to allow the flexibility of using or not the default
ConfigMap - DaemonSet cluster level configuration, allowing the
possibility of having custom per host overrides definitions that will
not be overwrite by nova-compute-init.sh

One use case (live-migration) for this flexibility is the following:
Originally the nova-compute-init.sh script received the capability of
selection a target interface (by name, in a ConfigMap level) through
which the live-migration traffic should be handled [1], allowing the
possibility of selecting a separate network to handle live-migration
traffic. This was not assuming any interface/network IP if users did not
set .Values.conf.libvirt.live_migration_interface.
Later [2], same script was updated to fall-back to default gateway IP
resolution in case the live_migration_interface is not defined.
So, currently it is mandatory to define a "cluster level config" for the
interface name (i.e., through ConfigMap) or to rely on default gateway
IP resolution for live-migration addresses.
This can be problematic for use cases were:
* There are many networks defined for the cluster and a host default
  gateway might not resolve to the desired network IP;
* There is the need of having a per host definition of nova.conf, since
  nova-compute-init.sh will create a new .conf that will overwrite it.

[1] commit 31be86079d711c698b2560b4bed654e23373a596
[2] commit 8f0a15413839c92d6d527bf7cbc441380de6c2af

Change-Id: Iaf86e0a215802001f58d607a1a3a18acf83f5e81
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Signed-off-by: Robert Church <robert.church@windriver.com>
2023-09-25 15:49:46 -03:00
Zuul
75c30f43db Merge "Fix start function template" 2023-09-23 00:55:24 +00:00
Ritchie, Frank (fr801x)
1f5da00e99 Fix start function template
The template contains extra backslashes which can cause the start function
to contain extra backslashes, ie:

function start () {
  exec neutron-server \
        --config-file /etc/neutron/neutron.conf \ \
        --config-file /etc/neutron/taas_plugin.ini \ \
        --config-file /etc/neutron/plugins/ml2/sriov_agent.ini \
        --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
}

With this change the function templates correctly.

Change-Id: I9f8ceb203a0039a83ee49c76d6891f7380a6cc08
2023-09-22 16:49:37 -04:00
Omar Munoz
31edf99329 Make selenium v4 syntax optional using the same pattern as
https://review.opendev.org/c/openstack/openstack-helm-infra/+/892708
Change-Id: Ifbf2e4d6a127ac1e7858c05b73321e4903d60596
2023-09-21 17:54:21 +00:00
Vladimir Kozhukalov
a4ee07744e Fix buildset registry usage for multinode jobs
The issue was that we used to add buildset registry
name to the /etc/hosts file only on the primary node.
This PR fixes this.

Change-Id: I48a861c7c6661e3fe1e7384f4b987f1646d652d7
2023-09-20 01:44:13 +03:00
Zuul
edd4154e13 Merge "Update port name for manila" 2023-09-19 18:43:05 +00:00
Vladimir Kozhukalov
b9da4fcbf6 Fix deployment jobs when used for testing images
Change-Id: I0f12c83c4896c699a0b6c13bbff7bc520ca56e46
2023-09-19 04:52:41 +03:00
sehun.jeong
173e004f13 Update port name for manila
the port name of the "manila/templates/service-api.yaml" file is b-api, resulting in 503 errors. It should change b-api to m-api

Closes-Bug: #2036395
Change-Id: I8fca75f60d82c67eab833ca09e459b028daaa3db
2023-09-19 10:37:37 +09:00
Karl Kloppenborg
fb88dd9b05 feat: BGP-Dragent for Neutron
Change-Id: Ibf4ce793f0e8d4d03b9e2bd5cd1163b52fcad4f1
2023-09-18 17:10:05 +00:00
Vladimir Kozhukalov
56842b39d4 Update ingress deployment script
We recently merged https://review.opendev.org/c/openstack/openstack-helm-infra/+/891720
which updates ingress controller deployment and assumes
we now use IngressClass objects instead of annotations.

We have to update the ingress deployment script
so it creates IngressClass objects with correct names.

Change-Id: I547f27250ba21bb068bc83c62954092111df8b50
2023-09-17 08:49:05 +03:00
Zuul
c52b794a2f Merge "Use deploy-env role for all deployment jobs" 2023-09-16 04:05:38 +00:00
Vladimir Kozhukalov
069d8e9320 Use deploy-env role for all deployment jobs
The change updates all deployment jobs so they use
deploy-env role which leverages kubeadm to deploy k8s.
This role works for both single-node/multi-node
inventories.

Also all jobs are reorganized to improve job
maintenance. Check pipeline runs tests for 3
most recent releases: Yoga, Zed, 2023.1

We are focusing on 2023.1 for which we run both
Focal and Jammy jobs.

Change-Id: Ibba9b72876b11484fd7cc2e4710e92f964f15cc3
2023-09-15 20:30:42 +03:00
Zuul
e8a1daa9da Merge "Create a certificate for novnc vencrypt separately" 2023-09-13 20:18:43 +00:00
okozachenko
96ea802204 Create a certificate for novnc vencrypt separately
Once manifests.certificates is set as true, TLS for all
components are enabled. There is no way to enable TLS for each
component.
This patch is to support the usecase to just enable vencrypt auth
scheme.

Change-Id: I1e33071a16e0eb764c51442f99c3795ceb9efb19
2023-09-07 23:16:17 +03:00
okozachenko
6b55070317 Run native netns cleanup in neutron
drive-by changes
- Use the same node selector for ovn metadata agent as ovs
  because both should be run on the same nodes
- fix ovn_metadata_agent endpoint config

Change-Id: I81402d6f877a469a6f4beeb5550bbb8f9e75cb43
2023-09-07 22:41:41 +03:00
Vladimir Kozhukalov
5aadee0dc8 Add Ubuntu Jammy overrides
Change-Id: Icabf43efee2e64c856ae14a69881d96b380d7751
2023-09-07 00:12:04 +03:00
Zuul
dbf2e68418 Merge "Fix VNC configs" 2023-09-01 13:48:10 +00:00
Ayumu Ueha
97c1c61ea2 Add Tacker chart
At this point it requires nfs provisioner that provides
ReadWriteMany volumes for vnfpackages, csar files and
also the same storage class is used for logs.

Also this patch adds a job that only deploys Tacker but
does not tests it in any way. This job is put to the experimental
pipeline.

Co-authored-by: Vladimir Kozhukalov <kozhukalov@gmail.com>

Story: 2010682
Task: 47771
Change-Id: I56d7ba489746ab4f818086440a7783f4b1ecb292
2023-09-01 05:01:02 +00:00
Sadegh Hayeri
5aa17f74d8 Fix VNC configs
Change-Id: Ib169ca0dff1a32a055c62a1bd9e9c1636a7f6634
2023-09-01 01:03:40 +03:00
Zuul
2b71ad5dae Merge "Fix getting IP when there are multiple IPs assigned" 2023-08-31 19:19:23 +00:00
Zuul
fa72ba0517 Merge "Allows keep glance-images PVC once defined" 2023-08-31 19:17:19 +00:00
okozachenko
bd955f077f Update health probe script in nova
If we define ovsdb_connection in os_vif_ovs config group, health
probe fails for nova-compute because of the wrong condition to
detect db connection string from configuration file.
This patch detects db connection string using string.startswith()
in a more strict way.

Change-Id: I12a3ea4061d5c13879b878b85eb206726b5db27c
2023-09-01 01:29:38 +10:00
ricolin
f074a65ba1 Allows keep glance-images PVC once defined
Glance image PVC contains requires images that should be careful handled
during changing glance storage when migrate out of PVC mode for glance
storage.
Which in migrate/upgrade path, should be be correctly moved and deleted
the PVC after.

On the other hand, it's also possible to accidentally changes storage
mode out of `pvc` and lose the `glance-images` PVC which is unbearable
mistake.

Once storage mode set to `pvc, we should allow that PVC to be able to
stay and ready for reuse again until it's mannually deleted.

This add flag `keep_pvc` (default to true).
Set it to true to set helm/resource-policy to keep for glance-images.
Set it to false to allow helm delete glance-images PVC when request.

Change-Id: I9d0e2a49aabf81eb2d4e00ad2a9d42125261489e
2023-08-31 12:13:31 +08:00