lamw / lamw/vmware-scripts

Cannot connect to Vcenter Error: Cannot complete login due to an incorrect user name or password.

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
951
Forks
504
PR merge metrics
No merged PRs in 30d

Description

Hello after upgrading to Vsphere 6.5 the script stopped working.
I noticed the script running in my customers environment for about 3 years was outdated and got the latest version from the report

Now when I execute as below

vmwarevSphereHealthCheck.pl --server 10.10.10.10 --username ABC\myname --password Mypassword123--type vcenter --datacenter City-West --email yes

the result is

Error: Cannot complete login due to an incorrect user name or password.

I tried it against two different vcenters and got the same error about incorrect password

Is there a catch I didn't get with the input parameters ?

Thanks a million
Olivier

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the command shown for vmwarevSphereHealthCheck.pl against vSphere 6.5, checking how the --server, --username, --password, and --type vcenter parameters are handled. Compare the login behavior with the older working environment; done means the script authenticates successfully without reporting incorrect credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.