Reset Search
 

 

Article

KB43581 - XML import fails with error message "Invalid value for identifier server"

« Go Back

Information

 
Last Modified Date8/31/2018 4:12 AM
Synopsis
This article describes an issue where XML import fails with error message "Invalid value for identifier server".
Problem or Goal
This issue occurs under the following conditions:
 
  1. A syslog server with a custom port is configured in the settings of Log / Monitoring Events, Admin Access or User Access Log as per the screenshot below:
User-added image
  1. The PCS admin has exported the XML config that includes the system settings.
  2. The PCS admin is importing the XML config to a PCS device.
  3. The import operation fails with the following error:  
 
XML import failed

Detailed Information:

Failure..

[/system/log/user-access-log-settings/syslog[node=localhost2]/syslog-servers]

Invalid value for identifier server

[/system/log/user-access-log-settings/syslog[node=localhost2]/syslog-servers/syslog-serverserver=,facility=local-zero,filter=###invalid###/server]

Invalid Address: 10.10.10.10:3426

[/configuration/system/log/user-access-log-settings/syslog[node = "localhost2"]/syslog-servers/syslog-server]

Merge-Create: Create instance failed.
Cause
This issue occurs due to a bug in the following PCS OS releases:

8.2R6
8.3R3
8.2R7.2

 

Solution
This issue is fixed in the following PCS OS releases:

8.2R12 and up
8.3R5 and up
9.0R1 and up

Workaround:

As a workaround follow the steps below to edit the XML file and remove the custom server port prior to importing the XML config to the target server:

  1. Open the XML file in a text editor
  2. Search the file for the custom port number specified in the Log settings.  (The port is also mentioned in the error message displayed in the XML import page when the import fails.)

                 <syslog>
                   <node>localhost2</node>
                    <syslog-servers>
                        <syslog-server>
                            <server>10.10.10.10:3426</server>
                            <facility>local-zero</facility>
                            <communication-type>udp</communication-type>
                            <client-cert>Select Client Cert</client-cert>
                            <filter>Standard</filter>
                        </syslog-server>
                    </syslog-servers>
                </syslog>

  1. ​Remove the ':' and the custom port from the <server> tag then save the changes.
  2. Reimport the XML config to the target PCS device then navigate to the Log settings page where the Syslog server is configured and edit the Syslog IP field to include the custom port.
Related Links
Attachment 1 
Created ByNick Christen

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255