Article ID: 113047, created on Dec 23, 2011, last review on Oct 3, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

Virtuozzo Containers for Linux, Virtuozzo Containers for Windows or Virtuozzo hypervisor node with VA Agent installed cannot be registered in VA Management Node, OBAS or OA:

System errors : Authentication error: invalid credentials

The same error is observed when one tries to send XML API packet locally:

[root@vcnode ~]# ./pvaapi.pl -name=root -password='password!' -host='127.0.0.1' -packet='<packet version="4.0.0"><data><system><get_version/></system></data></packet>
 <packet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="0" priority="0" version="4.5.0">
 <origin>vzclient84-ca99141e-6489-0645-b094-86b98f454557</origin>
 <target>agent</target>
 <data>
 <ok/>
 <eid>ca99141e-6489-0645-b094-86b98f454557</eid>
 </data>
 </packet>

 <packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="1" priority="0" version="4.0.0">
 <ns1:origin>system</ns1:origin>
 <ns1:target>vzclient84-ca99141e-6489-0645-b094-86b98f454557</ns1:target>
 <ns1:data>
 <ns1:system>
 <ns1:error>
 <ns1:code>404</ns1:code>
 <ns1:message>System errors : Authentication error: invalid credentials</ns1:message>
 </ns1:error>
 </ns1:system>
 </ns1:data>
 </packet>

`

Cause

If the credentials are valid, then most likely the password length can be even divisible by 3: 6, 9, 12 characters and so on. Hence, the base64-encoded password does not have '=' at the end and the authentication XML packet is not parsed correctly.

Resolution

Change root password, so that its length can not be even divisible by 3.

Search Words

System errors : Authentication error: invalid credentials

virtual network synchronization

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF