Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

How-to power on vApp after creating? #559

@skydion

Description

@skydion

Hello I'm new with vcd and I have problem.

I add new vApp: vcd vapp create mgmt

After this I try to power on by command:
vcd vapp power-on mgmt
I got next output: Error: Can't power on vApp. Current state of vApp: Resolved.

also I tried:
vcd vapp deploy --power-on mgmt
and got output: Error: Can't deploy vApp. Current state of vApp: Resolved.

Question is how I can power-on vApp after creation?
Do I need some special permission to use vcd command?


vcd vapp list
isDeployed    isEnabled      memoryAllocationMB  name                      numberOfCpus    numberOfVMs  ownerName    status        storageKB  vdcName
------------  -----------  --------------------  ----------------------  --------------  -------------  -----------  ----------  -----------  --------------------
true          true                        28672  TerraformCloudExample1              24              5  user         POWERED_ON    390070272  cloudboot-is-testing
false         true                               mgmt                                                0  user         RESOLVED              0  cloudboot-is-testing
true          true                        32768  StaticIS                            28              5  user         POWERED_ON    390070272  cloudboot-is-testing

I think problem could be in isDeployed = false but how to enable it I don't know.

vcd --json version
{
    "description": "VMware vCloud Director Command Line Interface",
    "product": "vcd-cli",
    "python": "3.6.9",
    "version": "24.0.1"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions