Add a new node type for precise with saucy kernel

One of the types of failures in the top gate bug is due to a kernel
crash in network namespace code.  This patch installs a newer kernel on
the devstack nodes.  It installs the backported kernel and its headers
that are made available for hardware enablement purposes.  This gets
from a 3.2.0 kernel to a 3.11.0 kernel.

The patch is written as a new node prep script.  A new node type is also
defined that can be used by an experimental job.  This will allow us to
make sure everything is working before flipping the switch on using this
kernel everywhere.

The normal neutron devstack jobs are now listed in experimental.  When
run in the experimental pipeline, they should use the new node type that
uses the new kernel.

Change-Id: I9652b4183153687cc1e9a9a270ae0f78d8928620
Related-bug: #1254890
This commit is contained in:
Russell Bryant 2014-01-27 13:58:32 -05:00
parent da1465db09
commit 8408f96615
5 changed files with 65 additions and 0 deletions

View File

@ -1125,6 +1125,11 @@
node: 'devstack-precise || devstack-precise-check'
branch-designator: ''
branch-override: default
- devstack-jobs:
pipeline: experimental
node: 'devstack-precise-saucy-kernel'
branch-designator: ''
branch-override: default
# Stable check jobs for testing devstack gate
- devstack-jobs:
pipeline: check

View File

@ -0,0 +1,27 @@
#!/bin/bash -xe
# Copyright (C) 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
if [ -f /usr/bin/apt-get ]; then
if [ "$(lsb_release -c -s)" = "precise" ]; then
sudo DEBIAN_FRONTEND=noninteractive apt-get \
--option "Dpkg::Options::=--force-confold" \
--assume-yes install linux-generic-lts-saucy
fi
fi
/opt/nodepool-scripts/prepare_devstack.sh "$@"

View File

@ -0,0 +1,22 @@
#!/bin/bash -xe
# Copyright (C) 2011-2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
HOSTNAME=$1
./prepare_node.sh $HOSTNAME
sudo -u jenkins -i /opt/nodepool-scripts/prepare_devstack_new_kernel.sh $HOSTNAME

View File

@ -785,6 +785,10 @@ projects:
- gate-grenade-dsvm-neutron-forward
- neutron-upstream-translation-update
- check-neutron-dsvm-functional
- experimental-tempest-dsvm-neutron
- experimental-tempest-dsvm-neutron-pg
- experimental-tempest-dsvm-neutron-isolated
- experimental-tempest-dsvm-neutron-pg-isolated
pre-release:
- neutron-tarball
release:

View File

@ -37,6 +37,13 @@ providers:
setup: prepare_node_devstack.sh
username: jenkins
private-key: /home/nodepool/.ssh/id_rsa
- name: devstack-precise-saucy-kernel
base-image: 'Ubuntu 12.04 LTS (Precise Pangolin)'
min-ram: 8192
name-filter: 'Performance'
setup: prepare_node_devstack_new_kernel.sh
username: jenkins
private-key: /home/nodepool/.ssh/id_rsa
- name: rax-ord
region-name: 'ORD'
service-type: 'compute'