-
Notifications
You must be signed in to change notification settings - Fork 93
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
Tag VIC appliance VM failed #1080
Comments
Workaround is to change the vCenter password. Lowering priority. |
When attaching the tags, we're sending http POST request to vSphere automation API session endpoint ( To confirm this, I wrote a separate go program that simply sends a HTTP POST request to the session endpoint of a running VC with password containing a colon. The request fails with status 401. However, testing with a VC with password not containing a colon, the POST request succeeds with status 200. I posted to bugzilla reporting this bug on vSphere automation API: https://bugzilla.eng.vmware.com/show_bug.cgi?id=2013306 |
This issue will be moved to not ready at the end of this sprint pending results of engaging with vSphere team. Once the vSphere issue is resolved we can see if this is resolved. |
Confirmed it's a bug on VAPI. Will update here once it's fixed. |
According to the VAPI team, it's fixed in VC 6.7 but still a bug for earlier builds. The VC I tested against has version 6.5. The bug is nominated to be fixed for 6.5 u2 release next year. For now let's update the documentation and specify that appliance registration will fail and the appliance VM will not be successfully tagged if the target VC has admin password that contains a colon. |
Thanks @AngieCris - I'll keep this in the release notes. If you think that it merits a mention in the core docs, I'll add a note there too. |
@stuclem Just in the release note should be fine. Thanks! |
Attempted writeup for release notes:
@andrewtchin @AngieCris is this OK? |
According to the updates in the bugzilla ticket https://bugzilla.eng.vmware.com/show_bug.cgi?id=2013306, the bug is fixed in vSphere 6.5u2 and vSphere 6.7. But for vSphere 6.5u1, the issue still exists. |
Sure the doc can call out the applicable vSphere version |
@stuclem Can you mention in the note that the issue is fixed for vSphere versions 6.5u2 and later, but still exists for earlier vSphere versions? Thanks. |
@AngieCris I don't think that we can mention that it's fixed in 6.5u2 or 6.7 as those releases are not out publicly yet. I updated the RN as follows:
Is this OK? Thanks! |
I think we can close this once the doc issues are resolved since this is not a bug in vic-product, @AngieCris let me know if you disagree |
@stuclem Thanks! Looks good to me. |
Included in release note. Close this issue. |
Fixed the RN. Thanks @AngieCris . |
@AngieCris is this fix in 1.3.1? Thanks! |
@stuclem I don't think so...If the customer uses VC 6.5u1 then the problem still exists. Do we want to add the note in 1.3.1 release notes as well? |
@AngieCris apologies for the delay in replying - this is in the RNs for 1.3.1 already, carried over from 1.3.0. |
For bug reports, please include the information below:
VIC Product version:
OVA version (e.g.
vic-v1.2.3-aaaaaaa.ova
)vic-v1.2.1-4104e5f9.ova
Deployment details:
Environment where the OVA is deployed
vSphere 6.5 environement
Steps to reproduce:
Browse to http://vic_fqdn
Register the appliance with the PSC.
Actual behavior:
Display the error message "Failed to locate VIC Appliance. Please check the vCenter Server provided and try again".
The tag is not created on the VIC appliance VM.
Expected behavior:
The tag is created.
Additional details as necessary:
The password for the SSO administrator user contains a ":" character.
This is what trigger the issue. I believe this is due to the Login function in rest_client.go.
https://github.com/sguyennet/vic-product/blob/master/installer/vendor/github.com/vmware/vic/pkg/vsphere/tags/rest_client.go
The text was updated successfully, but these errors were encountered: