Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELL EMC Networker Backup #9646

Open
steven3579 opened this issue Sep 6, 2024 · 7 comments
Open

DELL EMC Networker Backup #9646

steven3579 opened this issue Sep 6, 2024 · 7 comments

Comments

@steven3579
Copy link

ISSUE TYPE
  • Bug Report
  • Documentation Report
COMPONENT NAME
 Dell EMC Networker integration plugin 
CLOUDSTACK VERSION
 4.19.1.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
 After configuring the networker plug and create a Backup Offering. When i run backup on vm. I received the error code below .
EXPECTED RESULTS
Start backup
(backup01-control-191a2817444) Failed to take backup on host kvm-02 due to: Password authentication failed.
ACTUAL RESULTS
Start backup
(backup01-control-191a2817444) Failed to take backup on host kvm-02 due to: Password authentication failed.
2024-09-06 04:13:43,306 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp341748265-1987979:ctx-a84c1f71 ctx-22f4d9d2) (logid:15603bd3) submit async job-47414, details: AsyncJobVO: {id:47414, userId: 2, accountId: 2, instanceType: Backup, instanceId: 3100, cmd: org.apache.cloudstack.api.command.user.backup.CreateBackupCmd, cmdInfo: {"virtualmachineid":"7fbfee75-1b26-49bf-a880-322af9f6dee4","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"221095","id":"3100","ctxDetails":"{\"interface com.cloud.vm.VirtualMachine\":\"7fbfee75-1b26-49bf-a880-322af9f6dee4\"}","ctxAccountId":"2","cmdEventType":"BACKUP.CREATE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 40057382433780, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2024-09-06 04:13:43,306 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-41:ctx-3e440224 job-47414) (logid:8c31e744) Executing AsyncJobVO: {id:47414, userId: 2, accountId: 2, instanceType: Backup, instanceId: 3100, cmd: org.apache.cloudstack.api.command.user.backup.CreateBackupCmd, cmdInfo: {"virtualmachineid":"7fbfee75-1b26-49bf-a880-322af9f6dee4","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"221095","id":"3100","ctxDetails":"{\"interface com.cloud.vm.VirtualMachine\":\"7fbfee75-1b26-49bf-a880-322af9f6dee4\"}","ctxAccountId":"2","cmdEventType":"BACKUP.CREATE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 40057382433780, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2024-09-06 04:13:44,204 DEBUG [o.a.c.b.NetworkerBackupProvider] (API-Job-Executor-41:ctx-3e440224 job-47414 ctx-37405962) (logid:8c31e744) Starting backup for VM ID 7fbfee75-1b26-49bf-a880-322af9f6dee4 on Networker provider
2024-09-06 04:13:44,339 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-41:ctx-3e440224 job-47414) (logid:8c31e744) Complete async job-47414, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to take backup on host kvm-02 due to: Password authentication failed."}

Document: https://docs.cloudstack.apache.org/en/latest/adminguide/networker_plugin.html

@DaanHoogland
Copy link
Contributor

@steven3579 , it seems to me the expected and actual both contain the same error message. Is there something that does not behave as expected?
Can you make the backup directly with networker?

@rajujith
Copy link
Collaborator

rajujith commented Sep 6, 2024

@steven3579 Can you cross-check the following:

  • KVM hosts are added as a client on the Networker with Globals (1 of 2) configured as per the plugin documentation.
  • Cluster is created as a dummy/placeholder client on the Networker with Globals (2 of 2) configured as per the plugin documentation.

@rohityadavcloud
Copy link
Member

This plugins uses KVM host username/password credentials to ssh, so might not be acceptable for all users but that's the plugin specific requirement.

@fermosan
Copy link
Contributor

fermosan commented Sep 8, 2024

Yes. I confirm that it is using user/password. @steven3579 Are you using public keys to connect to hosts ?

@steven3579
Copy link
Author

Hi @fermosan
Yes. I using pulic keys connect KVM host. Do you have any way to address the issue?

@fermosan
Copy link
Contributor

If it is crucial for you and provided that we have the time we can implement support for public keys as well for the release after 4.20. Let me know. In the meantime, as a workaround you could populate the host user/pass fields in the database with a valid account on the KVM hosts (with root privileges) and it will work.

@steven3579
Copy link
Author

Hi @fermosan
Yes. I can try. please add Milestone version let me excel at my convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants