Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If VCH creations fails for some reason we should delete the vApp #2853

Closed
smaithani opened this issue Oct 21, 2016 · 6 comments
Closed

If VCH creations fails for some reason we should delete the vApp #2853

smaithani opened this issue Oct 21, 2016 · 6 comments
Labels
component/install kind/defect Behavior that is inconsistent with what's intended priority/p4

Comments

@smaithani
Copy link

smaithani commented Oct 21, 2016

The user tester does not have permissions to modify networks. When I use this user to create a VCH, the creation fails but leaves behind a vApp.

./vic-machine-darwin create --name VCH2 --target x.x.x.x --user [email protected] --password 'Admin!23' --force --image-store local-0 --bridge-network DPortGroup --no-tls --compute-resource cls
WARN[2016-10-21T15:13:51-07:00] Configuring without TLS - all communications will be insecure
INFO[2016-10-21T15:13:51-07:00] ### Installing VCH ####
INFO[2016-10-21T15:13:51-07:00] Validating supplied configuration
INFO[2016-10-21T15:13:51-07:00] vDS configuration OK on "DPortGroup"
INFO[2016-10-21T15:13:51-07:00] Firewall status: DISABLED on "/vcqaDC/host/cls/sc-rdops-vm09-dhcp-3-202.eng.vmware.com"
WARN[2016-10-21T15:13:51-07:00] Firewall configuration will be incorrect if firewall is reenabled on hosts:
WARN[2016-10-21T15:13:51-07:00] "/vcqaDC/host/cls/sc-rdops-vm09-dhcp-3-202.eng.vmware.com"
WARN[2016-10-21T15:13:51-07:00] Firewall must permit 2377/tcp outbound if firewall is reenabled
INFO[2016-10-21T15:13:52-07:00] License check OK on hosts:
INFO[2016-10-21T15:13:52-07:00] "/vcqaDC/host/cls/sc-rdops-vm09-dhcp-3-202.eng.vmware.com"
INFO[2016-10-21T15:13:52-07:00] DRS check OK on:
INFO[2016-10-21T15:13:52-07:00] "/vcqaDC/host/cls/Resources"
WARN[2016-10-21T15:13:52-07:00] Only one host can access all of the image/container/volume datastores. This may be a point of contention/performance degradation and HA/DRS may not work as intended.
INFO[2016-10-21T15:13:52-07:00]
WARN[2016-10-21T15:13:52-07:00] Disabling 4fe81e67-e624-40e0-95b0-a60b977b9fd0 vpxd.log collection (ServerFaultCode: Permission to perform this operation was denied.)
WARN[2016-10-21T15:13:52-07:00] Disabling host-14 hostd.log collection (ServerFaultCode: Permission to perform this operation was denied.)
INFO[2016-10-21T15:13:52-07:00] Creating virtual app "VCH2"
INFO[2016-10-21T15:13:52-07:00] Creating appliance on target
INFO[2016-10-21T15:13:52-07:00] Network role "client" is sharing NIC with "external"
INFO[2016-10-21T15:13:52-07:00] Network role "management" is sharing NIC with "external"
ERRO[2016-10-21T15:13:52-07:00] task failed: ServerFaultCode: Permission to perform this operation was denied.
ERRO[2016-10-21T15:13:52-07:00] Unable to create appliance VM: ServerFaultCode: Permission to perform this operation was denied.
ERRO[2016-10-21T15:13:52-07:00] --------------------
ERRO[2016-10-21T15:13:52-07:00] vic-machine-darwin failed: Creating the appliance failed with ServerFaultCode: Permission to perform this operation was denied.. Exiting...

@mdubya66
Copy link
Contributor

@hickeng I believe the idea to remove the vApp was looked at and we determined to leave it. Can you confirm.

@mdubya66 mdubya66 added the impact/doc/note Requires creation of or changes to an official release note label Oct 24, 2016
@mdubya66
Copy link
Contributor

Iceboxing this for post GA

@npakrasi
Copy link
Contributor

npakrasi commented Nov 7, 2016

Added to 0.7.0 release notes known issues.

@npakrasi npakrasi removed the impact/doc/note Requires creation of or changes to an official release note label Nov 7, 2016
@hickeng
Copy link
Member

hickeng commented Nov 8, 2016

@smaithani I'm not seeing any evidence that the vApp was actually created - in fact it looks as though it was not given the errors.

@smaithani
Copy link
Author

The vApp does get created, I checked from UI

@mdubya66 mdubya66 added kind/defect Behavior that is inconsistent with what's intended component/install priority/p4 labels Feb 14, 2017
@mdubya66
Copy link
Contributor

Closing as CNR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/install kind/defect Behavior that is inconsistent with what's intended priority/p4
Projects
None yet
Development

No branches or pull requests

4 participants