Closed silvam11 closed 4 years ago
Hi, thx for the ticket. Having this problem too. Yet not with the latest versions available vor iDrac.
Reason My latest Dell DRM (3.3, Cli-Only, on Ubuntu 18.04) doesn't update the repository.
03-03-20 15:21:33 Saving Repository Version Dell:1,01 03-03-20 15:21:33 SCHW com.dell.drm.datamanager.RepositoryDataManager nextVersion Invalid Version Name For input string: "1,01" 03-03-20 15:21:33 INFO com.dell.drm.service.DRMNotificationManager getNotification Responding a notification Job Refresh_03/03/2020 15:21 started. - Tue Mar 03 15:21:29 CET 2020 03-03-20 15:21:33 SCHW com.dell.drm.datamanager.RepositoryDataManager createOrSaveRepository Exception in Create Repository - not-null property references a null or transient value : com.dell.drm.model.db.Repository.nextrepoversion ... 03-03-20 15:21:36 INFO com.dell.drm.service.DRMNotificationManager getNotification Responding a notification Job Refresh_03/03/2020 15:21 failed. None of the repositories refreshed. - Tue Mar 03 15:21:33 CET 2020
So it did create a repository at first. But then not the update, because there seems a bug in the versioning. Using , instead of .
To whom or where should i report that too?
Thx.
@thizmo I did some investigation regarding this issue and the root cause seems to be on redfish APIs implemented by iDRAC. In a nutshell, I was able to reproduce the same issue using postman calling the following APIs:
We are working on it, fix will be posted by 3/31
@jagadeeshnv First of all, thanks! Secondly, what is the root cause? Is it on the redfish side?
Hi @silvam11 The issue has been addressed in latest devel release, Please verify with https://github.com/dell/dellemc-openmanage-ansible-modules/tree/v2.0.10
@silvam11 Did you get a chance to try with the latest version?
@jagadeeshnv Sorry no. I will do this week and let you know
@jagadeeshnv Sorry for the delay, I have tested the changes and they look ok. I could see that now the ansible module no longer fails, returning the following message:
{
"changed": false,
"failed": false,
"msg": "The catalog in the repository specified in the operation has the same firmware versions as currently present on the server."
}
Thanks @silvam11
During the execution of the idrac_firmware module I received the following error message:
{"changed": false, "msg": "'GetRepoBasedUpdateList_OUTPUT'"}
Debugging the code, I was able to see the following exception:
Looking at the snippet above, it is possible to see that the root cause is returned status code doesn't match with the expected success code because Firmware versions on server match catalog, applicable updates are not present in the repository Therefore, would be nice to have a more descriptive message to indicate the root cause of the issue.
Below are some details about the environment: