Reduce default ceph pool weight to 20
Enabling the 3 charms would require a 120% of capacity which cannot work. Ask a less initial size, and let ceph autoscale PGs when needed. Change-Id: Ica115806caf243ba70836d09ee273fbc651120a7 Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
This commit is contained in:
parent
8fcfaf96b4
commit
a69380677d
@ -41,7 +41,7 @@ config:
|
||||
your ceph cluster).
|
||||
ceph-pool-weight:
|
||||
type: int
|
||||
default: 40
|
||||
default: 20
|
||||
description: |
|
||||
Defines a relative weighting of the pool as a percentage of the total
|
||||
amount of data in the Ceph cluster. This effectively weights the number
|
||||
|
@ -41,7 +41,7 @@ config:
|
||||
your ceph cluster).
|
||||
ceph-pool-weight:
|
||||
type: int
|
||||
default: 40
|
||||
default: 20
|
||||
description: |
|
||||
Defines a relative weighting of the pool as a percentage of the total
|
||||
amount of data in the Ceph cluster. This effectively weights the number
|
||||
|
@ -41,7 +41,7 @@ config:
|
||||
your ceph cluster).
|
||||
ceph-pool-weight:
|
||||
type: int
|
||||
default: 40
|
||||
default: 20
|
||||
description: |
|
||||
Defines a relative weighting of the pool as a percentage of the total
|
||||
amount of data in the Ceph cluster. This effectively weights the number
|
||||
|
@ -30,11 +30,21 @@ class OpenStackImagesSyncK8sTest(test_utils.BaseCharmTest):
|
||||
application_name="openstack-images-sync"
|
||||
)
|
||||
|
||||
keystone_session = openstack_utils.get_overcloud_keystone_session()
|
||||
keystone_session = cls._get_keystone_session()
|
||||
cls.glance_client: GlanceClient = (
|
||||
openstack_utils.get_glance_session_client(keystone_session)
|
||||
)
|
||||
|
||||
@classmethod
|
||||
@tenacity.retry(
|
||||
wait=tenacity.wait_fixed(7),
|
||||
stop=tenacity.stop_after_attempt(5),
|
||||
reraise=True,
|
||||
)
|
||||
def _get_keystone_session(cls):
|
||||
"""Get keystone session."""
|
||||
return openstack_utils.get_overcloud_keystone_session()
|
||||
|
||||
@tenacity.retry(
|
||||
wait=tenacity.wait_fixed(10),
|
||||
stop=tenacity.stop_after_delay(1800),
|
||||
|
Loading…
x
Reference in New Issue
Block a user