~hopem/charm-openstack-integrator:bug/1836885

Last commit made on 2019-10-21
Get this branch:
git clone -b bug/1836885 https://git.launchpad.net/~hopem/charm-openstack-integrator
Only Edward Hope-Morley can upload to this branch. If you are Edward Hope-Morley please log in for upload directions.

Branch information

Name:
bug/1836885
Repository:
lp:~hopem/charm-openstack-integrator

Recent commits

54a3e04... by Edward Hope-Morley

Remove need to get project_id

This charm should not assume that it is provided
admin credentials and therefore should not
attempt to execute admin api operations.

Related-Bug: #1836885

030cb3f... by Cory Johns

Merge pull request #21 from juju-solutions/feature/lp/1834327/load-balancer

Add loadbalancer endpoint support

14be347... by Cory Johns

Remove unused interface:http layer

0dacfc3... by Cory Johns

Remove unused flag reference

cb63932... by Cory Johns

Fix NoneType error when no members

d204d09... by Cory Johns

Add loadbalancer endpoint support

This adds the ability for the integrator charm to create load balancers
for applications related to the loadbalancer relation endpoint. This
can be used, for example, by the Charmed Kubernetes bundle to replace
the kubeapi-load-balancer charm with a native OpenStack load balancer.

Partially addresses: https://bugs.launchpad.net/charm-kubeapi-load-balancer/+bug/1836885
Depends on: https://github.com/juju-solutions/interface-public-address/pull/7

946727a... by Cory Johns

Fix API version not being detected correctly in some cases (#20)

* Fix API version not being detected correctly in some cases

It seems that the openstackclients CLI doesn't always properly detect
the version when it is not explicitly specified, so we need to do it
ourselves. This also makes errors while trying to detect Octavia
non-fatal and prevents useful error messages from being hidden from the
logs.

Fixes https://bugs.launchpad.net/charm-openstack-integrator/+bug/1841607

* Add unit test for _detect_version helper

* Add Travis config

* Trivial change to trigger Travis

* Fix unencoded CA cert value

Fixes https://bugs.launchpad.net/charm-openstack-integrator/+bug/1841768

* Add unit test for _run_with_creds to exercise TLS cert handling

* Move conftest.py file for tidiness

ddd1217... by Cory Johns

Handle cached creds not containing version (#19)

We previously ignored the version from the creds (if available), but #18
added handling for that. The cached creds from before the upgrade did
not contain it and caused a KeyError.

Also updated the description of `bs-version` to call out that it is
specifically a block storage setting, rather than an override for the
API version generally.

Fixes https://bugs.launchpad.net/charm-openstack-integrator/+bug/1841271

10d3061... by Cory Johns

Detect Octavia and report over the relation (#18)

* Detect Octavia and report over the relation

This adds detection for whether Octavia is actually available in the
underlying OpenStack and reports that over the relation.

Depends on: https://github.com/juju-solutions/interface-openstack-integration/pull/11

* Improve octavia detection logic per review

* Switch from openstacksdk library to openstackclients snap

The `openstacksdk` library depends on some crypto libraries which end up
requiring compilation during `charm build` and this causes errors when
using the `charm` snap. This switches to the CLI `openstackclients` snap
instead to avoid that issue.

This also adds checking for `auth-type` which, while not addressing the
underlying problem, should at least provide a better user experience for
https://bugs.launchpad.net/charm-openstack-integrator/+bug/1835768

* Remove wheelhouse.txt missed from previous commit

* Fix PATH and endpoint_tls_ca key

b94627f... by Cory Johns

Merge pull request #17 from juju-solutions/bug/lp-1822909/ca-cert-override

Make all credentials fields allow for fallback and override