Commit Graph

20 Commits

Author SHA1 Message Date
Trent Lloyd ba8d8fc3e1 Add identity-credentials relation support
Implement support for the identity-credentials relation as an
alternative way to get keystone credentials when we are not registering
a service endpoint via the identity-service relation.

This solves an issue where the image volume cache does not work when the
cinder volume service is deployed as a second cinder application
('cinder-volume') having enabled-services=volume set.

Previously the following items were missing from cinder.conf:
cinder_internal_tenant_project_id
cinder_internal_tenant_user_id

Resulting in the image cache not functioning with the following warnings:
Unable to get internal tenant context: Missing required config
parameters.
Unable to get Cinder internal context, will not use image-volume cache.

As there are now two possible interfaces to keystone ('identity-service'
and 'identity-credentials') any existing bundles that don't specify the
interface 'identity-service' when relating to keystone will fail to
deploy and will need to be updated.

Closes-Bug: #1978452
Change-Id: Ieef500c9c55eb3968b3e2e231a8ff6e2a5ec148d
2023-01-20 14:53:39 +08:00
Peter Matulis 07023654b9 Review README
Fix up organisation of storage backends in particular.

Make a corresponding minor change to config.yaml.

Apply README template.

Change-Id: Ic01bac2758f6659cd6cd821cb9672dd58804fdcc
2022-10-07 14:46:29 +00:00
Peter Matulis 794634a06c Deprecate LVM support and add NetApp support
Deprecate LVM support in the README and point to the
cinder-lvm charm instead. Edit config.yaml accordingly.
The CDG will soon be updated by having a page in the
'Special charm procedures' section included.

Include a section on NetApp support in the cinder-netapp
charm.

Links to the two cinder-* charms are momentarily broken.
And that's ok.

Edits according to the latest charm README template.

Change-Id: Ie4a0f337277ed14388f1b5c189efbbab568a29b7
2021-10-01 14:46:40 -04:00
Peter Matulis fd47fc8559 Review README
Review README and general improvements.

Improve and correct deployment instructions. Juju
storage section was removed as per team consensus
(this feature is not used and essentially doesn't
work well at all).

Change-Id: I6d3a4935a35eca1d2e6b984a47849647a1575c6a
2020-12-15 10:33:38 +00:00
Peter Matulis dbfd437c9f Apply HA section template to README
Change-Id: I754470cb624eb4de4d677177b59e98271412a5e2
2020-05-29 14:08:56 -04:00
Alex Kavanagh 7a98ea3daa Add juju storage support to the charm
This feature adds juju storage support to the charm.  This is largely to
deal with the related bugs, but also makes the charm more useful.

Release-Note: https://review.opendev.org/#/c/718410/

Related-Bug: #1801349
Change-Id: I056967f4e83f4c99a4aac1090056dd4f320c03f5
2020-04-08 14:15:02 +01:00
Peter Matulis ed639be30f Refresh and refactor README
Refresh and streamline the README.

The local LVM storage method doesn't actually
work without manual intervention. Bug filed and
cited.

Remove scenario involving separation of Cinder
components as I cannot locate charms cinder-api
and cinder-volume.

Add cinder-ceph charm to the Ceph scenario.

Refactor the HA and spaces sections. Other HA and
space-aware charms will be identified and treated
similarly.

Add Actions section. Action 'rename-volume-host'
doesn't make sense to me. I do not see a 'host'
attribute for volumes. Is this a component of the
'os-vol-host-attr:host' attribute?

Add Bugs section

Change-Id: I863a64f243854ab2467f2042489485e35412727f
2020-02-10 14:08:27 -05:00
Peter Matulis 11e13e7fe0 Streamline README for policy overrides
The appendix in the deploy-guide has recently been
refreshed. This is the first of the nine charms that
support overrides to receive a streamlining in order
to cut down on duplication.

Change-Id: Ib4012a478226474f1e96495bd949add1c1398138
2020-01-08 22:58:11 -05:00
Alex Kavanagh 6ee32006e5 Policyd override implementation
This patchset implements policy overrides for cinder.  It uses the
code in charmhelpers.

It also fixes several bugs in the bundles where the actual version of
cinder that was being installed was the distro default rather than the
one that the bundle described.

Change-Id: Ic979dcb96ddb931fadb1fa4a4b36108244ddf306
Closed-Bug: #1741723
2019-10-14 15:11:13 +01:00
James Page 4ea9d6a427 Remove deploy from source support
Drop support for deployment from Git repositories, as deprecated
in the 17.02 charm release.  This feature is unmaintained and has
no known users.

Change-Id: Icd464e950c6f53470311e3c110b530a69bff6e2f
2018-01-12 13:59:33 +00:00
David Ames a768342dac DNS HA
Implement DNS high availability. Pass the correct information to
hacluster to register a DNS entry with MAAS 2.0 or greater rather
than using a virtual IP.

Charm-helpers sync to bring in DNS HA helpers

Change-Id: I745271cd85269469b85a9d06fe8af5df8d54ef1c
2016-06-14 16:24:04 -07:00
Corey Bryant fb5efc409d Add defaults for openstack-origin-git config option
openstack-origin-git currently only supports YAML that specifies
the git repositories to deploy from.

This adds support for default openstack-origin-git values. The
default values supported are: icehouse, kilo, liberty, mitaka,
and master.  For example: openstack-origin-git=master.

Change-Id: Iacd1103095985307394e472411e314c337044f4d
2016-05-27 13:31:07 +00:00
James Page c67fdf10fd Use network space binding for shared-db relation
To ensure that the charm presents the right IP address for
accessing the MySQL database over the shared-db relation,
ensure that any network space binding provided by the user
is preferred over the default of 'private-address'.

If network spaces is not supported (juju < 2.0), fallback to
using 'private-address'.

Change-Id: Ie020135e716cebfbe5f96759a65d5a082b767dd0
2016-04-12 14:56:30 +01:00
James Page ffd4644a10 Add Juju Network Space support
Juju 2.0 provides support for network spaces, allowing
charm authors to support direct binding of relations and
extra-bindings onto underlying network spaces.

Resync charm-helpers to pickup support in API endpoint
resolution code and add API extra-bindings to the charm
metadata.

Change-Id: Ibbbeba5966f799d25d0a40b69b1672deb1476924
2016-03-31 09:24:04 +01:00
Corey Bryant c7fe6414cc [corey.bryant,trivial] Update deploy from source README samples. 2015-04-30 10:49:30 +00:00
Corey Bryant 6fb57622ee [corey.bryant,trivial] Fix deploy from source README 2015-04-24 13:57:33 +00:00
Corey Bryant 6a427372de Overall refresh to current install from source approach 2015-03-21 02:18:45 +00:00
Corey Bryant d0becc8e4a Initial support for deploying from git 2015-03-07 21:27:57 -05:00
Edward Hope-Morley cc4ee8b452 [jorge,r=hopem]
Remove out-of-date maintainer information (LP #1407698)
2015-01-08 12:03:18 +00:00
Adam Gandelman fb49349776 Merging python-redux and havana work. 2013-10-17 14:48:08 -07:00