"ERROR Cloudhouse.Container.Deployment.Program - Exiting with code: -1" error when deploying a Container

Save to PDF

Applies to: Cloudhouse Application Compatibility Packages/Containers

04/08/2020 Cliff Hobbs   ID: 600509

Resolution

Note

The "-1" error is a "catch-all" error message, designed to catch any errors not caught by the other error codes. It is typically caused by you using an invalid command-line to deploy the Container.

To fix this issue, check the command-line you are using to deploy the Application Compatibility Package/Compatibility Container™ is valid as detailed in How to Deploy a Cloudhouse Compatibility Container.

Tip

The text displayed after the Failed to parse command line arguments: message will help you identify the issue. In our example below, Invalid argument combination: deploydir is not provided and shared is not specified is telling you that either the deploydir or shared options need to be specified when deploying a Container.

If you still encounter problems, please contact your Cloudhouse Partner in the first instance (if relevant), otherwise contact Cloudhouse Support for further assistance.

Symptoms

When deploying an Application Compatibility Package/Compatibility Container, I receive the following error:

ERROR Cloudhouse.Container.Deployment.Program - Failed to parse command line arguments: Invalid argument combination: deploydir is not provided and shared is not specified

ERROR Cloudhouse.Container.Deployment.Program - Exiting with code: -1

Cause

This error is caused if the command-line you are using to deploy your Container is incomplete or invalid.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support