Reduce (elliminate) SoftwareDeployment/SoftwareConfig resources from the stack

Registered by James Slagle on 2019-05-14

Reduce (elliminate) SoftwareDeployment/SoftwareConfig resources from the stack, especially those that are applied per server and use the deployments.yaml shim we added for backwards compatibility with the initial config-download work.

This is a further iteration of making the Heat stack more lightweight with less resources and moving towards more native ansible tasks.

Blueprint information

Status:
Complete
Approver:
James Slagle
Priority:
High
Drafter:
James Slagle
Direction:
Needs approval
Assignee:
James Slagle
Definition:
Approved
Series goal:
Accepted for train
Implementation:
Implemented
Milestone target:
milestone icon train-3
Started by
James Slagle on 2019-05-14
Completed by
James Slagle on 2019-10-22

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/reduce-deployment-resources

Addressed by: https://review.opendev.org/659144
    Add tripleo-hieradata role

Gerrit topic: https://review.opendev.org/#/q/topic:reduce-deployment-resources

Addressed by: https://review.opendev.org/653843
    Make node_ips generic in the Heat template

Addressed by: https://review.opendev.org/659146
    Remove InstanceIdDeployment

Addressed by: https://review.opendev.org/659147
    Remove HostEntryDeployment

Addressed by: https://review.opendev.org/659148
    Use ansible for AllNodesDeployment

Addressed by: https://review.opendev.org/653838
    Template each deployment file

Addressed by: https://review.opendev.org/660212
    Add deployed-server bootstrap tasks to tripleo-bootstrap

Addressed by: https://review.opendev.org/660221
    Remove deployed-server bootstrap resource

Addressed by: https://review.opendev.org/662472
    WIP - Use Ansible for {{server_resource_name}}Config

Addressed by: https://review.opendev.org/662531
    WIP - tripleo-hieradata: add hieradata_files param

Addressed by: https://review.opendev.org/662562
    WIP - Use Ansible to configure the Hiera config

Gerrit topic: https://review.opendev.org/#/q/topic:bp/reduce-deployment-resources2

Addressed by: https://review.opendev.org/663706
    WIP: Render NetworkConfig into config-download dir

Addressed by: https://review.opendev.org/663708
    Add HostnameNetworkConfigMap output

Addressed by: https://review.opendev.org/663709
    WIP: Use ansible for AllNodesValidationDeployment

Addressed by: https://review.opendev.org/663710
    WIP: Use ansible for NetworkConfig

Addressed by: https://review.opendev.org/663736
    Preserve file extension in config-download

Addressed by: https://review.opendev.org/663771
    Temporarily add .yaml extension for all-nodes-deployment-hieradata.j2

Addressed by: https://review.opendev.org/663772
    network

Addressed by: https://review.opendev.org/663809
    Use ansible for ArtifactsConfig

Addressed by: https://review.opendev.org/663956
    Use ansible for HostsConfig

Addressed by: https://review.opendev.org/663955
    Replace hardcoded gather_facts:no with variable

Addressed by: https://review.opendev.org/663441
    Populate Ansible Host variables with AnsibleHostVarsMap

Addressed by: https://review.opendev.org/664069
    tripleo-hieradata: introduce hieradata_per_host

Addressed by: https://review.opendev.org/665172
    Add template mode to tripleo-hieradata

Addressed by: https://review.opendev.org/665173
    Add network hostnames to inventory

Addressed by: https://review.opendev.org/663430
    Interface for Ansible Host variables

Addressed by: https://review.opendev.org/665176
    Use Ansible for bootstrap_node hieradata

Addressed by: https://review.opendev.org/665213
    Use Ansible for all_nodes hieradata

Addressed by: https://review.opendev.org/666445
    Add vip_data template to tripleo-hieradata

Addressed by: https://review.opendev.org/666447
    Use Ansible for vip_data hieradata

Gerrit topic: https://review.opendev.org/#/q/topic:bug/1834041

Addressed by: https://review.opendev.org/667344
    deploy-steps.j2: cleanup .yaml extension for deployment files

Addressed by: https://review.opendev.org/668183
    Run NetworkConfig if never run previously

Addressed by: https://review.opendev.org/668701
    Add net_ip_map template to tripleo-hieradata

Addressed by: https://review.opendev.org/668702
    Use Ansible for net_ip_map hieradata

Addressed by: https://review.opendev.org/668909
    Add fqdn and cloud_domain templates to tripleo-hieradata

Addressed by: https://review.opendev.org/668910
    Use Ansible for {{role}} and host_extraconfig hieradata

Addressed by: https://review.opendev.org/669247
    Stop writing allnodes_vars in inventory

Addressed by: https://review.opendev.org/669292
    Remove puppet/deploy-artifacts.yaml

Addressed by: https://review.opendev.org/669960
    Add template mode to tripleo-ssh-known-hosts

Addressed by: https://review.opendev.org/669964
    Lookup pre/post deployment vars with hostvars

Addressed by: https://review.opendev.org/669965
    Use Ansible for ssh known hosts config

Addressed by: https://review.opendev.org/669966
    Remove non-template mode from tripleo-ssh-known-hosts role

Addressed by: https://review.opendev.org/669967
    Remove tripleo_ssh_known_hosts_use_template var

Addressed by: https://review.opendev.org/670152
    Also write NetworkConfig to role dir

Addressed by: https://review.opendev.org/670160
    Use template for NetworkConfig script

Addressed by: https://review.opendev.org/670596
    Set HieradataVars as group vars instead

Addressed by: https://review.opendev.org/671504
    Add var for {{network.name_lower}}_cidr

Addressed by: https://review.opendev.org/671513
    Use ansible vars in single-nic-vlans nic config

Addressed by: https://review.opendev.org/671980
    Stop using swift temp url for config transport

Addressed by: https://review.opendev.org/671981
    WIP Drop DeploymentSwiftDataMap interface

Addressed by: https://review.opendev.org/672592
    Restore AllNodesExtraMapData

Addressed by: https://review.opendev.org/673209
    Move ConfigDatafiles to overcloud.j2.yaml

Addressed by: https://review.opendev.org/673345
    Cleanup SoftwareConfigTransport

Addressed by: https://review.opendev.org/673362
    Remove bootstrap_nodeid group var

Addressed by: https://review.opendev.org/673398
    Drop HeatApiCfn service from undercloud

Addressed by: https://review.opendev.org/673727
    Add service_configs template to tripleo-hieradata

Addressed by: https://review.opendev.org/673728
    WIP Add extraconfig/role_extraconfig template to hieradata

Addressed by: https://review.opendev.org/673729
    Remove {{role.name}}MergedConfigSettings resource

Addressed by: https://review.opendev.org/673730
    Use ansible group_vars for service_configs hieradata

Addressed by: https://review.opendev.org/673731
    WIP Use ansible group_vars for extraconfig hieradata

Addressed by: https://review.opendev.org/674637
    Add service_configs template to tripleo-hieradata

Addressed by: https://review.opendev.org/674646
    Add extraconfig/role_extraconfig template to hieradata

Addressed by: https://review.opendev.org/674722
    WIP Remove tasks using datafiles

Addressed by: https://review.opendev.org/675028
    Use hiera config from ansible group_var

Addressed by: https://review.opendev.org/675890
    Remove unused hieradata ansible tasks for datafiles

Addressed by: https://review.opendev.org/677164
    Remove temporary workaround for hieradata_files

Addressed by: https://review.opendev.org/677218
    WIP Remove GroupVars from nested stacks

Addressed by: https://review.opendev.org/680958
    WIP Remove deploment resource mappings for config-download

Addressed by: https://review.opendev.org/687638
    Lookup pre/post deployment vars with hostvars

Addressed by: https://review.opendev.org/690043
    Lookup pre/post deployment vars with hostvars

Addressed by: https://review.opendev.org/690048
    Lookup pre/post deployment vars with hostvars

Addressed by: https://review.opendev.org/691627
    Lookup pre/post deployment vars with hostvars

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.