2016-12-22 23:43:36 |
Alex Schultz |
description |
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'
Setup:
[centos@undercloud tripleo-heat-templates]$ pwd
/home/centos/tripleo-heat-templates
[centos@undercloud tripleo-heat-templates]$ cat swap.yaml
resource_registry:
OS::TripleO::AllNodesExtraConfig: extraconfig/all_nodes/swap-partition.yaml
Run:
[centos@undercloud tripleo-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
Actual Results:
Error and sadness
Expected Results:
Deployment with swap |
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'
Heat engine logs exception: http://paste.openstack.org/show/593211/
Setup:
[centos@undercloud tripleo-heat-templates]$ pwd
/home/centos/tripleo-heat-templates
[centos@undercloud tripleo-heat-templates]$ cat swap.yaml
resource_registry:
OS::TripleO::AllNodesExtraConfig: extraconfig/all_nodes/swap-partition.yaml
Run:
[centos@undercloud tripleo-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
Actual Results:
Error and sadness
Expected Results:
Deployment with swap |
|