414 Commits

Author SHA1 Message Date
Tobias Urdin
0b5a01dd87 Convert all class usage to relative names
Change-Id: Ic8aff2f30d3473d22c8eac49a431ed044e9ce584
2019-12-08 23:17:31 +01:00
Cédric Jeanneret
ad48860b75 Ensure no directory listing is active
By default, puppetlabs-apache module enables Indexes option, which can
lead in data/structure leak.

The following patch disable that option on a global base, since we
shouldn't need such a feature.

Closes-Bug: #1854442
Change-Id: Icba53f4e32237556608f4cb6dcd9da1a71705c19
2019-12-03 08:38:29 +01:00
ZhongShengping
9606137063 Update the constraints url
For more detail, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I62e82dc2a6b5be1b7726ae31c0faa7c5704fc8aa
2019-10-31 14:04:13 +08:00
ZhongShengping
20af7d85bb Fix rabbitmq dependency
puppetlabs/rabbitmq [1] is deprecated, and max version is 5.6.0 which can
not be fulfilled by this dependency.

Correct it to puppet-rabbitmq [2] instead which is being actively maintained
and has the right version.

[1]: https://forge.puppet.com/puppetlabs/rabbitmq
[2]: https://forge.puppet.com/puppet/rabbitmq

Change-Id: Ie546efe18f8e3886bbc59ddb3573864f379d929a
Closes-Bug: #1850236
2019-10-29 09:31:05 +08:00
Zuul
acdecdcb51 Merge "Deprecate Puppet 5 support" 2019-10-10 21:51:34 +00:00
Zuul
4c54371bc9 Merge "Allow to activate WSGIImportScript option" 2019-10-09 20:13:53 +00:00
Tobias Urdin
0bad3b1670 Deprecate Puppet 5 support
Puppet 5 will only recieve fixes and security
updates to May 2020 [1]. See quote [2].

Since we support Puppet 6 already this is not
an issue. The Ussuri release will be around
the 2020-05-13 date [3] which will be almost
the same time as the Puppet 5 EOL.

With this we let users know that they can use
Puppet 5 in Ussuri but that we stop officially
supporting it in V.

My hope is that we could also make this a hard
requirement in V so that we can start using the
features that are >= 6.0.0 only.

[1] https://puppet.com/misc/puppet-enterprise-lifecycle
[2] "For example, the PE2018.1 LTS uses Puppet Agent 5.5, so the open
source Puppet Agent 5.5 will receive bug fix and security updates until
May 2020."
[3] https://releases.openstack.org/ussuri/index.html

Change-Id: I233ba3db5127d2e9a4c08c767474ac038305d488
2019-10-09 17:17:53 +02:00
Cédric Jeanneret
55668d9f33 Allow to activate WSGIImportScript option
This should prevent slow loading on the first request, especially
annoying when this first request is done by a healthcheck launched by an
inflight validation.

This patch is a reaction to the whole issue raised by the new nova
inflight validations[1], followed by some discussions in order to get a
faster application loading.

[1] https://review.opendev.org/#/q/status:merged+project:openstack/tripleo-heat-templates+branch:master+topic:bug/1842687
Related-Bug: #1843555

Change-Id: I27e37e30823c4312d9d7a93f18fe0f930ce70c49
2019-10-09 16:05:24 +02:00
f2689eca50 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I3f9e637bf4bab2a3b5023709f2b60f764923ec52
Sem-Ver: feature
2019-10-04 13:33:58 +00:00
ZhongShengping
16e0c81a3c Prepare Train RC1
Update the version metadata for Train milestone RC1

Change-Id: Iee3989d19c67374efe68e112508a566d35f5c6f8
15.4.0
2019-09-25 13:45:43 +08:00
Javier Pena
03170a9383 Replace url with endpoint in credentials provider
python-openstackclient has removed the --os-url option in [1]. This
commit is part of the upcoming 4.0.0 release.

The openstack provider relies on that for Keystone initial configuration,
so we need to fix this or puppet-keystone will be broken.

[1] - https://review.opendev.org/677795

Change-Id: I50830450efe7a13be801a31f4ef0333684c7837b
2019-09-17 13:15:23 +02:00
Javier Pena
726b06cdb4 Restore defaults for combine and failonfail in openstack command
[1] added "override_locale: false" to the openstack command executions,
to respect the current locale. This had an unintended side effect,
since it changed the values for failonfail and combine to false in
that same execution, as described in [2].

We should ensure that openstack command failures are respected, so
this commit restores that behavior.

[1] - https://review.opendev.org/640997
[2] - https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/execution.rb#L139-L143

Change-Id: I55e587ea5c83338ae989aa56f1f379079eb02e08
2019-09-17 11:38:54 +02:00
ZhongShengping
e39bac1b81 Prepare Train M4
Update the version metadata for Train milestone 4

Change-Id: Ida6e89b02b73d27432c59404ea25016098f9197d
2019-09-05 09:04:50 +08:00
ZhongShengping
fe0f998d1c Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20[1]:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements

[1]https://docs.openstack.org/openstackdocstheme/latest/#using-the-theme

Change-Id: Ic5e9cc357f657aaa8adb648a03a29d9703603647
15.2.0
2019-08-13 11:29:07 +08:00
ZhongShengping
39a2ddbcce Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I1115e2eb6d15af3ea69ef561fa6dc57d198922ab
2019-08-07 09:10:09 +08:00
ZhongShengping
f650ce7f79 Prepare Train M3
Update the version metadata for Train milestone 3

Change-Id: I258e1333cd66d602f5dd70769193168cc0ebd201
2019-07-24 16:19:38 +08:00
Zuul
c901308aa4 Merge "Remove CredentialsV2_0" 15.1.0 2019-06-14 00:12:24 +00:00
Tobias Urdin
7ffbfbf0f1 Remove CredentialsV2_0
This is not used anywhere but in Fuel which is dead.

Change-Id: I0c5957ec5690e8f52467fd38e780b067be7d8c5b
2019-06-10 22:33:16 +02:00
ZhongShengping
a6f0119868 Prepare Train M2
Update the version metadata for Train milestone 2

Change-Id: Ibc62065853a6386a3f15771cdf93a8f5e56bf280
2019-06-10 10:04:54 +08:00
Harald Jensås
7d0f1b785d inet6_prefix() - add test with prefix in input
Extend the unit tests of the inet6_prefix() function to
test input including the prefix ('inet6:[2001::01]:80').

Change-Id: I68ead773868bd418f10a480f2b7b7fc08084374e
15.0.0
2019-05-24 16:43:06 +02:00
Harald Jensås
1f13d87fdf inet6 prefix utility
Utility to handle prefixing IPv6 address with `inet6:`.

This is useful for services relying on python-memcached
which require the inet6:[<ip_address]:<port> format.

Change-Id: Ibd280929f62bae61f34b2984af7710fbd422264b
2019-05-24 01:53:02 +02:00
Tobias Urdin
6399a0e3f6 Remove Puppet 4 support
From Train release we no longer officially support
Puppet 4 as we have notified about earlier.

Deployments should use Puppet 5 or Puppet 6.

Change-Id: I903f238d7967cde2e7357dd21905f267dc289c73
2019-05-01 18:03:56 +02:00
ZhongShengping
e30f0f5f3e Move to opendev
Use review.opendev.org instead of review.openstack.org.

You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: I754784750694c212141fd830abd1ecad401b75a2
2019-04-24 14:54:03 +08:00
ZhongShengping
76cd957d3a Move to opendev
Change-Id: I42a646aca949e44542f0aac4641214890f43069c
2019-04-21 14:44:49 +08:00
ZhongShengping
d8c745e822 Fix Repository
Change-Id: Ib341c50b8161271de2efd39cb949c034d9d40af8
2019-04-21 12:59:09 +08:00
ZhongShengping
b017e54bce Replace git.openstack.org with opendev.org/openstack
Change-Id: I46d8340275ca786b8960836e3c73f98852109b7e
2019-04-21 11:50:31 +08:00
OpenDev Sysadmins
bdfce08390 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:38 +00:00
ZhongShengping
181ebe3430 Add Beaker-Rspec to the table of contents
Change-Id: I712077f193a7bb5c48bccdb63d79b51353e934e2
2019-04-17 09:42:44 +08:00
Alex Schultz
8ed8ad5ed2 Bump version for the start of Train
Update the version metadata for Train M1

Change-Id: If6f033b1552293a545b8dab1bd06735b3f599e62
2019-03-25 07:27:19 -06:00
6c61c2b667 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ib9a155e1f2fa14c4f514788437a5933c8f256a27
Sem-Ver: feature
2019-03-22 16:52:06 +00:00
ZhongShengping
66592257f6 Prepare Stein RC1
Update the version metadata for Stein milestone RC1

Change-Id: I6f01d3a2cae435e665a57317f6a07311435cd99f
14.4.0 stein-em
2019-03-18 10:38:15 +08:00
Zuul
0bce7c13c5 Merge "Keep the system locale in the openstack command." 2019-03-12 12:34:41 +00:00
ZhongShengping
7aa0074835 Prepare Stein M3
Update the version metadata for Stein milestone 3

Change-Id: Ie907e9866f995f507518421c5daf17b5f15660d0
14.3.0
2019-03-06 14:55:47 +08:00
Sofer Athlan-Guyot
8ac560f69f Keep the system locale in the openstack command.
By default puppet reset the locale to "C"[1].  This can cause problem
when openstack command have to deal with non ascii strings.

We use the override_locale parameter of the execute puppet method to
pass down the locale to the openstack command.

Co-Authored-By: Natal Ngétal <hobbestigrou@erakis.eu>
Closes-Bug: #1744075

[1] https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/execution.rb#L349-L357

Change-Id: Ia61308d54be4a72faf47b315989b63dc8f64aa09
2019-03-05 13:51:53 +01:00
Zuul
fda3700345 Merge "Add release note about pyvers" 2019-02-25 19:43:32 +00:00
Zuul
19063ceff2 Merge "Add release note about Ubuntu py3 upgrade" 2019-02-25 19:43:32 +00:00
Tobias Urdin
d085528e06 Add release note about pyvers
Change-Id: I8e1105122946cd61d57fbf909824087af06965ae
2019-02-24 00:32:32 +01:00
Tobias Urdin
d561aa2511 Add release note about Ubuntu py3 upgrade
Change-Id: I4a5539346df701670d45e96ac4813eb08259f513
2019-02-24 00:09:23 +01:00
Tobias Urdin
6bdeca8d21 Use validate_legacy
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.

The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.

This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].

[1] https://review.openstack.org/#/c/568929/

Change-Id: I70b9cafad10ec5abfc0166feb01c49adbd1f517d
2019-02-23 22:31:06 +01:00
Zuul
5d0b6b51c4 Merge "Update puppetlabs-mysql dependency to min 6.0.0" 2019-02-16 01:05:04 +00:00
Tobias Urdin
c0ffd3502d Update puppetlabs-mysql dependency to min 6.0.0
And change the upper constraint to be the latest
8.0.0 release. See all other patches on this topic.

Change-Id: I30f0367c9eeafe7e8b45c348c3df5630f29fa6a2
2019-02-13 12:17:21 +00:00
Tobias Urdin
be647504e0 Remove Ubuntu Xenial from metadata.json
This is not supported anymore since packaging
for Stein will not only be for Bionic.

Change-Id: I4834fbaa88559b04da6df1b705ef926b4fb10602
2019-02-08 11:34:21 +01:00
Tobias Urdin
63cd960253 Inherit pyvers from openstacklib::defaults
Depends-On: https://review.openstack.org/#/c/633162/
Change-Id: Ied4fcd08ce82543907c4cf8fd5f2780e63a47eed
2019-01-25 15:55:18 +00:00
ZhongShengping
5837b0f773 Modify puppet version 4 to 5
The puppet version has been upgraded from 4 to 5 in the main branch.

Change-Id: If04ab44b566894a635dfa4f2686ed63475ba8097
2019-01-15 10:11:19 +08:00
Zuul
f3513f03b3 Merge "Set pyvers in defaults" 2019-01-14 20:06:10 +00:00
Tobias Urdin
489d1573c4 Set pyvers in defaults
This allows openstacklib::defaults to be inherited by each component
module avoiding duplicating the logic currently required when setting
this for the various base distrobutions.

Change-Id: I84b767921d151a61429b2c89e6372c4b447f0d7d
2019-01-11 14:36:07 +00:00
Tobias Urdin
689eed407a Cap puppetlabs-mysql to 6.x release
They released puppetlabs-mysql 7.0.0 which breaks our modules,
see the periodic Puppetfile patch here [1].

I think this is related to our usage of "mysql_password" in
the modules which we need to revise to use the new puppet
functions that puppetlabs-mysql have changed to.

That would probably require us to bump minimal requirement of
puppetlabs-mysql to 6.x though, so cap this until we have fixed
modules and updated minimal requirement.

[1] https://review.openstack.org/#/c/611996/

Change-Id: I4c89e935b8d074bfd4f389070ed712429d44b30e
2019-01-11 11:09:50 +01:00
ZhongShengping
4c29873ab8 Prepare Stein M2
Update the version metadata for Stein milestone 2

Change-Id: Idc767fc7e08d07bc37de493ba7d96abf0af2d403
14.2.0
2019-01-10 09:24:04 +08:00
ZhongShengping
4dfc64e9d0 Fix editorial problem
Use git.openstack.org instead of github.com since git.openstack.org is
the reference for OpenStack

Change-Id: I6efd64fb1e41513f1146927de8b591b87c339d62
2018-12-24 14:02:31 +08:00
Zuul
021d84371b Merge "Supply hrefs for table of contents according to context" 2018-12-21 10:42:53 +00:00