Commit Graph

61 Commits

Author SHA1 Message Date
Takashi Kajinami cd9f931c45 Deprecate the catalog_type parameter
... because the parameter is almost duplicate of catalog_driver which
more "natively" corresponds to the keystone parameter.

Change-Id: Id80495a191e3cd05507f732335b33b9a493c6d10
2022-03-01 15:23:52 +00:00
Takashi Kajinami a33a4b00a8 Deprecate database options from the keystone class
... because these options have been implemented in the keystone::db
class.

Change-Id: I3e0469b4cea56b4c05573aba430fbe59675264e0
2020-10-20 11:58:52 +09:00
Tobias Urdin 09d05f617a Add Puppet Litmus
With fixes.

Depends-On: https://review.opendev.org/#/c/751890/
Change-Id: Iab69bf0ff66740126ec09688813e52973159c222
2020-09-17 00:43:38 +02:00
ZhongShengping 1c7c380287 Change rpsec to rspec
Change-Id: Icb5e924d5b1468710aa0d1b80fc93e584409a939
2020-04-30 13:24:45 +08:00
Tobias Urdin bc1ff1d7cb Add keystone::bootstrap class
This class combines the keystone-manage bootstrap command
from init, the keystone::endpoint functionality that manages
the keystone endpoints and the keystone::roles::admin class
that manages users and projects.

This is one of the steps to make sure we only have a single
point of entry for bootstrapping (keystone-manage bootstrap)
and then only managing resources after that.

This is especially required since we are getting rid of the
admin token and cannot manage resources before keystone-manage
bootstrap has created the user, project, service and endpoints
for us.

These resources should always be in the default domain and
deployments should manage domain specific configuration themselves
using the provider resources.

This class uses the default values from the keystone-manage
bootstrap command.

In the past puppet-keystone has always created a openstack project
that is assumed as a admin project even though the bootstrap command
creates the admin project. Since this uses the default values from
the bootstrap command we should move away from having an openstack
project, if we need that in testing it should be created there and
not in the default deployment.

Depends-On: https://review.opendev.org/#/c/698528/
Change-Id: I683fcdd743bddf6d4e989dd7e7c553db745934db
2019-12-11 16:37:51 +00:00
ZhongShengping 0ee612d213 Fix Repository
Change-Id: I99a1103addad486968769dedd088897ca3c4bdb4
2019-04-21 12:59:09 +08:00
ZhongShengping 47f7e92b89 Replace git.openstack.org with opendev.org/openstack
Change-Id: I7c560f981240062a1afb7f385c6533c317dd77ed
2019-04-21 11:50:29 +08:00
ZhongShengping c41a1d3a66 Add Beaker-Rspec to the table of contents
Change-Id: Idce08fd3722815db09d78062e7ac183eee60b045
2019-04-17 09:42:44 +08:00
Tobias Urdin d0f6238bde Remove keystone::disable_admin_token_auth from README
This was deprecated in an earlier commit and has no effect.

Change-Id: Ieee885aab48a5b9d6a9e1ff20c713171f805e3e1
2019-01-14 16:21:14 +01:00
ZhongShengping 3288bfcb76 Fix editorial problem
Use git.openstack.org instead of github.com since git.openstack.org is
the reference for OpenStack

Change-Id: Iec779dd118c8303b5e7d366a56d754074348b364
2018-12-24 14:02:29 +08:00
admin 271fd618d7 Add the missing 'Table of Contents' in README
Change-Id: I31a18dd85a012a40d606c2b2331aac00339d3db3
2018-08-28 13:44:06 +00:00
caoxufeng 9bda96d489 Remove the unnecessary _
Change-Id: I1fae20842fa67e4dd471bd6047cbc9304ff956b9
2018-07-25 11:26:52 +08:00
Zuul d31c317879 Merge "Replace port 35357 with 5000" 2018-07-23 17:23:12 +00:00
qingszhao 054261007a Add the project source code repository in README
Change-Id: Ifa1cc92c393ef2d09db6e3c86c8c3f6be3f950cf
2018-07-20 16:13:32 +08:00
zhulingjie d4479c1bd2 Replace port 35357 with 5000
Now that the v2.0 API has been removed, we don't have a reason to
include deployment instructions for two separate applications on
different ports.

Change-Id: Ifb06f5f66db45312c87b07aa77195c77d9a2668c
2018-07-18 13:21:48 +02:00
wangqi f832c851be add release note in readme
Change-Id: I8ef0fcce0f979bb4d3c9f657ae07ca2b3c0c25a3
2018-06-21 14:35:58 +00:00
chenghuiyu 0d6820ad3b Update to the latest address in README
Change-Id: I3b36bb7398e7c3bb6de2fd27b5f2237edd59e466
2017-09-21 11:54:57 +08:00
ZhongShengping 7de3ac2529 Update URLs in documents according to document migration
Change-Id: I9849b6f5327cc1846e534fe5824c79b22c312dd7
2017-07-14 12:40:59 +08:00
Flavio Percoco 46fcb28946 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/d097c19e71a6d41d07fa921586c4048f

Change-Id: I7b328feabf684d38ef8154d0df9f63e681ece9d1
2016-11-25 17:41:22 +01:00
Alex Schultz 348a7bf9ac Fix boolean typo in documentation
In puppet you need to use 'true' not 'True'. In newer versions of puppet
this actually causes failures. So this change fixes the documentation to
use the correct form of true.

Change-Id: Id777c8528f2056725be58f7b0438fe6deedc7e21
2016-10-04 09:42:59 -06:00
Jenkins 453909ee25 Merge "Change wiki to docs" 2016-06-03 16:01:14 +00:00
Denis Egorenko c9d677728b Cleanup README
Change-Id: Idbdb0fe00c2c78d9713d5394d359b41af88f0946
2016-06-03 12:43:40 +03:00
Iury Gregory Melo Ferreira 0cab2c7cc1 Change wiki to docs
Change-Id: Ib4eeee4ff5f5498cc83075f27a65d11ffa608a91
2016-06-02 23:10:22 -03:00
Iury Gregory Melo Ferreira dbde71b855 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in examples and README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning.

Change-Id: I2f554c07f71458894aaa5d8079285ac92d0f04a3
2016-05-16 11:23:13 -03:00
Liao Penghui 13c27eccad Fix markdown format typo
Change-Id: I9066ad60578e67a2549bd53dd82ed5085cd47134
2016-05-09 23:58:51 +08:00
Colleen Murphy 80ae141beb Add keystone::disable_admin_token_auth class
The keystone documentation highly recommends disabling the admin_token
authentication after the initial bootstrap because it exposes a major
attack vector. This patch adds a new class,
keystone::disable_admin_token_auth, which uses ini_subsetting to remove
the admin_token_auth keyword from the pipeline lists.

After the first puppet run, users who use this class with the default
values will need to provide some other way for puppet to authenticate
to keystone. The keystone providers can all read from /root/openrc or
from OS_* environment variables. The openstack_extras::auth_file class
can be used to create the openrc file.

This class must be declared after the main keystone class because it
uses the restart_keystone exec from the main class. This patch moves
this exec out of the $default_domain conditional so that it is
available to reference from the keystone::pipeline class. This is safe
to do because it is a refreshonly exec, so even though it is
unconditionally declared, it will only be activated if the default
domain resource activates it, or the keystone::disable_admin_token_auth
class activates it, or both. It will only restart keystone once no
matter how many times it is activated.

Change-Id: If8a7e1639189f46e16fc996fd7919eb784d24971
Depends-On: Idc3b938e37b792636ec7c2702bf8429467b78d66
2016-02-12 13:08:05 -08:00
Marcus Furlong 42d05b2005 Fix multiple typos in README
Change-Id: If9a2915b9a337c232e4373ec755f8e1d4b98eac1
Closes-Bug: 1532792
2016-01-12 00:02:36 +11:00
Jenkins 4eae9fe84c Merge "Remove references to puppet-openstack from README" 2015-12-10 18:02:28 +00:00
Nate Potter c24bdaac8f Remove references to puppet-openstack from README
The README references to the retired puppet-openstack module
should be removed, as they link to the empty github page.

This patch also cleans up a few other parts of the README,
such as adding a link to the keystone wiki and removing
'%example' from the installation command to match the
other projects.

Change-Id: Ie74ca8a1914cbb2d3de199001b33ced181501a45
Closes-bug: #1518589
2015-12-09 20:34:16 +00:00
Emilien Macchi bee0264356 release: prepare 7.0.0 (liberty)
This patch prepares this Puppet module to be released in 7.x series (Liberty)
with 7.0.0.

Change-Id: Ia0390c4e74249727bc71125dae504cfa883283cb
2015-11-24 16:22:23 +00:00
Jenkins 8f10d5dfdf Merge "Keystone_endpoint match service by name/type." 2015-11-24 15:29:02 +00:00
Sofer Athlan-Guyot 0a4e06abb0 Keystone_endpoint match service by name/type.
This enable keystone_endpoint to specify the type of the service
matched.  This way one can match services which are different only by
type and not only by name, like services nova/compute and nova/computev3
for instance.  It does so by fetching the _id_ of the service when it
has the type information instead of just using the name.

This should be required, and deprecation has been added, as the current
code work only because of a convention.

Change-Id: I9ea20fbad274d583485bc09a52b9df8000eb1af5
Closes-Bug: #1506996
2015-11-23 11:30:08 +01:00
Sofer Athlan-Guyot 961c64e143 Fix default domain.
After the move to composite namevar a problem could occur if another
module was using indirection to find resource by name.

If the manifest didn't have any
keystone_user/keystone_tenant/keystone_user_role definition, then, the
'Default' domain would be appended to the name.

This patch, fix that by simplifying the rule for calculating the default
domain.

It now strictly follows what is described there https://review.openstack.org/#/c/219127/

Change-Id: Ic2efb51fe76d055307c8c27fa79015764417160b
Closes-Bug: #1517187
2015-11-20 11:50:24 +01:00
Emilien Macchi ea0c57933c Prepare 6.1.0 release
Change-Id: I1a8b33c2cae2b97482d6dc9844a9e3e031138386
(cherry picked from commit b54c1a946a)
2015-10-19 15:18:42 -04:00
Yanis Guenane d686122ce7 Reflect provider change in puppet-openstacklib
With the creation of the new openstack_config provider, some processing
that was done in keystone_config has been centralized in
openstack_config.

Impacted methods are :

  * section
  * setting
  * separator

Also, this commit adds the fact that, when passing a specific string
(ensure_absent_val) the provider will behave as if ensure => absent was
specified. '<SERVICE DEFAULT>' is the default value for
ensure_absent_val.

The use case is the following :

keystone_config { 'DEFAULT/foo' : value => 'bar' } # will work as usual

keystone_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>' } # will mean absent

That means that all the current :

if $myvar {
  keystone_config { 'DEFAULT/foo' : value => $myvar }
} else {
  keystone_config { 'DEFAULT/foo' : ensure => absent }
}

can be removed in favor of :

keystone_config { 'DEFAULT/foo' : value => $myvar }

If for any reason '<SERVICE DEFAULT>' turns out to be a valid value for
a specific parameter. One could by pass that doing the following :

keystone_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>',
ensure_absent_val => 'foo' }

Change-Id: I7c880518f0323e44e7c72f0ff5548482a0b1413c
Depends-On: I0eeebde3aac2662cc7e69bfad7f8d2481463a218
2015-08-14 11:11:25 +02:00
Iury Gregory Melo Ferreira 10f0bc209e Update README.md
The actual README.md file contains two invalid urls:
1- Section Module Description, wrong url in openstack module
2- Section Setup/Beginning with keystone, wrong url in first openstack module

Change-Id: Ica703f33eba159472dca2aecb0f8b486aa2b5233
2015-07-20 14:48:39 -03:00
Jenkins 7cd0ca3ba1 Merge "fix module install reference" 2015-07-15 03:21:27 +00:00
Matt Fischer ba5b778925 fix module install reference
Change-Id: I5a6e8f27c6a8731eee71804a15069e323ee8b9aa
Closes-Bug: #1468950
2015-07-13 19:43:40 -06:00
Emilien Macchi ce8151447c Prepare 6.0.0 release
Update CHANGELOG, README and metadata.json to bump the module to the
first Kilo release (6.0.0).

Change-Id: I961975996824cbc57534c9772a2252596f062561
2015-07-09 22:12:53 +00:00
Colleen Murphy d2cb9ea402 Split release notes into a CHANGELOG.md file
This patch splits out release notes into a separate dedicated file for
consistency with the puppetlabs puppet modules. Additionally, this
patch improves the release notes by:

- Fixing the tense to be consistent with commit message standards ("Add
  new feature" instead of "Added new feature" or "Adds new feature")
- Breaking up changes into categories to make it easier for operators
  to know what happened in the change: backwards-incompatible changes,
  features, bugfixes, and maintenance commits
- Linewrapping to 80 chars
- Adding release dates, formatted according to ISO-8601
- Removed bugfixes notes related to added features in that release

Change-Id: If4a566c1638e4fbeec9129f3b340706ad132b9c0
2015-06-26 15:34:30 -07:00
Xingchao Yu 86981ad72e Update README.md for project namespace change
Change-Id: Ibb73ec2f2d8c675d6489f53ed36b270dbf207bca
2015-06-22 17:14:49 +08:00
Emilien Macchi 69aa8fddfd Release 5.1.0 - Juno
Prepare 5.1.0 release.

Change-Id: I9ec8ce0b64e7bf7c2cee47208a3d93ea238eaac6
2015-06-17 14:29:38 -04:00
Spencer Krum 7e4085b70f Beaker tests
Implement basic structure for beaker tests.

Co-Authored-By: Emilien Macchi <emilien@redhat.com>

Closes-bug: #1444736
Change-Id: I4b6e2fcbb387b4cd40f2704a08c6e6a7fee6e3d3
2015-04-24 18:19:02 -04:00
Colleen Murphy b52930b912 Fix README endpoint example
The *_address parameters were removed in 29b687 to the
keystone::endpoint example in the README is now invalid. This patch
updates it to use equivalent URL parameters.

Change-Id: I5d1a7aa52848a0eda0b3be90f50b2e2bc74e2481
2015-02-17 14:36:20 -08:00
Mathieu Gagné 29b6875331 Remove deprecated parameters
* keystone::endpoint::public_port (deprecated since 4.0.0)
* keystone::endpoint::public_protocol (deprecated since 4.0.0)
* keystone::endpoint::public_address (deprecated since 4.0.0)
* keystone::endpoint::internal_address (deprecated since 4.0.0)
* keystone::endpoint::internal_port (deprecated since 4.0.0)
* keystone::endpoint::admin_address (deprecated since 4.0.0)
* keystone::endpoint::admin_port (deprecated since 4.0.0)
* keystone::sql_connection (deprecated since 4.1.0)
* keystone::idle_timeout (deprecated since 4.1.0)
* keystone::bind_host (deprecated since 4.0.0)
* keystone::token_format (deprecated since 3.0.0)

Change-Id: I8b8ed42d4d81aa8091f2fae38f05cb74428051a9
2014-11-25 14:18:10 -05:00
Colleen Murphy 50efef4ac1 Release 5.0.0 - Juno
Changes in this release:
* Updated token driver, logging, and ldap config parameters for Juno
* Changed admin_roles parameter to accept an array in order to configure multiple admin roles
* Installs python-ldappool package for ldap
* Added new parameters to keystone class to configure pki signing
* Changed keystone class to inherit from keystone::params
* Changed pki_setup to run regardless of token provider
* Made UUID the default token provider
* Made keystone_user_role idempotent
* Added parameters to control whether to configure users
* Stopped managing _member_ role since it is created automatically
* Stopped overriding token_flush log file
* Changed the usage of admin_endpoint to not include the API version
* Allowed keystone_user_role to accept email as username
* Added ability to set up keystone using Apache mod_wsgi
* Migrated the keystone::db::mysql class to use openstacklib::db::mysql and deprecated the mysql_module parameter
* Installs python-memcache when using token driver memcache
* Enabled setting cert and key paths for PKI token signing
* Added parameters for SSL communication between keystone and rabbitmq
* Added parameter ignore_default_tenant to keystone::role::admin
* Added parameter service_provider to keystone class
* Added parameters for service validation to keystone class

Change-Id: Ib280f684c8babf40df51d62bb21497c88ba3fd29
2014-11-21 11:58:37 -08:00
Colleen Murphy 6e108f23b8 Migrate mysql backend to use openstacklib::db::mysql
Implements: blueprint commmon-openstack-database-resource
Change-Id: I5dc293c1b8033000523fae504f789199599cf447
2014-08-28 08:56:55 -05:00
Chris Hoge 594c16b4c8 4.0.0 - 2014.1.0 - Icehouse Release
Updated Modulefile and README.md for 4.0.0 release.

Change-Id: Id08419c22add23ff7494ca447d9b99e42a52173c
2014-05-01 11:09:48 -07:00
Christian Berendt c5234e1b92 fixed example for native type keystone_service
Change-Id: I8d16dd278a8b3f0327ceaa7b32d7f87fe904c4cb
2014-04-01 17:01:08 +02:00
Chris Hoge fb2ae07193 Updated to match semver and release notes.
Before this update the Modulefile was not following semver in
relation to stable/havana, and the README files were not in sync.
This update introduces proper semver and consistency.

Keystone in fixtures tracks master. Fix modulefile to match
this dependency and be consistent with Horizon dependency

Change-Id: I622ef84b5c50abd1da96a75e9935265cd947ca6a
2014-03-28 09:56:16 -07:00