Commit Graph

2091 Commits

Author SHA1 Message Date
OpenDev Sysadmins 0b6760ca54 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 34434c4331 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: I136498a261a1b74ccafd9e8e8c44db48f6f9f606
2019-03-24 20:35:34 +00:00
Javier Pena c5691a80ce Pin r10k to version 2.6.4
r10k version 3.0.0 and later require a newer version of the cri gem,
which only work with ruby >= 2.3. This does not work on CentOS 7,
where we have an earlier version.

Change-Id: I99958dd82bb95b8f3d7a6a2b0c86fd2c1f21c802
(cherry picked from commit 4f8e95eccf)
2018-10-04 12:13:30 +02:00
James E. Blair 5ce0f67009 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I5de366976534a8b435c511d70b787d188e55d57d
2018-02-07 23:02:20 -08:00
David Moreau-Simard 0aede73854 Update Cirros image to 0.3.5
It turns out that Cirros 0.3.5 has been out for a while, we should
use the updated image. The changelog for cirros is not published
but it's available here [1].
This is also what devstack has been using [2].

[1]: http://paste.openstack.org/raw/625252/
[2]: https://git.openstack.org/cgit/openstack-dev/devstack/tree/stackrc?id=2c9343e5db44fa7a41ca6924737331dd9088ef8f#n671

Change-Id: Iea145f69ee461192e6d4d2d7d9427c3acb954c27
(cherry picked from commit 1989771673)
2017-11-07 12:50:40 +01:00
James E. Blair 9ac0b6a356 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: Ica577a18cc53c6d32eebd2eb6c5f43615f1b6e3f
2017-10-29 06:20:04 -07:00
Javier Pena a54d0dadf2 Zuul v3 support for Packstack jobs
- Do not generate the SSH private key if it already exists
- Set skipsdist = True in tox.ini
- Add Zuul v3 layout

Change-Id: I4b0254bf175d51c0a468b01f8ac034db43859572
(cherry picked from commit df7cb04857)
2017-10-18 15:31:20 +00:00
Alfredo Moralejo 5f86eacf0d Change value for pci_alias parameter when empty
https://review.openstack.org/#/c/492172/ has changed how
pci_alias is managed in puppet-nova module and false is
not longer a valid value.

This patch changes the value for pci_alias when it's not
set in packstack to the default value, $::os_service_default

Change-Id: I663511ec2cf8d16461c75484bfc5481c45558f6a
(cherry picked from commit e6f5e001cf)
2017-08-29 04:41:45 +00:00
Alfredo Moralejo bde12366f0 Bump required version of pyOpenSSL
cryptography-2.0 has been released and requires
version >=1.6.2 of pyOpenSSL. This patch changed
required version of pyOpenSSL to be >= 1.6.2. Given
that we are not capping the version of cryptography
i think we shouldn't cap pyOpenSSL.

Change-Id: I044f6d74d64899eaf9edc3a3931825c5a5d6e84f
(cherry picked from commit 6d032f6908)
2017-07-24 11:45:59 +00:00
Jenkins 246233c564 Merge "Make SELinux enforcing/permisssive configurable for tests" into stable/ocata 2017-07-11 08:13:03 +00:00
Pradeep Kilambi a2c12a892e 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)
2017-07-08 15:18:56 +00:00
Javier Pena d64f1a567d 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-07 16:08:34 +00:00
Javier Pena 29d6daa08c 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:23:57 +00:00
Javier Pena 6faa5562ef Synchronize Puppetfile constraints for non-OpenStack modules
Let's stay in sync with what puppet-openstack-integration tests.

Change-Id: I7f84f0a03a6de7a249a7ad5f110757ddce43b013
2017-06-07 15:15:47 +02:00
Alfredo Moralejo 0a55810f1c Adjust live migration config to changes in puppet-nova
https://review.openstack.org/#/c/451968 has changed live migration
configuration in puppet-nova. This patch adjust packstack to this
change.

Use ocata repos for testing in stable/ocata

Change-Id: I43e3a2171981886da5e6c779fd24510540a7c07a
(cherry picked from commit 1f69afa939)
2017-04-19 12:34:22 +02:00
Jenkins 5a95e44147 Merge "Fix VPNaaS setup" into stable/ocata 2017-03-10 12:18:25 +00:00
Jenkins 581dd8ff2e Merge "Allow resize to same host in all-in-one" into stable/ocata 2017-03-10 11:55:18 +00:00
Javier Pena 9df78c3b85 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-03-10 11:15:57 +00:00
Evgeny Antyshev 7aefb0dc0d Allow resize to same host in all-in-one
There seems to be no use cases of having single compute node
and forbidding to resize instances on it.
This change enables "allow_resize_to_same_host" in nova.conf
and makes it possible to run Tempest tests for resize.

Change-Id: I090506d5e035b95a506f05b2c6608524ab2b63e9
(cherry picked from commit b36cc282bd)
2017-03-09 18:12:03 +00:00
Javier Pena 27141ed8d7 Fix Ironic provisioning
During the Ocata cycle, some changes to puppet-nova have affected
Ironic deployments (e.g. [1]).

[1] https://review.openstack.org/391569

Change-Id: I4197cec11137bc838a64fb40ee0221bb848c5a0c
(cherry picked from commit 9544341126)
2017-03-06 10:39:51 +00:00
Javier Pena 403a7dd81f Align the stars to fix CI
This is a combination of two fixes:

1- Update version of hacking used in tests

We were using an old version of hacking that did not support
pbr==2.0.0, and this is creating issues running flake8.

Since we are now using a newer version, a couple updates are required
to get the tests to pass.

2- Remove the workaround for the Nova placement WSGI file

https://review.openstack.org/440638 added a workaround on the Puppet
side, so it was conflicting with ours.

Change-Id: I7384a7b5612866b2a70643ae4203a1848fdf8679
(cherry picked from commit 523d8dcd39)
2017-03-06 10:31:30 +00:00
Javier Pena 8cb2edb590 Set .gitreview for stable/ocata branch
We have just opened the branch.

Change-Id: I37cdaa9d07f06a0502dccbcf4efe64b5ed78da88
2017-02-17 12:37:42 +01:00
Alfredo Moralejo feeca376ad Add openstack tag to python-redis package
python-redis is now installed by puppet-aodh after
https://review.openstack.org/#/c/433951/ .

We need to use the same tags as used there to avoid
duplicate declaration error.

I think we can't totally remove it and leave it to puppet-aodh
because other services as ceilometer requires it.

Change-Id: I06fb2d51ce42377e8d5a1a2df50119b576a21cea
2017-02-16 11:02:10 +01:00
Javier Pena e9a7e3c9de 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.

Change-Id: I6924a47fab7442b0ebbf72c94757f6009c7267b9
Closes-Bug: 1664668
2017-02-15 12:24:05 +01:00
Javier Pena b1f8a221cf Do not require a nameserver to detect the local IP address
There may be cases where a name server is not configured on a system,
and there is no Internet access. Changing the local IP detection code
to work on these cases, by using the default gateway as a reference.

Change-Id: I3a6da3cdd3f3a17c24a855a912a3134e651cdc61
Closes-Bug: #1656459
2017-02-13 15:28:50 +00:00
Jenkins 18f95c05fd Merge "Fixed cinder backend tunes on compute node" 2017-02-09 10:13:07 +00:00
Jenkins 66cc8836fb Merge "Add deprecation note for nagios in pike" 2017-02-07 14:25:33 +00:00
Jenkins 91b6dcb701 Merge "Add options to display parameter specific messages" 2017-02-07 14:25:31 +00:00
Jenkins dcbbd6f89e Merge "Add support for Packstack to configure the new Nova requirements" 2017-02-07 14:25:20 +00:00
Alfredo Moralejo f5eb11a640 Add deprecation note for nagios in pike
Nagios installation option will be removed in Pike. This patch
introduces an alert message for users that enable nagios
installation.

Change-Id: Ib256a3859821b498e91b6e9179da9a99e0c84784
2017-02-03 15:07:32 -05:00
Alfredo Moralejo ceeefe64ad Add options to display parameter specific messages
This patch introduces MESSAGE and MESSSAGE_VALUES to
parameters. When a user selects a value included in
MESSAGE_VALUES for a parameter with MESSAGE option,
this message will be shown to users at the end
of packstack execution.

Example use case is showing a note alerting that a service
will be removed in next release if user enables it.

Change-Id: I1331de921e1f5f1aecf991cb83fa1509f29b3ee7
2017-02-03 11:51:48 -05:00
David Moreau-Simard 3b7f027126 Add support for Packstack to configure the new Nova requirements
The Nova placement API is now required from Ocata onwards[1][2].
This patch configures it to live generally side by side the nova API.

Also, after a nova compute is set up, we need to call "nova-manage
cell_v2 discover_hosts" to set up the host in a cell.

[1]: http://lists.openstack.org/pipermail/openstack-dev/2017-January/111295.html
[2]: https://review.openstack.org/#/c/427367/

Closes-Bug: #1661512
Change-Id: I4275cc6ed046a5fcd4b32c11e926beef5abad1cb
2017-02-03 12:45:08 +01:00
Chandan Kumar eab6d1fdcb Install tempest from rpm
In RDO, from ocata release tempest rpm is using upstream tempest
as a source. It would be good to use the same rpm for installing
and configure tempest.

Depends-On: Ia9e48d951e0f37e985e628b7a49401d75c9e4729

Change-Id: Ie6b20063944d3e6307bd332c624572e0cb3f1158
2017-02-03 08:49:30 +00:00
Alfredo Moralejo 8168496c9e Add nova cell v2 setup
Cells are required. This patch adds setup of the default cell.

Change-Id: I0bb692997c8f438a9c6172f53a8c553c0b9bbbfe
2017-01-27 14:19:38 +01:00
Alfredo Moralejo e649710c78 Remove parameter external_network_bridge from neutron::l3
In previous releases neutron L3 agent was configured statically
to manage only br-ex as provider network. This way of configuring
neutron is being deprecated in neutron and it has been removed
from puppet-neutron in https://review.openstack.org/#/c/423625/.

This patch changes neutron configuration to a new mode where a
single L3 agent is able to manage multiple provider networks.
To implement it, a new parameter CONFIG_NEUTRON_OVS_EXTERNAL_PHYSNET
has been introduced. Default configuration has been modify to preserve the
existing behavior, creating a public network attached to br-ex bridge.

Change-Id: I71677a5d456ec8748e36f2191f247c96fa578d7d
2017-01-26 16:10:06 +01:00
Alfredo Moralejo 4c04348577 Disable nagios installation by default
Packstack install nagios server in controller node
by default. Given the lack of integration between nagios
and OpenStack services provided as deployed by packstack,
i think this shouldn't be the case.

This patch disables nagios installation by default.

Change-Id: I19df1a09d971a06ee94dc543a003a5fd55dcb1f2
2017-01-19 04:24:34 -05:00
Pavel Glushchak 8e1e6564c7 Fixed cinder backend tunes on compute node
In fact these tunes should be performed when VMWare
backend is NOT enabled.

Change-Id: I621c9ff77ef6c586ad40928fb3cb4dc307f5686a
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-01-16 16:46:32 +00:00
Jenkins 17b466ffd7 Merge "Remove rabbit_use_ssl in class swift::proxy::ceilometer" 2017-01-16 13:29:54 +00:00
Jenkins fdf79a6a2c Merge "Revert cells v2 support" 2017-01-14 19:40:53 +00:00
Jenkins b2a00a915a Merge "Remove support for nova-network" 2017-01-14 13:34:16 +00:00
Alan Pevec 0ab6d87dae Revert cells v2 support
Partial revert of a64f86e3a0
matching puppet-openstack-integration workaround
 https://review.openstack.org/420167

Related-bug: 1656276
Change-Id: Iffc70e22a762f58c3f946e27cd0064f3e33b892d
2017-01-14 13:57:57 +01:00
Javier Pena 186acfee21 Remove rabbit_use_ssl in class swift::proxy::ceilometer
This was wrongly added in https://review.openstack.org/409205, the
puppet-swift module does not support this parameter.

Change-Id: I2e55b6317ad3b94c44a3401c793c582a5fe052a1
2017-01-12 14:19:21 +01:00
Alfredo Moralejo b546742f35 Remove support for nova-network
Nova has removed support for the network service in ocata

cf72bb8f90

This patch removes the option to deploy nova-network using
packstack. As such, it forces to enable neutron. Otherwise
it returns error.

Change-Id: If9365dc65548a0dc0d1b643df457514db6000c09
Closes-Bug: #1651776
2017-01-11 14:24:15 -05:00
Pradeep Kilambi 6029be0e30 Add Panko service support
Change-Id: Ifcd5a7af02755190389443bd33f336f3bc517dd4
2017-01-05 19:14:26 +00:00
Jenkins 7b1d09f654 Merge "Replace deprecated rabbit_* parameters with default_transport_url" 2017-01-05 17:22:41 +00:00
Jenkins a22f54b9eb Merge "Do not purge existing Apache config" 2017-01-05 16:29:17 +00:00
Alex Schultz a64f86e3a0 Align stars to fix CI
1) Remove sriov_agent_required
The sriov agent is enabled by default since Mitaka and this
configuration option has been removed from the upstream modules.
It had previous been deprecated by
I01bdda6df995f3b09fc55e6b1a016246b68eea26 and was removed in
Ib7c36e1a74a1e301f306bcfb884449bbedd1ef70

2) Add cell v2 setup
Nova has added cell v2 as a requirement for Ocata so we need to ensure
it properly gets setup as part of the install. This includes passing the
nova amqp information to the mysql service setup.

3) Remove enable_v1 and enable_v2 lbaas params
The enable_v1 and enable_v2 params were deprecated upstream in
I1c032c53b61face152bb37dfac4646db11403e4e and removed in
Ibad528ad783355236c384d037fe3ffb7d484538f.

Change-Id: I15c0568a92acb2c6a545692e96d8ab9260dbf564
2017-01-04 17:05:16 -07:00
Jenkins 79f4846d95 Merge "Fix several deprecation warnings" 2016-12-22 11:34:42 +00:00
Javier Pena 6dc35071fa Replace deprecated rabbit_* parameters with default_transport_url
The upstream Puppet modules deprecated several rabbit_* parameters
via https://review.openstack.org/#/q/topic:bug/1625198. Let's avoid
the deprecation warnings and fix this in Packstack.

Change-Id: Ia7ade3593634ba3d1f4241d564fb75df3efc879d
2016-12-22 10:23:57 +01:00
Jenkins 2abee9bcae Merge "Move AODH to mysql storage driver" 2016-12-22 09:14:55 +00:00