Kilo oslo-messaging deprecates rabbit/kombu settings in the
DEFAULT section.
Move these settings to proper oslo_messaging_rabbit section.
Change-Id: I8cd5fb7b8074e0acd62535238fe73a4bb9869a5d
Closes-bug: 1444161
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
The other packages appear to already have this, but heat-common isn't
triggering a db sync, and at least on Ubuntu, if this package is
upgraded first, all the others get pulled in also. When that happens,
Puppet doesn't trigger a notification for the other packages and the db
sync is never run.
Change-Id: I454220ee6c501c416b60564fd3b1f00fdecfd296
This change allows the Kilo heat.conf options
default_software_config_transport and default_deployment_signal_transport to
be set. This is required for operators who would prefer a different default
transort, such as Swift TempURLs.
Change-Id: I66a20f2fd6370909165093b77ef04992fb735380
OpenStack Infra has jobs to run this on both Ubuntu Trusty and CentOS7.
* Add minitest to Gemfile (dependency to run beaker on centos - see
http://projects.theforeman.org/issues/2650 for details)
* separate nodepool files to have trusty & centos7 support in OS infra
* basic_keystone_spec: add case for repo configuration and support
RH systems.
* rabbitmq: install module from source
* apt: pin the module
* heat encryption key parameter: use a valid length for the key
Change-Id: If9820a65f1310fe85ff43b32468b746268c04ea0
Closes-bug: #1444736
When using a string with a length != 16, 24, or 32 as value for the
auth_encryption_key parameter in the /etc/heat/heat.conf file it is not
possible to create new stacks. Creating a new stack (and probably
anything else) will fail with the following exception:
ValueError: AES key must be either 16, 24, or 32 bytes long.
Change-Id: I4e35cf0f782f22861319d05a3f028e5784ad26d5
Closes-bug: #1415887
This adds a package_ensure parameter to all classes that did not have it
and updated all package resources to use the package_ensure parameter.
Change-Id: I49c3e50153bc5eba323c5a766ed1f30c23653985
Puppet Labs is in the process of releasing a 2.0.0 version of
puppetlabs-concat, which will have many breaking changes that affect
many dependent modules. Changes have been merged to master, but not yet
released. While we figure out what changes we need to make in our own
modules and wait for updates in dependent modules, we should just pin
to a stable version.
Change-Id: Id3a431a3ac7ee4a2f4bf795b59ad912fe4c0a6cc
In puppet-neutron, keystone_v2_authenticate already exists and is in
colision with the keystone_v2_authenticate in puppet-heat.
While we move the whole method in puppet-openstacklib, let's just rename
the method from keystone_v2_authenticate to keystone_v2_auth.
Closes-bug #1429096
Change-Id: I15b6d0550bb3baef37d7536d264b822768802ad0
Currently ::heat::keystone::domain works only if keystonerc_admin
is sourced because of missing OS_TENANT_NAME env given to script
heat-keystone-setup-domain. This patch fixes this issue.
Change-Id: Idf5d35df2c39fe724350a00437b76be3333194c2
Other components offer the option to decide whether or not to run the
db sync command. Heat was missing this feature. This commit add this
feature for Heat.
Change-Id: I06b669123fe08e02c66ee34dab78a943ff5de90c
Some users wish to override the default package provider by their own.
Tag all packages with the 'openstack' to allow mass resource attributes
override using resource collectors.
Closes-bug: #1391209
Change-Id: I09e54700438894e22d29605fec51bb056baf4050
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Some 'should' keyword have been forgotten during the rspec2.x to
rspec3.x updates. This patch fixes that!
Change-Id: I4acffbbfb051fce7f48d401812fce2c1afcc137d
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This adds support for enable_stack_adopt and moves
enable_stack_abandon out of the engine manifest and into the main one.
Change-Id: I93629f2b2173a767669fec0b17107a69dbf759de
There is issue with ipv6 where address has to be in brackets, this causes the
underlying ruby TCPSocket to fail. Net::HTTP.new will fail without brackets on
joining the ipv6 address with :port or passing brackets to TCPSocket. It was
found that if we use Net::HTTP.start with url.hostname the incriminated code
won't be hit.
Change-Id: Ia70e05098b52121d12b035bdab59685b086523db
Closes-Bug: rhbz#1185652
For debugging reasons output of the script should be logged (and I'm
very sorry that I didn't realize it in the original patch).
Change-Id: I7799021b51039bffd7082c4e587fe49b8424f5d0
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some
just catch common errors.
Change-Id: If5f03538be85cee4a1d3b4c9a87eae1230432114
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.
In details:
* Use shared_examples "a Puppet::Error" for puppet::error tests
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
* Fix spec tests for rspec-puppet 2.0.0
* Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
* Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
* Remove un-used puppet-lint (name_containing_dash config)
Change-Id: I1b82e4f6ec0b1bbf52e86c5d127413a26277ae8c
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
If you leave it commented out, heat defaults it to ec2-user which can be
confusing to users. This allows you to set the value.
Change-Id: I44fef59d3ed1f7851d8504855a7ae0d5460fdc84
Even if the endpoint is disabled the service will always be created.
Make this settable like the endpoint.
Change-Id: I7a4f7c660c1ce857f936156a0e3d2bb419571759
This patch adds the ability to set a new identity_uri parameter.
It also deprecates the old auth_host, auth_port, auth_protocol,
and auth_admin_prefix parameters. Logic is in place so that
users of the deprecated settings should have a smooth upgrade
process and get deprecation warnings until they adopt the
new settings.
Change-Id: I833bbac9338553daf88459a311f14a3788d90dfb
In environments with more than one region, heat will just pick the first
endpoints it sees in the catalog unless the region is specified. This
allows the ability to tell Heat which region to use
Change-Id: I795315fee8955d9c1c29e273852f6dad3b777019