[wallaby-only][ffwd] Provide working dir to provisioned node extraction
To create predictable structure during UC stacks extraction we need to provide the working dir to the node extraction command. Change-Id: I4bfdfee942587ef3aa9c003ce8fdf041886ee57a
This commit is contained in:
parent
b94a5f82f8
commit
864cc1e9a6
|
@ -328,8 +328,8 @@ def export_provisioned_nodes(heat, stack, stack_dir, cloud):
|
|||
% (stack, bm_deployment_path))
|
||||
subprocess.check_call(['openstack', 'overcloud', 'node', 'extract',
|
||||
'provisioned', '--stack', stack, '--roles-file',
|
||||
roles_data_file, '--output',
|
||||
bm_deployment_path, '--yes'], env={'OS_CLOUD': cloud})
|
||||
roles_data_file, '--output', bm_deployment_path,
|
||||
'--working-dir', stack_dir, '--yes'], env={'OS_CLOUD': cloud})
|
||||
os.chmod(bm_deployment_path, 0o600)
|
||||
finally:
|
||||
os.remove(temp_file_path)
|
||||
|
|
Loading…
Reference in New Issue