Commit Graph

40 Commits

Author SHA1 Message Date
Corey Bryant 75ed04915a Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable

Change-Id: I01b2164017b21b64fc6858368dfb3b0694243970
2023-08-02 14:19:22 -04:00
Corey Bryant 5ce593f732 Add Antelope support
* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

Change-Id: Ide30533ef53c7c7e500b2e68377c34a805a89382
2023-03-01 16:56:51 +00:00
Corey Bryant ef5f2f417e Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I68434d15a68d087a4fd704d9dde6e5a878d5cdca
2022-08-26 18:40:35 +00:00
Alex Kavanagh 906218c1d3 Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga
- charm-helpers-sync

Change-Id: I27bba777156f162331b0be992d2eec4259b4d23f
2022-04-07 16:10:36 -04:00
Zhang Hua de88ad5344 Number of heat queues will keep growing forever after heat-engine restarts
Set TTL as a solution for topic queue engine_worker and heat-engine-listener
to avoid them growing all the time after heat-engin restarts.

This is heat part.

Closes-Bug: 1925436
Change-Id: I196346e4ca869efab45d1c2aafb1420b2a917d39
2021-05-24 15:44:46 +08:00
Nobuto Murata fe4994b64b Update worker-multiplier config description
Based on the change in charm-helpers:
https://github.com/juju/charm-helpers/pull/553

Related-Bug: #1843011
Change-Id: I0744413fb948de941ac22b71a6cb37206ed4f4ac
2021-03-30 11:03:58 +09:00
Alvaro Uria 213a6a8c95 Add nrpe support
Parses services() available, and uses charmhelpers' haproxy checks to
set default checks for Heat. By enabling nrpe-external-master interface,
we also allow hacluster subordinate application to be monitored for
check_crm and pacemakerd.

Change-Id: I4ad2b1c514099f9b6fe352cdab65587780915e5c
Closes-Bug: 1664745
Signed-off-by: Alvaro Uria <alvaro.uria@canonical.com>
2020-11-13 15:38:52 +01:00
Felipe Reyes 50d114aa1f Add max-stacks-per-tenant config option
This configuration option allows operators to change the default of
how many stacks a project can have in parallel.

This key has been available since Mitaka:
https://docs.openstack.org/mitaka/config-reference/orchestration.html

Closes-Bug: #1871772
Change-Id: I4dc0008c1098a969d62ee4a8afe76de4bfb5c235
2020-05-19 02:42:28 +00: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
James Page db73787c80 Remove deploy from source support
Drop support for deployment from Git repositories, as deprecated
in the 17.02 charm release.  This feature is unmaintained and has
no known users.

Change-Id: I821f8b6d93f84b0fd632e18c47dc4184c5897756
2018-01-10 11:41:00 +00:00
Ryan Beisner 1817fe7346 Update HAProxy default timeout values
The default HAProxy timeout values are fairly strict. On a busy cloud
it is common to exceed one or more of these timeouts. The only
indication that HAProxy has exceeded a timeout and dropped the
connection is errors such as "BadStatusLine" or "EOF." These can be
very difficult to diagnose when intermittent.

This charm-helpers sync pulls in the change to update the default
timeout values to more real world settings. These values have been
extensively tested in ServerStack. Configured values will not be
overridden.

Partial Bug: #1736171

Change-Id: I5f602a8dc1ab1060696fd486beb66033efaae862
2018-01-03 11:05:39 -06:00
Liam Young 86b670d3ee Expose haproxy timeout options
For some reason heat never got the haproxy config options exposed
in its config.yaml. This fixes that.

Change-Id: I657a88eb0971d37bf4685fd986b99fd436f8c69b
Partial-Bug: #1735184
2017-12-08 13:44:56 +00:00
James Page bc4017ba64 Add support for use-internal-endpoints
Add support for use of internal endpoints for inter-service
API calls from heat.

Change-Id: I4a9399e84f3a6ad90a935f12407b4365f35841cb
Closes-Bug: 1713923
2017-09-05 11:52:39 +01:00
Edward Hope-Morley fa49e65c09 Cleanup config.yaml
Change-Id: I51eda650041cdd923f40c59614549117bb053569
2017-06-06 22:37:20 +01:00
James Page 083b0412d4 Make worker-multiplier sane in container environments
Resync charm-helpers to pickup the capped worker-multiplier
changes when deploying in containers.

Drop the default value for worker-multiplier of 2.0; this
is now handled from within the codebase rather than via a
default configuration value, reflecting the differing
behaviours between container and non-container deployments.

Change-Id: I528678680881d2612aafe4921f9e169839e31183
Closes-Bug: 1665270
2017-04-27 09:31:34 +01:00
Liam Young 2d34278ba0 Add config-flags support
This change adds support for the config-flags user setting which
allows arbitrary config to be injected into the default section of
the heat.conf

Change-Id: I1e0866e9a2954773b42bd7be60c56da36b66f20b
Closes-Bug: 1658985
2017-02-06 14:21:30 +01:00
Narinder Gupta 93045f3124 modified the heat charm to accomodate the workers-mutiplier option
Heat charm was missing this functionality and this patch is to add
this feature. We were trying to deploy this charm in a lxc
container on a host machine with 72 cores. In end up creating 144
process with heat-engine and heat-api.

This patch will provide the option to limit the number of worker
process in case of high number of cores in a host.

Enable it for icehouse, kilo, liberty and mitaka.

Change-Id: I811f0a91e1ff9a6d95e80a4a40be063d7d047c7e
2016-08-11 17:57:08 -05:00
David Ames 10c3025809 DNS HA
Implement DNS high availability. Pass the correct information to
hacluster to register a DNS entry with MAAS 2.0 or greater rather
than using a virtual IP.

Charm-helpers sync to bring in DNS HA helpers

Change-Id: Ia4ccb2e28ea5b2b07cef10fcbaf7885336d21c8b
2016-06-15 11:40:19 -07:00
Edward Hope-Morley 8ab6f75218 Add multinetwork support
The identity relation supports admin/internal/public
networks so this patch allows these networks to be
configured by adding os-*-network to config.yaml.

Closes-Bug: 1483985
Change-Id: I8d760209a9d9227b27e5a1546970bf295e6391e1
2016-03-30 16:51:00 +01:00
Edward Hope-Morley 2e717d228d Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks. Also
add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I3d3ff350256bb09145c335a29e48c21433ac4c43
2016-03-24 10:39:29 +00:00
Liang Chen 1bdc87f495 Provide heat charm HA support
[cbjchen,r=]
2016-02-19 19:22:51 +08:00
Mick Gregg 21d5961517 Merged with next 2015-12-02 15:50:33 +00:00
Edward Hope-Morley 05f14be73f sync /next and resolve conflict 2015-11-16 09:14:33 +00:00
Mick Gregg 3822132ed4 Merge with next 2015-11-02 16:40:35 +00:00
Edward Hope-Morley cc33706af6 [hopem,r=] Expose debug & verbose as config options 2015-10-30 11:03:11 +00:00
Edward Hope-Morley 3ce21c8a53 [hopem,r=]
Add ipv6 support
Closes-Bug: 1511326
2015-10-29 11:33:33 +00:00
Corey Bryant c10efd0a91 Action-managed openstack upgrade support 2015-09-21 19:35:41 +00:00
Mick Gregg 3c227b98bb Merged with trunk, includes replacing Amulet tests with those from trunk 2015-08-11 17:13:33 +01:00
Edward Hope-Morley df09d9c0c6 [trivial] Cleanup config.yaml
Partially-Closes-Bug: 1473426
2015-07-10 15:14:26 +01:00
Corey Bryant 6a57b20224 [billy-olsen,r=corey.bryant] Provide support for user-specified public endpoint hostname. 2015-06-11 12:41:30 -04:00
Billy Olsen b9d15257ec [wolsen,r=] Add support for overriding public endpoint addresses.
Adds in the config option for overriding public endpoint addresses
and introduces a unit tests to ensure that the override for the
public address is functioning correctly.

Closes-Bug: #1398182
2015-06-04 16:14:33 -07:00
Mick Gregg 74a78e5f58 [macgreagoir] Make heat.conf instance_user item configurable. 2015-05-06 15:03:04 +01:00
Edward Hope-Morley 05bd411320 added ssl_* config options to config.yaml 2015-04-02 10:13:42 +01:00
James Page 43c287754c Remove duplicate config 2014-04-08 21:05:44 +01:00
yolanda.robla@canonical.com f93acb15f3 added syslog functionality 2014-02-03 14:05:03 +01:00
yolanda.robla@canonical.com de20382fce charm cleanup 2013-11-29 16:36:45 +01:00
yolanda.robla@canonical.com f325b26dda cleaning charm 2013-11-27 15:28:53 +01:00
yolanda.robla@canonical.com 9f810ce9da updates in keystone 2013-11-26 18:17:08 +01:00
yolanda.robla@canonical.com 7b845f0704 installs packages, add mysql relation 2013-11-21 10:41:44 +01:00
yolanda.robla@canonical.com e67b892874 first version 2013-11-19 13:14:57 +01:00