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

How-to power on vApp after creating? #559

Open
skydion opened this issue Oct 6, 2021 · 0 comments
Open

How-to power on vApp after creating? #559

skydion opened this issue Oct 6, 2021 · 0 comments

Comments

@skydion
Copy link

skydion commented Oct 6, 2021

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"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant