Commit Graph

196 Commits

Author SHA1 Message Date
Zuul
eef142e7a9 Merge "Remove pinned versions from test-requirements.txt" 2018-01-17 14:01:10 +00:00
Emilien Macchi
bd657f3862 Prepare for Queens Milestone 3
Prepare the metadata configuration for the third Queens milestone.

Change-Id: I6cf39b3c2af23fb7277a69a404a991a90d2b2e45
2018-01-16 15:51:42 -08:00
ZhongShengping
af5fbb838c Remove pinned versions from test-requirements.txt
As we are using the upper constraints when running the release
notes task using tox, we do not need to set a specific version
and we can rely on whatever is configured in upper constraints.

Change-Id: I6007c794a62a179b6e4702417d64f655170edb25
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
2018-01-16 09:57:55 +08:00
ZhongShengping
16f5fa7242 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: I6a113466e110a92addb9b217b57a59be13f7aed9
2018-01-15 15:25:34 +08:00
Emilien Macchi
035c0bb808 Add group to policy management
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.

Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: I9f0aed7d3f2945a4e5195dbf0a3b122acb039a19
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-10 14:22:17 -08:00
Emilien Macchi
4c076ebb47 Run puppet-openstack-beaker-jobs
Depends-On: I8f4b24cfd5fa6d91758f95228f823d82839c3366
Change-Id: Idc860394b544db9b1264125aa9e1a0cf004bf529
2017-12-21 18:54:46 -08:00
Ade Lee
303f85c92b Add support for multiple backends
This will be essential for allowing migrations to
different (more secure) plugins

Change-Id: Ib45708fa6f8770b7737fff1990cc86e71e4bd634
2017-12-04 16:51:09 -05:00
Alex Schultz
582058497b Prepare for Queens Milestone 2
Prepare the metadata configuration for the second Queens milestone.

Change-Id: I0f8fda9fd7b029a45dbed554719135d2961e49b5
2017-11-28 16:17:45 -07:00
Juan Antonio Osorio Robles
c5d0c3ec34 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I9a1b4f43826d060c56af6d42900da5e26060bc8a
2017-11-27 14:58:40 +02:00
Zuul
e14524a2cf Merge "Switch to Zuul v3 testing" 2017-11-02 04:22:40 +00:00
Zuul
7767c99d89 Merge "add parameter to overwrite/add wsgi process options" 2017-11-01 19:27:37 +00:00
Emilien Macchi
67592c907e Add Puppet package to bindep, for module build
We need Puppet package deployed from bindep so we can
run puppet module build with the new zuul v3 job.

Change-Id: I0582772e90385a84e16505a556d362508b0ac844
2017-10-27 13:10:51 -07:00
ZhongShengping
916fefe7c2 Switch to Zuul v3 testing
Change-Id: Ieccbd5870b33c3ce2d5fb123fab9334f57f9e7de
Depends-On: I3d21011beb57e66cce8d18efb9f603f218258ee2
2017-10-25 17:17:14 +08:00
ZhongShengping
06efa9d001 add parameter to overwrite/add wsgi process options
Add parameter to apache_wsgi to allow overwrite
and/or add additional wsgi process options.

This possibility was added to openstacklib
with Change-Id: I41914ce3361988d5db1695f09d21209772fdf548
lease enter the commit message for your changes. Lines starting

Change-Id: I42a3ae79439466890bf2efdd850c28d11a909fbc
2017-10-23 13:49:05 +08:00
Alex Schultz
00d8006269 Prepare for Queens Milestone 1
Prepare the metadata configuration for the first Queens milestone.

Depends-On: Id68ee1b443a4172d0c1d6d58a04908c52a566623
Change-Id: I138f094c404c9d2cd1654dc93010cf4bfd47aaca
2017-10-18 01:52:32 +00:00
Juan Antonio Osorio Robles
19d93ead0a apache wsgi: Exchange defaults for workers and threads
Due to Python's GIL [1], we can't use multiple threads for running
OpenStack services without a performance penalty, since the execution
ends up serialized, which defeats the purpose.

Instead, we should use several processes, since this approach doesn't
have this limitation.

[1] https://wiki.python.org/moin/GlobalInterpreterLock

Change-Id: Id0a4d32e6b9f039b08ace5519fb64468000ecfee
2017-10-13 14:23:30 +00:00
ZhongShengping
04a901771c Switch beaker tests to use Keystone V3
Change-Id: I4737d37b74d54c56daf385f724d8322025a7b35b
Closes-Bug: #1723352
2017-10-13 14:22:53 +00:00
Jenkins
9b1287a9ee Merge "Allow setting log files for apache vhost" 2017-10-08 16:49:48 +00:00
Juan Antonio Osorio Robles
9aa994c9a4 Configure *_domain_name to Default by default
Keystone v2.0 API was removed so we have no choice but configuring
user_domain_name and project_domain_name otherwise it fallbacks to
Keystone v2.0 and it fails. This patch sets the default value so we make
sure Keystone v3 will be used out of the box for our users.

Change-Id: I27631d4c6a81e7fa50b2f5154d87d0def8e3a875
Co-Authored-By: Harry Rybacki <hrybacki@redhat.com>
2017-10-06 16:04:14 +03:00
Juan Antonio Osorio Robles
7a8801de45 Allow setting log files for apache vhost
This allows the setting of the error and access file logs, as well as
the access log format. This was done in a similar fashion as one can
configure these ones in the keystone wsgi manifest.

Change-Id: Ifad53a620a14c97ba96e9c30652f0b0291cbcfe3
2017-10-06 14:23:25 +03:00
chenghuiyu
836048b4f9 Update to the latest address in README
Change-Id: Id472d73f44977c3cc46ee04690af23b230733214
2017-09-21 11:38:01 +08:00
Jenkins
c7f492f238 Merge "Deprecate revocation_cache_time option" 2017-09-21 00:03:51 +00:00
chenghuiyu
bdda1241e9 Update openstackdocstheme to latest version
Change-Id: I5a5e77206b0ef1ce94a4f418c907d3c81da95263
2017-09-20 10:42:32 +08:00
ZhongShengping
275436a982 Deprecate revocation_cache_time option
The revocation_cache_time is deprecated for removel because of PKI
token format is no longer supported.
Update warning message and add a release note.

Change-Id: Ie4e84d00ba741c394eaca459e4e1d7beca5375f4
Closes-Bug: #1717144
2017-09-14 10:56:27 +08:00
Emilien Macchi
c8550e6447 Use Python to compute release notes version
Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.

Change-Id: Ia934435f0f1c673d59811a0d09574f680c9d7f1b
2017-08-30 13:40:44 -07:00
Jenkins
3b368bedbf Merge "Update versions for Queens cycle" 2017-08-25 17:44:54 +00:00
Jenkins
63e0cbc006 Merge "Update reno>=2.5.0" 2017-08-25 17:44:47 +00:00
Alex Schultz
39d529d734 Update versions for Queens cycle
Since we've cut the release for pike, we need to open master up
with Queens version information.

Change-Id: I43eea19b52d04438f352f5be03d98c8d84f57578
2017-08-24 13:06:32 -06:00
a2e6fb87d3 Update reno for stable/pike
Change-Id: I474a351a36ca6d5beea27fec2b945e188ff5842f
2017-08-24 13:59:58 +00:00
Alex Schultz
8241a1d13b Prepare for official Pike release
Prepare the metadata and release note configuration for the
official Pike release.

Change-Id: I4807c1eb5335c10508a1cbeaae789740124743a1
2017-08-21 15:59:10 -06:00
ZhongShengping
5c8b3f897b Update reno>=2.5.0
Change-Id: I304a8423ffa2007253efad1845ad35002a929d7b
2017-08-21 11:18:54 +08:00
ZhongShengping
ce157d0612 Fix unit test
The rpc_backend option has been removed in puppet-oslo[0], so we should
remove it.

[0]https://review.openstack.org/#/c/489264/

Change-Id: I267ba9495d70ac16d6349150f97708bd2a3f561e
Closes-Bug: #1708976
2017-08-07 11:53:49 +08:00
Jenkins
4968f14212 Merge "Update openstackdocstheme>=1.16.0" 2017-08-05 04:51:37 +00:00
Alex Schultz
b98aeebab0 Bump modules to next minor with -dev
After releasing Pike M3, we need to bump the metadata version
information for the next release with a -dev.

Change-Id: Ic0ed975f325cca17fc1e3b8eb386d91e87849a75
2017-08-04 13:37:10 -06:00
ZhongShengping
1201a872c7 Update openstackdocstheme>=1.16.0
Change-Id: I8d2d96fd294b9f335153494739abb855c799fa86
2017-07-31 11:00:34 +08:00
Andrew Smith
16651dc5f5 Deprecate oslo.messaging rpc_backend option parameter
Oslo.messaging uses the transport_url to represent the rpc and
notification messaging driver to use and its full configuration. The
rpc_backend configuration option is deprecated for removal and
should not gate oslo.messaging driver configuration options.

This patch:
* deprecate rpc_backend
* remove conditional check
* add release note

Change-Id: I00948197fef80ce54a9a382d251b54e39053f7a7
2017-07-27 15:35:52 -04:00
Jenkins
fac5cd6ec9 Merge "Change author in setup.cfg" 2017-07-27 01:07:36 +00:00
bhavani.cr
0914a53d4a Change author in setup.cfg
Changed author to OpenStack in setup.cfg
refer:https://review.openstack.org/#/c/407413

Change-Id: I5944bbda0eff44919283c38fe9342d82024a15d1
2017-07-26 05:08:56 +00:00
Alex Schultz
af2e61dc70 Drop -dev version for Pike M3
Prepare version metadata for Pike M3

Change-Id: I42dd36cb3c0e9fc15eeefc4aae29cd0e7386e99b
2017-07-25 08:13:33 -06:00
Jenkins
5f5b626f89 Merge "Update URLs in documents according to document migration" 2017-07-18 17:19:40 +00:00
ZhongShengping
bf63d3532f Update URLs in documents according to document migration
Change-Id: I5b464e715c1a39eddddc084dacfa89c8ccc872f2
2017-07-14 08:50:35 +08:00
Alex Schultz
0b97232742 Fix unit tests
The unit tests were broken by a change to openstacklib
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b which renamed some of the
resources in the openstacklib classes. The problem is that our tests in
this module should not have been testing what occurs within openstacklib
so this fix updates the tests to only check what we are doing within
this module.

Change-Id: I86f0fe19f3a0001522526fef5656bc668d1810ce
Depends-On: I9d535ab38afea852559df2b3073bd4b74a2a3947
2017-07-13 15:20:09 -06:00
ZhongShengping
55acfdf048 Remove deprecated keystone authtoken signing_dir option
Change-Id: I3ff98337ff10750c0fda5379e336ea5e7ac6e44a
2017-07-07 09:58:06 +08:00
ZhongShengping
2576358abc Fix openstackdocstheme
See the docs[0] how to use it. Also add the variables for the bug
log feature.

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I1745e6f4beac7f5be23199b4a1860e5b75cc6f79
2017-07-02 13:57:10 +08:00
ZhongShengping
21261f6cee Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Icfa733fb54ffa0e598a1c543e83ccff4ec61fd88
2017-06-26 09:25:40 +08:00
Emilien Macchi
7da4ea0784 include policy class in api.pp
Like we do in other modules, include barbican::policy class in
barbican::api so users can define policies without taking care of the
class.

Change-Id: I5eb4fb17c3ba4a644efdc67ef4b60615c8e6831e
2017-06-15 14:00:01 -04:00
ZhongShengping
5a2ee335c2 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I57da98038e604625e6eaeadbbf2b7d493b9fb031
2017-06-12 15:46:26 +08:00
Jenkins
6d4c80f889 Merge "Bump version for Pike M3 Dev" 2017-06-09 09:25:41 +00:00
Alex Schultz
1d3d06fbc9 Bump version for Pike M3 Dev
Pike M2 has been released. Prepare version numbers for M3.

Change-Id: I8cecca0b833292222291471f6e64c79667aceb27
2017-06-08 15:32:20 -06:00
ZhongShengping
d9ea0d46b0 Update global requirements
Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc test.

Change-Id: Ic6a33925dda2a54c031f98d6e489712110e83622
2017-06-08 10:40:22 +08:00