-
Notifications
You must be signed in to change notification settings - Fork 25
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
Networks don't populate if no cluster is created #423
Comments
@mdharamadas1 Can you provide the version you're using? And also screenshots if available |
https://storage.googleapis.com/vic-product-ova-builds/vic-dev-v1.4.0-dev-4372-3f7dc144.ova
|
Updated the issue with what I found after some investigation on the testbed. |
@mdharamadas1 it works if a cluster is created for the hosts in this set up? |
@jak-atx it looks from the screenshot that there's no cluster only standalone ESX? I remember that we don't want users to deploy VCHs to standalone ESX? |
@AngieCris I'm not sure, can we confirm this is a restriction? is this documented anywhere? |
And I think we disabled deploying to standalone ESX host on UI: #256 @mdharamadas1 did you select on a cluster in the wizard to deploy VCH? From the screenshot you provided there's no cluster |
@jak-atx I haven't tried on the same setup but I have another testbed having all hosts in a cluster with NFS datastore and was able to create VCH there. @AngieCris Yes, I had to select a host on UI to proceed. But these are standalone hosts without a cluster. Please see screenshot below. |
@mdharamadas1 So you don't have a cluster set up in your environment? Does the UI allow you to select a standalone host without a cluster? |
@AngieCris Yes, I tried both scenarios on UI as follows: |
@mdharamadas1 In which case did you see the failure? |
@AngieCris This issue is for 2nd case, |
@mdubya66 is p2 good for this one? |
I've been trying to reproduce the issue with no success... I have two different environments with only hosts (no clusters) and I'm able to see the portgroups during vch creation wizard if the host is added to the VDS. environment 1: environment 2 (this one has the ova and ui versions reported on the description): screenshots belongs only to environment 2: |
Finally I've been able to reproduce the issue on https://10.162.37.131 (vic-ui plugin has been disable since I'm connected to the environment with my local virgo) The issue is not related at all with the presence or not of a cluster on the environment. In this environment I have created a Cluster and it fails anyway for host named '10.161.75.158 (reboot required)' The issue is caused because for some reason, the esx hosts that are deployed contains some extra label on the name in addition to the host ip (added by the vc)...in this case '(reboot required)' -> 'xxx.xxx.xxx.xxx (reboot required)' This is causing the failing on network step of the wizard. The network step retrieves all the networks with the associated hosts/clusters and tries to match them with the selected host/cluster resource. Since the selected resource on the previous step of the wizard contains the extra string, and the hosts retrieved by the network request doesn't contains that string there are no match and the networks are not populated. I've tested a quick fix in order to populate the networks even for hosts with additional status string on the name, but the creation fails at the end anyway... (as you can see on screenshots) We can also try to change the information that we are retrieving when we select a host/cluster resource on the "compute capacity" step of the wizard in order to retrieve an objectRef or objectId instead of the resource name, but the main question here if we should do that ? Should we allow to select/create a vch on a host which status is '(reboot required)' ? Feedback is required about how to proceed in this case... |
I've created a fix that allows us to get the networks and create the VCH even when the host status is '(reboot required)' I'll create the PR to have it ready if we want to proceed. |
In the Configure Networks page of the Create VCH wizard, if vCenter Server setup does not include cluster for its hosts (only standalone hosts) and having distributed port groups, the network drop-downs does not populate and you cannot continue with the deployment of the VCH.
The text was updated successfully, but these errors were encountered: