Commit Graph

48 Commits

Author SHA1 Message Date
Ghanshyam Mann 7696ada9d2 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: Ifae4bf9ef4e6b4c89571f9fc3c45ef3f5349fb4d
2024-02-17 20:49:42 -08:00
Samuel Cassiba 5b2632d052 Remove deprecated cloudwatch recipe
* Queens removed cloudwatch outright[0], which has been deprecated since
  Havana.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-October/123104.html

Change-Id: I4cd53d7aed179787d192d6342ec44fea9332fb66
2018-03-13 08:52:23 -07:00
Jens Rosenboom 5d70ac53fa Refactor using new style
* use new logic for heat.conf template
* move all attributes that are used in heat.conf to
  attributes/heat_conf.rb
* remove all attributes that are just setting default values
* add new default attributes so that the authorisation setup will be
  functional again
* refactored endpoint and bind_service logic to fit the new common
  cookbook
* adapt specs accordingly
* removed qpid as a messaging option (can be included in a wrapper)
* removed fedora as supported platform
* removed deprecated Gemfile
* removed logic for setting up a dedicated domain for Heat, should be
  done in a wrapper
* update README.md accordingly (still incomplete)

Implements: blueprint cookbook-refactoring
Change-Id: I16a29e28068d106f0edcbe04cb529aabbbed1ac5
2016-03-08 12:27:39 +01:00
Mark Vanderwiel 2b3a6fdf89 fix up deprecated sql_connection key
Change to use connection

Change-Id: Ic4e0db71dd4254758ec62248591d7523e1ace960
Closes-Bug: #1483402
2015-08-10 15:43:29 -05:00
Ethan Lynn 0170665c67 Make auth_uri attribute for ec2authtoken section
Make auth_uri attribute for ec2authtoken section

Closes-Bug: #1480818
Change-Id: I6b3018317e6c4890d193aee6f6b5e101d901e687
2015-08-04 12:57:02 +08:00
Mark Vanderwiel 2a0e5aadb0 Allow auth_encryption_key to be configured
Change-Id: Ia3b00d0e93df7297a1391d9954048de146d03306
Closes-Bug: #1465926
2015-06-18 10:48:42 -05:00
Mark Vanderwiel 62f41a402f Allow rabbit mq kombu ssl configuration
Add the rest of the kombu ssl configuration options.

Change-Id: I71e50e405d6447229bce23e1b1db67fdfad316a8
Partial-Bug: 1464706
2015-06-16 10:53:03 -05:00
Mark Vanderwiel a84a144339 Allow oslo rabbit heartbeat configuration
In order to allow components to better handle and respond to mq failures,
oslo has some heartbeat options that are useful.

Change-Id: I453b04c90e6caba7c00cf239035af05199bb5c36
Partial-Bug: #1462438
2015-06-15 03:07:37 +00:00
wenchma 5259486ff4 Add rabbitmq max_retries and retry_interval in heat conf
Oslo.message using rabbit_max_retries and rabbit_retry_interval to
define reconnect rabbitmq server times and interval when can not
connect to rabbitmq server.

Change-Id: I261d3f31aa89f845d88ee4cbd1acb56c9131ba47
Closes-bug: #1439968
2015-06-12 15:35:44 +08:00
Mark Vanderwiel ffe3f30c05 Add worker config support
Allow the various workers to be configured as attributes.
The engine one is based upon cpu, so default is nil just like
in Compute.  The others default to zero, so used that.

Change-Id: Id7382ceeb4daeb6136e4b10546eed26901fbc3eb
Closes-Bug: #1452734
2015-05-08 10:09:17 -05:00
Ethan Lynn f9b8b4b9ba Set default value for log_dir in heat.conf
When use_syslog is false, heat will use log_dir to store log files,
but default value of log_dir is none in heat, so heat will output
log to stdout.
This patch set the log_dir's default value to /var/log/heat/.

Closes-Bug: #1446963
Change-Id: Ia53b557d56662994e095ccd1e2c3ca583460b55d
2015-04-22 14:17:56 +08:00
Jenkins 54d1b0278b Merge "Use identity_uri_transform for identiry_uri support" 2015-04-16 21:20:08 +00:00
Ethan Lynn bd5f271cf3 Move amqp options into correct section
Move rabbit related options to section [oslo_messaging_rabbit],
and qpid related options to section [oslo_messaging_qpid].

Change-Id: I4b3e66ec445b2f242c8b1ab8a4bb6006cb7d076a
Closes-Bug: #1439981
2015-04-09 03:33:32 +00:00
Mark Vanderwiel 32fdf00cf1 Use identity_uri_transform for identiry_uri support
Remove deprecated keys and use identity_uri via the new transform
helper method.

Change-Id: I988a902d42942109047bcc69d4b02ec4ba66ae41
Implements: blueprint identity-uri
2015-04-07 06:12:57 +00:00
Jenkins a5117ed3ea Merge "Remove api-paste.ini as it provided by package" 2015-04-02 20:58:03 +00:00
Jenkins eeb8a72052 Merge "Sync heat.conf to latest" 2015-04-02 20:15:41 +00:00
wenchma 337ca2d4b4 Enable kombu_ssl_version configuration for Rabbitmq SSL
Change-Id: I29bdaa7d68b2e3feb41c2debfda44e9ee2466aa8
Closes-bug: #1433405
2015-04-02 10:01:54 +00:00
Ethan Lynn 8180388343 Sync heat.conf to latest
Sync heat.conf to latest

Change-Id: I84d4b03a57247d7a5f2c3bafa5a35d087cc77be9
2015-04-01 23:01:30 +08:00
Jenkins b556cfa8b1 Merge "Add attribute for stack_scheduler_hints" 2015-03-27 05:41:23 +00:00
Ethan Lynn 0a75e91d11 Add attribute for stack_scheduler_hints
Add attribute for newly option stack_scheduler_hints, related
commit is https://review.openstack.org/#/c/96889/ .

Change-Id: Ib02ff0ec8e1713f701737fa7ac95a91dd810eb01
2015-03-24 21:41:21 +08:00
Ethan Lynn 442141338b Cleanup unnecessary comment line
Some default value is not necessary to be set in heat.conf,
cleanup related codes.

Change-Id: I3d6d745eb53e7d4c20445981f11818e4f82cd42e
2015-03-24 21:04:45 +08:00
Mark Vanderwiel ebd8c3a994 Remove api-paste.ini as it provided by package
Since we have no attribute overrides for api-paste.ini, no
need to have a template resource for it.  Until we need to
have some attribute, removing this will take away burden of
keeping in sync with base openstack code.

Change-Id: I4cb0aec2dc39c9b7f4c8096f24acc28399ae95a8
Closes-Bug: #1433152
2015-03-17 10:42:01 -05:00
Ethan Lynn 98b51e2e64 Allow attribute for deferred_auth_method
We should switch to using deferred_auth_method=trusts by default,
for the following reasons:
- It's more secure, we won't have to store username/password anymore
- It's better for users, because they won't have to provide a
username/password anymore, e.g the box in horizon where we force
them to enter a password even though horizon is already passing
us a token.

Change-Id: I04634d065c785a13991a9a4ac76e544d7a6f34fe
Closes-Bug: #1429722
2015-03-10 14:32:50 +08:00
Mark Vanderwiel c4e9d5058d rabbit ha cleanups
when rabbit ha enabled, add rabbit_ha_queues=True like is done in
the other cookbooks

Change-Id: I1b782d874a547954ebd352beae118b0bb61989b8
Partial-Bug: #1408705
2015-01-08 11:04:06 -06:00
Mark Vanderwiel 8b8693b9be Allow attribute for stack_user_domain_id
Change-Id: I69fa92ccd2f274fd14dded07404a682c7cbe9f25
Related-Bug: #1369654
2014-11-12 10:18:55 -06:00
jun xie 54bb483c5d clients_XXX section configurable
This commit makes the [clients_XXX] section in heat.conf configurable.
They will get set with the default values from [clients] section.

Closes-Bug: #1386125

Change-Id: I6d4d4a79e038f5533b46ce555f5838efb0c8f1c8
2014-11-03 15:00:19 +08:00
Chen Zhiwei eeff4d73a0 Adds misc options
This change adds support for miscellaneous options to be set.
Things that haven't been added as attributes, or specifically,
third party additions that don't belong in stackforge.

Change-Id: I482c5d15e5d1ad853d1a1792f3e39a45f7911dd4
2014-10-30 16:47:07 +08:00
jun xie c7f0bb2e0e Modify the hardcoded scheme
This commit modifies the schemes of heat_metadata_server_url,
heat_waitcondition_server_url and heat_watch_server_url
so that they do not always use the hardcoded http.

Change-Id: I8dcc8ec53b25dd4f2c53f662c0af821ee653a014
Closes-Bug: #1385046
2014-10-24 13:08:50 +08:00
jun xie d1d2c9c7ad Add clients configurations for Heat
This commit adds some clients configurations for Heat into cookbook
so that they are configurable.

Change-Id: Ie8db8238cd75e99bd4c6942a82f1734777c91966
Closes-Bug: #1381907
2014-10-21 22:55:16 +08:00
Mark Vanderwiel 20c63bb66b Add attributes for role and domain info
Change-Id: I439a5f77325833e3e4e23778d453af4542fe64ef
Closes-bug: #1369654
2014-09-26 15:31:16 -05:00
leileiz 6e534d6070 Add some authtoken related attributes
This change adds some attributes into the cookbook so
that they are configurable. It mainly includes:
cafile, memcached_servers, memcache_security_strategy,
memcache_secret_key, insecure and hash_algorithms.

Change-Id: I6d38db321da2d86265bace3d36c68ddcb196ed61
Closes-Bug: #1372315
2014-09-22 18:32:29 +08:00
Mark Vanderwiel 0aaa20863d Update heat conf files for Juno
* Update paste.ini
* Update conf
  - Add in description comments
  - Put section in order

Change-Id: Ie70594a5d12e76f4d30e07b5620dd4776995c4f8
Closes-Bug: #1353063
2014-08-05 14:59:22 -05:00
ericzhou 0b2ba2840c Allow region_name_for_services to be configured.
Only when the region_name_for_services can be configured to the heat
region name, heat can support multiple region scenarion when creating
the stack.

Change-Id: I386a81f4ee616bc46357aa9f2cc42b78c47108f1
Closes-Bug: #1330319
2014-06-19 23:40:41 +08:00
Matt Odden 898119e187 Add missing AMQP options to heat.conf
Add more AMQP and QPID configuration options
to the heat configuration file. This enables
users to use QPID federation support and also
use durable queues for rabbitmq or QPID.

Change-Id: I4b944a3cbf7830d47b1398eeb347946098ce2452
2014-06-13 00:55:37 +00:00
Mark Vanderwiel e1f24067a9 Fix to properly set [keystone_authtoken] signing_dir
Attribute already existed and directory resource was created, but the
value was not set the heat.conf.

Change-Id: I0b952f6542d69bdae712ad79976f9c7fb07c1c6c
Closes-Bug: #1323833
2014-05-27 15:45:57 -05:00
Mark Vanderwiel 2524e4a8c1 Fix to configure separate endpoint and bind addresses
Allow separate endpoint and bind addresses for orchestration.
Update tests.

Change-Id: I216e7973b8114e85928cd69db326e2b52784a7c3
Closes-Bug: #1317646
2014-05-08 15:45:19 -05:00
Mark Vanderwiel 4fbf210d74 Fix endpoint ref in heat.conf
Change: I9ea0e1e61c23026bf24926b264e289ff80314ac2 missed a few lines
in the heat.conf file.
Added spec test for these.

Change-Id: I50e697692dd835e6f985afae74868307a90f8e37
Closes-Bug: #1313814
2014-04-30 14:46:06 -05:00
Darren Birkett 2863e67667 Allow binding locally to different IP than endpoint IP
Sometimes you want the actual endpoint IP to be a load
balanced IP, but the bind IP to be a local IP (different per node).

This change allows that by using attributes from the [orchestration-*-bind]
namespace

Implements blueprint increase-ip-binding-flexibility

Change-Id: I9ea0e1e61c23026bf24926b264e289ff80314ac2
2014-04-25 12:42:01 +01:00
Mark Vanderwiel ea9b5d3632 Add notification attributes
Add attrs related for notification
Add tests

Change-Id: I559d4d610cd63a78e783fb57922012cf97ec6ad6
Closes-Bug: #1306703
2014-04-17 13:58:34 -05:00
Mark Vanderwiel 3839660292 Remove policy json file
Remove the policy.json template, as they contain no templated variables.
This would allow use of the policy.json files provided via the package,
and decrease the need to sync them with upstream

Change-Id: I2e4e3b5ed25b1449678e33dbd4ea45fcb6cac946
Implements: blueprint remove-policy-templates
2014-04-17 11:18:56 -05:00
Mark Vanderwiel cd7f69d21b Update conf file with icehouse release changes
Sync api-paste.ini with ssl support
Sync heat.conf with comment changes and additional sections.

Change-Id: Icff75c6737f37df8466cf2b9d591483d8f917509
Closes-Bug: 1300320
2014-03-31 11:32:17 -05:00
Matt Thompson a619d75301 Use get_password method to obtain qpid password
Currently, qpid's password is stored in an attribute in the common
cookbook.  This change causes the password to be looked up via
get_password method, which is how we obtain the rabbitmq password.

Change-Id: Ia617f406041da7d03867be5b347fdbb52e1fb2e3
Implements: blueprint use-data-bag-for-qpid-password
2014-03-06 14:26:23 +00:00
yanhcdl 69cda59569 Change authtoken to keystoneclient.middleware.auth_token:filter_factory
Add authurl before authtoken in the heat-api pipeline
And change filter:authtoken to:
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory

Further information please refer to related bug.

Related-Bug: #1259364

Change-Id: If71772a84f783e7ebe662d7d6338e86d8dcb9812
2014-02-13 18:05:04 +08:00
Jenkins 315b151702 Merge "Add missed rules to policy.json.erb" 2014-02-03 22:56:01 +00:00
Matt Thompson 10a3aa27fd Clean up cookbook for bp/clean-up-attr-for-mq-and-db
This change removes the attributes we'll be moving to openstack-common
and changes reference of those attributes to reflect new (more
consistent) namespace.

Also remove Berksfile.lock so that updated version of common cookbook is
used.

Change-Id: I6d6b3849671d56d337aced0f8288b6a201f80ac0
Implements: blueprint clean-up-attr-for-mq-and-db
2014-01-28 22:36:26 +00:00
hanzhf 04914edd7f Add missed rules to policy.json.erb
Change-Id: I77ace268d5253fdd13060d57a4ca34229289cc11
2014-01-24 15:16:36 +08:00
hanzhf c44fc7cba1 Remove custom_template_banner from policy.json
Otherwise it will cause json parse error.
Implements: blueprint heat-support

Change-Id: I977c9d9e549da239e3278ced351a723287136ff4
2014-01-17 17:38:27 +08:00
hanzhf 0b81a7b037 Add cookbook support for Openstack Orchestration
This new cookbook supports the installation and configuraiton for heat services.
More pedantic patches will follow to make Rubocop happy.

Implements: blueprint heat-support

Change-Id: I8b734b7124c49190a68acc4d0da28a31da03ac57
2014-01-15 15:25:21 +08:00