54 Commits

Author SHA1 Message Date
Iury Gregory Melo Ferreira
6ddcb152e9 Move zaqar to authtoken
In zaqar, use keystone::resource::authtoken to configure
keystone_authtoken section in the configuration file,
with all parameters required to configure keystonemiddleware.
This patch will allow to deploy zaqar to use Keystone v3 authentification.

Some deprecations:
- zaqar::identity_uri is deprecated in favor of
zaqar::auth_url
- zaqar::admin_user is deprecated in favor of
zaqar::username
- zaqar::admin_password is deprecated in favor of
zaqar::password
- zaqar::admin_tenant_name is deprecated in favor of
zaqar::project_name

Change-Id: Ie825ce4d88ca4a2a33a7ced6e413ddc59f28ef1c
Related-Bug: #1604463
2016-07-24 16:50:00 -03:00
Dan Prince
24b18afe18 Add param to set max_messages_post_size
Change-Id: I07a8b3c659a367f65b9d4cd700912a419e50a472
2016-07-20 15:16:29 -04:00
Jenkins
5c694c2562 Merge "Include openstacklib defaults manifest." 2016-07-11 13:00:55 +00:00
Jenkins
34f60ab453 Merge "Add zaqar::keystone::auth_websocket" 2016-07-08 15:21:15 +00:00
Sofer Athlan-Guyot
1e4976ea58 Include openstacklib defaults manifest.
This provides a mechanism for setting default across all modules.

Change-Id: If0e6588783328df7a8edcf83a3fdffa419f0fa82
Related-Bug: 1599113
2016-07-08 09:04:30 +00:00
Dan Prince
837dad71f2 Add zaqar::keystone::auth_websocket
Adds a new zaqar::keystone::auth_websocket class to help
create a 'messaging-websocket' Keystone endpoint. Users of
zaqar websockets currently have to do substring replacement on the
Zaqar HTTP URLs... having a dedicated endpoint for websockets will
be much better.

Change-Id: Idd3ca1765604d9a461f68fc7b4a18b23a3c19d5b
2016-07-07 15:56:59 -04:00
Emilien Macchi
8ea7a5c931 Prepare 9.1.0 (newton-2)
Prepare the second milestone of Newton cycle.

Change-Id: I7a6fb470fbb21e5f9846bbdc73f093d6610f9da5
9.1.0
2016-07-07 09:10:32 -04:00
Iury Gregory Melo Ferreira
cca253d8ed Add xenial to metadata
Change-Id: I2cd58c47920631836c416835b2bcd0313d0a9b83
2016-06-29 23:13:00 -03:00
Emilien Macchi
f4d05a3e54 Remove mitaka release prelude note
We had a prelude note when releasing Mitaka. This note
keep showing-up at every release while we're on Newton now.

We don't need a prelude release note, we already have nice sections
for every note we push.

This patch aims to remove this prelude starting from Newton.

Change-Id: Ifd93844b5578f1b97e5481125ce5bbb03e938c4f
2016-06-28 15:10:20 -04:00
Emilien Macchi
6415d9b126 Add nodepool-xenial.yml file
To run Beaker jobs in OpenStack Infra, we need this file so we run tests
on the right nodeset

Change-Id: Idc01072e178ba0b40008c2b90f8d6a7c4579e6a2
2016-06-10 13:34:25 -04:00
ZhongShengping
c2acaba000 Provide default service_name for keystone endpoint
This change updates the zaqar::keystone::auth class to include a default
service_name of 'zaqar' so that if a user changes the auth_name, the
service is still created as being related to 'zaqar'.  This improves the
user experiance when they want to customize the usernames for services.

Change-Id: I2977790c3558732c2a1773aa3ede834c1d62ca16
Closes-Bug: #1590040
2016-06-08 13:52:19 +08:00
Jenkins
3c49546f0a Merge "Prepare 9.0.0 release" 9.0.0 2016-06-03 19:45:10 +00:00
Emilien Macchi
79a80f9583 Prepare 9.0.0 release
First release of Newton.

Change-Id: I562f8380a78412848bebbe7be987196933308ccb
2016-06-03 10:08:48 -04:00
Iury Gregory Melo Ferreira
e3adc9b674 Change wiki to docs
Change-Id: I5cadcdf73af57b966154de012f303f932c9beb0a
2016-06-02 23:46:19 -03:00
Jenkins
7820dca770 Merge "Add params to configure zaqar storage pipelines" 2016-05-21 15:23:50 +00:00
Emilien Macchi
73df27509b Add other-requirements.txt for bindep
Bindep is a binary automation tool used in openstack-infra.  With it,
projects can better control the default packages installed into the
OS. Because we are using puppet, we actually don't want any packages
installed by default as to better test our manifests.

Change-Id: Icc52372a90946e1874b42b52f677d29039e952c2
Co-Authored-By: Paul Belanger <pabelanger@redhat.com>
2016-05-19 21:20:54 +00:00
Iury Gregory Melo Ferreira
b44fe997ce Remove verbose
verbose is deprecated we don't need in README

Change-Id: Iac9c1848ab5fbe6f3a50c6fde02f2fe9835f3d59
2016-05-19 10:12:35 -03:00
Dan Prince
ad63a4b940 Add params to configure zaqar storage pipelines
This patch adds parameters to configure the storage/*_pipeline
parameters for zaqar. These parameters are quite useful is you
wish to recieve notifications for Zaqar. In particular the
message_pipeline would often get set to 'zaqar.notification.notifier'
so that messages that have been subscribed to could be recieved.

Zaqar upstream has these set to nothing upstream so for now
setting the default to $os_service_default seems reasonable.

Change-Id: I14eade5ef0ac64f8856bfa455c4f9aaf51dd6c8d
2016-05-18 19:42:58 -04:00
ZhongShengping
ac45966573 Use oslo module for logging and policy configuration
Change-Id: I6a6c3dc4a54ac72ab212b3bd1a82d9f023876650
2016-05-09 08:34:59 +08:00
Denis Egorenko
ba00e81f17 Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: I5eb5a0b7fc5be00cdd98ef922aa66da679d1cb0a
2016-04-18 14:21:07 +03:00
Jenkins
376892da8e Merge "Gemfile: rely on puppet-openstack_spec_helper for dependencies" 2016-03-30 22:38:14 +00:00
Nguyen Hung Phuong
186abf235d Fix typos in puppet-zaqar files
Change-Id: I70cda0f05f1244cf8167198cace7b229c2a2544d
2016-03-30 13:43:53 +07:00
Emilien Macchi
61294d45e9 Gemfile: rely on puppet-openstack_spec_helper for dependencies
Rely on puppet-openstack_spec_helper gemspec file for managing Gems
dependencies.

Change-Id: I6d2b033ef69f16c2afbc76a44e326235031652f8
2016-03-29 21:37:45 -04:00
Emilien Macchi
9690f43808 Import release notes from stable/mitaka
stable/mitaka branch does exist now, let's import the notes from it.

Change-Id: I1d3b07fbc07baedfba2f307d7fcda13bee4f69e2
2016-03-24 19:04:47 -04:00
Emilien Macchi
b2b1be1de8 Release 8.0.0
* Update CHANGELOG with release notes URL.
* Update README with new release number & name.
* Update metadata.json with new tag & dependencies.
* Add release note prelude for Mitaka.
* Update Reno release note to drop prelude.
* Improve release note landing page.

Change-Id: I55cb70b74940eeed95e911b4df24f8320f57fe6d
2016-03-23 16:08:03 -04:00
Emilien Macchi
004138833b releasenotes: add notes for Mitaka cycle
* drop reno note, because it's a new module
* add a note that explains it's a new module and the features
  that are supported.

Change-Id: I52b2baf73ae5f06e7c852eeca0b745341913b02e
2016-03-18 16:31:58 -04:00
Emilien Macchi
ff8493b163 Add basic structure for ReNo
ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.

* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
  tox.ini.

[1] http://docs.openstack.org/developer/reno

Change-Id: I10824be2c27e1476031fa4d591b666ddf1587e55
2016-03-14 08:37:01 -04:00
Jenkins
4d8c83ee55 Merge "Switch zaqar to use rspec-puppet-facts" 8.0.0b1 2016-02-24 04:32:16 +00:00
Alex Schultz
366deb93cb Switch zaqar to use rspec-puppet-facts
This change updates the tests to use rspec-puppet-facts. Additionally
this change fixes the relationship in zaqar::server_instance for Debian
based systems.

Change-Id: I03ce4ee17feec1f0ea7012ea116c9c12cf3bde5f
2016-02-18 21:35:02 -07:00
Dan Prince
c1e34c75a2 Add acceptance spec for zaqar with mongo.
Change-Id: Iccfda5f1de28c22d4f4db0f893fb631ee85a9816
2016-02-18 08:44:09 -05:00
Dan Prince
6c05509bcc Add zaqar::transport::wsgi class
This class helps manage zaqar transport settings for wsgi.

Change-Id: I668ecc79f1684438beff620394711c6bb8f2cc34
2016-02-17 08:23:58 -05:00
Dan Prince
623ed3789b Add zaqar::transport::websocket class
This class helps manage zaqar transport settings for websockets.

Change-Id: Idf9589785431c32ac2678351ca326e8a0d4d57d5
2016-02-17 08:23:58 -05:00
Dan Prince
e9b736c8eb Add zaqar::server_instance class.
This class manages N instances of zaqar-server each using an
alternate /etc/zaqar/n.conf file to control select service
settings which take priority over settings in /etc/zaqar/zaqar.conf.

The primary use case for this class would be to enable websockets
alongside of wsgi. The only way to do this with Zaqar today is
to run multiple processes.

Change-Id: Ib730206ece73efe57aca7df4a65c906e95cdd606
2016-02-17 08:23:57 -05:00
Dan Prince
ecadc5930d Add zaqar::server class
This class manages the primary zaqar-server process.

Change-Id: Ie062d1ff4dd2a3adef5bcc9d36eca2f67a39048c
2016-02-16 15:33:51 -05:00
Dan Prince
b731e48bf4 Add zaqar::messaging::mongodb
This class is used to enable and configure the mongodb
messaging driver.

Change-Id: I1843aa1506103f92dd3bb8057eca9d2120a5d7b1
2016-02-16 14:34:10 -05:00
Dan Prince
e55ebf275c Add zaqar::management::mongodb
This class is used to enable and configure the mongodb
management driver.

Change-Id: I3d40e835d3bd51bc536e5cf111254907caeea67d
2016-02-16 14:34:10 -05:00
Dan Prince
a5a474d4d8 Implement zaqar::init class
This configure high level (non-driver) settings for zaqar
in addition to keystone auth settings.

Change-Id: Iec49c7aca993fcb44e89d27b17c0aaadb24452d9
2016-02-16 14:34:08 -05:00
Dan Prince
fa9218c4cd Reflect provider change in puppet-openstacklib
With the creation of the new openstack_config provider, some
essing
that was done in zaqar_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 :

zaqar_config { 'DEFAULT/foo' : value => 'bar' } # will work as
l

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

That means that all the current :

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

can be removed in favor of :

zaqar_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

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

Change-Id: Iaaf2e5755080ef32d7d585465aaea6fd408d0ece
2016-02-11 20:10:48 -05:00
Dan Prince
5a0b65b1ea Updated defaults for zaqar::keystone::auth
Update the defaults for keystone::auth so that they are
consistent with the project (python-zaqarclient, etc.)

Change-Id: I317fb47a1326eb577dd0fa8ec5eb2d7ac842c4af
2016-02-11 20:10:45 -05:00
Jenkins
1fba97d779 Merge "Use uppercase 'S' in word "OpenStack"" 2016-02-10 23:55:53 +00:00
Ben Kero
bdbe163de3 docs: Update README.md to point to new Beaker URL
The URL [1] to the docs for writing Beaker tests (specifically beaker-rspec)
have moved. The README.md still points to the old URL. This commit fixes
this by pointing to a better URL [2].

[1] https://github.com/puppetlabs/beaker/wiki/How-to-Write-a-Beaker-Test-for-a-Module

[2] https://github.com/puppetlabs/beaker-rspec/blob/master/README.md

Change-Id: Ia1bbe88e47c0d268a172de8ad1af986d019c465d
2016-02-04 22:44:13 -08:00
venkatamahesh
890acb774d Use uppercase 'S' in word "OpenStack"
Change-Id: I4d51da91baeec1138ed3c14cec1e5d4b8d0022a7
2016-02-04 18:52:32 +05:30
Emilien Macchi
34f11f98b5 drop mock dependency
mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636

Change-Id: I5e02370b5ab269eea88c6b29a21e4b6eaf7f5ac8
2016-01-22 10:14:22 -05:00
Emilien Macchi
c81551d240 Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance
Use common code in puppet-openstack_spec_helper in Rakefile and
spec_helper_acceptance.

Change-Id: I04e8ac89ca373a14f9de5ddfab9afc78095f16f7
2016-01-18 09:11:37 -05:00
Alex Schultz
5fdd1876a4 Add rspec-puppet-facts to the spec_helper
This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests.  With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.

Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.

Change-Id: Ib61c316e965662ee66c0c0a1f14759c3b7c888bb
2016-01-14 18:46:24 +03:00
Swapnil Kulkarni (coolsvap)
8b454bc7eb Update typo
Change-Id: Ia2e763e1a72157d17d03f1af885fe146eaf6bcc4
2016-01-08 03:32:14 +00:00
Emilien Macchi
eaf21d19ee Make Keystone_endpoint match service by name/type
Since a chance in puppet-keystone (1], we now match an endpoint with a
service name/type.
)
[1] http://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=0a4e06abb0f5b3f324464ff5219d2885816311ce

Change-Id: Id31829908be2818ba5afe121caf79d97300dd20f
Closes-Bug: #1528308
2015-12-22 18:13:36 +01:00
Jenkins
266b3b78ad Merge "Remove class_parameter_defaults puppet-lint check" 2015-11-13 16:56:12 +00:00
Gael Chamoulaud
8132ef1c11 metadata: Switch to OpenStack namespace and bump to Kilo
This patch fixes the puppet forge namespace, and bump min dependency to Kilo
https://wiki.openstack.org/wiki/Puppet/releases.

Change-Id: I2640446d5dfd6bea6e43a52e016a813ef78a105f
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 14:29:05 +01:00
Gael Chamoulaud
848b25ce57 Remove class_parameter_defaults puppet-lint check
Change-Id: I66cd8a717c2c7a213e6e02d4a80264182c6331c8
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:54:22 +01:00