-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Server Tooling & Methods
This code block in the function "set EC2 address" generates an error if it's invoked in a non-Powercycle task:
- command: expansions.update params: file: src/${aws_ec2_yml}
In this case the expansion macro aws_ec2_yml os not defined causing the expansions.update to attempt to use a directory:
[2018/02/09 13:43:42.864] Running command 'expansions.update' in "set EC2 address" (step 3.2 of 36) [2018/02/09 13:43:42.864] Updating expansions with keys from file: /data/mci/29701ce16b48fecddfed1732d4bb3622/src [2018/02/09 13:43:42.864] Command failed: read /data/mci/29701ce16b48fecddfed1732d4bb3622/src: is a directory
It might be desirable to create an empty YML file to prevent this in the pre step.