Hi Community,
We have enabled the IBM blade quite recently and activated that FNMS should perform the PVU calculations. We have activated extra high hw scanning on agents as well the additional hypervisor inventories, linked regions to locations, ..
We can see that servers are evaluated and we can see them attached to the applications and license containers, but the consumption tab and peak etc are empty.
The reconciliation goes successful, however in the log we see this error. Anyone have an idea what an "item" in this case relates to?
Recon log
2021-02-10 07:00:58,149 [INFO ] Perform PVU license reconcile based on current assignments.
2021-02-10 07:00:58,368 [INFO ] Finding license assignment records for PVU licenses
2021-02-10 07:00:58,368 [INFO ] Found 2 PVU license assignment records
2021-02-10 07:00:58,384 [INFO ] Processing software license allocations
2021-02-10 07:00:58,806 [ERROR] Error while calculating consumption: An item with the same key has already been added.
2021-02-10 07:00:58,837 [INFO ] PVU license reconcile completed in 00:00:00.84
2021-02-10 07:00:58,837 [INFO ] Enter ReadLicense
2021-02-10 07:00:59,056 [INFO ] Enter ProcessLicenseFile FNE LicenseBuilder
2021-02-10 07:00:59,056 [INFO ] Exit ProcessLicenseFile FNE LicenseBuilder
2021-02-10 07:00:59,071 [INFO ] Exit ReadLicense
2021-02-10 07:01:12,415 [INFO ] Update License Used counts.
2021-02-10 07:01:27,259 [INFO ] Successfully processed in 1 hour, 0 minutes, 5 seconds
‎Feb 10, 2021 02:15 AM - last edited on ‎May 18, 2021 08:47 PM by ChrisG
While it is not immediately obvious from the description, the info from the stack trace here suggests to me that this is caused by the following problem listed on the Resolved Issues list at https://docs.flexera.com/fnms/EN/Status/Issues/October2020.htm:
MASTER ISSUE NUMBER | COMPONENT/S | SUMMARY |
---|---|---|
IOJ-2126439 | SAM for IBM, Software license management |
No license consumption is recorded for IBM PVU licenses with multiple group assignments |
This problem is marked as being addressed in the FlexNet Manager Suite 2020 R2 On-premises release, so I'm guessing you are using an older release. Unfortunately I don't know what a workaround would be (short of the drastic measures of upgrading, or possibly trying to find which PVU license(s) you have with multiple group assignments and removing the assignments!) - it is likely you would need some sort of guidance from Flexera Support to identify particular data which is causing this problem in your system that can be cleaned up, and/or some sort of code fix.
‎Feb 11, 2021 05:08 PM - edited ‎Feb 11, 2021 05:10 PM
We have not integrated ILMT as this stage, and try to use FNMS to perform PVU calculations. The debug info shows an exception.
2021-02-11 14:14:44,125 [INFO ] Perform PVU license reconcile based on current assignments.
2021-02-11 14:14:44,422 [INFO ] Finding license assignment records for PVU licenses
2021-02-11 14:14:44,438 [INFO ] Found 2 PVU license assignment records
2021-02-11 14:14:44,453 [INFO ] Processing software license allocations
2021-02-11 14:14:44,813 [ERROR] Error while calculating consumption: An item with the same key has already been added.
2021-02-11 14:14:44,828 [DEBUG] Occurred at: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.ILMT.LicenseConsumption.AddConsumptionOverride(Int32 complianceComputerID, Int32 numberAllocated)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.ILMT.PVUProcessorHelper.ProcessSoftwareLicenseAllocationsAndExemptions()
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.ILMT.PVUProcessorHelper.Begin(Int32 licenseMeasurementID)
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseReconcile.ReconcilePVULicenses(Int32 licenseMeasurementID)
‎Feb 11, 2021 07:52 AM
While it is not immediately obvious from the description, the info from the stack trace here suggests to me that this is caused by the following problem listed on the Resolved Issues list at https://docs.flexera.com/fnms/EN/Status/Issues/October2020.htm:
MASTER ISSUE NUMBER | COMPONENT/S | SUMMARY |
---|---|---|
IOJ-2126439 | SAM for IBM, Software license management |
No license consumption is recorded for IBM PVU licenses with multiple group assignments |
This problem is marked as being addressed in the FlexNet Manager Suite 2020 R2 On-premises release, so I'm guessing you are using an older release. Unfortunately I don't know what a workaround would be (short of the drastic measures of upgrading, or possibly trying to find which PVU license(s) you have with multiple group assignments and removing the assignments!) - it is likely you would need some sort of guidance from Flexera Support to identify particular data which is causing this problem in your system that can be cleaned up, and/or some sort of code fix.
‎Feb 11, 2021 05:08 PM - edited ‎Feb 11, 2021 05:10 PM
Hi @ChrisG
That helped us in the right direction, found that we had 2 entitlement assignments.
After the removal of those and a new reconciliation, everything started to get consumption numbers.
Thanks
‎Feb 12, 2021 06:09 AM