From 346ff0134cc993bfeda6db7a8c6041ea4500a4c9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 17 Jan 2024 03:03:40 +0900 Subject: [PATCH] Drop upgrade scripts for old releases These scripts are not used in recent releases. Change-Id: I77db6f97d3f6226664e7b773d1d0b47db1a1dd5c --- devstack/upgrade/from-mitaka/upgrade-manila | 17 ----------------- devstack/upgrade/from-newton/upgrade-manila | 17 ----------------- 2 files changed, 34 deletions(-) delete mode 100644 devstack/upgrade/from-mitaka/upgrade-manila delete mode 100644 devstack/upgrade/from-newton/upgrade-manila diff --git a/devstack/upgrade/from-mitaka/upgrade-manila b/devstack/upgrade/from-mitaka/upgrade-manila deleted file mode 100644 index c7aa2078b7..0000000000 --- a/devstack/upgrade/from-mitaka/upgrade-manila +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# ``upgrade-manila`` - -function configure_manila_upgrade { - XTRACE=$(set +o | grep xtrace) - set -o xtrace - - # Copy release-specific files - sudo cp -f $TARGET_RELEASE_DIR/manila/etc/manila/rootwrap.d/* $MANILA_CONF_DIR/rootwrap.d - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/api-paste.ini $MANILA_CONF_DIR/api-paste.ini - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/policy.json $MANILA_CONF_DIR/policy.json - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/rootwrap.conf $MANILA_CONF_DIR/rootwrap.conf - - # reset to previous state - $XTRACE -} diff --git a/devstack/upgrade/from-newton/upgrade-manila b/devstack/upgrade/from-newton/upgrade-manila deleted file mode 100644 index c7aa2078b7..0000000000 --- a/devstack/upgrade/from-newton/upgrade-manila +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# ``upgrade-manila`` - -function configure_manila_upgrade { - XTRACE=$(set +o | grep xtrace) - set -o xtrace - - # Copy release-specific files - sudo cp -f $TARGET_RELEASE_DIR/manila/etc/manila/rootwrap.d/* $MANILA_CONF_DIR/rootwrap.d - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/api-paste.ini $MANILA_CONF_DIR/api-paste.ini - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/policy.json $MANILA_CONF_DIR/policy.json - sudo cp $TARGET_RELEASE_DIR/manila/etc/manila/rootwrap.conf $MANILA_CONF_DIR/rootwrap.conf - - # reset to previous state - $XTRACE -}