Merge "Convert to openSUSE Leap 15.0 platform testing"
This commit is contained in:
commit
dd0f884b7e
12
.zuul.yaml
12
.zuul.yaml
@ -29,10 +29,10 @@
|
|||||||
- controller
|
- controller
|
||||||
|
|
||||||
- nodeset:
|
- nodeset:
|
||||||
name: devstack-single-node-opensuse-423
|
name: devstack-single-node-opensuse-150
|
||||||
nodes:
|
nodes:
|
||||||
- name: controller
|
- name: controller
|
||||||
label: opensuse-423
|
label: opensuse-150
|
||||||
groups:
|
groups:
|
||||||
- name: tempest
|
- name: tempest
|
||||||
nodes:
|
nodes:
|
||||||
@ -405,10 +405,10 @@
|
|||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: devstack-platform-opensuse-423
|
name: devstack-platform-opensuse-150
|
||||||
parent: tempest-full
|
parent: tempest-full
|
||||||
description: openSUSE 43.2 platform test
|
description: openSUSE 15.0 platform test
|
||||||
nodeset: devstack-single-node-opensuse-423
|
nodeset: devstack-single-node-opensuse-150
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
@ -497,7 +497,7 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- devstack
|
- devstack
|
||||||
- devstack-platform-centos-7
|
- devstack-platform-centos-7
|
||||||
- devstack-platform-opensuse-423
|
- devstack-platform-opensuse-150
|
||||||
- devstack-platform-opensuse-tumbleweed
|
- devstack-platform-opensuse-tumbleweed
|
||||||
- devstack-platform-fedora-latest
|
- devstack-platform-fedora-latest
|
||||||
- devstack-multinode
|
- devstack-multinode
|
||||||
|
@ -374,8 +374,10 @@ function GetDistro {
|
|||||||
elif [[ "$os_VENDOR" =~ (openSUSE) ]]; then
|
elif [[ "$os_VENDOR" =~ (openSUSE) ]]; then
|
||||||
DISTRO="opensuse-$os_RELEASE"
|
DISTRO="opensuse-$os_RELEASE"
|
||||||
# Tumbleweed uses "n/a" as a codename, and the release is a datestring
|
# Tumbleweed uses "n/a" as a codename, and the release is a datestring
|
||||||
# like 20180218, so not very useful.
|
# like 20180218, so not very useful. Leap however uses a release
|
||||||
[ "$os_CODENAME" = "n/a" ] && DISTRO="opensuse-tumbleweed"
|
# with a "dot", so for example 15.0
|
||||||
|
[ "$os_CODENAME" = "n/a" -a "$os_RELEASE" = "${os_RELEASE/\./}" ] && \
|
||||||
|
DISTRO="opensuse-tumbleweed"
|
||||||
elif [[ "$os_VENDOR" =~ (SUSE LINUX) ]]; then
|
elif [[ "$os_VENDOR" =~ (SUSE LINUX) ]]; then
|
||||||
# just use major release
|
# just use major release
|
||||||
DISTRO="sle${os_RELEASE%.*}"
|
DISTRO="sle${os_RELEASE%.*}"
|
||||||
@ -1376,7 +1378,7 @@ function zypper_install {
|
|||||||
[[ "$(id -u)" = "0" ]] && sudo="env"
|
[[ "$(id -u)" = "0" ]] && sudo="env"
|
||||||
$sudo http_proxy="${http_proxy:-}" https_proxy="${https_proxy:-}" \
|
$sudo http_proxy="${http_proxy:-}" https_proxy="${https_proxy:-}" \
|
||||||
no_proxy="${no_proxy:-}" \
|
no_proxy="${no_proxy:-}" \
|
||||||
zypper --non-interactive install --auto-agree-with-licenses "$@"
|
zypper --non-interactive install --auto-agree-with-licenses --no-recommends "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
function write_user_unit_file {
|
function write_user_unit_file {
|
||||||
|
@ -16,7 +16,7 @@ MYSQL_DRIVER=${MYSQL_DRIVER:-PyMySQL}
|
|||||||
register_database mysql
|
register_database mysql
|
||||||
|
|
||||||
MYSQL_SERVICE_NAME=mysql
|
MYSQL_SERVICE_NAME=mysql
|
||||||
if is_fedora && ! is_oraclelinux; then
|
if is_suse || is_fedora && ! is_oraclelinux; then
|
||||||
MYSQL_SERVICE_NAME=mariadb
|
MYSQL_SERVICE_NAME=mariadb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
3
stack.sh
3
stack.sh
@ -221,7 +221,7 @@ write_devstack_version
|
|||||||
|
|
||||||
# Warn users who aren't on an explicitly supported distro, but allow them to
|
# Warn users who aren't on an explicitly supported distro, but allow them to
|
||||||
# override check and attempt installation with ``FORCE=yes ./stack``
|
# override check and attempt installation with ``FORCE=yes ./stack``
|
||||||
if [[ ! ${DISTRO} =~ (xenial|artful|bionic|stretch|jessie|f27|f28|opensuse-42.3|opensuse-tumbleweed|rhel7) ]]; then
|
if [[ ! ${DISTRO} =~ (xenial|artful|bionic|stretch|jessie|f27|f28|opensuse-42.3|opensuse-15.0|opensuse-tumbleweed|rhel7) ]]; then
|
||||||
echo "WARNING: this script has not been tested on $DISTRO"
|
echo "WARNING: this script has not been tested on $DISTRO"
|
||||||
if [[ "$FORCE" != "yes" ]]; then
|
if [[ "$FORCE" != "yes" ]]; then
|
||||||
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
|
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
|
||||||
@ -1137,6 +1137,7 @@ if is_service_enabled neutron; then
|
|||||||
echo_summary "Configuring Neutron"
|
echo_summary "Configuring Neutron"
|
||||||
|
|
||||||
configure_neutron
|
configure_neutron
|
||||||
|
|
||||||
# Run init_neutron only on the node hosting the Neutron API server
|
# Run init_neutron only on the node hosting the Neutron API server
|
||||||
if is_service_enabled $DATABASE_BACKENDS && is_service_enabled neutron; then
|
if is_service_enabled $DATABASE_BACKENDS && is_service_enabled neutron; then
|
||||||
init_neutron
|
init_neutron
|
||||||
|
Loading…
x
Reference in New Issue
Block a user