GitHub user markusm0815 created a discussion: Backup VMs with NetWorker - 
unparsable date

Hello everyone,

we are trying to backup VMs with DELL EMC NetWorker like explained in the 
documentation, but we get an error in Apache CloudStack: 

2026-05-06 11:35:52,629 ERROR [o.a.c.b.B.BackupSyncTask] 
(BackgroundTaskPollManager-6:[ctx-2a868e38]) (logid:88d9e389) Failed to sync 
backup usage metrics and out-of-band backups of VM [VM instance 
{"id":2661,"instanceName":"i-12-2661-VM","state":"Running","type":"User","uuid":"6c912cc4-97ea-4a89-9fe5-dc4843e743ef"}]
 due to: [Unable to parse date [2026-05-06T08:29:55Z].]. 
com.cloud.utils.exception.CloudRuntimeException: Unable to parse date 
[2026-05-06T08:29:55Z].

It looks like the backup itself is working correctly, but when CloudStack tries 
to read the backup details it cannot parse the date from the NetWorker.

It seems, that the datetime from NetWorker includes the time-offset 
(time-offset = "Z" / time-numoffset), but Apache CloudStack expectes the 
datetime without the time-offset:

SimpleDateFormat formatterDateTime = new 
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");

[Github 
link](https://github.com/apache/cloudstack/blob/96ca1b2a7c1c80bc5b284e008e9c96d49a276b4a/plugins/backup/networker/src/main/java/org/apache/cloudstack/backup/networker/NetworkerClient.java#L220)

Is this correct? I'm not sure if my conclusion is right.
I've seen that there are some discussions about NetWorker, has anybody 
experienced this too and/or a hint what we can do?

Versions:
Dell EMC NetWorker: 19.14
Apache CloudStack 4.22

Thank you for your help.


GitHub link: https://github.com/apache/cloudstack/discussions/13116

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to