Commit Graph

3857 Commits

Author SHA1 Message Date
Zuul
45c60179cb Merge "Cleanup zuul jobs file and update releases" 2022-01-21 19:15:31 +00:00
Zuul
5b13af166b Merge "Reduce duplicated memcache scripts" 2022-01-21 19:15:29 +00:00
Zuul
39531fb386 Merge "Fix glance-api pod always in init status" 2022-01-19 04:08:30 +00:00
Zuul
93c926edd8 Merge "Add cyborg" 2022-01-19 03:04:36 +00:00
Zuul
0d627521ca Merge "Fix nova-compute-ssh init to execute as runAsUser" 2022-01-18 13:07:23 +00:00
Gage Hugo
5345b2a812 Reduce duplicated memcache scripts
This change reduces the amount of scripts used to deploy memcache
down to one by removing a duplicate and pointing the symlink
to the component script.

Change-Id: Ia127666cf89c8823ffb3ba2b5ebe7d62afa5f82b
2022-01-17 21:20:53 -06:00
Zuul
cfbb395f43 Merge "Remove default policy in keystone chart" 2022-01-17 14:29:54 +00:00
Zuul
2687a9d24f Merge "Added cluster/temp_cache_dir" 2022-01-12 23:26:10 +00:00
Thiago Brito
c63b1920d5 Fix nova-compute-ssh init to execute as runAsUser
On _ssh-init.sh.tpl, despite one change the runAsUser for the
nova-compute container on the securityContext, the ssh keys are always
being copied into the 'nova' user's folder. This change fixes it by
getting the correct user defined on the securityContext and copying the
keys to its correct folder.

Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Ia7883dc4626a295892eb4637ef717b0b1725ac89
2022-01-12 17:32:12 -03:00
Zuul
afd94b8425 Merge "Fix transport_url" 2022-01-12 20:08:35 +00:00
root
85f2ced17f Add local_settings.d
Change-Id: Ibf64d80a10e1bbe46bdeb931340e3f7e2c3003db
2022-01-10 19:48:04 +11:00
Gage Hugo
073d9a14ee Remove default policy in keystone chart
Keystone has default policy defined in code, this change
removes the outdated values set in values.yaml in order to fall
back onto the in code values for policy.

Change-Id: If27eb0aa312b52c6fddd3811f10bc6207c7dfe27
2022-01-05 16:46:50 +00:00
Gage Hugo
ded761cf6e Cleanup zuul jobs file and update releases
This change cleans up several redundant values and updates several
openstack release references to wallaby.

Change-Id: I547408a81c73b6b3db147582def6e8527e75a5c3
2022-01-05 02:54:51 +00:00
Zuul
12afaa53ee Merge "Add OPENSTACK_ENDPOINT_TYPE value in horizon" 2021-12-15 09:38:49 +00:00
Gage Hugo
c0bdc96c40 Remove outdated overrides for glance
The deployment scripts for glance have leftover value settings
from older openstack releases that are no longer supported by
OSH. This change removes those random override values and has
them fallback to the get-values-overrides script.

Change-Id: If348d8be9748c281be27bdf5e8ac37d240d72636
2021-12-14 16:31:39 +00:00
okozachenko
3f89267bb3 Add OPENSTACK_ENDPOINT_TYPE value in horizon
Change-Id: Ic0c6996e4af31dc5e293f83b1089c48810ccab34
2021-12-07 14:54:11 +01:00
Zuul
09b453e488 Merge "Fix notifications for Cinder" 2021-12-02 11:50:21 +00:00
Mohammed Naser
8596470609 Added cluster/temp_cache_dir
When using Barbican with a large number of clusters, this option can
allow Magnum to cache the certificates locally to avoid hitting
the API excessively. It is enabled out of the box however since
we don't have that folder, it is not working.

Change-Id: I63cb35798b82460f7addd4ec719c157e2c1c4fd9
2021-12-02 12:43:32 +04:00
Zuul
96d0c5828c Merge "Added container_infra api version in values file to render in template" 2021-12-01 16:44:29 +00:00
Mohammed Naser
909824ac2b Fix notifications for Cinder
At the moment, the Cinder usage audit runs every 5 minutes which
is excessive and causes load on the system.  Also, it defaults to
auditing an entire month which can take ages for large systems.

This patch makes it run sanely at the 5th minute of ever hour and
also runs the audit for the past hour only.

Change-Id: I59d1230fa4d33a2cf0364ade1a710e65ef449057
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
2021-11-30 16:11:11 +04:00
xuxant02@gmail.com
39781a7d3d Added container_infra api version in values file to render in template
Horizon complains about not defined the container_infra version in OPENSTACK_API_VERSIONS when using the magnum dashboard in horizon. Additional of the api version of the container_infra solves the issue.

Change-Id: I99faeffc82d9d0e50e01f17f3fbf2ca0d19c161b
2021-11-29 20:07:41 +05:45
guilhermesteinmuller
52a3e8dffc Fix transport_url
We have observed that omitting statefulset
on the olso_messaging values can cause octavia
workers to ocasionally fail with:

AMQP server on rabbitmq.openstack.svc.cluster.local:5672 is unreachable:
[Errno 104] Connection reset by peer. Trying again in 1 seconds.:
ConnectionResetError: [Errno 104] Connection reset by peer

This patch aims to keep the pattern used on the other serivces
to setup the transport_url that includes all pods in the statefulset.

Change-Id: I1905dc8f443929a03786fd01d6cf4e50ff5d3cb2
2021-11-29 10:46:06 -03:00
xuxant02@gmail.com
348f538f6d Introduced helm hook for masakari
When changes are made to config, helm upgrade failes with immutable fields in jobs. Addition of the helm hooks with post upgrade will delete the old job and create the new jobs which will solve the issue.
Also, mounted the shm and enabled hostNetwork in masakari monitors so that it can communicate with pacemaker remote for monitoring the cluster status.

Change-Id: I8a8bc5b7c77643872e65fac294d0ff48347c476b
2021-11-29 11:32:13 +05:45
Zuul
311fb5bf69 Merge "Support both json and yaml RBAC Policy Format" 2021-11-22 22:58:42 +00:00
Zuul
3c709f9e6d Merge "designate: Fix extra volume mounts" 2021-11-22 05:37:54 +00:00
Gupta, Sangeet (sg774j)
44914c4ef1 cinder: Upgrade default images to ussuri
After volumev1 and volumev2 were removed, openstack-helm-infra gates
started failing because they are deploying defult cinder image which
is currently stein. The python-openstackclient for stein sets volumev2
as default volume type. This was failing volume commands in cinder
bootstrap job for openstack-helm-infra gates

Change-Id: Ifcb3c813f132c9deedaba9a11f9ef721efcb92b0
2021-11-18 21:33:29 +00:00
Zuul
28a29d1d7a Merge "Run keystone-ldap job on keystone changes" 2021-11-18 02:37:43 +00:00
Zuul
71de762a28 Merge "Update periodic/experimental jobs to helm v3" 2021-11-18 02:37:40 +00:00
Zuul
5640d16e32 Merge "octavia: allow using log_config_append=null" 2021-11-16 22:00:25 +00:00
Zuul
645e2a2c57 Merge "Fix node labels for masakari monitors" 2021-11-16 22:00:23 +00:00
Nafiz Haider
6ec2773c95 Remove cinder v1/v2 defaults
This change removes the cinder v1 and v2 endpoint definitions
from the default values in the cinder chart.

Change-Id: I0ee35ad71c76df157e2c670a7899e4b6c1b91e46
2021-11-15 15:59:06 +00:00
xuxant02@gmail.com
9415262896 Fix node labels for masakari monitors
Fix node labels for monitors agents as they need to run on the compute node where libvirt daemonset is running.

Change-Id: Ia4f3a510443f58b29d700421d77c5de51b0991b3
2021-11-15 16:15:46 +05:45
Zuul
ddf21b077e Merge "Make TLS job voting again" 2021-11-15 07:55:08 +00:00
Gage Hugo
863d8afb27 Run keystone-ldap job on keystone changes
This change modifies the keystone-ldap job to run in check when
the keystone chart contains any modifications. This moves it from
running periodically to running on each keystone change.

Depends-On: https://review.opendev.org/c/openstack/openstack-helm/+/816209

Change-Id: I32008e3a14b0428922071205f873087c2aba071d
2021-11-12 22:38:42 +00:00
Mohammed Naser
d1468c582e octavia: allow using log_config_append=null
This patch allows the user to set log_config_append
to null which will flip back to the original shipped
logging config.

Change-Id: I1a2b90f208286a61c4ca5799a75d46d44bcd5296
2021-11-12 01:39:29 -05:00
Mohammed Naser
61ae063d5e designate: Fix extra volume mounts
This patch fixes the code for adding extra mounts
for the Designate pods, it would otherwise
generate invalid YAML.

Change-Id: I7126e20090714db85f571a3a6a80ea2fc4e069d5
2021-11-12 01:33:33 -05:00
Gage Hugo
f895ef79c1 Make TLS job voting again
The TLS job was previously broken with the change to helm v3, but
has since been fixed. This change makes it voting again.

Change-Id: I3ea6f12a4d165f9ff64e002e860e873a603f6a6d
2021-11-11 17:50:15 -06:00
Gage Hugo
b4978e8e60 Update periodic/experimental jobs to helm v3
This change updates the experimental jobs that are
currently working to use helm v3. Later changes should
fix the other issues that they are currently experiencing.

Change-Id: I068a9bb835e1bde4d11d8dee0352c49248c20b15
2021-11-11 23:46:20 +00:00
xuxant02@gmail.com
420dac178e Removed the policy from values in favor of policy in code
As services have the default policy in code, the policy in values files is removed.

Change-Id: Icc07e3915a3b07beb02e8c0845d8d6e18adfcfea
2021-11-11 20:35:06 +05:45
Zuul
58e19cdb65 Merge "Only run cinder jobs on cinder changes" 2021-11-10 16:54:53 +00:00
Zuul
c74b35e958 Merge "Fix helm test method" 2021-11-10 16:54:50 +00:00
Zuul
5d028cd421 Merge "Fix helm test method about compute-kit" 2021-11-07 05:49:31 +00:00
root
842ef50b26 Add cyborg
Init cyborg chart

Implements: blueprint add-cyborg-chart
Change-Id: I30e1d7d4887b1027c2f26a787ebe9705dadfc1e0
2021-11-05 10:27:34 +00:00
Gage Hugo
f42a54532c Only run cinder jobs on cinder changes
We currently run multiple jobs that deploy cinder on changes
that have no relation to the service. This change modifies the
job to only run when we modify the cinder chart, test scripts,
or the zuul files themselves.

Change-Id: Ia188193929143cb6ae52266a5a87d2662626d42e
2021-11-04 15:17:40 -05:00
Huy Tran
1d7f880c42 Add check for number of computes in cell-setup-init script
This PS further enhances [1] to handle case where present
computes are up, but the number of present computes is not
equal to total number of expected computes.

[1] https://review.opendev.org/c/openstack/openstack-helm/+/815086

Change-Id: Idb2a7aeb202fe29fc528ba0dde987e7e0ee65a95
2021-11-03 11:09:02 -05:00
Phil Sphicas
46692e21d9 Fix nova-bootstrap job labels
Similar to earlier changes [0] [1], this change ensures that the labels
for the nova-boostrap job are consistently applied under .metadata and
.spec.template.metadata.

Unfortunately, there was a conflict in the "application" label that was
unresolvable in a backwards-compatible way.

    metadata:
      labels:
        application: nova-bootstrap
    spec:
      template:
        metadata:
          labels:
            application: nova
            ...

The standard helm-toolkit labels are now applied in both places, and the
application: nova-bootstrap label is removed.

0: https://review.opendev.org/c/openstack/openstack-helm/+/812233
1: https://review.opendev.org/c/openstack/openstack-helm/+/813300

Change-Id: I72275f3cf59ca8c1677922ca3b6f2e10b5578ab0
Depends-On: I0c892be5aba7ccd6e3c378e4e45a79d2df03c06a
2021-11-02 14:38:19 +00:00
jinyuanliu
b6870e7f4a Fix helm test method about compute-kit
This patch makes the helm test command more standard by calling script of common.

Change-Id: I324c4e8ee8f8cd12bae427511747a91d8d1f8c5a
2021-11-02 02:55:34 -04:00
jinyuanliu
7b3f420ede Fix helm test method
This patch makes the helm test command more standard by calling script of common.

Change-Id: I90397f437595016a5f7fb0ff9388319101027b5c
2021-11-02 02:47:46 -04:00
Zuul
119a7c7532 Merge "Update default image references" 2021-11-01 16:48:36 +00:00
Zuul
873de94f74 Merge "Move check jobs to use helm3" 2021-11-01 16:48:33 +00:00