So doing a strace:
open("/var/log/os-apply-config.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4 open("/var/lib/os-collect-config/os_config_files.json", O_RDONLY) = 3 open("/var/lib/heat-cfntools/cfn-init-data", O_RDONLY) = 3 open("/var/lib/cloud/data/cfn-init-data", O_RDONLY) = 3 open("/var/lib/os-collect-config/ec2.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/request.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerAllNodesDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerHostsDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/NetworkDeployment.json", O_RDONLY) = 3 open("/var/lib/heat-cfntools/cfn-init-data", O_RDONLY) = 3 open("/var/lib/cloud/data/cfn-init-data", O_RDONLY) = 3 open("/var/lib/os-collect-config/ec2.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/request.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerAllNodesDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/ControllerHostsDeployment.json", O_RDONLY) = 3 open("/var/lib/os-collect-config/NetworkDeployment.json", O_RDONLY) = 3
it seems that the test in https://review.openstack.org/#/c/426241/2/heat-config-hiera/install.d/hook-hiera.py is not relevant anymore... The data is found in those json files and the output is not empty.
So doing a strace:
open("/ var/log/ os-apply- config. log", O_WRONLY| O_CREAT| O_APPEND, 0666) = 4 var/lib/ os-collect- config/ os_config_ files.json" , O_RDONLY) = 3 var/lib/ heat-cfntools/ cfn-init- data", O_RDONLY) = 3 var/lib/ cloud/data/ cfn-init- data", O_RDONLY) = 3 var/lib/ os-collect- config/ ec2.json" , O_RDONLY) = 3 var/lib/ os-collect- config/ request. json", O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerAllNo desDeployment. json", O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerDeplo yment.json" , O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerHosts Deployment. json", O_RDONLY) = 3 var/lib/ os-collect- config/ NetworkDeployme nt.json" , O_RDONLY) = 3 var/lib/ heat-cfntools/ cfn-init- data", O_RDONLY) = 3 var/lib/ cloud/data/ cfn-init- data", O_RDONLY) = 3 var/lib/ os-collect- config/ ec2.json" , O_RDONLY) = 3 var/lib/ os-collect- config/ request. json", O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerAllNo desDeployment. json", O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerDeplo yment.json" , O_RDONLY) = 3 var/lib/ os-collect- config/ ControllerHosts Deployment. json", O_RDONLY) = 3 var/lib/ os-collect- config/ NetworkDeployme nt.json" , O_RDONLY) = 3
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
open("/
it seems that the test in https:/ /review. openstack. org/#/c/ 426241/ 2/heat- config- hiera/install. d/hook- hiera.py is not relevant anymore... The data is found in those json files and the output is not empty.