Commit Graph

13 Commits

Author SHA1 Message Date
Alex Kavanagh 84f636c9d0 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Func test pr is needed for py35 compatibility - test to ensure that zaza
change works.

func-test-pr: https://github.com/openstack-charmers/zaza/pull/390

Change-Id: Id729d01b6f2e41ccb3f605638a1837fc2b3c626d
2020-10-06 18:51:21 +01:00
Alex Kavanagh 98de623820 Policyd override implementation
This patchset implements policy overrides for heat.  It uses the
code in charmhelpers.

It also fixes a bug in the actions/domain-setup where it assumes that
the python2 version of openstackclient should be installed, and corrects
this via code in hooks/install and hooks/upgrade-charm.

A sync of charm-helpers is included to bring the latest policyd changes
through to the charm.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/111

Change-Id: Ia607dc9120cfb03902efb019041b43cf12ade2d3
Closed-Bug: #1741723
2019-11-06 16:12:34 +00:00
David Ames 0bcdc44c01 Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: I4377125f537c555e4b0b63dc08a3d9c0fc9d5251
2018-10-15 16:25:06 -07:00
Liam Young e8354a1b68 Specify domain when looking up heat user
The domain-setup action checks if the heat domain, user and roles
are setup before creating them, but in the case of the user it
was not checking the users existence in the correct domain.

Change-Id: I6998fe0543b26232c65c43bc9b2a8cc4b20bcbc5
Closes-Bug: #1793170
2018-09-25 16:22:00 +00:00
David Ames c7fea4af07 Update for Python 3 execution
Charm helpers sync

Change-Id: I6cfa96b23354f68521a3179eb690340e1c9f23bf
2017-11-20 15:11:08 -08:00
James Page 501e3415b3 Correctly scope role assignment for heat_domain_admin
The admin role assignment for the heat_domain_admin user
needs to be scoped to the heat domain; update domain-setup
action to scope the role assigment correctly.

This change also stops ignoring the return code of the
role assignment; re-assigning a role already granted is
idemponent in openstackclient.

Change-Id: Ia5ba409e2f566614e6db9bbf9540c563af8e4a82
Closes-Bug: 1715465
2017-09-18 11:38:36 +01:00
James Page be88635418 Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I8fa16392527906102fed38d0c557e68bfff33959
2016-07-01 17:23:55 +01:00
James Page 7ca5aab377 Ensure os client installed before running action 2016-02-10 14:13:19 +00:00
James Page 128bddd53d Make action a bit more idempotent 2016-02-10 13:24:30 +00:00
James Page 8dae41f9d9 Make actions work 2016-02-10 13:09:19 +00:00
James Page ee32cbe959 Misc tidy and fixes 2016-02-10 12:47:21 +00:00
Corey Bryant a1f2428e97 Import CONFIGS instead of calling register_configs() again. 2015-09-22 19:41:24 +00:00
Corey Bryant c10efd0a91 Action-managed openstack upgrade support 2015-09-21 19:35:41 +00:00