Project

General

Profile

Actions

Bug #14325

closed

VM does not start after creation when using a compute profile

Added by Greg Petras almost 9 years ago. Updated almost 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Using the vmware provider on 1.10.2, we are provisioning VMs using the API. If we use a compute profile, the VM does not start upon boot.

The JSON we POST to /api/hosts is something like:

{
"host": {
"compute_profile_id" : 46,
"ip" : null,
"hostgroup_name" : "mgmt/test",
"compute_resource_id" : 2,
"name" : "test01.example.com",
"build" : "true",
}
}

If I try the same host through the UI, it starts the VM properly after creation.


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Bug #10223: Image provisoning over API doesn't start host automaticallyNew04/21/2015Actions
Actions

Also available in: Atom PDF