Commit Graph

2020 Commits

Author SHA1 Message Date
OpenDev Sysadmins 43baf0d967 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:50:16 +00:00
Ian Wienand c2d0fd9b9e Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ic67543ab0fbcb2ff7eac28daed736ca66c74fe56
2019-03-24 20:35:33 +00:00
Alfredo Moralejo a57ea3915c Ensure swift::keystone::auth is executed before swift::proxy
After https://review.openstack.org/#/c/468935/ , we have to create
swift credentials in keystone before starting swift proxy-server.
This is the case in master and ocata but in newton this order is
not forced in puppet-swift, so this patch forces it.

Change-Id: I0562cc27696e9e7a02945f9b309406402f16dc4c
2017-08-17 21:00:45 +02:00
Pradeep Kilambi 7c76e0e508 Configure ignore_projects in ceilometer middleware
Without this gnocchi with swift floods with events, causing too much
load.

Change-Id: Ibe23639cba50085efd10a8a65cd59c8350f74f58
(cherry picked from commit ef846b0589)
(cherry picked from commit a2c12a892e)
2017-08-17 07:38:30 +00:00
Alfredo Moralejo 08883ece9d Cap required version of pyOpenSSL
cryptography-2.0 has been released and requires
version >=1.6.2 of pyOpenSSL. These versions do not behave well with the
packages distributed in Newton, so let's cap them.

Change-Id: I044f6d74d64899eaf9edc3a3931825c5a5d6e84f
2017-08-17 07:29:11 +00:00
Javier Pena 39327feb59 Make SELinux enforcing/permisssive configurable for tests
When running tests using run_tests.sh, we want to have the option
to select if we want to run SELinux in enforcing (default) or
permissive mode.

Change-Id: I76776ff975a251c62f70c826913cd329b57c20c3
(cherry picked from commit 14e0eaaa35)
2017-07-11 07:40:49 +00:00
Javier Pena 514fc80522 Pin puppet_forge gem to version 2.2.6 for tests
The latest puppet_forge version (2.2.7) requires semantic_puppet ~> 1.0,
which is not compatible with r10k.

Change-Id: Ie1ecfcc8ba579ae52007dd924851ed47a2ccb5dc
2017-07-07 15:24:09 +00:00
Javier Pena 4a7f8d80be Set Keystone endpoint version according to answer file
Previously, we were hardcoding the keystone endpoint version in the
catalog (v2.0). Let's use the version provided in the answer file instead.

Change-Id: Ic36bab6ee0cb0105703f556d5933b16962e6bfeb
Closes-Bug: #1695933
2017-06-07 15:36:00 +02:00
Javier Pena 8407d4a8fa Synchronize Puppetfile constraints for non-OpenStack modules
Let's stay in sync with what puppet-openstack-integration tests.

Change-Id: Icb4ec9a9a8ecc89366e966ba16d70de515442b1c
2017-06-07 15:19:10 +02:00
Jenkins 104ce992ac Merge "Fix VPNaaS setup" into stable/newton 2017-05-16 14:12:55 +00:00
yatin 94e9a56acb Tag tempest_version to 14.0.0 for newton
Currently packstack scenario tests runs tempests master, but
for stable branch we should pin it to tagged version to
avoid failures with new tagged stable releases.
For example, openstack-heat-7.0.4 is not compatible with master
tempest.

Also if someone wants to run tests using different version of
tempest can use: export TEMPEST_VERSION=<version>

Change-Id: I2f854d90090dc5f34e30a10fbd7ceecb3187308d
2017-05-03 17:03:02 +05:30
Javier Pena 06231ae378 Fix VPNaaS setup
We have to use neutron::services:vpnaas in the controller node (not
in the network node), and remove the service_providers entry from
the plugin, as it is already done in the Puppet code.

Backport: stable/ocata

Change-Id: I11efcd52b0f591bcebdccbf4c68551c8faaf5f5d
(cherry picked from commit 7ebadaed52)
2017-04-18 16:06:37 +00:00
Javier Pena 132fa56f75 Align stars to fix CI for stable/newton
In Newton we are using Puppet < 4.0.0, some modules [1] require
a higher version in latest releases.

Also, cherry-pick https://review.openstack.org/453793 fixes to
stable/newton.

[1] concat, rabbitmq

Change-Id: I41a6435126f082cac2a020276b45e45796d275c7
2017-04-18 16:48:10 +02:00
Javier Pena 2d6ad77245 Use versionless Keystone endpoint for Nova API
The nova_flavor provider fails to create a flavor when using
Keystone v2. Using a versionless endpoint fixes this.

Closes-Bug: 1664668
Change-Id: I6924a47fab7442b0ebbf72c94757f6009c7267b9
2017-02-15 12:58:41 +00:00
Jenkins a12b17c3b3 Merge "Avoid error if logFile is not defined" into stable/newton 2016-11-24 15:04:19 +00:00
Jenkins 82427ed192 Merge "Fix two puppet parse errors" into stable/newton 2016-11-24 10:17:53 +00:00
Javier Pena 73c6449f67 Avoid error if logFile is not defined
If there is an error initializing a plugin or checking the command-line
arguments, we may use the logFile variable without having
initialized it, which causes an exception.

In those cases there will be no log file, so let's catch the
exception and ignore it if it happens.

Change-Id: Icaeb2ae780da9802591e9a063a71dd339b396b93
Closes-Bug: #1635770
(cherry picked from commit 6f6b5aa909)
2016-11-24 09:49:55 +00:00
Alex Schultz d2ace9728f Fix two puppet parse errors
The ironic class and mariadb::services_remote classes had two parse
errors which prevent their usage. This change fixes the parse errors so
these classes can be used.

Change-Id: I986492b7f6ebd3c1b66a59926e819b1ca4cdc5ad
(cherry picked from commit 9f3201ff2e)
2016-11-18 15:37:04 +00:00
Olga Krishtal 7deb788303 Fixes packstack failure when interface has no assigned ip address
In case we have unconfigured interfaces cidr_to_ifname() searches
its ipaddress and network mask and throws an exception.

Change-Id: I829a874ca44c2e4176bb1eeba28c3f49c44c72ca
Closes-bug: #1638549
(cherry picked from commit f480c69d76)
2016-11-18 15:35:41 +00:00
Jenkins af7b24ad29 Merge "Use neutron::keystone::authtoken for Neutron manifests" into stable/newton 2016-10-18 08:28:13 +00:00
Attila Fazekas 300e37e0f1 swift formpost earlier in the pipeline
The tempest formpost related tests fails,
when the formpost was defined after the staticweb.

Moving formpost before the staticweb as it is
defined in devstack as well.

Change-Id: I875496b79650abce04666b295e55ce0f7dc5074c
(cherry picked from commit 9baa54377c)
2016-10-18 06:14:05 +00:00
Jenkins 1be8238ffb Merge "Specify auth_url in aodh::auth" into stable/newton 2016-10-18 00:48:18 +00:00
Javier Pena 43b57b2803 Use neutron::keystone::authtoken for Neutron manifests
Neutron has moved to neutron::keystone::authtoken, so we need to
adapt Packstack. This also fixes a case where, if the network node
is not the controller node, Packstack fails.

Change-Id: I69850b92338158189a783af2cbe7f90c569607b1
Closes-Bug: #1633491
(cherry picked from commit 95f95e4999)
2016-10-17 21:28:11 +00:00
Alfredo Moralejo ec281fa3ca Specify auth_url in aodh::auth
Currently we are not setting the auth_url in aodh::auth.

This patch set this parameter to the right keystone versionless
keystone endpoint.

Change-Id: Ib533c0618e13e5a7c4b2fb4f6d09cfcb1b0237d9
Closes-Bug: 1633502
(cherry picked from commit fc41ba4764)
2016-10-17 21:27:56 +00:00
Alfredo Moralejo b0bca42c26 Remove unix socket from redis configuration
Since redis-3.2.4-1.el7, /var/run/redis is not longer
created, so redis fails to start with default configuration
in puppet-redis because it can't create socket file.

This patch removes unix socket from redis configuration
as it's the default in redis.conf file and it's not
required for openstack services (they connect via TCP
socket).

Change-Id: Ifd030b019becb1db6c98a09fe7fad0493e685516
Closes-Bug: 1633498
(cherry picked from commit 65c0c914a3)
2016-10-17 20:07:09 +00:00
David Moreau-Simard f0567c6265 Remove double quotes around additional arguments in tests
It seems quoting the variable had an effect around how the
arguments and their values were interpreted.

With double quotes, passing an extra argument would appear like
so:
     packstack '--nova-libvirt-virt-type=kvm' --allinone [...]
and without double quotes:
     packstack --nova-libvirt-virt-type=kvm --allinone [...]

The first interpretation does not work while the second one does.

Change-Id: Iba47c5e424b7c9517b4e39790b7289b041e250b7
(cherry picked from commit e7c0e05b10)
2016-10-11 13:04:42 +00:00
Jenkins 40d7b4cf20 Merge "Fix LBaaSv2 deployment" into stable/newton 2016-10-06 18:38:49 +00:00
Jenkins 1c297a5db9 Merge "Revert "Pin pycparser to 2.13"" into stable/newton 2016-10-06 17:51:03 +00:00
Alan Pevec 3343ac4881 Nested kvm needs explicit hypervisor type
Change-Id: I56a31a58c0a6a7ab8f26a25063277fc0b47f596d
Closes-Bug: #1630187
(cherry picked from commit ed5d23823e)
2016-10-06 16:29:07 +00:00
David Moreau Simard caf7c52021 Revert "Pin pycparser to 2.13"
This reverts commit 39a3284aa6.

The broken wheel has been fixed upstream, it should be safe to remove the pin now.

Change-Id: I58ff9c3a3025134bc0e5975253441a1932ea8315
2016-10-04 14:20:41 +00:00
David Moreau-Simard c65bdcfcd6 Use ADDITIONAL_ARGS to pass extra commands to Packstack scenarios
This is a generic variable that'll allow to pass extra commands to
Packstack integration testing scenarios so that we do not have to
parameterize everything and extend testing easily if required.

For example, this will allow testing frameworks to send the extra
argument "--enable-rdo-testing=y" in order to test Packstack against
the testing repositories.

Change-Id: I5b510aabe6749e329b19ef178e6b8870ee66c1a7
(cherry picked from commit fd4ac4b7d6)
2016-10-03 11:10:16 -04:00
Alfredo Moralejo 39a3284aa6 Pin pycparser to 2.13
Bug https://github.com/eliben/pycparser/issues/147 is
affecting packstack installation from source.

As workaround i'm setting it to ==2.13.

Change-Id: Idf78577988a56404e22ceed9915d4b077e6a46ee
(cherry picked from commit 236f20a2b8)
2016-10-03 10:31:55 -04:00
Alfredo Moralejo a3232b1504 Fix LBaaSv2 deployment
Review https://review.openstack.org/#/c/374229/ fixed some
issues for lbaasv2 but some more changes are needed to make
it work properly.

Change-Id: Ia727748498c81cf0e5c1e9fe1afd771ed0c44767
(cherry picked from commit 2eb64f1488)
2016-09-30 23:01:45 +00:00
Alan Pevec 3f43120338 Create stable/newton
Change-Id: I65354a8071e5d1de2ca69697234f4adfb3aef146
2016-09-22 00:42:43 +02:00
Jenkins b11f8ba230 Merge "Add vxlan to linuxbridge agent when enabled" 2016-09-21 20:30:30 +00:00
Jenkins 79f01347e5 Merge "Fix Neutron lbaas and add it to scenario002" 2016-09-21 20:28:27 +00:00
Alan Pevec 1bbcbff4fb Use PBR
Refactor setup.py using Python Build Reasonableness[1]
as a standard for OpenStack projects.

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

Closes-Bug: #1559150
Change-Id: Ie3b3845f11236f5338228690418760599914cce4
2016-09-21 17:49:02 +02:00
Javier Pena 182064df9f Fix Neutron lbaas and add it to scenario002
The lbaas service was moved to use lbaasv2 in https://review.openstack.org/360352.
However, some additional fixes are needed to make it work.

To ensure lbaas is working after future changes, it is now enabled
as part of scenario002.

Change-Id: I050c831041262636f07ad616bca6acaaff42ed37
2016-09-21 17:47:19 +02:00
Ivan Chavero 92ea78df62 Change ironic identity to authtoken
https://review.openstack.org/#/c/346028/14 moved keystone resource
creation to ironic::keystone::authtoken. Adapting packstack to it.

Change-Id: I22cb0b9fdbfa31aa58d5e25c28b44b4a1b95bd48
2016-09-21 13:36:52 +02:00
Jenkins 81656e43d9 Merge "Include SSL cert parameters even for existing CACERT files" 2016-09-21 10:05:40 +00:00
Ivan Chavero 1ca1b0268e Add vxlan to linuxbridge agent when enabled
Packstack should add vxlan to linuxbridge configuration
when enabled.

Change-Id: I697f9abed1ac96975b4a67a68bae96bb5eb5670c
Closes-bug: #1599025
2016-09-21 11:35:18 +02:00
Alfredo Moralejo 2aace8822f Include SSL cert parameters even for existing CACERT files
SSL cert parameters as mail, organization, etc... are required
not only when packstack generates a self-signed ca certificate
but when new certificates are generated from an existing
ca certificate using CONFIG_SSL_CACERT_SELFSIGN=n.

Closes-Bug: 1612933

Change-Id: I83494653b856630ef4b6c988d01f8c7ff0c62981
2016-09-21 08:03:03 +00:00
Ricardo Noriega b076dcd6ca Nova API endpoint versions
Default endpoint version should be 2.1.
Nova API v3 has been deprecated.

Change-Id: Ic622cd1ccde9d1dab487499614cf486cb0cdb4f7
2016-09-21 01:56:30 -06:00
Jenkins 0ac25ddf50 Merge "Properly handle Cinder backends" 2016-09-21 01:11:14 +00:00
Javier Pena ac6c734e15 Fix Tempest test execution
https://review.openstack.org/348511 changed the way 'tox -eall' was
used when calling Tempest. We need to update the command-line used
by Packstack to adapt to it.

Change-Id: I1d2e00d6c4a8483ad90cfffe07bf6eb461473c88
2016-09-20 11:24:05 +02:00
Jenkins 4737d8cb7d Merge "Change manila identity to authtoken" 2016-09-19 08:39:24 +00:00
Javier Pena 9c7d0922f8 Properly handle Cinder backends
The CINDER_BACKEND variable is a Hiera array, sicne multiple values
are allowed. However, it was being treated as a single variable in
controller.pp and ::packstack::cinder, which meant it would always
use LVM as backend.

This fixes bz#1376769

Change-Id: I5937d9d6cf53df806393a76c6882a6407b296929
2016-09-16 18:34:26 +02:00
Jenkins 826b4f717d Merge "Use proper tox directory when printing Tempest results" 2016-09-16 16:20:19 +00:00
Ivan Chavero 34db078220 Change manila identity to authtoken
https://review.openstack.org/#/c/351792 changed the manila puppet
module authentication to manila::keystone::authtoken.

Change-Id: I58e1df8a463b9ab9af16f9d01e479aa4f044b929
2016-09-16 18:18:49 +02:00
Jenkins e97a1f18ef Merge "Update swift::proxy::authtoken parameters" 2016-09-16 16:08:00 +00:00