aboutsummaryrefslogtreecommitdiffstats
path: root/environments/major-upgrade-composable-steps.yaml
blob: 9ecc2251f252f0db58fa04bbb5de19a6b0c7fb20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
resource_registry:
  OS::TripleO::PostDeploySteps: ../puppet/major_upgrade_steps.yaml
parameter_defaults:
  UpgradeLevelNovaCompute: auto
  UpgradeInitCommonCommand: |
    #!/bin/bash
    # Newton to Ocata, we need to remove old hiera hook data and
    # install ansible heat agents and ansible-pacemaker
    set -eu
    yum install -y openstack-heat-agents
    yum install -y python-heat-agent-*
    yum install -y ansible-pacemaker
    rm -f /usr/libexec/os-apply-config/templates/etc/puppet/hiera.yaml
    rm -f /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles
    rm -f /etc/puppet/hieradata/*.yaml
lass="s">'' type: string ControlPlaneIP: # Here for compatibility with noop.yaml description: IP address on the control plane default: '' type: string FixedIPs: description: > Control the IP allocation for the VIP port. E.g. [{'ip_address':'1.2.3.4'}] default: [] type: json IPPool: # Here for compatibility with from_pool.yaml default: {} type: json NodeIndex: # Here for compatibility with from_pool.yaml default: 0 type: number resources: TenantPort: type: OS::Neutron::Port properties: network: {get_param: TenantNetName} name: {get_param: PortName} fixed_ips: {get_param: FixedIPs} replacement_policy: AUTO outputs: ip_address: description: tenant network IP value: {get_attr: [TenantPort, fixed_ips, 0, ip_address]} ip_address_uri: description: tenant network IP (for compatibility with tenant_v6.yaml) value: {get_attr: [TenantPort, fixed_ips, 0, ip_address]} ip_subnet: description: IP/Subnet CIDR for the tenant network IP value: list_join: - '' - - {get_attr: [TenantPort, fixed_ips, 0, ip_address]} - '/' - {str_split: ['/', {get_attr: [TenantPort, subnets, 0, cidr]}, 1]}