Bug 760085

Summary: LDAP server details are not getting import
Product: [Other] RHQ Project Reporter: Jeeva Kandasamy <jkandasa>
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: hrupp, lkrejci
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-05 13:50:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
file used for import operation none

Description Jeeva Kandasamy 2011-12-05 12:08:04 UTC
Created attachment 540823 [details]
file used for import operation

Description of problem:
LDAP server details are not getting import

Version-Release number of selected component (if applicable):
Version: 3.0.0.GA
Build Number: e23441b:4e746e8
GWT Version: 2.0.4
SmartGWT Version: 2.4

How reproducible:
100%

Steps to Reproduce:
1.Logon to CLI client
2.Do export system configuration, Commands used,
var ex = SynchronizationManager.exportAllSubsystems();
saveBytesToFile(ex.exportFile, 'export.xml.gz');

3.Change LDAP server details in export.xml and make compress (format: .gz)
4.Do import system configurations, Commands used,
var data = getFileBytes('export.xml.gz');
SynchronizationManager.importAllSubsystems(data, null);

  
Actual results:
LDAP changes doesn't reflect. 

Expected results:
Should reflect LDAP changes.

Additional info:export xml file is attached. There is no error message on server side as well as client tool.

Comment 1 Lukas Krejci 2011-12-05 13:48:21 UTC
For a system setting to be imported, it has to be listed in the "propertiesToImport" configuration setting. The LDAP-related settings are not included in that list by default, because different RHQ installations are thought to NOT have identical LDAP configs.

The attached export file doesn't list the modified settings in the list of the properties to import and therefore they are not imported.