Following along the same lines of Bug #1625783, it does not appear that you can leverage the swap-partition.yaml or swap.yaml from extraconfig/all_nodes/ in THT
There's a few things, if you follow the direction from the previous bug, it'll just error because it can't find swap.yaml (or swap-parition.yaml). I was able to progress by moving my swap.yaml environment file that contained my resource_registry to the root of my THT directory. (This really needs to get documented better) However the next issue was that I get a validation error from the deployment action:
ERROR: Failed to validate: : resources.AllNodesExtraConfig: : "" is not a map'
Following along the same lines of Bug #1625783, it does not appear that you can leverage the swap-partition.yaml or swap.yaml from extraconfig/ all_nodes/ in THT
There's a few things, if you follow the direction from the previous bug, it'll just error because it can't find swap.yaml (or swap-parition. yaml). I was able to progress by moving my swap.yaml environment file that contained my resource_registry to the root of my THT directory. (This really needs to get documented better) However the next issue was that I get a validation error from the deployment action:
ERROR: Failed to validate: : resources. AllNodesExtraCo nfig: : "" is not a map'
Setup: heat-templates] $ pwd tripleo- heat-templates heat-templates] $ cat swap.yaml :AllNodesExtraC onfig: extraconfig/ all_nodes/ swap-partition. yaml
[centos@undercloud tripleo-
/home/centos/
[centos@undercloud tripleo-
resource_registry:
OS::TripleO:
Run: heat-templates] $ openstack overcloud deploy --templates /home/centos/ tripleo- heat-templates/ -e /home/centos/ tripleo- heat-templates/ environments/ low-memory- usage.yaml -e /home/centos/ tripleo- heat-templates/ swap.yaml
[centos@undercloud tripleo-
Actual Results:
Error and sadness
Expected Results:
Deployment with swap