* Update charm-interface-mysql-shared from branch 'master'
to f90f8c6edce21e4da3a872f0f9d6761730ce025d
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I69e03a14ab370bd6870e4325627e7be86fe2a53f
* Update charm-interface-mysql-shared from branch 'master'
- Enable MySQL TLS
Enable passing the certificate authority on the relation in order to
enable TLS communication to the MySQL DB.
In order to enable MySQL to use TLS for client connections all that
is required is the CA certificate. A certificate and key may be used
for client certificate authentication. However, since almost all
deployments will not use certificate authentication, focusing on the CA as SSL
data complete makes sense.
Change-Id: I785afe7f64cb57caa857178d529e3cabdcf63517
* Update charm-interface-mysql-shared from branch 'master'
- Specify the port for Shared DB connections
Prior to this change there was no way to specify a port for mysql
connections. Add this to the Shared DB connection information.
Change-Id: Iafcc106fca44479e89b4b66a0a3988ffeee01f04
Closes-Bug: #1876188
* Update charm-interface-mysql-shared from branch 'master'
- Pass wait timeout all the way through to clients
Pass the non-interactive wait timeout value through.
Change-Id: I25c2e982ebabe09385e52fef0fb8c97cabe60756
Closes-Bug: #1841063
* Update charm-interface-mysql-shared from branch 'master'
- Ensure unit acl before raising 'available' state
Check the allowed_units list past back by the db before raising the
'available' state to ensure charms do not try to connect to the db
before they are allowed.
Change-Id: I17228ba5d82249f0a5baffab1c2d200963b55b10
Closes-Bug: #1861665
* Update charm-interface-mysql-shared from branch 'master'
- Remove DB available states if maintenance mode
If the DB is in maintance mode then remove the 'availble' states
to let the charms now the db cannot be accessed.
Depends-On: I5d8ed7d3935db5568c50f8d585e37a4d0cc6914f
Change-Id: If31eaad0b781d4250524335377152f3bd140f57b
* Update charm-interface-mysql-shared from branch 'master'
- Merge "Shared-DB Provides"
- Shared-DB Provides
Enable the provides side of the interface with an Endpoint
implementation.
Change-Id: If218a23445709543426de0501765ed24eb8af308
* Update charm-interface-mysql-shared from branch 'master'
- Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.
Change-Id: I4af06dff68ecb5c74e6af0a94a7a3a678c632f13
- OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.htmlhttp://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.