Commit Graph

3841 Commits

Author SHA1 Message Date
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
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
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
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
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
okozachenko
3d344e43a2 Support both json and yaml RBAC Policy Format
Oslo policy supports both JSON as well as YAML formatted file yet.
Because some projects yet use json file such as monasca-ui.

So horizon chart has to support both of them. Once all projects
convert their format to YAML we can remove json manifests.

Change-Id: I50ade6764750ac556cf552a003eb825d6b4b83d5
2021-11-01 10:36:08 +01:00
Gage Hugo
7034968d96 Move check jobs to use helm3
This change migrates the check jobs in OSH to use the
new helm v3 script when deploying kubernetes via
minikube.

This is one step in the move to helm v3. Future changes
will migrate the other jobs.

Change-Id: If741db5997a27ed06584b9af2d50485d8de34a2b
2021-10-29 19:41:25 +00:00
Gage Hugo
bdd1e7ebe9 Make TLS job nonvoting
The move to helm v3 breaks the rendering for the ca-issuer chart.
While that gets fixed, we can temporary make the job non-voting
in order to unblock the migration to helm v3.

Change-Id: Ia25ac1f85974fc8c8ac8cf3ffedff746a92f2cf5
2021-10-28 18:23:25 -05:00
Gage Hugo
9a89037615 Update default image references
This change updates the image references in the keystone chart
to the latest supported releases of both openstack and ubuntu.

Change-Id: If4f30252b5d839cfe517ee57cbef96e7775e7ec5
2021-10-28 18:15:38 +00:00
Zuul
f07e5ef659 Merge "Fix helm test method about horizon" 2021-10-27 06:27:30 +00:00
Zuul
031c07ebb4 Merge "Fix helm test method about ceph-radosgateway" 2021-10-27 06:27:28 +00:00
Zuul
b920db54bd Merge "Fix helm test method about barbican" 2021-10-27 03:45:18 +00:00
Huy Tran
6b785b16dc Add option to extend the wait for cell-setup-init
In some deployement environments, nova compute processes took a bit
longer to register on all hosts, and vm/server is instantiated almost
immediately before the process is registered on remaining hosts.
This PS enhances the cell-setup-init script to enable option to
extend the wait before performing discover hosts.

Change-Id: Ie9867e64c554d4f39fdc7432823a1869f0b4a520
2021-10-26 19:03:48 +00:00
Zuul
96c7ec86c8 Merge "Fix helm test method about mistral" 2021-10-26 07:14:22 +00:00
Zuul
51f28a8ee8 Merge "Fix helm test method about cinder" 2021-10-26 07:14:04 +00:00
Gage Hugo
613fecd37f Remove extra fsGroup
The keystone chart recently had a change to fix the world
readable warning message, but an extra fsGroup entry causes
the chart to fail to deploy when using helm3.

This change removes the offending entry from the values file
in the keystone chart.

Change-Id: I540854da7123f413215b627d3bfb077c6f4864c6
2021-10-23 05:37:20 +00:00
Gage Hugo
75349b25b7 Remove extra linting job
Now that the main linting job runs helm v3, this extra job is
no longer needed. This change removes the specific helm v3
linter job.

Change-Id: I40d6be368a4f36242c54b9a57b7e6f7328be8bb6
2021-10-22 17:31:25 -05:00
Zuul
b48929a4fa Merge "fix(log): reduces chattiness in keystone log" 2021-10-21 09:11:33 +00:00
Zuul
3cdf7be017 Merge "Add Masakari" 2021-10-20 20:16:37 +00:00
Tin Lam
73531436e9 fix(log): reduces chattiness in keystone log
Current implementation of Keystone prints a warning message if the
directory containing the fernet keys is world readable (o+r). As OSH
uses a volumeMount to handle fernet keys and is by default readonly,
there is no meaningful way to make the directory (not the keys) world
unreadable. Consequently, keystone just keep logging that warning,
adding no particular value besides flooding the log.

Rather than disabling the log message in keystone (as that warning is
meaningful from a security standpoint), this patch set changes the way
we deal with the secret volume so the directory is no longer world
readable, so keystone will stop issuing that warning message.

Signed-off-by: Tin Lam <t@lam.wtf>
Change-Id: Id29abe667f5ef0b61da3d3825b5bf795f2d98865
2021-10-20 09:21:50 -05:00