sw-patch is being completely removed. This commit removes sw-patch services from unit files and all leftover patch_api calls. Depends-On: https://review.opendev.org/c/starlingx/update/+/971136 Partial-bug: 2133093 Test Plan: PASS: AIO-SX install PASS: AIO-DX install PASS: software deploy on AIO-DX PASS: Deploy storage lab with workers PASS: Successful DC deployment PASS: Successful remote subcloud deployment PASS: No Errors on horizon dashboard PASS: build stx-openstack Change-Id: Ic68451d3bba35a74fa6d7faae16c6f3bdef11c8a Signed-off-by: Matheus Guilhermino <mmachado@windriver.com>
51 lines
1.0 KiB
Bash
51 lines
1.0 KiB
Bash
#!/bin/bash
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (C) 2019 Intel Corporation
|
|
#
|
|
# Devstack settings
|
|
|
|
# Services
|
|
# cgtsclient
|
|
# sysinv
|
|
# sysinv-agent
|
|
# sysinv-api
|
|
# sysinv-cond
|
|
|
|
# Defaults
|
|
# --------
|
|
|
|
STX_CONFIG_NAME=config
|
|
|
|
######### Plugin Specific ##########
|
|
enable_service $STX_CONFIG_NAME
|
|
|
|
# This must not use any variables to work properly in OpenStack's DevStack playbook
|
|
define_plugin config
|
|
# This works for Zuul jobs using OpenStack's DevStack roles
|
|
plugin_requires config integ
|
|
plugin_requires config update
|
|
|
|
# Handle STX pre-reqs
|
|
# stx-integ
|
|
enable_service platform-util
|
|
# stx-update
|
|
enable_service tsconfig
|
|
|
|
if is_service_enabled sysinv-agent; then
|
|
enable_service sysinv
|
|
fi
|
|
|
|
if is_service_enabled sysinv-agent; then
|
|
local req_services="key rabbit nova neutron"
|
|
for srv in $req_services;do
|
|
if ! is_service_enabled "$srv"; then
|
|
die $LINENO "$srv should be enabled for SysInv"
|
|
fi
|
|
done
|
|
fi
|
|
|
|
# Initial source of lib script
|
|
source $DEST/config/devstack/lib/config
|