From 1036d802f578933c39d4dc0a809393f6fb08f25c Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Tue, 10 Jan 2023 12:03:28 +0100 Subject: Remove install_type command line argument in Antelope cycle Change-Id: Id2d9ded90b7c83e29782ddcf794d57f944ddccb4 --- kolla/common/config.py | 7 ------- .../notes/remove-install-type-argument-c2de6ca0468797ed.yaml | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 releasenotes/notes/remove-install-type-argument-c2de6ca0468797ed.yaml diff --git a/kolla/common/config.py b/kolla/common/config.py index 5e5692d5e..87ecf9d50 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -42,8 +42,6 @@ OPENSTACK_RELEASE = 'master' DELOREAN_DEPS = "https://trunk.rdoproject.org/centos9-master/" \ "delorean-deps.repo" -INSTALL_TYPE_CHOICES = ['source'] - # TODO(mandre) check for file integrity instead of downloading from an HTTPS # source TARBALLS_BASE = "https://tarballs.opendev.org" @@ -202,11 +200,6 @@ _CLI_OPTS = [ help='Format to write the final results in'), cfg.StrOpt('tarballs-base', default=TARBALLS_BASE, help='Base url to OpenStack tarballs'), - # NOTE(hrw): deprecate argument in Zed, remove in A-cycle - cfg.StrOpt('type', short='t', default='source', - choices=INSTALL_TYPE_CHOICES, - dest='install_type', - help=('Ignored, kept for script compatibility.')), cfg.IntOpt('threads', short='T', default=8, min=1, help=('The number of threads to use while building.' ' (Note: setting to one will allow real time' diff --git a/releasenotes/notes/remove-install-type-argument-c2de6ca0468797ed.yaml b/releasenotes/notes/remove-install-type-argument-c2de6ca0468797ed.yaml new file mode 100644 index 000000000..9a7278eba --- /dev/null +++ b/releasenotes/notes/remove-install-type-argument-c2de6ca0468797ed.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + ``install_type`` argument is now removed. We no longer support + other values than ``source`` therefore handling of argument was dropped. -- cgit v1.2.3