8 Commits

Author SHA1 Message Date
Guillaume Boutry
90a585370c
[all] reduce mysql-pooling to sensible defaults
Reduce the max_pool_size parameter from default 5 to 2, to reduce the
max number of connections each process needs.
Reduce connection_recycle_time from 200 to 20, to reduce life duration
of a connection, allowing faster recovery in case of failure of a
mysql-router.
Configure horizon-k8s to persist connections for 20 seconds, and enable
connection healthchecks to make sure the connection is usable.

Change-Id: Id88d5a8643b8dd2db618e18c8ad556f3e92282ba
2024-06-17 18:24:41 +02:00
Guillaume Boutry
5bf945a9d5
[ceilometer-k8s] template region
Template ceilometer region.

Change-Id: I88e6af9596d21e459baeb69946d1b1c96492cf1a
2024-05-16 10:52:43 +02:00
Guillaume Boutry
d0cddbeb4c
Fix typo in identity-data-id-creds part
Change-Id: I751823215805d7f2c3785b0d0aeb7d12e42a7d4f
2024-02-20 13:28:42 +01:00
Guillaume Boutry
aafb79a94a
Remove trust interface selection in favor of default value
Since admin uri is actually a K8S IP addresses, created k8s vms will not
be able to access this uri. Default value is `public`.

Change-Id: Ic28ca131944cd8191d84fdf7c605aee599a24ec2
2024-02-19 17:28:54 +01:00
Hemanth Nakkina
f120968772
Add receive-ca-cert relation to openstack-hypervisor
Add receive-ca-cert relation.
Update the CA bundle to snap config ca.bundle
Update nova configuration.

Change-Id: I7008d6525f38d1b6f2f74782f8488b3a95b43efb
2024-02-15 16:25:00 +05:30
Hemanth Nakkina
bd057784d5
Make keystone as certificate transfer provider
Add functionality to keystone to act as a
certificate transfer provider.
Add actions to add, remove, list CA certs
to keystone.
Add Certificate Transfer requires handler
in ops_sunbeam. Update keystone_auth section
cafile option if certificate is available
in receive-ca-cert relation.
Update metadata.yaml for keystone and rest of
k8s charms.

Change-Id: I9c800e8f8a0c9197b195331be7b445bafe794780
2024-02-14 17:10:28 +05:30
Guillaume Boutry
dd6000bb51
Add section trustee back to heat.conf
During transition to monorepo, Heat lost its trustee section, that's
needed for long running operation. For example, Magnum's use case, to
create K8S clusters needs this.

Change-Id: I1cd5066a4f2ccdf3f2a519da338e08cd7854a458
2024-02-13 15:48:52 +01:00
Hemanth Nakkina
df70e376ff
Add zuuljobs
* Add sunbeam project template to run pep8, py3 tests
* Add zuul.d/zuul.yaml to run pep8, py3, cover tests
* Update charmcraft and requirements for each charm
* Add global tox.ini to invoke fmt, pep8, py3, cover,
  build
* Add gitreview file
* Fix py3 test failures in ciner-ceph-k8s, glance-k8s,
  openstack-exporter
* Add jobs for charm builds using files option so that
  job is invoked if files within the component are
  modified. Add charm builds to both check and gate
  pipeline.
* Make function tests as part of global. Split the function
  tests into core, ceph, caas, misc mainly to accomodate
  function tests to run on 8GB. Add function tests as
  part of check pipeline.
* Add zuul job to publish charms in promote pipeline
  Add charmhub token as secret that can be used to
  publish charms.
  Note: Charmhub token is generated with ttl of 90 days.
* Run tox formatting
* Make .gitignore, .jujuignore, .stestr.conf global and
  remove the files from all charms.
* Make libs and templates global. Split libs to internal
  and external so that internal libs can adhere to
  sunbeam formatting styles.
* Add script to copy common files necessary libs, config
  templates, stestr conf, jujuignore during py3 tests
  and charm builds.
* Tests for keystone-ldap-k8s are commented due to
  intermittent bug LP#2045206

Change-Id: I804ca64182c109d16bd820ac00f129aa6dcf4496
2023-11-30 15:32:39 +05:30