Hi,

I'm trying to get VM backups of 2 node KVM cluster working (using networker). 
Wwhen trying to start a backup I'm immediatly getting a error message about 
missing hypervisor login credentials. Maybe I overlooked someting in the 
documentation but I can't figure out where these login credentials are 
configured. Can anybody give me a hint?


Here's the log of one of my CreateBackupCmd Jobs:

2024-04-10 17:41:10,476 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-30:ctx-c3bb37fe job-1549) (logid:b1913df8) Add job-1549 into 
job monitoring

2024-04-10 17:41:10,482 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(qtp1278254413-402:ctx-dddc56ad ctx-33b958e5) (logid:1dda45c8) submit async 
job-1549, details: AsyncJobVO: {id:1549, userId: 4, accountId: 4, instanceType: 
Backup, instanceId: 81, cmd: 
org.apache.cloudstack.api.command.user.backup.CreateBackupCmd, cmdInfo: 
{"virtualmachineid":"e338c774-6693-485f-9746-e3d172665af5","response":"json","ctxUserId":"4","httpmethod":"GET","ctxStartEventId":"3293","id":"81","ctxDetails":"{\"interface
 
com.cloud.vm.VirtualMachine\":\"e338c774-6693-485f-9746-e3d172665af5\"}","ctxAccountId":"4","cmdEventType":"BACKUP.CREATE"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 345049358837, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null, removed: null}

2024-04-10 17:41:10,485 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-30:ctx-c3bb37fe job-1549) (logid:e4d20d53) Executing 
AsyncJobVO: {id:1549, userId: 4, accountId: 4, instanceType: Backup, 
instanceId: 81, cmd: 
org.apache.cloudstack.api.command.user.backup.CreateBackupCmd, cmdInfo: 
{"virtualmachineid":"e338c774-6693-485f-9746-e3d172665af5","response":"json","ctxUserId":"4","httpmethod":"GET","ctxStartEventId":"3293","id":"81","ctxDetails":"{\"interface
 
com.cloud.vm.VirtualMachine\":\"e338c774-6693-485f-9746-e3d172665af5\"}","ctxAccountId":"4","cmdEventType":"BACKUP.CREATE"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 345049358837, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null, removed: null}

2024-04-10 17:41:10,519 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-30:ctx-c3bb37fe job-1549) (logid:e4d20d53) Complete async 
job-1549, jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Cannot
 find login credentials for HYPERVISOR df99ba84-7814-47b8-aa99-dd9553c56b4c"}

{...}
2024-04-10 17:41:10,528 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-30:ctx-c3bb37fe job-1549) (logid:e4d20d53) Remove job-1549 
from job monitoring


(local)  > list backupofferings 
{
  "backupoffering": [
    {
      "allowuserdrivenbackups": true,
      "created": "2024-04-10T17:08:37+0200",
      "description": "Networker Instance Backup - 30 days retention",
      "externalid": "57.0.53.26.0.0.0.0.0.130.19.102.213.182.20.91",
      "id": "8373b357-6b3f-41d9-8054-873914e95476",
      "name": "Networker Instance Backup",
      "zoneid": "c65618bc-0dcf-4f8a-b365-6b0c11750091",
      "zonename": "RZKE1"
    }
  ],
  "count": 1
}


(local)  > list hosts id=df99ba84-7814-47b8-aa99-dd9553c56b4c
{
  "count": 1,
  "host": [
    {
      "capabilities": "hvm,snapshot",
      "clusterid": "19939e9e-7588-47e0-82f5-3cd6a634723a",
      "clustername": "RZKE1_Cluster03",
      "clustertype": "CloudManaged",
      "cpuallocated": "4.51%",
      "cpuallocatedpercentage": "4.51%",
      "cpuallocatedvalue": 13000,
      "cpuallocatedwithoverprovisioning": "4.51%",
      "cpuloadaverage": 0.73,
      "cpunumber": 96,
      "cpusockets": 2,
      "cpuspeed": 3000,
      "cpuused": "0.6%",
      "cpuwithoverprovisioning": "288000",
      "created": "2024-03-05T17:16:05+0100",
      "details": {
        "Host.OS": "Red Hat Enterprise Linux",
        "Host.OS.Kernel.Version": "5.15.0-204.147.6.3.el9uek.x86_64",
        "Host.OS.Version": "9.3",
        "com.cloud.network.Networks.RouterPrivateIpStrategy": "HostLocal",
        "secured": "true"
      },
      "encryptionsupported": true,
      "events": "PingTimeout; AgentDisconnected; AgentConnected; HostDown; 
Ping; Remove; ShutdownRequested; ManagementServerDown; StartAgentRebalance",
      "hahost": false,
      "hasannotations": false,
      "hostha": {
        "haenable": false,
        "haprovider": "kvmhaprovider",
        "hastate": "Disabled"
      },
      "hypervisor": "KVM",
      "id": "df99ba84-7814-47b8-aa99-dd9553c56b4c",
      "ipaddress": "172.16.67.76",
      "islocalstorageactive": false,
      "lastpinged": "1970-01-20T09:36:49+0100",
      "managementserverid": "56474c8f-7212-424f-8eb1-34850b751b5b",
      "memoryallocated": 24165482496,
      "memoryallocatedbytes": 24165482496,
      "memoryallocatedpercentage": "6%",
      "memorytotal": 402669568000,
      "memoryused": 11093024768,
      "memorywithoverprovisioning": "402669568000",
      "name": "eb17.srv.ke1.in.speedkom.net",
      "networkkbsread": 16424,
      "networkkbswrite": 0,
      "outofbandmanagement": {
        "enabled": false,
        "powerstate": "Disabled"
      },
      "podid": "880e3a2b-7918-41c3-b9f7-b8668f2f9ee4",
      "podname": "CUBE01",
      "resourcestate": "Enabled",
      "state": "Up",
      "type": "Routing",
      "ueficapability": false,
      "version": "4.19.0.1",
      "zoneid": "c65618bc-0dcf-4f8a-b365-6b0c11750091",
      "zonename": "RZKE1"
    }
  ]
}

Reply via email to