This commit removes all code that was related to deprecations,
including tests put in during the liberty release cycle and
increases the verbosity of warnings provided for code deprecated
during this cycle (Mitaka).
Change-Id: I991654c6c0706eea31a6702703596e73080bec4e
In Liberty, we sent a warning if service_name was not set (and auth_name
was configured as the service name), with the goal to define the correct
default value during Mitaka.
This patch set the service_name parameter to 'Volume Service' by default
to match with Keystone's default catalog. Note: if you already run
OpenStack, when you'll run Puppet after this change, the old service
will still be present and you'll have to drop it manually. Though the
Cinder endpoint will be updated with the new service.
Change-Id: I3bfed1b91f99f4da5ba19d2b1f847346fa19beec
Closes-bug: #1506061
https://review.openstack.org/#/c/228744/ has been merged, we need to
drop the 'tenant' parameter to Keystone_user resource.
Change-Id: Ifa3b13eef94d46c4008f7cb0707169f581ddf153
This commit aims to give the user the flexibility to be able to create a
specific user for cinderv2 if one wants to.
Until now the value was hardcoded to false preventing a deployer from
creating this user if necessary.
Change-Id: I3b17a4f8c5a8d7ca1a91e989ba7f8bd7cfecc026
This change deprecates the following parameters:
- port (replaced by public/internal/admin_url)
- public_protocol (replaced by public_url)
- internal_protocol (replaced by internal_url)
- admin_protocol (replaced by admin_url)
- public_address (replaced by public_url)
- internal_address (replaced by internal_url)
- admin_address (replaced by admin_url)
Add deprecation warnings if any of those values are provided
while maintaining full backward compatibility.
Closes-bug: #1274979
Change-Id: I4b97b004d7d302163f5a1c18cc21d3ff728cb227
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)
Change-Id: Id5b428fb518f40cf92cd27078d36f19b6d60226b
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
Instead of forcing the name of the service in the service catalog to
match auth_name, this allows the ability to explicitly set the service
name, spearately from auth_name.
If service_name is not specified, it's value defaults to the value
of auth_name (which maintains the current behavior.)
Change-Id: Ia3d00186a422a16ec6bd7b65008ec56abc1e8f67
Closes-bug: #1359755
In some cases it is useful to be able to just configure
the service in Keystone and not the service user. This
is the case when e.g. a read only LDAP backend is used.
Added parameters configure_user and configure_user_role
(default to true).
Change-Id: I021976f1eafa881755c0abbe1f6ba1b546dee111
Closes-Bug: 1360232
Allow to change HTTP as default endpoint protocol for both admin &
internal.
Change-Id: I6c724229f35464be681fefb067abe44a86ce84b3
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
In Icehouse release, official API supported is v2 but Nova does not
support it at this time.
For now, we keep v1 endpoint for backward compatibility and let the
operator create a v2 endpoint.
Change-Id: I27264dff683c47560351235c8e398afe7c8df2f0
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This gives the ability to specify https endpoint for
internal and/or admin endpoints.
Change-Id: I9cc1525449ffd9b1439e6e5fcbf6731b8a7ee260
backport: havana