* 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
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
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
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
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
Move rabbit related options to section [oslo_messaging_rabbit],
and qpid related options to section [oslo_messaging_qpid].
Change-Id: I4b3e66ec445b2f242c8b1ab8a4bb6006cb7d076a
Closes-Bug: #1439981
Remove deprecated keys and use identity_uri via the new transform
helper method.
Change-Id: I988a902d42942109047bcc69d4b02ec4ba66ae41
Implements: blueprint identity-uri
Add attribute for newly option stack_scheduler_hints, related
commit is https://review.openstack.org/#/c/96889/ .
Change-Id: Ib02ff0ec8e1713f701737fa7ac95a91dd810eb01
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
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
when rabbit ha enabled, add rabbit_ha_queues=True like is done in
the other cookbooks
Change-Id: I1b782d874a547954ebd352beae118b0bb61989b8
Partial-Bug: #1408705
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
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
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
This commit adds some clients configurations for Heat into cookbook
so that they are configurable.
Change-Id: Ie8db8238cd75e99bd4c6942a82f1734777c91966
Closes-Bug: #1381907
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
* Update paste.ini
* Update conf
- Add in description comments
- Put section in order
Change-Id: Ie70594a5d12e76f4d30e07b5620dd4776995c4f8
Closes-Bug: #1353063
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
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
Attribute already existed and directory resource was created, but the
value was not set the heat.conf.
Change-Id: I0b952f6542d69bdae712ad79976f9c7fb07c1c6c
Closes-Bug: #1323833
Change: I9ea0e1e61c23026bf24926b264e289ff80314ac2 missed a few lines
in the heat.conf file.
Added spec test for these.
Change-Id: I50e697692dd835e6f985afae74868307a90f8e37
Closes-Bug: #1313814
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
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
Sync api-paste.ini with ssl support
Sync heat.conf with comment changes and additional sections.
Change-Id: Icff75c6737f37df8466cf2b9d591483d8f917509
Closes-Bug: 1300320
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
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
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
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