Commit Graph

60 Commits

Author SHA1 Message Date
Ghanshyam Mann f3d3018044 Move stable branch gate job to stable/wallaby
We have stable/wallaby branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs. Hope this is last stable we need to update/support
in d-g.

This commit moves the legacy stable job testing to stable/wallaby.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/784974
Change-Id: I5542dca0f8050a6e21aff773f49eb4799ec26828
2021-04-06 10:47:40 -05:00
Masayuki Igawa b821373c51 Move stable branch gate job to stable/victoria
We have stable/victoria branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs.

This commit moves the legacy stable job testing to stable/victoria.

Change-Id: I78a0f55c360df2804200cc801109741276248550
2020-10-02 15:47:47 +00:00
Ghanshyam Mann 1f7fd5e0d5 Move stable branch gate job to stable/ussuri
We have stable/ussuri branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs.

This commit moves the legacy stable job testing to stable/ussuri.

Depends-On: https://review.opendev.org/#/c/723605/
Change-Id: Id57e5590a5b24c2d821381f52e1c445cbbd1105b
2020-04-27 12:20:14 -05:00
Ghanshyam Mann 8c309c5e2c Add gate job for stable/train
Now we have stable/train branch ready for devstack
and so does for all service projects.

This commit adds the stable/train job running for
d-g gate.

Change-Id: Ibf278cd21d1a0921f7122deb944e1ae18b7c07c1
2019-10-08 16:37:12 +00:00
ghanshyam ec06717a5a Add gate job for stable/stein
Now we have stable/stein branch ready for devstack
and so does for all service projects.

This commit adds the stable/stein job running for
d-g gate.

NOTE: Adding legacy job vesion of stable/stein because
only legacy jobs use devstack-gate which is what we need
to test.

This commit removes the all stable zuulv3 native jobs
which does not use devstack-gate and so does not required
to be tested here.

Change-Id: I546038fa4164a3085b33fa0ef30a51ec237bdc3f
2019-05-02 15:22:41 +00:00
OpenDev Sysadmins 72ca1bcc3f 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:26:31 +00:00
Ian Wienand 4e2b5592f1 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: I59312b9ee70b4a3a7e9912a011de770d8df0f5a4
2019-03-22 01:35:39 +00:00
Paul Belanger 87b3df3169 Bump ansible to latest 2.5 version
This is the same version run by zuul.

Update devstack callback for ansible 2.5.

Change-Id: Ic0d2559346570e60025838166b9bd0081eee331a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-30 19:05:16 +00:00
Andreas Jaeger bec430ebc7 Import legacy-dg-hooks-dsvm job
This job is used only by devstack-gate, import it.

Rename it to devstack-gate-hooks following our naming policy.

Change-Id: Id01d7cda5cb28b6371bdcf8b85208135caa9e9b1
2018-08-25 21:08:36 +02:00
Clark Boylan f93a3171ff Dynamically determine overlay MTU
Some clouds we run on no longer have MTUs of 1500 on their interfaces
and are smaller. We dynamically determine the MTU we should use on the
overlay networks. List all "real" interfaces with a permament mac addr
then use the smallest MTU less 50 bytes for vxlan overhead.

We only consider "real" interfaces so that we can run this multiple
times for separate overlays without perpetually decreasing the MTU due
to finding the lower MTU we just configured.

Change-Id: If163bf211570e690e255cc3ef6888d9e0cba19b5
2018-06-29 11:46:10 -07:00
Zuul 5fedff7ba6 Merge "Grant tempest user access to virt-filesystems" 2018-05-17 09:35:27 +00:00
James E. Blair f6a1459622 Remove v3 devstack job
In preparation for moving to the devstack repo.

Change-Id: Ie2119f24360d56690ffd772b95a9ea6b98dd4a39
2017-10-14 08:35:42 -07:00
Monty Taylor 3d915fe3aa
Remove manually added legacy-tempest-dsvm-neutron-full
Change-Id: I72687a56285a3d733a9adeaf3dc037a1ac95efd3
2017-09-25 16:35:30 -05:00
Jenkins 63a8a79c37 Merge "Don't double-quote the rsync options" 2017-09-23 02:56:41 +00:00
Jenkins 7bdbcf1675 Merge "Remove devstack-legacy base job" 2017-09-23 00:20:48 +00:00
Monty Taylor 1a0dedf40d
Don't double-quote the rsync options
We need to quote for yaml. If we do, it works.

Change-Id: I7d208d3799205402254c0e023104a3a69adb2b46
2017-09-22 17:59:28 -05:00
Monty Taylor 1cc1cb6499
Remove devstack-legacy base job
We added it to openstack-zuul-jobs so we can use it as a base job in
the migration.

Use the results of the migrated
gate-tempest-dsvm-neutron-full-ubuntu-xenial to test that the base job
will work for migration purposes.

Depends-On: I3ff2b486702fed9342097cdcd30ffa0c043bdecc
Change-Id: I34514c2c38d2121c6b6fbca7e83bd273f2ec49f0
2017-09-22 15:25:57 -05:00
James E. Blair 93c642c804 Zuul v3: export devstack journal
Change-Id: I2d9b25f12de09a99f140cdb7cb7ec3f23fef0a34
2017-09-22 11:51:06 -07:00
Jenkins 402044ae45 Merge "Fix junk whitespace character typo" 2017-09-15 01:50:21 +00:00
Ian Wienand 96978baec5 Zuulv3: Ansiblise ephemeral/swap setup
Move the "fix_disk_layout" role from a big shell script to ansible
steps for the native v3 devstack job.

This change is based on Icd4e6d8ab84471ad06e69c3e0f9bac92776efc78.

(Requires Ansible 2.3 for the parted module)

Change-Id: Ia6dcb13803a549390cad736849a26c92494a914c
Depends-On: I2a59e22a38918ae45e0518b0af85ad6e8bc9423c
2017-09-14 13:44:17 -06:00
David Moreau-Simard dee9f099e7 Fix junk whitespace character typo
Change-Id: I0fa833a95202a7c2ed3b4aae12e4c90f8da0922d
2017-09-14 10:00:50 -06:00
James E. Blair d8b44c78ab Zuul v3: run devstack
Add a role to run devstack, and add it to the main devstack playbook
for the next-gen devstack job.

Change-Id: If84d764e9b2f8dbb6beb1990abc11cbb9f1156b0
2017-09-08 09:49:31 -07:00
James E. Blair bd612be0b6 Zuul v3: Add devstack_local_conf ansible module
This writes the contents of a variable dictionary as a devstack
localrc file.  It sorts the output so that references to other
variables may be resolved.

Change-Id: Ib9716317333aecffca627f5a38a95d86fc4b320b
2017-09-07 12:46:07 -07:00
James E. Blair 2ffabdbbff Zuul v3: create stack and tempest users
Note, the stack user home directory is different than current, however,
these roles are now diverging from the legacy roles.  This matches
the current default devstack behavior.

Change-Id: I9a19579dd159dff38750afa3a0f9c642f2056408
2017-09-07 12:44:14 -07:00
Jenkins aaf4774b58 Merge "Zuul v3: add a devstack-legacy job" 2017-09-07 17:23:50 +00:00
James E. Blair 101e0fbbc5 Combine parted script into one command
It looks like we may be encountering issues running the second or
third of these commands; combine them into one to reduce system
raciness.

Change-Id: Iacb93868c678161d84bb5c06a8180b8eb12b5fe7
2017-09-01 13:40:25 -07:00
James E. Blair 8551487bd6 Zuul v3: add a devstack-legacy job
This job attempts to run devstack as close as possible to the manner
in Zuul v2.

Also, don't write the devstack-local conf file if no variables were
supplied.

Change-Id: I308504bf5a48652c62d4d05572c5c077a7dfe368
2017-09-01 11:21:21 -07:00
David Moreau-Simard 47b2b4d31c Re-introduce sync/partprobe in fix_disk_layout
We've seen at least one occurence of a
"Device or resource busy while setting up superblock" error while
setting up xvde2 which, as far as we know, is a new error.

This problem was not happening before we took out sync/partprobe so
let's put that back in for safe measures.

Related-bug: #1706103
Change-Id: Iad1a75aa5fb4ae5a2f4a9cad6373091124917c24
2017-08-31 14:51:11 -04:00
Jenkins e69d8b835d Merge "Revert "Revert "Move fix_disk_layout to an Ansible role in setup_host""" 2017-08-31 02:51:35 +00:00
David Moreau-Simard 1d80845e5e Revert "Revert "Move fix_disk_layout to an Ansible role in setup_host""
This re-introduces the Ansible role to set up the disk layout.
The initial introduction increased dramatically the occurrence of the
race condition involving the failure when configuring swap on /dev/xvde1 [1].

This (re)revert substitutes the sync and partprobe commands by a
udevadm settle command in order to wait until the device and it's partitions
are ready for use.

[1]: https://bugs.launchpad.net/openstack-gate/+bug/1706103

This reverts commit 71aa1bd6cf.

Change-Id: Iac0efdb6077ab18c2e1991820da4fcea7642f708
2017-08-30 16:00:57 -04:00
Jenkins 66e06c55ff Merge "Revert "Move fix_disk_layout to an Ansible role in setup_host"" 2017-08-30 02:24:59 +00:00
David Moreau Simard 71aa1bd6cf Revert "Move fix_disk_layout to an Ansible role in setup_host"
This seems to have increased the rate at which the missing partition issue is occurring, let's revert for now while we figure this issue out.

This reverts commit 279ba7c1d5.

Change-Id: Idbfa6ec321fe8dd96b68b9d7213aab530e0f5381
2017-08-30 00:47:44 +00:00
Jenkins 917b75c629 Merge "Move fix_disk_layout to an Ansible role in setup_host" 2017-08-29 22:38:43 +00:00
David Moreau-Simard 80c55eb03f Move network overlay configuration to Ansible playbooks
Co-Authored-By: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com>
Co-Authored-By: David Moreau Simard <dmsimard@redhat.com>

Change-Id: I5d7ee315cac1f5f8d293c1972edb85ac8bd3ebf7
2017-08-29 14:47:37 -04:00
David Moreau-Simard 279ba7c1d5 Move fix_disk_layout to an Ansible role in setup_host
We're moving it (almost) verbatim to a shell task for the time being
and we can iterate to separate it into smaller proper Ansible tasks
later.

Change-Id: Iddc5433922f61f399e342ac459456b9178028ada
2017-08-28 21:25:06 -04:00
James E. Blair 79093c811b Zuul v3: add start-fresh logging role
This is a near-copy of the role currently used.

Change-Id: I0ea0dba0060d3c5cfc849ba7ffcbddee6363730c
2017-08-23 16:22:17 -07:00
James E. Blair 3c74b1f0ae Zuul v3: add test playbook
Add some introspection to the devstack playbook so we can see the
effects as we construct the job.

Change-Id: Iec5017a708f239859d74617cfee6896a2258244d
2017-08-23 08:35:22 -07:00
James E. Blair e9a8810651 Zuul v3: add roles related to log dirs
Create a log dir on each node and fetch its contents at the end
of the job.

Change-Id: I671c5b82eaa8f3fad475b0d615a6f9daf47b6fc3
2017-08-23 08:35:18 -07:00
James E. Blair a33308eb3b Zuul v3: add role to set up base dir
Change-Id: I825b6fda85997d59dc136280f03e7497eb7b3c2e
2017-08-22 16:38:14 -07:00
James E. Blair 2938caf24e Zuul v3: move local.conf writing to a role
This is likely to become more complex in the future, go ahead and
compartmentalize it in a role.

Change-Id: I14bd0da1243ed3cf5ab5d639a71aa9b11ec7bb11
2017-08-22 13:50:17 -07:00
James E. Blair 26911ba8ae Zuul v3: add a simple devstack job
And exercise a method of writing a dg-local.conf file.

Change-Id: Iea366e05f199d252194bce317d41141b03beb69b
2017-08-22 13:50:14 -07:00
Clark Boylan 975054cdcd Ping up to 20 times until success
We don't need to spend 20 seconds pinging in every job. Instead just
ping until we succeed.

Change-Id: I2e42ba2aa65a3a6c1b440c436f4ee7a3092b31e8
2017-04-17 09:19:23 -07:00
Clark Boylan 57ee9e3a13 Handle no status from ansible uri module
There are apparently cases where the ansible uri module won't have a
status item in its result dict. Check that status is there before
comparing against its value when doing network sanity checks.

Without this the following issue can occur:

2017-04-17 03:33:34.536 | localhost | FAILED! => {
    "failed": true,
    "msg": "The conditional check 'uri_result['status'] == 200' failed. The error was: error while evaluating conditional (uri_result['status'] == 200): 'dict object' has no attribute 'status'"
}

Change-Id: I5c848bfbb955b7201abcef71c2cbba2ec0644b1a
2017-04-17 09:19:22 -07:00
Clark Boylan ce56c6704e Simplify network sanity checks
Simplify the network sanity check using the new /etc/ci/mirror_info.sh
script. If thats present we use it to check pings to the mirror host and
HTTP against the pypi mirror. If it isn't present we don't bother. Note
this makes the sanity check fail the job again if it doesn't work which
should be fine at this point because /etc/ci/mirror_info.sh should only
exist if you have a mirror to provide information about.

Change-Id: Ifddb7c5b7ae3e446005338c9679dd5441bc57062
2017-04-17 09:19:18 -07:00
Jenkins ae34eee93b Merge "Ignore errors for nodepool mirror checks" 2017-03-28 01:18:39 +00:00
Paul Belanger 4a3738cc6b Ignore errors for nodepool mirror checks
It is possible for 3rdparty CI not to have these settings. It was
suggested we simply ignore errors for now on this.

Change-Id: I188684b34e322d99b52c8fbdab826c6e11eca81f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-03-27 17:09:53 -04:00
Ben Swartzlander fe24aba17a Don't fail ping check for pypi mirror on nonstandard port
Many CI systems run pypi mirrors on nonstandard ports and the
"ping" sanity check fails to ping when a port number is present
in the pypi url.

Change-Id: I411848aa8aa4713a4c649c54f7f3490b29fd36fc
2017-03-27 14:58:30 -04:00
Jenkins 89a0b50c85 Merge "Gather /proc/cpuinfo" 2017-03-01 00:45:39 +00:00
Ihar Hrachyshka f4c9f1049a Gather /proc/cpuinfo
This information was once collected for gate jobs, but was removed by
I916e075d8ed3ee6079e4c4621f6eb10f1d30bf95 rework. Turned out that the
info collected by ansible itself does not provide some crucial data,
like cpu flags supported by the machine that may become handy when
debugging some performance related gate issues.

This patch restores collecting the info, using ansible.

Change-Id: Icd2bc68eb723ba2f3fc0d8a113fb247bc478121a
2017-02-28 20:16:05 +00:00
Ricardo Carrillo Cruz 4d7b92ca16 Ansibly the network sanity check
Replace the network sanity check bash logic for the
network_sanity_check role.
This is the last step of replacing the setup_host bash function,
thus removing also the function altogether.

Change-Id: I8814cf284e572dda66455eea7a10f61037979a9b
2017-02-21 00:02:07 +00:00