Skip to content

VM Creation Error - Cloudstack #38

@assistanz247

Description

@assistanz247

Hi Team,

When I tried to create a VM in cloudstack it shows " cloudstack.centos: Error creating new instance packer-629497eb-6580-0059-b4ef-50a079b50415: json: cannot unmarshal string into Go struct field DeployVirtualMachineResponse.ostypeid of type int64

Packer Version : 1.8.1

I ran the packer build command from my windows 10 desktop machine.

Here is my code.

source "cloudstack" "centos" {
api_key = ""
api_url = ""
secret_key = "<My Secret key"
network = "6f82e20d-57c9-431d-b7a5-9a4009d32c48"
service_offering = "5a6fe325-74c1-413f-8582-3e333ce63005"
source_template = "539378f0-8a32-4335-80fa-9c7ebd5b5218"
zone = "27efd513-9343-43be-a1a7-d1a854d85148"
ssh_username = "root"
ssh_private_key_file = "Packer-Key.key"
template_os = "Other PV (64-bit)"
}

build {
sources = ["source.cloudstack.centos"]
}

Any Suggestions ?

Issues on GitHub are intended to be related to bugs or feature requests, so we
recommend using our other community resources instead of asking here if you
have a question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions