Details
-
Type:
Bug
-
Status: Engineering Closed (View Workflow)
-
Priority:
Low
-
Resolution: Not to be Fixed
-
Affects Version/s: 12.0-RELEASE
-
Fix Version/s: N/A
-
Component/s: API, Middleware
-
Labels:
Description
The vCenter plugin creates replication tasks using the API. It first generates a Key, creates an SSH Key Pair with that key, then creates an SSH Connection, the finally creates a Replication task with this connection. All API commands succeed and the task is sucessfully created, which can be validated by the UI. However, the task fails due to an authentication error as follows:
[2020/11/05 09:23:36] INFO [Thread-9] [zettarepl.paramiko.replication_task__task_6] Connected (version 2.0, client OpenSSH_8.3p1)
[2020/11/05 09:23:36] INFO [Thread-9] [zettarepl.paramiko.replication_task__task_6] Authentication (publickey) failed.
[2020/11/05 09:23:36] ERROR [replication_task__task_6] [zettarepl.replication.run] For task 'task_6' non-recoverable replication error ReplicationError('Authentication failed.')
A workaround is to create a new SSH Key Pair from the UI, then assign that key pair to the API generated SSH Connection. The task will succeed. Regenerating the SSH Key Pair created from the API will not work. Neither will rediscovering the public key for the connection and key pair.
Attached is the API call for a functional and non functional task/connection, the functional being copied from the one starting with "vcenter_".
Attachments
Attachments
JEditor
Issue Links
- relates to
-
VCP-108 Replication task failed with an Error
-
- Done
-