Generate XML gets stuck

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Generate XML gets stuck

L1 Bithead

Having issues with Export after I hit Merge and then generate XML it gets stuck halfway through the process and nothing happens.  Not seeing any errors as well. Running Expedition 1.2.92.  Any suggestions?

9 REPLIES 9

L4 Transporter

Hi @Francis-Sanchez 

Thanks for reaching out.

Could you please check the file /tmp/error?

Also it will help if you can share an export of your Expedition project with us using a TAC case for file sharing purposes only. Please share the TAC case number with fwmigrate@paloaltonetworks.com

Thanks!

David

I'm not seeing an error folder under /temp

Hi @Francis-Sanchez 

It should be a file not a folder (/tmp/error). Note the folder is /tmp not /temp.

Also check the Agent is up and running.

Let me know if you can share your Expedition project with us.

Best regards,

David

Unfortunately I won't be able to share the project.  I did check /temp and /tmp folders and I'm not seeing an error file.  I also did verify that the Agent is running via the GUI.

Hi @Francis-Sanchez 

Send an email to fwmigrate@paloaltonetworks.com to schedule a zoom session to check your case.

Best,

David

 

I just rebuilt the server and now able to see the error file and shows the error message, "Notice: Undefined variable: addDST in /var/www/html/bin/configurations/parsers/Fortinet/FORTINET.php on line 1087".

Here's what's showing for line 1087 on the FORTINET.php file

if (count($addDST)>0){
$projectdb->query("INSERT INTO security_rules_dst (source,table_name,member_lid,rule_lid) VALUES ".implode(",",$addDST).";");

Hi @Francis-Sanchez 

That issue on Fortinet parser is just a warning, that means the process should not be stucked and the migration is completed.

 

I guess it should not be the reason for the XML generation issue you mentioned yesterday.

 

Nevertheless the mentioned Fortinet issue will be fixed in next release, but meanwhile you are good to go with the migration.

 

If you would like to fix the XML generation issue, please share the Expedition project or send us an email to set up a zoom call.

 

Best regards,

 

David 

 

This is the error message I get now when I try to Generate XML

 

Warning: get_class() expects parameter 1 to be object, boolean given in /var/www/html/libs/xmlapi.php on line 2068
object(SimpleXMLElement)#186 (0) {
}
bool(false)
Wrong type of input parameters, expected SimpleXMLElement key:, value:
failed:END

Hi @Francis-Sanchez 

The method that is failing is used to create and append the XML tags. While Expedition generates your XML it identifies a node without a key and value.

I will need a troubleshooting session or the Expedition project to get with the root cause.

Best regards,

David

  • 1131 Views
  • 9 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!