Commit Graph

54 Commits

Author SHA1 Message Date
Gabriel Cocenza 19cf71dc79 Add support for HAProxy L7 checks
This change add several configuration options to enable HTTP checks
to the HAProxy configuration, instead of the default TCP connection
checks (which continue to be the default). It also enables /healthcheck
endpoint for heat-api and heat-cfn-api on openstack releases >= queens.

Closes-Bug: #1880610
Change-Id: I94c9418c82cdddd5a5d9ed400ab47889bfb225b1
2023-02-17 12:05:27 -03: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
tpsilva 0ef0ebb9b0 Disable Apache port 80
Currently, Apache ports.conf file is not being configured by this
charm. This patch changes the ports.conf default file with another one
that does not open port 80 on SSL environments.

Change-Id: I881c3569a25c0f0a84c14ee086b3f3adfdbc97f9
Closes-bug: #1845665
2020-01-28 14:52:33 +00:00
Corey Bryant 3099142117 Sync charm-helpers and use "rabbit_use_ssl" for ocata
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

Change-Id: I41da24f87cfdc66f6061426913f0d64b7dbb8398
Closes-Bug: #1838696
2019-08-05 11:47:41 +01:00
Corey Bryant 06f8577a61 Update rabbit driver config options
The stein version of python-oslo.messaging (9.0.0+) has removed
the following config options from the [oslo_messaging_rabbit]
section:

rabbit_host, rabbit_port, rabbit_hosts, rabbit_userid,
rabbit_password, rabbit_virtual_host rabbit_max_retries, and
rabbit_durable_queues.

The above change requires a sync from charm-helpers.

Additionally the transport_url directive has been moved to the
[DEFAULT] section.

These have been deprecated since Ocata, therefore this change
will be provided to pre-Stein templates in order to drop
deprecation warnings.

See release notes at:
https://docs.openstack.org/releasenotes/oslo.messaging/index.html

Change-Id: I4e6bf7fa75bc2b445e2a7047ef7ca14a36478e78
Closes-Bug: #1817672
2019-02-27 09:41:38 +00:00
Edward Hope-Morley 582e352144 Fix commit 14a2995
Original commit added incorrect config section [heat_clients]
which should actually be [clients_heat].

Also adds workaround for bug 1750395 which affects creation
of server without specifying network (>= rocky). This is needed
for amulet tests to pass.

Change-Id: I8f1036bd8797a336d836a6b3f6fa9cb50f7a8fa8
Closes-Bug: #1770144
2018-10-08 11:41:25 +01:00
Ante Karamatic 4c9088b396 Add support for subordinate charms
These changes provide support for extending heat with
subordinate charms.

Change-Id: I9266390e1393bcf9c60fb294814100d6957320ae
Closes-Bug: #1626077
Closes-Bug: #1627703
2018-07-23 18:01:25 +02:00
Liam Young 432b83ae5d Enable proxy header parsing
Ensure that oslo.middleware parses any proxy information
forwarded from haproxy/apache with regards to protocol;
this ensures that https connections are correctly detected.

Includes charm helper sync to bring in oslo middleware
template.

Change-Id: Icf13afd3a669d08a3254a362373ea7eeeb0d41f9
Closes-Bug: 1758675
2018-06-28 10:42:04 +09:00
Edward Hope-Morley 14a299596c Always use publicURL for heat client
We use the global client config for endpoint_type
which means that all clients will inherit this setting
but heat client must remain using the publicURL since
that is used for heat stack output.

Change-Id: Ibb6395e1a65cdb5e09f6a02ae03ee529da0c8d0e
Closes-Bug: #1770144
2018-05-15 15:07:59 +02:00
Zuul d3abfc466b Merge "Support http_proxy_to_wsgi" 2018-02-20 14:16:25 +00:00
Seyeong Kim 40c7b3925c Support http_proxy_to_wsgi
Add http_proxy_to_wsgi to template file
Please refer to
https://git.openstack.org/cgit/openstack/heat/commit/?id=6ad6ca33e73686437098c3eec3d35efec0dd03ac
ed33ec56ab

Change-Id: I365e1a393c9783a3b18e8d649d38d3d9a38297c9
Closes-bug: #1741479
2018-02-08 10:53:52 +09:00
Corey Bryant edd58fa104 Add api-paste.ini for Queens
Change-Id: Iedeb202eac25de072bc62f27bfc4c3df9f3b12df
2018-02-07 22:02:46 +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 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 040a42d51a Use service-domain for domain setup action
Change-Id: Ieced5c7552a45874ad920c0e0e1ab1cd44c73d00
Closes-Bug: 1593164
2017-02-16 11:24:45 +00: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
Liam Young d8c94406f4 Update heat.conf template for mitaka compatability
The format of keystone_authtoken section changed for Mitaka.
This change creates a new template for mitaka and above.

Update amulet tests to requests 2G of memory for heat instance
as CI continually failed due to memory allocation issues.

Change-Id: Ie2670f3b68fec29867d510a50a2c5dd4b31836ab
Partial-Bug: 1571347
2016-06-29 10:31:39 +00:00
James Page fe3b066d81 Readd v2.0 for auth_uri 2016-02-10 14:35:49 +00:00
James Page 5276acf9ef Fixups 2016-02-10 14:29:36 +00:00
James Page f147088867 Make kilo special again 2016-02-10 14:26:50 +00:00
James Page aa7660534d Fixup kilo template as well 2016-02-10 13:54:15 +00:00
James Page 8dae41f9d9 Make actions work 2016-02-10 13:09:19 +00:00
James Page 5500ca16aa REtudy 2016-02-10 12:50:31 +00:00
James Page 42cf30fb69 Template tidy 2016-02-10 12:49:00 +00:00
James Page ee32cbe959 Misc tidy and fixes 2016-02-10 12:47:21 +00:00
James Page fa30e2232e Fixup typo 2016-02-10 12:33:07 +00:00
James Page 4e55e2f4c1 Updates for liberty fixes 2016-02-10 12:27:52 +00:00
James Page a85b9648d7 Fixup liberty messaging config 2016-02-10 10:53:12 +00:00
Mick Gregg 64ac977208 [macgreagoir] Moved instance_user heat.conf change to icehouse/ template; updated kilo/ template 2015-12-02 16:06:55 +00: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
Edward Hope-Morley cc33706af6 [hopem,r=] Expose debug & verbose as config options 2015-10-30 11:03:11 +00:00
Edward Hope-Morley 3c8d5bb12e more 2015-10-30 10:53:01 +00:00
Mick Gregg 74a78e5f58 [macgreagoir] Make heat.conf instance_user item configurable. 2015-05-06 15:03:04 +01:00
Ryan Beisner 1f374de233 fix auth port in kilo/heat.conf for identity_uri 2015-04-22 16:34:01 +00:00
Ryan Beisner daa7499fe5 templates - add heat.conf tempate for kilo, identity_uri required 2015-04-22 16:28:16 +00:00
Edward Hope-Morley 4b34c16a9c synced /next 2015-04-02 13:33:08 +01:00
Edward Hope-Morley 633896c4d2 added haproxy support like other charms 2015-04-02 12:52:13 +01:00
Edward Hope-Morley 93424a6b75 [trivial] fix template spacing 2015-04-01 14:49:15 +01:00
Edward Hope-Morley 8f1a8ea770 add signing dir support 2015-04-01 13:37:57 +01:00
Ryan Beisner d2c9dc3814 simplifiy templates (use fallback) 2015-03-05 19:22:18 +00:00
Ryan Beisner 3fa455a694 clean up 2015-03-05 18:37:10 +00:00
Ryan Beisner 635292bd71 change to versioned templates 2015-03-05 18:28:23 +00:00
Ryan Beisner df3dc0614e test authtoken filter api-paste change re: bug 1428770 2015-03-05 18:01:35 +00:00
JuanJo Ciarlante 5dce9a962d [jjo] fix heat.conf encryption_key (lp#1368645) and auth_uri (lp#1368621) 2014-11-16 18:41:32 -03:00
James Page 09b62ad8c6 Restore deprecated db config for havana users 2014-04-15 13:24:23 +01:00
James Page a33374a6ca Tidy templates, add support for ssl rabbitmq + mysql 2014-04-12 21:48:50 +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