Remove old workaround to upgrade deployed server environment

This change removes the old workaround added by [1]. This workaround is
no longer required since we replaced undercloud heat by ephemeral heat.
Now the overcloud stack is ephemeral and neutron ports should be
pre-allocated instead of being created/managed by heat.

[1] 6f20304c43

Change-Id: I88526e4c4faabe5f7291ae790a21039c0736c41f
This commit is contained in:
Takashi Kajinami 2022-10-20 14:55:05 +09:00
parent 57f1635e7c
commit dbb0224e37
2 changed files with 0 additions and 49 deletions

View File

@ -1,47 +0,0 @@
heat_template_version: wallaby
parameters:
RootStackName:
description: The name of the stack/plan.
type: string
network:
type: string
default: ctlplane
fixed_ips:
default: []
type: json
name:
type: string
dns_name:
default: ''
type: string
replacement_policy:
type: string
default: AUTO
ControlPlaneSubnet:
default: ctlplane-subnet
description: The name of the undercloud Neutron control plane subnet
type: string
resources:
ControlPlanePort:
type: OS::Neutron::Port
properties:
network: ctlplane
fixed_ips: [{subnet: {get_param: ControlPlaneSubnet}}]
name:
list_join:
- '-'
- - {get_param: name}
- port
replacement_policy: AUTO
tags:
- str_replace:
template: tripleo_stack_name=$STACK_NAME
params:
$STACK_NAME: {get_param: RootStackName}
outputs:
fixed_ips:
value: {get_attr: [ControlPlanePort, fixed_ips]}

View File

@ -1,2 +0,0 @@
resource_registry:
OS::TripleO::DeployedServer::ControlPlanePort: ../../deployed-server/ctlplane-port.yaml