View Issue Details

IDProjectCategoryView StatusLast Update
0000785bareos-corevmware pluginpublic2017-02-24 14:07
Reporterrichardfernan Assigned Tostephand  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx86_64 OSopensuse leap 42.1OS Version4.1.12-1-default
Product Version16.2.4 
Summary0000785: Caught vmodl fault : Cannot complete login due to an incorrect user name or password.
DescriptionCanot login vcenter 6, says this message:

vmware_cbt_tool.py -s 192.168.20.4 -o 443 -u administrator@vsphere.local -p 12#$VMr00t -d Cloud -f /Vms -v NFE --enablecbt
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
Caught vmodl fault : Cannot complete login due to an incorrect user name or password.


I have checking user and password, this as correct
Steps To Reproducevmware_cbt_tool.py -s 192.168.20.4 -o 443 -u administrator@vsphere.local -p 12#$VMr00t -d Cloud -f /Vms -v NFE --enablecbt
TagsNo tags attached.

Activities

stephand

stephand

2017-02-24 11:56

developer   ~0002581

Hi,

you have a dollar-sign character ($) in your password, you must use single quotes to prevent the shell from interpreting $VMr00t as a variable:

vmware_cbt_tool.py -s 192.168.20.4 -o 443 -u administrator@vsphere.local -p '12#$VMr00t' -d Cloud -f /Vms -v NFE --enablecbt

Does it work then?

Regards,

Stephan
stephand

stephand

2017-02-24 11:57

developer   ~0002582

Does it work when using single quotes around the password?
richardfernan

richardfernan

2017-02-24 13:16

reporter   ~0002583

Hello, this fix worked. The special symbol in the password stalls causing the error.

Thank you.

Issue History

Date Modified Username Field Change
2017-02-17 20:13 richardfernan New Issue
2017-02-24 11:56 stephand Note Added: 0002581
2017-02-24 11:57 stephand Note Added: 0002582
2017-02-24 11:57 stephand Assigned To => stephand
2017-02-24 11:57 stephand Status new => feedback
2017-02-24 13:16 richardfernan Note Added: 0002583
2017-02-24 13:16 richardfernan Status feedback => assigned
2017-02-24 14:07 stephand Status assigned => closed
2017-02-24 14:07 stephand Resolution open => no change required