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

vcd create vapp (instantiated from a template) fails to power on. #546

Closed
anithapriyanatarajan opened this issue Feb 6, 2021 · 1 comment

Comments

@anithapriyanatarajan
Copy link

VCD-CLI command used:
vcd vapp create -d vapp-withvcd -c catalog -t test_vapp_mysql -n xyz -i DHCP -m 4096 -u 2 -k 20000 -v vcd-vm-01 -o vcd-vm-1.test.local -a True

Issue
While using this command for automation, there is an inconsistent behavior.

On a few attempts the vapp gets deployed from template successfully and is powered-on as expected but it most cases vapp gets created but does not power-on. Task status shows as "Failed". Still the vapp could be powered on manually from ui.

Quoting a general observation with VCD automation, which might in case cause this issue:
As a general observation there is a latency issue between the actual vapp powerstates visible to org user and the actual power state of the vapp maintained internally. This is causing a lot of automation cases break and forces us to write unconditional waits based on defined vcloud vapp state model.

@anithapriyanatarajan
Copy link
Author

I am closing this issue as i am no more focusing on this area.

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