Also remove python3.5 from the CI build,
because that is no longer supported in charm-helpers,
and use a supported runs-on ubuntu version for github CI.
Update method for checking endpoint protocol (#769)
Update method for checking endpoint protocol
The `https` method is used to check if an endpoint is expected to
be http or https. One of the checks it performs is to examine the
the certificates relation. If the relation is present then it looks
for the existance of a CA. However the OpenStack charms do not
switch to https until a certificate is provided via the certificates
relation. This means there can be a disconnect if the
certificate provider has provided a CA but has not yet provided
the unit specific certificates. If this happens then the payload
will still be using http but the `https` method will return True.
This patch updates the `https` method to return False if an unfilled
certificate request exists.
Fix OpenStack release comparison wrap in os_requires_version()
to ensure, for example, that 'antelope' is > 'zed'.
b9444c2...
by
Alex Kavanagh <email address hidden>
Add MySQL password setter that uses existing connection (#765)
This modifies the existing method `set_mysql_password` and splits it
into the original and a 2nd part called
`set_mysql_password_using_current_connection`. This allows a root
connection to be set up and then the password for any user to to be
updated, so that a mysql instance charm can update the password.
The deferred_events() function was returning all deferred events
on the machine, regardless of whether they were deferred for the
current charm or not. This changes limits the returned events to
those that correspond to the current charm.