DaanHoogland commented on PR #6801:
URL: https://github.com/apache/cloudstack/pull/6801#issuecomment-1380504948
consistent error:
```
Exception: Job failed: {
accountid : '6083a6d4-9278-11ed-a9ce-1e0046000407',
userid : '6084e393-9278-11ed-a9ce-1e0046000407',
cmd :
'org.apache.cloudstack.api.command.admin.diagnostics.GetDiagnosticsDataCmd',
jobstatus : 2,
jobprocstatus : 0,
jobresultcode : 530,
jobresulttype : 'object',
jobresult : {
errorcode : 530,
errortext : 'Failed to generate diagnostics zip file in VM
02cc2c08-f35a-4ecc-bd88-3a98e581a0a0 due to:
/root/diagnostics_files_20230112-143607.zipTraceback (most recent call last):
File "/opt/cloud/bin/get_diagnostics_files.py", line 143, in <module>
zip_files(fileList)
File "/opt/cloud/bin/get_diagnostics_files.py", line 59, in zip_files
zf.write(f, f[f.rfind(\'/\') + 1:])
File "/usr/lib/python2.7/zipfile.py", line 1158, in write zinfo =
ZipInfo(arcname, date_time)
File "/usr/lib/python2.7/zipfile.py", line 328, in __init__ raise
ValueError(\'ZIP does not support timestamps before 1980\')ValueError: ZIP does
not support timestamps before 1980'
},
jobinstancetype : 'SystemVm',
jobinstanceid : '02cc2c08-f35a-4ecc-bd88-3a98e581a0a0',
created : '2023-01-12T14:36:07+0000',
completed : '2023-01-12T14:36:07+0000',
jobid : '7c9a8706-69e7-4ee2-b125-09bd56d1a5e2'
}
```
No idea yet why this change would induce that, but note the 2.7 in the path
`/usr/lib/python2.7/zipfile.py`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]