Commit Graph

9 Commits

Author SHA1 Message Date
Alex Kavanagh e2255c29dd Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests.  This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.

Change-Id: I816a3034b055433a7688ac1165017c25f7fcf873
2022-02-15 16:10:36 +00:00
Liam Young 1968c09af4 Run tempest smoke during charm smoke test
Closes-Bug: #1881140
Change-Id: Id380c052fbf7f23bd3b1c0826f953eeacd97b6fd
2020-08-27 18:12:07 +00:00
Liam Young 4b9e5c393b Request class-read object_prefix rbd_children perm
When using ceph as a backend request the additional privilege
class-read on rbd_children. This fixes bug 1696073.

Change-Id: Ie4341eb834ae6fe02424c75e31f16f1cf5411f21
Closes-Bug: #1696073
Depends-On: Icf844ec7d33f2e558dee7935fe5fa3d7f08e0d59
2017-12-15 11:05:31 +00:00
David Ames a5e0534af0 Enable xenial-pike amulet test
Make default func27-smoke xenial-pike
Charm-helpers sync

Change-Id: Icf91dc343e79792504def695ef755af97cfdc871
2017-11-15 07:41:20 -08:00
Liam Young be3fcbcad3 Block endpoint reg if cluster partially formed
When an existing cluster of the service is scaled out the new unit
will join with keystone before it is fully clustered. In identity
joined hook the charmhelpers function canonical_url is called which
in turn uses another charmhelpers function, resolve_address.
resolve_address will only return the vip if the vip is set in config
AND the unit is clustered. This means that the units local address
is returned and that is then registered with keystone.

This change gates registering an endpoint if the cluster is
partially formed.

Change-Id: I85e7304b1480a95c784f46490dbcc0c4cc1c3129
Partial-Bug: #1544959
2017-10-06 13:19:28 +00:00
Billy Olsen c837863cf2 Add ceph-pool-weight option for calculating pgs
Provide the weight option to the Ceph broker request API for requesting
the creation of a new Ceph storage pool. The weight is used to indicate
the percentage of the data that the pool is expected to consume. Each
environment may have slightly different needs based on the type of
workload so a config option labelled ceph-pool-weight is provided to
allow the operator to tune this value.

Closes-Bug: #1492742

Change-Id: I56c7de4d9213fe85ce89cbad957291b438f6f92f
2016-07-14 08:06:34 -07:00
Alex Kavanagh d4cf177cc5 Enhanced pause and resume for maintenance mode
Adds improved pause and resume unit to the charm such tha the
charm stays paused during maintenance operations.
Sync latest version of charm-helpers for maintenance mode.

Change-Id: I6e793744709b65c89afb6f0fc460f9d96755bf82
2016-03-18 10:18:56 +00:00
James Page 90b844c296 Resync charm-helpers
Change-Id: Iffcf0b9b2bd9395272f4ad3f435bd31a6bb69bb7
2016-03-02 12:07:32 +00:00
uoscibot 4354de00b9 Adapt imports and metadata for github move 2016-02-29 10:46:55 +00:00