Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all 24426 articles
Browse latest View live

503 Service Unavailable (Failed to connect to endpoint:

$
0
0

Error Message:

 

503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:0x000001d47454d440] _serverNamespace = /ui action = Allow _port = 5090)

error.png

 

Hello guys good evening, I was encountered this error on my host machine when accessing the vcenter server with vSphere Client (HTML5) - partial functionality, any solution or recommendation to solve my current issues on my vCenter Server 6.5 thank you guys and GOD BLESS US ALL...


SSL error when repointing to external PSC

$
0
0

Hello,

 

I've upgraded VCSA 5.5 with embeded SSO to VCSA 6.5 with embeded 6.5, I have installed a new PSC 6.5 VA to redirect my vcenters to it, by running this command on the VCSA to repoint it to the external PSC i get the following error:

 

cmsso-util reconfigure --repoint-psc psc01.abclab.local  --username administrator --domain-name vsphere.local --passwd P@ssw0rd

 

Error:

 

Falied to open connection https://psc01.abclab.local:443/websso/ Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Please check the configuration and retry

 

I use the self-signed certs, no alternatives.

PSC 6.5 SSL custom cert replacement rolls back at last stage

$
0
0

Replacing external PSC 6.5 U1 with Microsoft CA certs - they comprise of an Intermediate and Root CA.

All goes well until the very last stage where Services can't start successfully.

 

Console error will say:

Status : 85% Completed [starting services...]

Error while starting services, please see log for more details

Status : 0% Completed [Operation failed, performing automatic rollback]

 

Error while replacing Machine SSL Cert, please see /var/log/vmware/vmcad/certificate-manager.log for more information.

 

Performing rollback of Machine SSL Cert...

 

Checking the certificate-manager.log, I find that there are services that fail to start due to a timeout:

2017-10-05T05:33:28.195Z INFO certificate-manager Running command :- service-control --start  --all

2017-10-05T05:33:28.196Z INFO certificate-manager please see service-control.log for service status

Service-control failed. Error Failed to start vmon services.vmon-cli RC=1, stderr=Failed to start sca, cm, vapi-endpoint services. Error: Operation timed out

 

2017-10-05T05:41:26.324Z ERROR certificate-manager None

2017-10-05T05:41:26.325Z ERROR certificate-manager Error while starting services, please see log for more details

2017-10-05T05:41:26.325Z ERROR certificate-manager Error while replacing Machine SSL Cert, please see /var/log/vmware/vmcad/certificate-manager.log for more information.

2017-10-05T05:41:26.325Z ERROR certificate-manager {

    "resolution": null,

    "detail": [

        {

            "args": [

                "None"

            ],

            "id": "install.ciscommon.command.errinvoke",

            "localized": "An error occurred while invoking external command : 'None'",

            "translatable": "An error occurred while invoking external command : '%(0)s'"

        },

        "Error while starting services, please see log for more details"

    ],

    "componentKey": null,

    "problemId": null

}

2017-10-05T05:41:26.326Z INFO certificate-manager Performing rollback of Machine SSL Cert...

 

 

There was a KB with something similar but this isn't an error while publishing cert using dir-cli.

Anyone seen this before?

VMware vCenter 6.5 U1C Memory Problem cloudvm-ram-size -S

$
0
0

Hello Community,

 

We had the issue, that some vmware services stops working with an java error (vmware-vpxd-svcs, vsphere-client, vsphere-ui(HTML5 stops with java error , vmware-content-library thats all))

 

The error is

root@HOSTNAME [ /var/log/vmware/vpxd-svcs ]# cat vpxd-svcs-runtime.log-1.stderr

Starting service process with pid: 8733.

Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007e0180000, 204996608, 0) failed; error='Cannot allocate memory' (errno=12)

 

same error for all Services.

 

When I run free -m there is enough space and we have 24 GB RAM for 4 Hosts so much more then recommended:

free -m

              total        used        free      shared  buff/cache   available

Mem:          24102       12192        6040         486        5869       11165

Swap:             0           0           0

 

When I run the

cloudvm-ram-size -S

Service-Name            AllocatedMB     MaxMB CurrentMB  Curr-RSS    Cache  MapFiles   MemoryLimit

-.mount                          -1        -1        -1        -1       -1        -1            -1

LinuxKernel                      -1     16462     16954         0      586         5 8796093022207

applmgmt                        255      4166      3983      3965       17         0 8796093022207

auditd                           -1         5         4         0        4         0 8796093022207

boot.mount                       -1        -1        -1        -1       -1        -1            -1

 

you see that there are 17 GB in the Linux Kernel Line. Thats wrong in ps -aux and free -m there is 12 GB used overall so that must be a bug..

last line of cloudvm-ram-size :

 

TOTAL(RAM=24102MB)         6675 32922 33318 11948 5424   755 8796093022207

So the kernel uses more ram than it actualy have ?

 

After a reboot of the server ever<ything is running for 2-5 days then the problem is back.

 

Anyone know how to fix this java cannot allocate memory issue ?

 

Greetings

Unable to authenticate to vSphere API using SOAPUI

$
0
0

Hello,

 

I am trying to use the vSphere web services api using SOAPUI, but I am unable to receive a successful response. Is there any special configuration I must do on the ESXi to allow the use of the API?

 

the ESXi I have deployed is version 6.0 u2.

So far, I succeeded in making a connection to the endpoint:

https://10.1.1.3/sdk/vimService

which successfully loaded all the wsdls. Now I am trying to use the method QueryEvents but I get the error:

         <faultcode>ServerFaultCode</faultcode>

         <faultstring>The session is not authenticated.</faultstring>

 

I read on the community and other forums so I tried to authenticate using the 'Login' method but still get the same error, so I am unable to establish a session to the API.

This is the Login request I send:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:vim25">   <soapenv:Header/>   <soapenv:Body>      <urn:Login>         <urn:_this type="SessionManager">SessionManager</urn:_this>         <urn:userName>root</urn:userName>         <urn:password>pass</urn:password>         <!--Optional:-->         <urn:locale>en</urn:locale>      </urn:Login>   </soapenv:Body></soapenv:Envelope>

 

and the response I get is:

<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <soapenv:Body>      <soapenv:Fault>         <faultcode>ServerFaultCode</faultcode>         <faultstring>The session is not authenticated.</faultstring>         <detail>            <NotAuthenticatedFault xsi:type="NotAuthenticated" xmlns="urn:vim25">               <object type="SessionManager">SessionManager</object>               <privilegeId>System.View</privilegeId>            </NotAuthenticatedFault>         </detail>      </soapenv:Fault>   </soapenv:Body></soapenv:Envelope>

 

I tried running methods from the JMX at:

https://10.1.1.3/mob/?moid=ha-eventmgr

and it is working.

Bu nothing worked through SOAPUI, I even tried reinstalling the ESXi and I still can't get the session cookie. What is needed in order to be able to send SOAP requests to the API?

 

Thanks,

Lyubo

A Bug in VAPI vcenter 6.5

$
0
0

Hi Team,

 

I saw a bug while installing vmware vcenter 6.5 on my server.

 

 

Please find attached screenshot and logs. Kindly help me to solve issue asap?.

 

Thanks,

Ashokkumar

how many sockets for trial

$
0
0

hi guys, does anyone know the 60 day trial for vsphere for how many sockets are ??

use dvs without shared storage

$
0
0

Dear all

Hi

 

i don't have any shared storage and i have 3 esxi host and all of my data is on each esxi local disks and add all of them to a vCenter now want to know in this mode can i use DVS or for use DVS had to shared storage and all of vms had to put on shared storage ??

 

BR


BlockLevelVolumeCloneMgr::ReadAndSkipBadBlocks(): Error (type: 2, code: 21)

$
0
0

Hi all,

 

The error occurred every time during conversions, hoping someone has some more experience.

 

Source windows server 2008 64bit

Converter 6.1

ESX 6.0

 

I start conversion and fails at 35% with error:

 

2017-11-21T02:27:56.877+08:00 error vmware-converter-agent[05728] [Originator@6876 sub=task-3] BlockLevelVolumeCloneMgr::ReadAndSkipBadBlocks(): Error (type: 2, code: 21) reading 655360 bytes starting at 0x0000002d11ee0000 from the source volume D:

2017-11-21T02:27:56.877+08:00 error vmware-converter-agent[05728] [Originator@6876 sub=task-3] BlockLevelVolumeCloneMgr::ReadAndSkipBadBlocks(): Unrecoverable error (type: 2, code: 21) reading 655360 bytes starting from 0x0000002d11ee0000 from the source volume D:

2017-11-21T02:27:56.877+08:00 error vmware-converter-agent[05728] [Originator@6876 sub=task-3] BlockLevelVolumeCloneMgr::CloneVolume: failed with exception converter.fault.FileIOFault

2017-11-21T02:27:57.084+08:00 info vmware-converter-agent[45968] [Originator@6876 sub=task-3] CircularBuffer::GetItem: work cancelled

2017-11-21T02:27:57.084+08:00 info vmware-converter-agent[45968] [Originator@6876 sub=task-3] BackgroundWriter::ThreadFunc: Broadcasting "ThreadDone" condition.

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[45968] [Originator@6876 sub=ThreadPool] Thread delisted

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.085+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.086+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] BackgroundWriter::~BackgroundWriter: Emptying CircularBuffer with abort conditions

2017-11-21T02:27:57.087+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] [StreamCacheWriter] - TotalZeros : 0, TotalWrites : 288323

-->

2017-11-21T02:27:57.087+08:00 error vmware-converter-agent[05728] [Originator@6876 sub=task-3] SingleVolumeCloneTask::DoRun: Volume cloning failed with error converter.fault.FileIOFault

2017-11-21T02:27:57.087+08:00 error vmware-converter-agent[05728] [Originator@6876 sub=task-3] TaskImpl has failed with MethodFault::Exception: converter.fault.CloneFault

2017-11-21T02:27:57.087+08:00 info vmware-converter-agent[05728] [Originator@6876 sub=task-3] SingleVolumeCloneTask [source computer (unknown name)]-\WindowsBitmapDriverVolumeId=[E7-92-FF-83-00-00-10-00-00-00-00-00] --> [target VM (unknown name)]-7.2)?/3(0000010000000000 updates, state: 4, percentage: 30, xfer rate (Bps): 4258464

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] CompositeTask canceling #3 subtasks

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] TaskImpl issuing Cancel command

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] SingleVolumeCloneTask [source computer (unknown name)]-\WindowsBitmapDriverVolumeId=[CD-0C-29-C5-00-00-10-00-00-00-00-00] --> [target VM (unknown name)]-=,<0925,0000010000000000 updates, state: 3, percentage: 100, xfer rate (Bps): 6051642

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] TaskImpl issuing Cancel command

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] SingleVolumeCloneTask [source computer (unknown name)]-\WindowsBitmapDriverVolumeId=[CD-0C-29-C5-00-00-50-06-00-00-00-00] --> [target VM (unknown name)]-=,<0925,0000028000000000 updates, state: 3, percentage: 100, xfer rate (Bps): 4494524

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] TaskImpl issuing Cancel command

2017-11-21T02:27:57.622+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] SingleVolumeCloneTask [source computer (unknown name)]-\WindowsBitmapDriverVolumeId=[E7-92-FF-83-00-00-10-00-00-00-00-00] --> [target VM (unknown name)]-7.2)?/3(0000010000000000 updates, state: 4, percentage: 30, xfer rate (Bps): 4258464

2017-11-21T02:27:57.660+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] VolumeBasedCloneTask source computer (unknown name) --> target VM (unknown name) updates, state: 4, percentage: 35, xfer rate (Bps): 4258464

2017-11-21T02:27:57.660+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] VolumeBasedCloneTask failed

2017-11-21T02:27:57.660+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] CloneTask updates, state: 4, percentage: 35, xfer rate (Bps): 4258464

2017-11-21T02:27:57.660+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] CloneTask failed

2017-11-21T02:27:57.660+08:00 error vmware-converter-agent[48992] [Originator@6876 sub=Default] Task failed:

2017-11-21T02:27:57.874+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=task-3] Scheduled timer canceled, StopKeepAlive succeeds

2017-11-21T02:27:57.874+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=Default] Task Completed : task-3

2017-11-21T02:27:57.875+08:00 info vmware-converter-agent[48992] [Originator@6876 sub=ThreadPool] Thread delisted

vMotion not showing available hosts

$
0
0

I've just completed an upgrade from 3 x ESXi 5.0 hosts and a vCenter 5.1 appliance (Essentials Plus) to ESXi 6.0.5050593 and VCSA 6.5.5973321. This is a fully supported VMware setup. I upgraded the licenses and applied them to the new setup ok.

 

One very strange observation is that when I try and vmotion a VM to another host, if I select 'Change compute resource only', invariably the only destination host I'll see is the host the VM is currently running on - no other cluster hosts will show. If though, I select 'Change both compute resource and storage', I can expand the cluster and see all hosts. This method of migrating the VM will work, but I have to 'fake' a datastore change selection.

 

Things I've verified are;

 

It happens in both the Flash and HTML UI's.

Sometimes I will see all the migration hosts, but not all the time and very inconsistently

The message pre-migration will always show 'Compatability checks succeeded'.

 

I thought initially it was out of date VMware Tools, and it certainly looked more promising when tools was updated to 10.0.9 (build 10249), but then it all seemed to revert back and the same things happen. Is this a bug? I know I'm not running the latest ESXi version, or even the latest build of ESXi 6.0, but I'm not quite ready for that yet. It never happened in 5.x.

 

Ideas?

 

Thanks

Problem migrate PSC embedded to external PSC - Certificate problem SSL 6.5U1 - HELP!!!!!

$
0
0

HI

 

I have a "VCENTER" which updates from 6.0U3 to 6.5U1, all right, now I need to outsource the PSC to a new one which is already connected to an SSO domain, I fulfill the requirement that it be the same domain "vsphere.local" and the same SITE, the problem is that it does not try to do anything since there is a problem with the certificate which I could not resolve.

 

root@vcenter [ ~ ]# cmsso-util reconfigure --repoint-psc psc-01.example.com --username Administrator --domain-name vsphere.local --passwd "example"

Validating Provided Configuration ...

Falied to open connection https://psc01.example.com:443/websso/ Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>

 

Disign:

Selection_021.png

Error when i try a openssl , in mi other vcenter i try the same and work fine

 

root@vcenter [ /usr/lib/vmware-vmafd/bin ]# openssl s_client -connect psc-01.example.com:443

CONNECTED(00000003)

depth=0 CN = psc-01.example.com, C = US

verify error:num=20:unable to get local issuer certificate

verify return:1

depth=0 CN = psc-01.example.com, C = US

verify error:num=21:unable to verify the first certificate

verify return:1

---

Certificate chain

0 s:/CN=psc-01.example.com/C=US

   i:/CN=CA/DC=vsphere/DC=local/C=US/ST=California/O=psc-01.example.com/OU=VMware Engineering

---

Server certificate

-----BEGIN CERTIFICATE-----

MIID2TCCAsGgAwIBAgIJAMHHZhUAmSR6MA0GCSqGSIb3DQEBCwUAMIGlMQswCQYD

VQQDDAJDQTEXMBUGCgmSJomT8ixkARkWB3ZzcGhlcmUxFTATBgoJkiaJk/IsZAEZ

FgVsb2NhbDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExJzAlBgNV

BAoMHnZjYXBwcHJkcHNjLmN5dC5jb25jaGF5dG9yby5jbDEbMBkGA1UECwwSVk13

YXJlIEVuZ2luZWVyaW5nMB4XDTE3MTIwMTE3NTExMVoXDTI3MTEyNjE3NTExMVow

NjEnMCUGA1UEAwwedmNhcHBwcmRwc2MuY3l0LmNvbmNoYXl0b3JvLmNsMQswCQYD

VQQGEwJVUzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJseMJySBSCx

+9cHt0MG27OaA0oLZ8GN/Yn3Mr0MyfIzrgL3wo7DGww3kRvD+k1g2TVHYi8fojY7

rdMkr/IrmgcY+9VxaNVBWub5A2aVZgffbRYpOprFRs8aKSlb6ltbsJ7u5beHAz0A

wFBdXs3ei8hJhUcD8tO0Y49zOhrXxGncVjeSmsIMo4yz/9DSWM/Cp7GXnaNyRUe7

xFsU/cz5O7eH0jJMYUVziLaQqeN5SEFLFi931PV7mA+LnIxJ6i5iTSw8aK5YmgMr

6BqhtAlAABe9x8KAzgvJL9TcZR6DN/96RKL/c6VRWD9wjUi9qJ/7XSi6YLHLjTjV

uNRzuxeBpbECAwEAAaN6MHgwCwYDVR0PBAQDAgOoMCkGA1UdEQQiMCCCHnZjYXBw

cHJkcHNjLmN5dC5jb25jaGF5dG9yby5jbDAdBgNVHQ4EFgQU2KrlhwvzB9dNIbFB

HV8vka4ZEoQwHwYDVR0jBBgwFoAUKDE+vN0gyUrVW6utKc7t/bHFvP0wDQYJKoZI

hvcNAQELBQADggEBAC+gNpaPWFNAXc3boyhziJX4zd9YCJTVddilrRzCaJ4Kgr8s

kR9mKP5c1fDzZKsdEWVIKfoAyTcVgVwW5uYQbqngaJglSD8jsYwbVDEkQyQQ15tx

VHKRXKcB4ujB8MF48D/R7syRAjojqV8kJk/TOnzLTSO7atiH2VcL0jJAgY9G//pO

dTN3fjd1BOSw9BjknCeCfiOFBxTALWYM0fMzvxx3mlkMyowFntzF4bhQo/kS0QiK

MStDpT/RLIUfh0MHwPzrhl1saumpvDy06LFO5C4B/ms3VfDr4pJuICdfQxvFU23E

dMngxvcuYsJxflwvkcEbyxuSvNywicGxY0stZnY=

-----END CERTIFICATE-----

subject=/CN=psc-01.example.com/C=US

issuer=/CN=CA/DC=vsphere/DC=local/C=US/ST=California/O=psc-01.example.com/OU=VMware Engineering

---

No client certificate CA names sent

Peer signing digest: SHA512

Server Temp Key: ECDH, P-256, 256 bits

---

SSL handshake has read 1469 bytes and written 433 bytes

---

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384

Server public key is 2048 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

No ALPN negotiated

SSL-Session:

    Protocol  : TLSv1.2

    Cipher    : ECDHE-RSA-AES256-GCM-SHA384

    Session-ID:

    Session-ID-ctx:

    Master-Key: B1BCCCAA8CF4244D1F84A751EF621AFF07730276988A6033DBF828D8B0C9F441A39B1FA64F8059E545BE0179918EA0B4

    Key-Arg   : None

    PSK identity: None

    PSK identity hint: None

    SRP username: None

    Start Time: 1512420236

    Timeout   : 300 (sec)

    Verify return code: 21 (unable to verify the first certificate)

Invalid performance metrics

$
0
0

We've just recently completed migrating our infrastructure to a new cluster of Dell R740 servers running ESXi 6.5 6765664 (Dell Customized). We use PowerShell to send vCenter performance metrics to Graphite and review the data using Grafana. Shortly after migrating servers we began to notice that invalid performance metrics were appearing in Graphite. In some cases our datastore read and write latency was greater than "1 day" and in some cases "1 year". I checked the time on the ESXi servers and everything appears to be in order. The issue is occurring on multiple ESXi hosts.

 

There's no impact to production but it does completely skew our performance metrics when trying to compare our performance gains after migrating to the new servers. It's also triggered a couple bogus datastore latency alerts (but none in the past couple of days). I'm concerned it could be skewing all performance metrics.

 

I've attached a couple screenshots from vCenter and Grafana - see for yourself.

 

Previous 24 hours (vCenter):

SkewedPerformanceMetrics1.png

 

Previous 7 days (Grafana/Graphite)

SkewedPerformanceMetrics2.png

 

Any suggestions would be greatly appreciated.

Redhat cluster fencing agent not getting response from vCenter for some time.

$
0
0

Hi,

 

Recently I am facing an issue like, Redhat cluster component fencing agent which configured with vCenter had not get response from vCenter.

when analyzed the logs from Redhat end they only found like fence agent not getting response from vCenter end.

 

Can you anyone please help me, which log I need to analyze for this in vCenter and where is the actual  vmware-vpx/vpxd.log has been placed in vCenter 6.5 U1.

 

Thanks in advance.

Vcenter 6, problem with AD. "Error while extracting local SSO users"

$
0
0

I have just finished installing Vcenter 6 appliance, everything went well and I joined the appliance to the domain via the web client, administration, system configuration, nodes - manage.  That worked and I rebooted the appliance, then I added the AD as an identity source which also completed without errors.  But when I goto users and groups and select my domain to list users it wont list i just receive this error "Error while extracting local SSO users".


Any ideas how to resolve this, I have gone through the documentation several times to find what i missed but i've followed all the instruction as to join to the domain and add as identity source but it just wont list the users from the domain.


What is the SSO user?  Also I am using a domain account with Domain admin priviliges when joining the domain and adding the identity source.


Thanks


John Kenny

VCSA 6.5 HA died. How to get HA working again?

$
0
0

Hello,

 

One thing i've noticed about VCSA 6.5 HA setup's is that most of the HA setups stop working after a while. Some run fine for weeks before trouble starts. Some run fine for months before getting into trouble.

I've setup a whole bunch of installations by now, using version 6.5 for the last 5 or so. And only 1 setup is still running in HA mode without problems today. All others have withered away over time.

 

In some cases, it starts with Postgres not syncing anymore.

In other cases, postgres sync works fine but everything rsync based stops working (message that the appliance config, state and sqlite db are out of sync)

In other cases, the peer node went offline and never comes back, despite being rebooted.

 

Those are the main 3 categories of HA problems that I see in the field. At the moment i've stopped recommending using VCSA 6.5 HA mode all together.

 

As I can find little information on actual troubleshooting, besides trying stuff like manually starting postgres and other things are like reboots that rarely work, can somebody point me to good sources of information. I cannot find blogs or relevant KB articles. I cannot imagine me, or my customers, being the only ones with these issues though.

 

I want to learn how to troubleshoot HA issues myself as VMware support is not very helpful. You get some 1-level guy on the phone, that only ever collects logs and the HA setup is down for weeks, ending with the advice to simply destroy the peer and witness nodes and start over. I've become used to doing "destroy-ha" on the active node and starting fresh...

It's always a replication issue. The active node is fine. No disk-full issues or anything. Replication just stops.

 

At the moment, I have two separate installations (one was installed 3 months ago, the other is about 7 weeks old) with the exact same problem where vCenter itself works fine, all Nodes are up, but both say "PostgreSQL replication is not in progress. Verify if PostgreSQL server is running on the Passive node and that the Passive node is reachable on the vCenter HA network."

Also, the other 3 replication items config, state and sqllite are all out of sync. Rebooting the passive appliance or disabling en re-enabling HA has no effect at all. Disk-space is not an issue.

 

If I go on the commandline of the passive node, I see that only "vmware-statsmonitor, vmware-vcha and vmware-vmon" are running. The service "vmware-vpostgres" is not running and will not start either (service is masked error).

 

Concrete questions:  if, like in the example above, Postgres sync stops working:  how to get it back up running again?  Same for the other 3 sync-relationships "State, config & sqllite DB". Is there any documentation?


p2v migration failed at 95% with below errors for physical Ubuntu 12 server

$
0
0

Hi, we tried to do p2v migration with vmware converter 6.1.1 for physical Ubuntu 12.04 server, but it is failing at 95% with below errors, we did couple of other p2v migration and that went well. This on got stuck at below errors. Bottom left window showing.. Error: Unable to clone the volume mounted on '/' from 'ip_address_of_source_server';

Bottom left window showed below errors..

 

FAILED: An error occurred during the conversion: 'tar: ./tmp/.winbindd/pipe: socket ignored /bin/tar_1.28: ./home/jigsaw/site_monitor/jmineops.log: invalid sparse archive member tar: ./home/jigsaw/site_monitor/jmineops.log: file changed as we read it tar: ./var/lib/postgresql/9.1/main/base/16385/136308: file changed as we read it tar: ./var/lib/postgresql/9.1/main/base/16385/136299.1: file changed as we read it tar: ./var/lib/postgresql/9.1/main/base/16385/136371: 

.. ... .... a lot of similar type error...... .....

File removed before we read it tar: ./var/lib/postgresql/9.1/main/base/16385: file changed as we read it /bin/tar_1.28:
Exiting with failure status due to previous errors /usr/lib/vmware-converter/bin/ssh -z -F /usr/lib/vmware-converter/ssh.conf root@ip-of_source_server  -p 22 " tar --one-file-system --sparse -C '/' -cf - ." | /bin/tar_1.28 --numeric-owner --delay-directory-restore -C '/mnt/p2v-src-root/' -y -xf - (return code 2)'

 

 

Looks like it is something related with tar conversion,  not sure though.

 

Need helps to fix this issue.  Any help is highly appreciated.

vCenter 6.0 - high CPU usage!

$
0
0

Hello!

 

When we was on vCenter 5.5 its CPU consumption chart was nearly flat when idle and was about ~400-500 Mhz max.

Now we have this when upgraded to vCenter 6:

vCenter6 CPU.PNG

 

High peaks every 5 minutes - some "java.exe" process from SYSTEM account suddenly pops out, use several CPU cores and then disappears. It shows 3 times, and use 40-100 Mb each time.

After another 5 minutes it is repeated.

The host is ESXi 5.5 and the vCenter VM is the only VM on that host. vCenter is completly idle for hours - no vMotions, etc.

 

How to find out which vmware service exactly uses the CPU? Maybe it is possible to disable it, or somehow restrict it.

 

Thank you!

vSphere 6.0 U3 Custom Certificates instalation error: Previous Machine_SSL_CERT Subject alternative name does not match new Machine_SSL_Certificate Subject alternative name

$
0
0

We have setup a testing environment to perform an upgrade from vSphere 5.5 to 6.0 U3

Have updated one vcenter from 5.5 to 6.0 U3 and try to test custom certificates. All infrastructure servers are installed on Windows 2008 R2 Standard (Vcenter, AD/CA, SQL)

Tried to follow this article Replacing a vSphere 6.x Machine SSL certificate with a Custom Certificate Authority Signed Certificate (2112277) | VMwar…

 

We have created certificates template using this article as guide Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 6.0 (2112009) | VMware KB

Creating a new template for vSphere 6.0 to use for Machine SSL and Solution User certificates

    Connecting to the CA server, you will be generating the certificates from through an RDP session.

    Click Start > Run, type certtmpl.msc, and click OK.

    In the Certificate Template Console, under Template Display Name, right-click Web Server and click Duplicate Template.

    In the Duplicate Template window, select Windows Server 2003 Enterprise for backward compatibility.

    Note: If you have an encryption level higher than SHA1, select Windows Server 2008 Enterprise.

    Click the General tab.

    In the Template display name field, enter vSphere 6.0 as the name of the new template.

    Click the Extensions tab.

    Select Application Policies and click Edit.

    Select Server Authentication and click Remove, then OK.

    Note: If Client Authentication exists, remove this from Application Policies as well.

    Select Key Usage and click Edit.

    Select the Signature is proof of origin (nonrepudiation) option. Leave all other options as default.

    Click OK.

    Click the Subject Name tab.

    Ensure that the Supply in the request option is selected.

    Click OK to save the template.

    Proceed to Adding a new template to certificate templates section in the article to make the newly created certificate template available.

 

On Vcenter server 6.0U3   (Embeded PSC) we run the certificat manager tool to generate CRS records, we have used option 1 and 5 as our goal is to use custom certificates.

We followed this article to get certificates from Microsoft CA  Obtaining vSphere certificates from a Microsoft Certificate Authority (2112014) | VMware KB

Note: this is a simple lab environment so there is no intermediate CA only the root one on  Windows 2008R2

 

We copied certificates to the new vcenter and tried to import Machine SSL certificate and got the above error

Previous Machine_SSL_CERT Subject alternative name does not match new Machine_SSL_Certificate Subject alternative name

 

We tried to use san:dns=fqdn..... using attributes box from CA to specify a unique SAN but got same error

 

Have attached the certtool.cfg file and certificate manager log.  Any help would be appreciated

Disappearing Uplinks After Hosts Added To dVS

$
0
0

I added 2 hosts to a dVS (ESXi 6.5), the hosts were then rebooted. I then go check and noticed that no uplinks have appeared and the dVS is out of sync. I did a rectify but nothing. I also tried to remove the hosts and re-add them back to the dVS, but no luck. Any ideas?

 

Thanks

vCenter 6 Inventory Service Not Starting

$
0
0

Hello, we ran into the issue of the root volume running out of disk space due to very large log files the other day. I manged to clear up the space but I had to hard crash and reboot the vCenter virtual appliance in the process.

 

The system is back up and working, except vCenter is not starting up.

 

The issue I am running into is the vmware-invsvc and vmware-vpxd service will not start.

 

 

Starting VMware Inventory Service...

Waiting for VMware Inventory Service................................................

WARNING: VMware Inventory Service may have failed to start.

 

error logs from /var/log/vmware/invsvc/wrapper.log

 

STATUS | wrapper  | 2017/09/25 19:30:51 |

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command line[0] : /usr/sbin/cloudvm-ram-size

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command line[1] : -J

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command line[2] : vmware-invsvc

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command line[3] : -O

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command line[4] : /etc/vmware/java/vmware-invsvc_jvm.conf

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command launched (pid: 4360), blocking for up to 3600 seconds...

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command completed with exit code: 0

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'wrapper_start': Command completed with exit code: 0  Continuing.

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command line[0] : ln

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command line[1] : -f

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command line[2] : /usr/java/jre-vmware/bin/java

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command line[3] : /usr/java/jre-vmware/bin/vmware-invsvc

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command launched (pid: 4363), blocking for up to 15 seconds...

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command completed with exit code: 0

INFO  | wrapper  | 2017/09/25 19:30:51 | Event Command 'jvm_prelaunch': Command completed with exit code: 0  Continuing.

STATUS | wrapper  | 2017/09/25 19:30:51 | Launching a JVM...

INFO  | jvm 1    | 2017/09/25 19:30:52 | Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M

INFO  | jvm 1    | 2017/09/25 19:30:52 | WrapperManager: Initializing...

STATUS | wrapper  | 2017/09/25 19:31:44 | <-- Wrapper Stopped

STATUS | wrapper  | 2017/09/25 20:39:14 | --> Wrapper Started as Daemon

STATUS | wrapper  | 2017/09/25 20:39:14 | Java Service Wrapper Professional Edition 64-bit 3.5.24

STATUS | wrapper  | 2017/09/25 20:39:14 |  Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.

STATUS | wrapper  | 2017/09/25 20:39:14 |    http://wrapper.tanukisoftware.com

STATUS | wrapper  | 2017/09/25 20:39:14 |  Licensed to VMware Global, Inc. for VMware vCenter Inventory Service

STATUS | wrapper  | 2017/09/25 20:39:14 |

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command line[0] : /usr/sbin/cloudvm-ram-size

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command line[1] : -J

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command line[2] : vmware-invsvc

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command line[3] : -O

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command line[4] : /etc/vmware/java/vmware-invsvc_jvm.conf

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command launched (pid: 26295), blocking for up to 3600 seconds...

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command completed with exit code: 0

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'wrapper_start': Command completed with exit code: 0  Continuing.

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command line[0] : ln

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command line[1] : -f

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command line[2] : /usr/java/jre-vmware/bin/java

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command line[3] : /usr/java/jre-vmware/bin/vmware-invsvc

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command launched (pid: 26298), blocking for up to 15 seconds...

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command completed with exit code: 0

INFO  | wrapper  | 2017/09/25 20:39:14 | Event Command 'jvm_prelaunch': Command completed with exit code: 0  Continuing.

STATUS | wrapper  | 2017/09/25 20:39:14 | Launching a JVM...

INFO  | jvm 1    | 2017/09/25 20:39:14 | Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M

INFO  | jvm 1    | 2017/09/25 20:39:15 | WrapperManager: Initializing...

STATUS | wrapper  | 2017/09/25 20:39:59 | <-- Wrapper Stopped

 

vcenter:/var/log/vmware/invsvc # cat vmware-invsvc-gc.log.0

2017-09-25T20:39:17.314+0000: 2.794: [GC2017-09-25T20:39:17.330+0000: 2.810: [SoftReference, 0 refs, 0.0003020 secs]2017-09-25T20:39:17.330+0000: 2.810: [WeakReference, 1097 refs, 0.0002410 secs]2017-09-25T20:39:17.330+0000: 2.810: [FinalReference, 3318 refs, 0.0055650 secs]2017-09-25T20:39:17.336+0000: 2.816: [PhantomReference, 1 refs, 0.0001440 secs]2017-09-25T20:39:17.336+0000: 2.816: [JNI Weak Reference, 0.0000230 secs] [PSYoungGen: 132096K->11180K(153600K)] 132096K->11188K(503296K), 0.0236970 secs] [Times: user=0.04 sys=0.02, real=0.02 secs]

2017-09-25T20:39:18.798+0000: 4.278: [GC2017-09-25T20:39:18.815+0000: 4.295: [SoftReference, 0 refs, 0.0004490 secs]2017-09-25T20:39:18.815+0000: 4.295: [WeakReference, 1055 refs, 0.0003090 secs]2017-09-25T20:39:18.816+0000: 4.296: [FinalReference, 4585 refs, 0.0044610 secs]2017-09-25T20:39:18.820+0000: 4.300: [PhantomReference, 0 refs, 0.0001230 secs]2017-09-25T20:39:18.820+0000: 4.300: [JNI Weak Reference, 0.0000170 secs] [PSYoungGen: 143276K->12052K(153600K)] 143284K->12132K(503296K), 0.0246030 secs] [Times: user=0.05 sys=0.02, real=0.03 secs]

2017-09-25T20:39:20.235+0000: 5.715: [GC2017-09-25T20:39:20.259+0000: 5.739: [SoftReference, 0 refs, 0.0002660 secs]2017-09-25T20:39:20.259+0000: 5.739: [WeakReference, 1058 refs, 0.0002230 secs]2017-09-25T20:39:20.259+0000: 5.739: [FinalReference, 3120 refs, 0.0037950 secs]2017-09-25T20:39:20.263+0000: 5.743: [PhantomReference, 0 refs, 0.0002100 secs]2017-09-25T20:39:20.263+0000: 5.743: [JNI Weak Reference, 0.0000430 secs] [PSYoungGen: 144148K->17825K(153600K)] 144228K->17913K(503296K), 0.0303560 secs] [Times: user=0.07 sys=0.01, real=0.03 secs]

2017-09-25T20:39:21.371+0000: 6.851: [GC2017-09-25T20:39:21.426+0000: 6.906: [SoftReference, 0 refs, 0.0006670 secs]2017-09-25T20:39:21.427+0000: 6.907: [WeakReference, 1061 refs, 0.0004830 secs]2017-09-25T20:39:21.427+0000: 6.907: [FinalReference, 3052 refs, 0.0066890 secs]2017-09-25T20:39:21.434+0000: 6.914: [PhantomReference, 0 refs, 0.0001320 secs]2017-09-25T20:39:21.434+0000: 6.914: [JNI Weak Reference, 0.0000100 secs] [PSYoungGen: 149921K->21495K(285696K)] 150009K->30004K(635392K), 0.0658520 secs] [Times: user=0.16 sys=0.02, real=0.07 secs]

2017-09-25T20:39:23.395+0000: 8.875: [GC2017-09-25T20:39:23.498+0000: 8.978: [SoftReference, 0 refs, 0.0004150 secs]2017-09-25T20:39:23.499+0000: 8.979: [WeakReference, 0 refs, 0.0001070 secs]2017-09-25T20:39:23.499+0000: 8.979: [FinalReference, 0 refs, 0.0001230 secs]2017-09-25T20:39:23.499+0000: 8.979: [PhantomReference, 0 refs, 0.0001010 secs]2017-09-25T20:39:23.499+0000: 8.979: [JNI Weak Reference, 0.0000170 secs] [PSYoungGen: 285687K->21504K(285696K)] 294196K->53238K(635392K), 0.1084870 secs] [Times: user=0.21 sys=0.10, real=0.11 secs]

Heap

PSYoungGen      total 285696K, used 171249K [0x00000007b8800000, 0x00000007de700000, 0x0000000800000000)

  eden space 264192K, 56% used [0x00000007b8800000,0x00000007c1a3c790,0x00000007c8a00000)

  from space 21504K, 100% used [0x00000007c8a00000,0x00000007c9f00000,0x00000007c9f00000)

  to  space 46592K, 0% used [0x00000007db980000,0x00000007db980000,0x00000007de700000)

ParOldGen      total 349696K, used 31734K [0x0000000729800000, 0x000000073ed80000, 0x00000007b8800000)

  object space 349696K, 9% used [0x0000000729800000,0x000000072b6fdad8,0x000000073ed80000)

PSPermGen      total 58368K, used 58223K [0x0000000719800000, 0x000000071d100000, 0x0000000729800000)

  object space 58368K, 99% used [0x0000000719800000,0x000000071d0dbc08,0x000000071d100000)

 

 

error log from inv-svc.log indicated LDAP error.

 

; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.query.server.accesscontrol.impl.Lo                                                                              tusInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com.vmware.identity.interop.ldap.InvalidCredentialsLdapException:                                                                                Invalid credentials

LDAP error [code: 49]

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 65 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memCache' defined in class path resource [server/config/secu                                                                              rity-config.xml]: Cannot resolve reference to bean 'globalAclLotusCache' while setting bean property 'globalAclLotusCache'; nested exception is org.springframe                                                                              work.beans.factory.BeanCreationException: Error creating bean with name 'aclLotusInitializer' defined in class path resource [server/config/authorization-confi                                                                              g.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vi                                                                              m.query.server.accesscontrol.impl.LotusInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com.vmware.identity.interop.l                                                                              dap.InvalidCredentialsLdapException: Invalid credentials

LDAP error [code: 49]

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 75 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclLotusInitializer' defined in class path resource [server/                                                                              config/authorization-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate                                                                                bean class [com.vmware.vim.query.server.accesscontrol.impl.LotusInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com                                                                              .vmware.identity.interop.ldap.InvalidCredentialsLdapException: Invalid credentials

LDAP error [code: 49]

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:286)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 85 more

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.query.server.accesscontrol.impl.LotusInitiali                                                                              zer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com.vmware.identity.interop.ldap.InvalidCredentialsLdapException: Invalid cr                                                                              edentials

LDAP error [code: 49]

        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)

        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:105)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)

        ... 96 more

Caused by: java.lang.RuntimeException: com.vmware.identity.interop.ldap.InvalidCredentialsLdapException: Invalid credentials

LDAP error [code: 49]

        at com.vmware.cis.lotus.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:142)

        at com.vmware.vim.query.server.accesscontrol.impl.LotusInitializer.<init>(LotusInitializer.java:26)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)

        ... 98 more

 

I tried resetting the the password using /usr/lib/vmware-vmdir/bin/vdcadmintool

 

and that did not fix it.

 

any help or advise appreciated.

Viewing all 24426 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>