Commit Graph

2215 Commits

Author SHA1 Message Date
Javier Pena cfffafa906 Fix CI jobs
- Add jobs removed in [1] to the local configuration.
- Fix SSH key distribution in multinode job. It was broken on a
  recent Zuul update, it seems.

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

Change-Id: I2572d92cbaabc1f02fc0790896ccaa3edfc5e6c2
(cherry picked from commit 76b1559d3a161b0d2326ada77bc69d089639075f)
(cherry picked from commit 100c950bc7)
2020-05-28 10:35:04 +02:00
yatinkarel 4d4f78c2a1 Remove explicit compress of log files
Explicit compress is not needed post [1], explicit
compress is making log files not browsable.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html

Change-Id: Id6e285e37759aadae9ebf27522d3145b77a6d691
(cherry picked from commit 098ae58c62)
2020-02-26 07:56:13 +00:00
Alfredo Moralejo 4f907e26cc Pin gettext to < 3.3.0
Also pinning gettext as version 3.3.0 is not compatible with the ruby
version in CentOS7.

Change-Id: I8d226aa2218eafc07119f88eca5be24c3514b717
(cherry picked from commit 3be5458f4b)
2020-01-09 12:06:17 +01:00
Javier Pena 53617e2354 Ensure the Aodh DB is synced
We were lacking the "sync_db => true" parameter when calling aodh::api,
so the database was not initialized, and API calls were failing.

Change-Id: Idbc4f5a3310c0776ba4973b45dbaf554d8372b8e
Closes-Bug: #1855443
(cherry picked from commit 1f64071f5a)
2019-12-11 17:04:57 +00:00
Javier Pena f21f84b066 Reduce unnecessary log storage
Previously we were storing the whole contents of /var/tmp/packstack,
which includes all Puppet modules and is unnecessarily filling up
the log server.

Instead, let's store /var/tmp/packstack/latest, where the last
Packstack execution logs are kept. That is really what we need.

Also added 'ip netns' command to logs to help troubleshooting issues
with dhcp agent.

Change-Id: Ia138c13c0797d2b83c9e3b4037c4648abf8f7295
(cherry picked from commit cfdbeb5d02)
2019-10-28 17:35:54 +00:00
Alfredo Moralejo 98f48637cb Use cirros image from cached for demo provisioning
Currently, we are using cached image for UEC (tempest) but not for demo
provisioning.

Change-Id: I637edcdcc129dc8ed86eb4f3fdd4e216dd3f48a7
(cherry picked from commit f9cc0729ae)

Use https for cirros downloads

http is being much slower and anyway using https is a good practice.

Change-Id: Ib9b4194c88cd9065babb81c788ed52b2ee5b8d2f
(cherry picked from commit 97e5a40dbb)
(cherry picked from commit 21e85e1a8c)
2019-10-25 13:52:59 +05:30
Andreas Jaeger db5cb2d203 Fix setup.py for Pypi
PYPI now requires that markdown files are flagged, fix this.

See failure here:
https://zuul.opendev.org/t/openstack/build/efe723049d554688a1c50f43425f63e6

Change-Id: I4b34395767750449bede8845ddb54eb224a3bd06
(cherry picked from commit dfb83c8631)
2019-10-04 07:51:56 +00:00
David Moreau Simard fb5c3e5a97 Enable replication to redhat-openstack/packstack with upload-git-mirror
The replication to github is no longer automatically managed by opendev.

Change-Id: I76eb105f6cd2624b6c9edfc0dcedd2f2c56aa5af
(cherry picked from commit 51fb71534a)
2019-09-11 16:02:10 +02:00
Alfredo Moralejo c43d84801f Fix URL to get the list of projects
It's used in copy-logs.sh. Also copy all content of /var/tmp/packstack
instead of only latest directory.

Change-Id: I7c6d72876e881f73d2421206e004f514563ad803
(cherry picked from commit fcdaff0d25)
2019-08-13 14:49:59 +00:00
Alfredo Moralejo bc91243a4c Use upper-constraints file when running tests
Currently, u-c is not uses so we are not using the versions specified in
requirements project.

Change-Id: Id0fd9e98103ff804a43f2d4485f72ac48df261c8
(cherry picked from commit e68d358532)
2019-08-13 16:39:57 +02:00
Alfredo Moralejo d18775cdf5 Force qemu emulation in CI and add dmidecode command to logs
Some upstream infra is enabling nested virtualization but it's failing
randomly so let's force qemu virt_type.

We need it to debugs issues with jobs incorrectly detecting
virtualization time.

Change-Id: I1e53bbdcccb6402d343c98abf2696d452717d1a9
(cherry picked from commit c84e3b6e84)

Fix rabbitmq configuration

We can move to the commit hash for puppet-rabbitmq used in RDO queens, since
this is what we are testing in RDO. This requires a few changes:

- Update the URL used in the Puppetfile, and set the branch to 'master'.
- Remove old workarounds in amqp.pp
- Set loopback_users properly, based on what is requested by [1].

[1] - 0ada399b33

Also do below [Queens Only] changes to clear gate issues:-
- Install PyYAML==3.12 as latest version has issues
  with older setuptools(22.0.5).
- Install openstack modules from stable/queens rather
  than master.

Closes-Bug: #1839922
Change-Id: I9262836eb05a47bfe78ea0ac6d1c04199f29f527
(cherry picked from commit b1c78d696a)
2019-08-13 14:57:20 +05:30
Alfredo Moralejo 3508f8d5c1 Add OS_REGION_NAME when keystone api is >= 2 in rc file
Currently, OS_REGION_NAME is in keystone_admin rc file only when
keystone api is < 3. This is incorrect as region name is also meaningful
in newer versions and needed in some cases as shown in [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1716434

Change-Id: I45dc6511ee8874b9719be6816062777f2ce371f0
2019-06-05 12:30:54 +00:00
Tobias Urdin 30ecf15044 Pin sphinx to <2.0.0
The 2.0.0 release introduces a requirement for using
python3.5 but we are running this in python 2.7

(cherry picked from commit d2b1c67d57)

Switch to using stestr

According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Signed-off-by: Charles Short <zulcss@gmail.com>
(cherry picked from commit b64b16f5a2)

Also, pinned puppet-redis and updated pin of puppet-stdlib to the same
pins we have in RDO.

Change-Id: I055ab99e48e018d041a2aef7c8998f72ebd4ff5e
2019-06-05 12:26:23 +02:00
OpenDev Sysadmins 5339721c87 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:17 +00:00
Ian Wienand 7c23925122 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: I28b0c3006ac231e14f938a077d653ec82b9a9613
2019-03-24 20:35:34 +00:00
yatin 894e093d6c Set metadata_host instead of metadata_ip
"nova_metadata_ip" option is deprecated since pike in
favor of "nova_metadata_host", puppet-neutron accepts
both parameter since pike, so this patch set's the non
deprecated parameter for neutron metadata.

Closes-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1649304
Change-Id: I1c045b46cb128a45219f90b4c71ae86936e8d959
(cherry picked from commit 952b0550f0)
2018-11-23 05:46:27 +00:00
Rajesh Tailor d080419ba1 Change file ownership and group to nova
The file ownership and group was set to root for
'/etc/nova/migration/identity' because of which
user gets Permission denied error while trying to
do resize or live-migration.

Changing file ownership and group to nova allows
to do live-migration and resize successfully.

Change-Id: Id46ea6b0f953e6e23cd95bae0889df906ae933b2
(cherry picked from commit 2750aab287)
2018-10-16 11:23:19 +00:00
Javier Pena 842d213932 Fix pycparser installation with older setuptools
pycparser version 2.19 has trouble with older versions of setuptools,
see [1]. This is only an issue in queens and older releases.

[1] - https://github.com/pypa/pip/issues/4104

Change-Id: I2a2b707996e86651aa0289636c187208b4b46b33
2018-10-16 10:21:03 +02:00
Javier Pena 0ffe9dceba 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:11:50 +02:00
Alfredo Moralejo 0502ae5f51 Use SSL options from nova::
Currently they are set using nova_config in vncproxy.pp but now
they have been properly implemented in puppet-nova [1].

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

Change-Id: Ifec1dd09eb9ae1acb80001cb0ede1c5efb118d17
(cherry picked from commit e93db2cc85)
2018-07-19 05:01:22 +00:00
yatin 1b97ae48de Temporary switch to ovs in scenario 001, fix gate
Until https://bugs.launchpad.net/packstack/+bug/1771500
is fixed, temporary switch to ovs in scenario 001.

Also, set inject_partition to the default value of -2 in nova.conf.
We are having problems in the gate in OVH nodes (see [1]), and
doing this prevents us from using the problematic libguestfs code.

[1] - https://bugs.launchpad.net/packstack/+bug/1701032

Change-Id: Ifed85df073104684cd415792785acd12e2f89aa4
Related-Bug: #1771500
Co-Authored-By: Javier Peña <jpena@redhat.com>
(cherry picked from commit e9e6ad87a0)
2018-05-21 10:08:28 +02:00
Alfredo Moralejo 90cd9d52e7 Revert "Define key_manager/api_class to a class full path"
Fix https://review.openstack.org/#/c/468252/ has been merged in cinder
and proper default configuration parameter is defined in puppet-cinder
so we don't need to set this parameter anymore.

This reverts commit f72ccac503.

Change-Id: I353b73ee351b5ef5c239d882cbc5477ae471391f
(cherry picked from commit 519399e7d6)
2018-03-19 12:39:03 +00:00
Javier Pena f5065ce755 Use current-passed-ci repo for tests
When the RDO Trunk Queens repo was bootstrapped, there was no
current-passed-ci repo, so we used consistent as a temporary measure.
Now we have it, so let's move to a tested repo.

Change-Id: I10ac457c6660b385247a036facd5e6dac07522b8
2018-03-13 15:07:25 +01:00
Chandan Kumar 14db552610 Switch to stestr for generating subunit results
* https://review.openstack.org/#/c/504345/ moves the tempest run
  cli to stestr. In order to avoid breakage switch to stestr from testr.
* Check for .testresposity and .stestr folder and then use
  respective test runner. It will avoid the breakage in CI.

Change-Id: I1fdbe2f441a73f80d8d6e7a8263d300939a4fba3
(cherry picked from commit e7f235f411)
2018-02-15 08:52:05 +00:00
David Moreau Simard 322274079f Branch stable/queens for Packstack
- Update gitreview
- Update trunk repositories to use queens

Change-Id: Iaf2ef0e64108cc237b2039f883a4824c03026fd8
2018-02-14 18:49:49 +01:00
Zuul d40200ea79 Merge "Add multinode CI job" 2018-02-09 15:04:19 +00:00
Zuul 495bb0a96a Merge "Remove --skip-metering-database when calling ceilometer-upgrade" 2018-02-09 15:01:37 +00:00
Zuul ea8b33062a Merge "Add openstack-ceilometer-ipmi package when enabling Ceilometer" 2018-02-09 15:01:36 +00:00
Javier Pena c1dd9435ee Add multinode CI job
Packstack has traditionally allowed multinode deployments with
1 controller, one or more network nodes and several compute nodes,
but this has never been properly tested in our CI.

This job enables an option to use a 2-node architecture, with one
controller and one compute node. It adds a job running scenario002,
but enables scenario001 and scenario003, so they can be used on
demand if needed.

Change-Id: Ide96a232c902370f3ec25ed54f2b272cc1757dad
2018-02-08 08:22:18 +00:00
Javier Pena 80be10d997 Remove Heat CloudWatch API
This API was deprecated, and finally removed from Heat in [1].

[1] - https://review.openstack.org/534660

Change-Id: Ie7400b14749591dac70067b67b747418451e75d5
2018-02-05 10:57:22 +01:00
Zuul 430dee9e2b Merge "Open Queens" 2018-02-02 18:12:32 +00:00
Zuul e1e21147da Merge "fix docs packstack.rst format error" 2018-02-02 17:29:51 +00:00
Javier Pena 54b32e0607 Add missing underline in packstack.rst
When missing, we got the following message when generating an
answer file:

"/usr/share/packstack/packstack.rst:284: (WARNING/2) Title underline
too short."

Change-Id: I49b8073c61d3072788620bf8c5c325c3c8643b5d
2018-02-02 17:42:55 +01:00
Zuul 33eb886d2a Merge "Zuul: Remove project name" 2018-02-01 10:53:06 +00:00
James E. Blair dd66bd2a17 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: Iefcc02540c5445c2574c8ca957e82384828b0b66
2018-01-31 23:14:53 -08:00
wanghui 6fdccd5344 Fix a typo of "authentication"
Change-Id: I7031957eb8f70f82f1ad52715915f7c190a077b4
2018-02-01 10:35:00 +08:00
Javier Pena e8e916ca1c Add openstack-ceilometer-ipmi package when enabling Ceilometer
When Ceilometer is enabled, we use the ceilometer::agent::polling
class to configure polling. That class adds the ipmi namespace,
which requires adding the openstack-ceilometer-ipmi package as well.
Otherwise, some errors related to ceilometer-rootwrap are reported
in the openstack-ceilometer-polling service.

Change-Id: I1b0adb64772b6df507d5f03bf1e8726e530bf526
2018-01-17 18:46:06 +01:00
Alan Pevec c444d0ab3a Revert "TEMP disable OVN and Gnocchi"
This reverts commit 115b0edb76.

Change-Id: Ib5f148772f768db9c41ae2cc72fccc22644fc6d7
2018-01-12 11:38:56 +05:30
Javier Pena 23cf13db8e Open Queens
Change-Id: Ib50660021c1463dc6e37765b5c68492e0a1632f2
Sem-Ver: feature
2018-01-11 17:10:14 +00:00
Martin Kopec 62ab390d49 Move playbook implementation to a role
* Move direct playbook implementation to a independent role so that the role
is reusable in a different playbooks.
* Add a new scenario which installs openstack allinone without running
tempest tests.

Change-Id: I6f19d2b8128fbb0f2034892a11127bce73d102f9
2018-01-09 15:46:30 +00:00
Yuanbin.Chen edaedaf501 fix docs packstack.rst format error
Change-Id: Ib36fe34d67af292568be159a95e2dd458d061673
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-01-06 10:26:52 +08:00
Alan Pevec 115b0edb76 TEMP disable OVN and Gnocchi
Revert when https://bugs.launchpad.net/tripleo/+bug/1740698
is fully fixed.

Also drop scenario003 which runs gnocchi, until we get renamed gnocchi RPM
in the current-passed-ci trunk repo.

Related-Bug: #1740698

Change-Id: I15b4006875c70f78372d034bcc5ff2623061e3b8
2018-01-06 00:05:39 +01:00
Zuul 2865c849ef Merge "Remove setting of version/release from releasenotes" 2017-12-01 18:31:09 +00:00
Javier Pena 030cb352bb Use the versionless URL for trove auth_url
Using a URL with a version makes Trove fail when a client request
is initiated, with an error like:

"ERROR keystonemiddleware.auth_token [-] Bad response code while
validating token: 400: BadRequest: Expecting to find domain in project."

Change-Id: I1ed56600ea42818283ef40a576dba64bd3a41a1d
2017-11-22 18:50:30 +01:00
Andreas Jaeger 1c689671ab Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

Also, convert using openstackdocstheme.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I3f53408447d75e36972eafb6cd71fbc770ee6b03
2017-11-17 10:26:46 +01:00
Javier Pena 7eaaa97cf3 Remove --skip-metering-database when calling ceilometer-upgrade
This command-line parameter has been removed upstream in [1], so
we have to remove it from the manifests.

[1] - https://review.openstack.org/512700

Change-Id: Ib86972dc4205375433895765a458854e35e3bac5
2017-11-07 17:25:04 +01:00
David Moreau-Simard 1989771673
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
2017-11-01 15:25:31 -04:00
Alfredo Moralejo 3ae7ae0010 Disable vpnaas from scenario002
https://review.openstack.org/#/c/488247/ has removed
neutron-vpn-agent and added the agent as a extension
for l3-agent. This needs changes in puppet-neutron.
Until change is merged, let's remove it from tests.

Change-Id: I95dca9d222463d1ec6e9afcb3a6e44013d6672f1
2017-10-31 16:23:33 +01:00
James E. Blair a66635e7c0 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: I4fefa18f3dfaa667740a6650ac22022100ce1186
2017-10-29 06:00:02 -07:00
yatin 839db862c9 Enable qos and trunk service_plugins
Review [1] added some tests which requires "qos" and "trunk"
plugins to be enabled, so add these to the neutron service_plugins.

Also add "qos" to extension_drivers required by "qos" service
plugin.

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

Change-Id: I30dc3bfc6b63060521ae035e8e0d9a06d9f15d5a
2017-10-25 17:28:29 +05:30