Browse Source

Remove grenade jobs from old stable branches

As discussed and approved during the ironic wallaby midcycle, the grenade
jobs in old stable branches, starting from EM branches and up the oldest
not-EM (at this moment train) are removed.

Remove lower-constraints job.
Also adds a backport with the fix for paramiko.
Pin tempest to version 23.0.0 in Python 2.7 job.

Disable long time broken multinode job (also disabled in ironic).

Depends-On: https://review.opendev.org/c/openstack/tempest/+/774913

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>

Change-Id: Ia22412770d1af0af0356f6779ccaa07b86a10898
(cherry picked from commit 2411ff78e1)
changes/35/773335/16
Riccardo Pittau 2 months ago
parent
commit
783bf7d5b4
4 changed files with 5 additions and 12 deletions
  1. +1
    -1
      devstack/plugin.sh
  2. +1
    -0
      networking_generic_switch/generic_switch_mech.py
  3. +2
    -1
      zuul.d/networking-generic-switch-jobs.yaml
  4. +1
    -10
      zuul.d/project.yaml

+ 1
- 1
devstack/plugin.sh View File

@ -82,7 +82,7 @@ function configure_generic_switch_ssh_keypair {
if [[ ! -d $(dirname $GENERIC_SWITCH_KEY_FILE) ]]; then
mkdir -p $(dirname $GENERIC_SWITCH_KEY_FILE)
fi
echo -e 'n\n' | ssh-keygen -q -t rsa -P '' -f $GENERIC_SWITCH_KEY_FILE
echo -e 'n\n' | ssh-keygen -q -t rsa -P '' -m PEM -f $GENERIC_SWITCH_KEY_FILE
fi
# NOTE(vsaienko) check for new line character, add if doesn't exist.
if [[ "$(sudo tail -c1 $GENERIC_SWITCH_KEY_AUTHORIZED_KEYS_FILE | wc -l)" == "0" ]]; then


+ 1
- 0
networking_generic_switch/generic_switch_mech.py View File

@ -45,6 +45,7 @@ class GenericSwitchDriver(api.MechanismDriver):
for switch_info, device_cfg in gsw_devices.items():
switch = devices.device_manager(device_cfg)
self.switches[switch_info] = switch
LOG.info('Devices %s have been loaded', self.switches.keys())
if not self.switches:
LOG.error('No devices have been loaded')


+ 2
- 1
zuul.d/networking-generic-switch-jobs.yaml View File

@ -72,6 +72,7 @@
name: networking-generic-switch-tempest-dlm-python2
parent: networking-generic-switch-tempest-dlm-base
vars:
tox_envlist: py27
devstack_localrc:
USE_PYTHON3: False
TEMPEST_BRANCH: 23.0.0
TEMPEST_VENV_UPPER_CONSTRAINTS: "{{ devstack_base_dir }}/requirements/upper-constraints.txt"

+ 1
- 10
zuul.d/project.yaml View File

@ -9,23 +9,14 @@
jobs:
- networking-generic-switch-tempest-dlm
- networking-generic-switch-tempest-dlm-python2
# NOTE(rpittau): this is also disabled in ironic
- ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
# NOTE(iurygregory): Non-voting due to instability.
- ironic-grenade-dsvm-multinode-multitenant:
voting: false
- openstack-tox-lower-constraints
gate:
queue: networking-generic-switch
jobs:
- networking-generic-switch-tempest-dlm
- networking-generic-switch-tempest-dlm-python2
- ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
# Removing from gate due to instability.
# - ironic-grenade-dsvm-multinode-multitenant
- openstack-tox-lower-constraints

Loading…
Cancel
Save