a6cb059419
This commit enhances upgrade orchestration to support Standard subclouds. Strategy Steps: - Pre-checks to verify subcloud is ready for an upgrade and to recover from previous failures - Install release N+1 license in subcloud - Download/import the release N+1 load in subcloud - Update and apply N+1 patches to release N+1 load in subcloud - Finishing patch strategy - Start duplex upgrade - Lock controller-1 - Upgrade and re-install controller-1 - Unlock controller-1 - Swact to controller-1 - Create VIM upgrade strategy - Apply VIM upgrade strategy - Swact to controller-0 - Activating Upgrade - Completing Upgrade - Delete release N load Change-Id: I6fb60912ec1e90baa593cf98e502f4c91f599f42 Story: 2008055 Task: 41105 Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
19 lines
540 B
Python
19 lines
540 B
Python
#
|
|
# Copyright (c) 2020-2021 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
from dcmanager.common import consts
|
|
from dcmanager.orchestrator.states.unlock_host import UnlockHostState
|
|
|
|
|
|
class UnlockDuplexState(UnlockHostState):
|
|
"""Orchestration state for unlocking controller-1 host"""
|
|
|
|
def __init__(self, region_name):
|
|
super(UnlockDuplexState, self).__init__(
|
|
next_state=consts.STRATEGY_STATE_SWACTING_TO_CONTROLLER_1,
|
|
region_name=region_name,
|
|
hostname="controller-1")
|