Comment 2 for bug 1680006

Revision history for this message
Sofer Athlan-Guyot (sofer-athlan-guyot) wrote :

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.