Launch Plan Problems

This section lists issues that you might encounter when you use launch plans to create instances.

Can’t create an instance using a launch plan. Error: Unable to open file

Description

When I try to create an instance using a launch plan, I get the error, "Unable to open file."

Solution

This error indicates that you might have entered the name or path to your JSON file incorrectly. Check the filename and location of the JSON file that you want to use and then run the launch command again.

Can’t create an instance using a launch plan. Error displayed: Data is invalid JSON

Description

When I try to create an instance using a launch plan, I get the error, "Data is invalid JSON."

Solution

There may be an error in the JSON file that you specified with the launch command. To identify the error in the JSON file, look at the text displayed on the console immediately before this error message appeared. You might see a message similar to the following:

Expecting delimiter: line 10 column 13 (char 314).

Open your JSON file in a text editor and use the information in the error message to identify and fix the problem. You should also validate your JSON file. You can do this by using a third-party tool, such as JSONLint, or any other validation tool of your choice. Then run the launch command again.

Note:

Oracle doesn’t support or endorse any third-party JSON-validation tool.

Configuring opc-init automation in launch plan doesn't work

Description

I tried to configure opc-init automation in my launch plan, but it doesn't seem to be working. What should I do?

Solution

Error messages during automation steps are not captured via the API. Check the /var/log/opc-compute/opc-init.log file on your instance for error messages.