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

vSphere password with special characters still works incorrectly #180

Closed
alex-slynko opened this issue Feb 27, 2018 · 2 comments
Closed

vSphere password with special characters still works incorrectly #180

alex-slynko opened this issue Feb 27, 2018 · 2 comments
Labels

Comments

@alex-slynko
Copy link
Member

@alex-slynko alex-slynko commented Feb 27, 2018

I have my favourite password with ! and \ characters, but I can't use it with Kubo.
Pre-start script fails with the following error:

/var/vcap/packages/govc/bin/govc: ServerFaultCode: Cannot complete login due to an incorrect user name or password.

After some digging, we found out that pre-start script transforms ! character to something else.
It works much better when we changed how password is passed to the following way

GOVC_PASSWORD=$'#&;^\ !%\'Az1'

See more http://wiki.bash-hackers.org/syntax/quoting#ansi_c_like_strings

@cf-gitbot
Copy link

@cf-gitbot cf-gitbot commented Feb 27, 2018

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/155548283

The labels on this github issue will be updated when the story is started.

@SemanticallyNull
Copy link
Contributor

@SemanticallyNull SemanticallyNull commented Feb 28, 2018

What the password looks like in VSphere: #&;^\ !%'Az1

@cf-gitbot cf-gitbot added delivered and removed in progress labels Mar 1, 2018
@cf-gitbot cf-gitbot added accepted and removed delivered labels Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.