aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Bezak <bartosz@stackhpc.com>2023-01-10 12:03:28 +0100
committerBartosz Bezak <bartosz@stackhpc.com>2023-01-10 13:43:41 +0000
commit1036d802f578933c39d4dc0a809393f6fb08f25c (patch)
treedb4e6c45af8094b54382555c7dea69723fa13a77
parent9fd6e3608ec1b79ec72199c63af77141cf7e0003 (diff)
downloadkolla-1036d802f578933c39d4dc0a809393f6fb08f25c.tar.gz
kolla-1036d802f578933c39d4dc0a809393f6fb08f25c.zip
Remove install_type command line argument in Antelope cycle
Change-Id: Id2d9ded90b7c83e29782ddcf794d57f944ddccb4
-rw-r--r--kolla/common/config.py7
-rw-r--r--releasenotes/notes/remove-install-type-argument-c2de6ca0468797ed.yaml5
2 files changed, 5 insertions, 7 deletions
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.