375 Commits

Author SHA1 Message Date
Jenkins
97755370aa Merge "Update openstackdocstheme to latest version" 2017-09-20 17:10:02 +00:00
chenghuiyu
9f005034d0 Update openstackdocstheme to latest version
Change-Id: Icdd9588410c2d0d6b6816c92f3ed8ccb41360f61
2017-09-20 11:01:09 +08:00
Juan Antonio Osorio Robles
ca0bf6ea34 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: I09b4dfa0873c5a086d4492a7e2ebb72460e507c9
2017-09-19 15:12:36 +00:00
Mohammed Naser
735c6641f0
Fix beaker tests to use openstack_integration for RabbitMQ
The RabbitMQ acceptance tests used to be pointing towards the Kilo
repos.  This patch addresses it so that it leverages the Puppet
OpenStack integration manifests instead.

Change-Id: I3a647184141f5d66f212ee91d4cf36e8547c7517
2017-09-19 11:03:04 -04:00
Emilien Macchi
6ea6c46d6d 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: I00d964aacdb80fe08c85c41a0700e92249d0e2f6
2017-08-30 13:46:22 -07:00
Jenkins
89401f0371 Merge "Update versions for Queens cycle" 2017-08-25 19:30:44 +00:00
Jenkins
86c3e750ca Merge "Update reno>=2.5.0" 2017-08-25 19:30:38 +00:00
Alex Schultz
10cabfa9f5 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: Id12aaf1a7b1daecbf39b2c4135aa47c53fad1a87
2017-08-24 13:07:55 -06:00
153ee074c9 Update reno for stable/pike
Change-Id: I07276ca37e75a66872b8cf0f7bcbfa4ea2bf94bb
2017-08-24 14:01:29 +00:00
Alex Schultz
79a799f5d7 Prepare for official Pike release
Prepare the metadata and release note configuration for the
official Pike release.

Change-Id: Ie755e1868487883e8759b7f0cbc6e94604ee2e62
2017-08-21 16:00:32 -06:00
ZhongShengping
22f5706288 Update reno>=2.5.0
Change-Id: I538a3bb88b9d8bf3add2fe0e362710ccfc91d8e4
2017-08-21 11:21:06 +08:00
Benedikt Trefzer
8832df01b0 add parameter to overwrite/add wsgi process options
Add two parameters to apache wsgi to allow overwrite
    and/or add additional wsgi process options.

Change-Id: I41914ce3361988d5db1695f09d21209772fdf548
2017-08-16 06:54:10 +02:00
Jenkins
f23007de76 Merge "Change author in setup.cfg" 2017-08-12 14:31:44 +00:00
Jenkins
cd97f82d0e Merge "Update openstackdocstheme>=1.16.0" 2017-08-05 07:00:09 +00:00
Alex Schultz
ff82e31fe8 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: Iffef5bd317125045f6028bcc8c1332abde9323e9
2017-08-04 13:38:30 -06:00
ZhongShengping
5cc3d73972 Update openstackdocstheme>=1.16.0
Change-Id: I1716dedab5eaf3e513d8eb89a8ded36b7ff30e00
2017-07-31 11:03:25 +08:00
Alex Schultz
b0201b3411 Drop -dev version for Pike M3
Prepare version metadata for Pike M3

Change-Id: I035754744ebcff3788601b990861585a99d4363c
2017-07-25 08:14:56 -06:00
Jenkins
a43a2220df Merge "Update URLs in documents according to document migration" 2017-07-21 23:30:45 +00:00
Carlos Camacho
a3cef1d6cc Fix lint issues to upgrade to puppet-lint 2.3
2017-07-20 14:41:23.253791 | manifests/db/mysql/host_access.pp:52:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253911 | manifests/db/mysql/host_access.pp:62:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253949 | manifests/policy/base.pp:43:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253987 | manifests/service_validation.pp:94:WARNING: arrow should be on the right operand's line

Change-Id: I4cee893ae8f2e430149e2cd56b2e9d9d592a75d5
2017-07-20 20:42:31 +02:00
Arundhati Surpur
924be63894 Change author in setup.cfg
Changed author to OpenStack in setup.cfg
refer:https://review.openstack.org/#/c/407413

Change-Id: Ic2a035d6f7ed20c65893b7c7bf632ca8676e6aa9
2017-07-19 11:36:20 +05:30
ZhongShengping
7bf2eed427 Update URLs in documents according to document migration
Change-Id: I71d5e2703aec06b63e6e4eea333705743af66f7b
2017-07-14 08:53:42 +08:00
Alex Schultz
76de885d5b Fix httpd dependency
When we switched to the collector as part of
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b this included using name ==
'httpd' but the package name is different between RHEL/Ubuntu so it
needs to be title == 'httpd' because the title[0] is fixed to be 'httpd'

[0] https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/package.pp#L32

Change-Id: I9d535ab38afea852559df2b3073bd4b74a2a3947
2017-07-13 14:32:57 -06:00
ZhongShengping
7ce50f94b8 Update resource references for dependencies
The latest version of puppet now reports these as catalog failures so
this change removes the unnecessary references and the references
should be updated.

Change-Id: Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b
Closes-Bug: #1702964
2017-07-11 17:23:15 +08:00
Jenkins
5dee44333a Merge "Ignore extra bash code from openrc" 2017-07-06 16:29:13 +00:00
ZhongShengping
b5584a59dd 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: Ibb6031dff22e4a57bffa12092b57608a1df36874
2017-07-02 14:23:49 +08:00
Jenkins
6dafbc69ca Merge "fix copy of wsgi file beeing a symlink" 2017-06-29 23:35:03 +00:00
Benedikt Trefzer
75aa4228e9 fix copy of wsgi file beeing a symlink
if wsgi_script file is a symlink to another file (eg.
in a virtual environment) the file resource copied the
symlink instead of creating a new file.

This patch ensures, that symlinks are followed and a
ordinary file is created instead of copying the symlink.

Change-Id: I53e59dbfb8810a519fce24e1e381e0f83c5a1c29
2017-06-28 11:34:22 +02:00
ZhongShengping
8264861d9b 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: If4cd490ef9c2ff3f5971f41666f1862b66a1f9ca
2017-06-26 10:09:07 +08:00
Alex Schultz
61044892ad Ignore extra bash code from openrc
If a user has additional code in their openrc file that isn't just bash
variables, the auth provider might fail while parsing it. This change
updates the logic to only try and parse lines with OS_ in it to make
sure that extra things like bash code are ignored.

Change-Id: Id6f5406dcf15642bc0d70caeac30224114bb0669
Closes-Bug: #1699950
2017-06-23 08:48:10 -06:00
ZhongShengping
93b8e7d365 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Ic83d7ddf1dc97248949051acfaeacf2a83084227
2017-06-12 16:00:31 +08:00
Jenkins
a99d5dcc8e Merge "Bump version for Pike M3 Dev" 2017-06-09 09:27:37 +00:00
Alex Schultz
e8aa6b7f5a Bump version for Pike M3 Dev
Pike M2 has been released. Prepare version numbers for M3.

Change-Id: I3f6c0ca4392470a557e3d9cfcb4d228c04da1343
2017-06-08 15:33:46 -06:00
ZhongShengping
25f8fc561f 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 tests.

Change-Id: I3ac916bbe86cdb9275b2f5c97e747cc2e01eef94
2017-06-08 12:01:12 +08:00
Alex Schultz
c6f6a3f897 Drop -dev in preparation for Pike M2
We're coming up on the Pike M2 release and we need to prepare the
metadata.json and reno configuration for the release.

Change-Id: Ic2f64fc0a77bf0f1e3c3776005041c24d5e3dd04
2017-06-01 08:54:55 -06:00
Alex Schultz
f7d43fd832 Update tox configuration
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: I5e38f9490f06e189c60e1ddb390f2eed5e2e7889
2017-05-17 08:30:11 -06:00
Alex Schultz
16d87ac068 Bump modules to next minor with -dev
After releasing Pike M1, we need to bump the metadata version
information for the next release with a -dev.

Change-Id: Ie00f8f21337242d999a9b034813831ef2aedea80
2017-04-21 17:23:55 -06:00
Alex Schultz
f1fa56a5f8 Drop -dev for release prep
Removing the -dev from the version to prepare for Pike M1

Change-Id: I08cc536a5beef23bf7a47a94b4bc1fc523d17a59
2017-04-05 10:45:53 -06:00
ZhongShengping
6fbc6e36c3 Update test-requirements.txt
This patch brings it in line with the latest global requirements.
By being in line with global requirements, this is a more accurate
list with respect to how things are actually tested in the gate.
The following links[0][1][2] show the latest reno, oslosphinx, sphinx
packages.

[0]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L263
[1]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L372
[2]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L395

Change-Id: I0f7d6b0e846d88c53d116b374736b497c8a38d29
2017-03-23 14:51:02 +08:00
Alex Schultz
d9123c427c Prepare Pike metadata
Bump metadata.json and reno configs for Pike

Change-Id: Icaef432f2fb783f955aff6bfdfaeadd557720564
2017-03-07 15:34:39 -07:00
Carlos Camacho
b3d0590022 Allow integer port in os_transport_url
Currently we only allow to use strings
as the data type for ports.

Due to this we need to cast the data type
in the puppet modules because from THT
this is configured as a Number.

This submission allow to use either string
or numbers for the port parameter in the
os_transport_url function.

Change-Id: I9e56f8e2de542b20fe9e6995506cff5bb435e220
Closes-Bug: #1664561
2017-02-22 10:40:31 +01:00
0176f97117 Update reno for stable/ocata
Change-Id: If607150e60cc092e0e1e617de2b9253ccbaaf2c4
2017-02-08 11:04:32 +00:00
Alex Schultz
6266100d82 Prepare ocata-rc1 release
Bump metadata.json and reno configs for ocata-rc1 release

Change-Id: Ibd0a4124bbdd4351ee1d133cf138e9d5b57baeaf
2017-02-03 16:24:01 -07:00
Alex Schultz
9b365753b7 Prepare 10.2.0 release
The third release for Ocata.

Change-Id: Ie47b593d1c4dc33b0e91e30950b0d4ea213ba916
2017-01-13 17:32:02 -07:00
iberezovskiy
caafb28738 Pin reno version to reno>=0.1.1,!=2.0.0
reno=2.0.0 breaks releasenotes test

Change-Id: Ib4619d948936dce13569cbbec2178258ea2e914e
Closes-Bug: #1651995
2016-12-22 11:26:22 +00:00
Andrew Smith
f9672b062f Enable alternative transport in os_transport_url
Change-Id: Ie6965dc5f7896587b5625e38cc758b5564e59bd4
Closes-Bug: 1651215
2016-12-20 10:00:55 -05:00
Jenkins
80981a4cc6 Merge "Improve os_transport_url ssl support" 2016-12-20 10:00:08 +00:00
Jenkins
6a980b5d33 Merge "Add tls options to mysql user creation" 2016-12-20 08:09:37 +00:00
Jenkins
ff5c9b4e6d Merge "Update os_workers to have other options" 2016-12-20 00:00:03 +00:00
Alex Schultz
cbeb29e69b Improve os_transport_url ssl support
The ssl paramter of the os_transport_url should be 0/1 but we do not
ensure that this is the value being used in the creation of the
transport_url. This change leverages the stdlib str2bool and bool2num to
ensure that when provided the ssl paramter ends up being 0/1 which is
the correct format for the transport url.  Additionally this also allows
for string booleans to be passed into the ssl parameter and it should
still work correctly.

Change-Id: I278559ba98ba48974ae590dc1e0bb99b6ab961d7
2016-12-19 11:43:07 -07:00
Jenkins
d49f7d95bb Merge "Add customization for wsgi process display name" 2016-12-17 11:05:28 +00:00