aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-07-05 12:00:12 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-07-10 14:40:32 +0400
commite8905d1c928a2e674ff399d96384466572f985b3 (patch)
tree8bf90a223a0a89f62011780dd3a5ce9977ab145b /mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch
parent45c9f16e592d5d205d55189baef5fb5c01c8a6fc (diff)
[virtual] Update OpenStack version to Stein
Change-Id: I9c1e97144ffd46040d32a0edf8253fc393b73c89 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch')
-rw-r--r--mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch b/mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch
deleted file mode 100644
index 39b146495..000000000
--- a/mcp/patches/salt-formula-cinder/0001-Support-rocky-version.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2018 Mirantis Inc., Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Michael Polenchuk <mpolenchuk@mirantis.com>
-Date: Thu, 29 Nov 2018 13:53:14 +0400
-Subject: [PATCH] Support rocky version
-
-Change-Id: I00450e0cdced03ea08ce22ac611b6baafc1c782e
-Related-Prod: PROD-23724
-
-diff --git a/cinder/controller.sls b/cinder/controller.sls
-index f103550..33e062f 100644
---- a/cinder/controller.sls
-+++ b/cinder/controller.sls
-@@ -58,7 +58,7 @@ cinder_controller_packages:
- {%- set cinder_log_services = controller.services %}
- {%- endif %}
-
--{%- if controller.version not in ('ocata','pike','queens') %}
-+{%- if controller.version not in ('ocata', 'pike', 'queens', 'rocky') %}
- {%- do cinder_log_services.append('cinder-api') %}
- {%- endif %}
-
-@@ -307,7 +307,7 @@ cinder_controller_services:
- {#- Therefore if api_version is not defined and OpenStack version is mitaka or newton use v2.0. #}
- {%- if 'api_version' in identity %}
- {%- set keystone_api_version = identity.get('api_version') %}
--{%- else %}
-+{%- else %}
- {%- if 'version' in controller and controller.version in ['mitaka', 'newton'] %}
- {%- set keystone_api_version = 'v2.0' %}
- {%- else %}
-diff --git a/cinder/map.jinja b/cinder/map.jinja
-index 18050cf..01a967d 100644
---- a/cinder/map.jinja
-+++ b/cinder/map.jinja
-@@ -77,7 +77,7 @@
- 'BaseDefaults': default_params,
- 'Debian': {
- 'pkgs': ['cinder-volume', 'lvm2', 'sysfsutils', 'sg3-utils', 'python-cinder','python-mysqldb','p7zip', 'gettext-base', 'python-memcache', 'python-pycadf'],
-- 'openiscsi_pkgs': ['open-iscsi', 'tgt'],
-+ 'openiscsi_pkgs': ['open-iscsi', 'tgt', 'thin-provisioning-tools'],
- 'iscsitarget_pkgs': ['iscsitarget', 'iscsitarget-dkms'],
- 'services': ['cinder-volume'],
- 'iscsitarget_services': ['iscsitarget'],