Description

In SD, from Configure > Shared objects > Addresses > More > Import from CSV > Browse the address object CSV file and upload it > Next > Finish. In the next window, downloading the file SummaryReport.zip fails the error " File wasn't available on site"

Symptoms

There won't be any exceptions or errors in the logs. You will find the below message which can be seen for the successful summary report as well.
 
2024-09-04 15:21:35,519 DEBUG [net.juniper.jnap.sm.restservices.SDAuditLogInterceptor] (default task-6457) Inside SDAuditLogInterceptor
2024-09-04 15:21:36,068 DEBUG [net.juniper.jnap.sm.interceptor.PopulateCacheInterceptor] (default task-6457) param value: MzVjZDc1ZTEtYTE5Ny00OTcwLWFiNjYtYmQ2MjlmNWRmMmMw
2024-09-04 15:21:36,068 WARN [net.juniper.sm.imports.bean.AbstractImportManagerHandler] (default task-6457) Import Dir /usr/local/jboss/domain/tmp/servers/server1/Import--2092590017 created to keep temporary data for :-2092590017
SD has generated a uuid value (In this example:
MzVjZDc1ZTEtYTE5Ny00OTcwLWFiNjYtYmQ2MjlmNWRmMmMw )

The summary report file is stored under the location /usr/local/jboss/domain/tmp/servers/server1/Import--2092590017 
But when downloading with the above uuid, it shows "no file available" 

ie, it used the following URL: https://<VIP>/api/juniper/sd/policy-management/import/download-summary?uuid=MzVjZDc1ZTEtYTE5Ny00OTcwLWFiNjYtYmQ2MjlmNWRmMmMw

Seems like SD is generating the wrong UUID
If we add the below addresses on top of the customer addresses in the CSV file, we will be able to download the summary report. But if we remove any addresses from this, it will not work again.

JTACTest1  > 1.1.1.1
JTACTest2  > 1.1.1.2
JTACTest3  > 1.1.1.3
JTACTest4  > 1.1.1.4
JTACTest5  > 1.1.1.5
JTACTest6  > 1.1.1.6
JTACTest7  > 1.1.1.7
JTACTest8  > 1.1.1.8
JTACTest9  > 1.1.1.9
JTACTest10  > 1.1.1.10
JTACTest11  > 1.1.1.11
JTACTest12  > 1.1.1.12
JTACTest13  > 1.1.1.13


 

Solution

The fix would be available in SD 23.1 HPv7, but for an immediate solution, the customer can still insert the addresses using the CSV file, only the summary report won't be able to download. but the import will be working

 

Modification History

2024-09-25 : Article Created