Commit Graph

17 Commits

Author SHA1 Message Date
Liam Young a372554e4d Update git submodules
* Update charm-interface-keystone from branch 'master'
  to 36ea7b385a569ebabca7184ed4ce8420bb8fa61a
  - Fix endpoint_checksums
    
    KeystoneRequires.ep_changed() now returns a dictionary rather than
    json. As a result KeystoneRequires.endpoint_checksums now throws an
    exception when it tries to decode the return from ep_changed.
    
    Change-Id: I440104679c900ce8b67ff1fca1d0ce003e5f0ef4
2022-09-19 12:32:22 +00:00
James Page db3dd5ae66 Update git submodules
* Update charm-interface-keystone from branch 'master'
  to 1a5142bac6923253d0d7dce37bef39caeabb52d2
  - Add forwards compat with k8s operator
    
    The new keystone-k8s operator uses the application data bag and
    more up-to-date key names for endpoint and authentication information.
    
    Check for this information and then fallback to the existing
    keystone charm unit data bag data set if not found.
    
    Update register_endpoints to also provide new application data
    bag JSON encoded data when this method is called from a lead
    unit.  This relies on the type and description of the endpoint
    being provided which will require a charm change on adoption.
    
    Change-Id: I921d173c64b12c35f5ffc17270a0fc2bb83891c4
2022-09-19 07:55:59 +00:00
James Page 831b0f1da8 Update git submodules
* Update charm-interface-keystone from branch 'master'
  to 9ad5cade97e14b672ac859d34040353c3a40c7aa
  - Refactor to use Endpoint base class
    
    The RelationBase class has been deprecated for some time and
    provides no support for interaction with the application data
    bag.
    
    Migrate requires interface to Endpoint base class and refactor
    as needed.
    
    Change-Id: I82fe7df6c7c3658dd334a830442f1dcbd1e7d7e4
2022-09-16 13:38:06 +00:00
Edward Hope-Morley 93bf50c1f0 Update git submodules
* Update charm-interface-keystone from branch 'master'
  to 501af18b3036f5af92990bc39e750e76e393e5eb
  - Add service_type auto_accessors and base settings
    
    The service_type needs to be added to keystone_authtoken
    for access rules (application credentials) to work so it
    is now a required parameter.
    
    Related-Bug: #1965967
    Change-Id: Ic90de9de13ad2728b9ce9de075c03f7854c417ca
2022-03-28 16:45:46 +00:00
Liam Young fa2a9ebb9d Update git submodules
* Update charm-interface-keystone from branch 'master'
  to a4684ff27a48d5d94548aae38d2c1496707158c7
  - Charm specify roles to be granted to admin
    
    A charm joined to keystone via the identity-service relation can
    now specify additional roles that can be granted to admin. This
    is done by setting the relation data key `add_role_to_admin` the
    value is a comma seperated list of roles that should be granted
    to admin.
    
    Change-Id: I5495c350c7ac65f8a67125734dff368577c983f4
2022-02-25 15:42:28 +00:00
David Ames 8724f80798 Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Collapse available and available.auth
    
    Most reactive charms react on identity-service.available but the
    current interface distinguishes between available and available.auth. It
    is somewhat assumed by most charms that identity-service.available is
    equivalent to identity-service.available.auth, as what charms are
    concerned with is the ability to authenticate against the cloud.
    
    Collapse the difference between identity-service.available and
    identity-service.available.auth.
    
    Continue to set identity-service.available.auth for any charms that may
    rely on it.
    
    Change-Id: I494feea5f3ef8706140ce712b1e025e52b0dfbd1
    Closes-Bug: #1818113
2020-07-23 16:17:02 +00:00
Hervé Beraud 66d4664464 Update git submodules
* Update charm-interface-keystone from branch 'master'
  - 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: I8ca08483bf40a3092275d5dd0458951a64f239a1
2020-07-13 05:55:03 +00:00
Zuul d17153a83e Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Merge "[ussuri][goal] Updates for python 2.7 drop"
  - [ussuri][goal] Updates for python 2.7 drop
    
    OpenStack is dropping the py2.7 support in ussuri cycle.
    
    charm repos need few updates on either py2 drop or updating
    ussuri python template, tox.ini etc.
    
    Complete discussion & schedule can be found in
    - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
    - https://etherpad.openstack.org/p/drop-python2-support
    
    Ussuri Communtiy-wide goal:
    https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
    
    Change-Id: Ibfafcda16b5c59b7afc63ceb5e7c0f4fad08c7a4
2020-03-25 06:36:53 +00:00
James Page 53e1940bf1 Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Add optional admin_* keys to keystone interface
    
    The keystone charm may provide ID information about the admin
    user, project and domain.
    
    These are used to build trusts between service accounts and the
    main cloud admin account to allow priviledge escalation for
    cloud applications (such as backups).
    
    Change-Id: I9c7a9a4d218059de2ad24c8481fd263f8125a8e3
2020-03-06 11:07:18 +00:00
James Page 4de3251d9d Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Add support for endpoint change notification
    
    Add support for recent changes to keystone to allow consuming
    charms to request notification about endpoint changes.
    
    Change-Id: Icacca3445980cdb866cb0dad90b288ce96e8c460
2020-03-03 08:54:41 +00:00
Camille Rodriguez 8e63aa200f Update git submodules
* Update charm-interface-keystone 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: Ib98bc85fb41b4504bf239783d36c5290df863abd
2019-08-29 15:11:59 +00:00
Corey Bryant 116e014e3e Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Add Python 3 Train unit tests
    
    This is a mechanically generated patch to ensure unit testing is in place
    for all of the Tested Runtimes for Train.
    
    See the Train python3-updates goal document for details:
    https://governance.openstack.org/tc/goals/train/python3-updates.html
    
    Note that python35-charm-jobs is retained since this charm is supported
    on Xenial.
    
    Change-Id: I603dbbd3a7dd9061f0fe91928895f4ad20a6a113
    Story: #2005924
    Task: #34228
2019-08-13 17:57:26 +00:00
Jorge Niedbalski e867770a2b Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Add service_domain_id to the auto_accessors list.
    
    service_domain_id might be required by dependant charms
    such as aodh and should be exposed as an accessor attribute.
    
    Partial-Bug: #1831181
    
    Change-Id: Idae7aec048b9203d2b1a75da8d68cf97271f1b53
    Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
2019-06-04 17:41:19 +00:00
Jorge Niedbalski 3819040b32 Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Switch to stestr.
    
    CI is broken due to a bug [0] reported
    in testr.
    
    Following approach used in keystone and switching
    to stestr instead of testr.
    
    [0] https://review.opendev.org/#/c/662582/
    [1] d1e3a7845d
    
    Change-Id: I108b4d7b4c4f20f4b077077528f07f9447747a48
    Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
    
  - 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.html
    http://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.
2019-06-04 17:02:21 +00:00
Paul Goins 7d4504f9fc Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Added tox environment for gathering coverage
    
    This technique was borrowed from the tox "cover" environment in
    openstack/nova's tox.ini.  This leverages the fact that stestr lets
    you override the python executable via the PYTHON environment
    variable.  Doing this allows us to easily generate coverage for our
    unit tests.
    
    An important caveat is that this does not provide any coverage for
    tests via zaza, amulet, etc.  It is purely focused on the unit tests.
    
    Note that this replaces the previous .coveragerc; coverage
    configuration is instead pulled from tox.ini.
    
    Change-Id: I2e1964927b44aeef8135350390968f98bf77f8ac
2019-03-04 09:49:45 +00:00
Frode Nordahl f95f9e346b Update git submodules
* Update charm-interface-keystone from branch 'master'
  - Add support for passing optional ``requested_roles`` attribute
    
    When passing ``requested_roles`` down the ``identity-service``
    relation the Keystone charm will create the listed roles for you.
    
    Useful for charm authors implementing charms with specific role
    requirements.
    
    Change-Id: I7c1eedb1e78ffc53ac3e0df81f6b52358dd8dfa5
    Closes-Bug: #1813602
2019-01-29 08:03:55 +00:00
Monty Taylor aa262b7a44
Update git submodules based on new script
Change-Id: Ia578b55e3e07b4ea90f034805625caf82e9e674e
2019-01-04 14:13:17 +00:00