a661b6d5e1
Previously, the upgrade process for the undercloud has been to just rerun the install process. The problem is that this does not include anwyay to indicate that it's already been run if we need to trigger some different actions on subsequent runs. As part of the Newton to Ocata upgrade, we need to be able to run the cell v2 setup in a different order than on a traditional install. We need a way for the puppet scripts that ultimately get run to know if it's an upgrade or install action. This change adds the creation of an undercloud_upgrade fact that will be used when the upgrade process is run. Additionally a new script called instack-upgrade-undercloud has been created to be used when upgrade. The use of instack-install-undercloud will cause the install flow to be execuated, while the instack-upgrade-undercloud will set the fact to true to allow for the puppet scripts to use the upgrade flow. Change-Id: Ie3cb21e30334fe8ffc0a9d6e707b42269b64c9ec Related-Bug: #1649341 Related-Blueprint: undercloud-upgrade
45 lines
1.2 KiB
INI
45 lines
1.2 KiB
INI
[metadata]
|
|
name = instack-undercloud
|
|
summary = instack-undercloud
|
|
description-file =
|
|
README.md
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = https://git.openstack.org/cgit/openstack/instack-undercloud
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.4
|
|
|
|
[files]
|
|
packages =
|
|
instack_undercloud
|
|
|
|
scripts =
|
|
scripts/instack-install-undercloud
|
|
scripts/instack-upgrade-undercloud
|
|
scripts/instack-virt-setup
|
|
scripts/instack-haproxy-cert-update
|
|
|
|
data_files =
|
|
share/instack-undercloud/ = elements/*
|
|
share/instack-undercloud/json-files = json-files/*
|
|
share/instack-undercloud/ = undercloud.conf.sample
|
|
share/instack-undercloud/templates = templates/*
|
|
|
|
[entry_points]
|
|
oslo.config.opts =
|
|
instack-undercloud = instack_undercloud.undercloud:list_opts
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|