- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Suite Known Issues
- :
- Known Issue: Concurrently running discovery tasks may give unreliable results with "Failed to proces...
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Known Issue: Concurrently running discovery tasks may give unreliable results with "Failed to process exported disco files for device discovery" error in Discovery.log (IOJ-2241968)
Known Issue: Concurrently running discovery tasks may give unreliable results with "Failed to process exported disco files for device discovery" error in Discovery.log (IOJ-2241968)
Summary
When multiple discovery tasks are run on a beacon at the same time, one or more of the tasks may fail or result in other inconsistent behavior. Symptoms of this issue can include:
- Discovery tasks continue to be reported with an "In progress" status when they have completed.
- Results from discovery tasks are incomplete and/or vary unexpectedly from one execution to the next.
- Discovery.log files contain the error "Failed to process exported disco files for device discovery"
Details
This issue is caused by a logic error whereby separate discovery tasks may use the same file paths for storing state information, so that one task corrupts the state of the other task.
Here is an example of how logging may appear in separate Discovery.log files from concurrently running tasks affected by this issue. Note the very similar timestamps:
2022-01-10 00:05:58,621 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:22,80,135,139,161,443,445,U:22,135,139,161,445 -oX "C:\windows\TEMP\ManageSoft\discovery\mgsipscan-t-2022110_0558-29f125104f-96a2-4d83-83a2-22e82af2fcb9.xml" -PI -sS -sU 10.120.0.240 10.10.250.63 172.41.7.81 172.41.125.80 172.41.176.50-51 2022-01-10 00:05:58,888 [veryExportDeviceSource|DeviceSource] [INFO ] Processing exported disco files extracted in the folder 'C:\ProgramData\Flexera Software\Beacon\DiscoveryExport\373': 27 files to be processed. 2022-01-10 00:05:58,888 [veryExportDeviceSource|DeviceSource] [INFO ] Processing exported disco file 'C:\ProgramData\Flexera Software\Beacon\DiscoveryExport\373\1.disco' 2022-01-10 00:05:59,762 [veryExportDeviceSource|DeviceSource] [INFO ] Processing exported disco file 'C:\ProgramData\Flexera Software\Beacon\DiscoveryExport\373\10.disco' 2022-01-10 00:06:00,686 [veryExportDeviceSource|DeviceSource] [ERROR] Failed to process exported disco files for device discovery: Could not find file 'C:\ProgramData\Flexera Software\Beacon\DiscoveryExport\373\10.disco'.
And:
2022-01-10 00:06:00,606 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:22,80,135,139,161,443,445,U:22,135,139,161,445 -oX "C:\windows\TEMP\ManageSoft\discovery\mgsipscan-t-2022110_060-7661f8ff99-ed59-42a5-b486-b0cc5e4c73e8.xml" -PI -sS -sU 2022-01-10 00:06:00,606 [veryExportDeviceSource|DeviceSource] [ERROR] Failed to process exported disco files for device discovery: The process cannot access the file '1.disco' because it is being used by another process.
Workaround
Ensure that rules that run discovery tasks are scheduled to run at different times. Allow sufficient time for one task to complete its work before the next task commences.
Fix status
This issue is still open but not currently scheduled to be addressed.
Other information
Affected components: Discovery, Inventory Beacon
Master issue ID: IOJ-2241968
Also known as: FNMS-72086
Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.