#3418 ipa-client-install fixed-primary server list out of order in sssd.conf on i386
Closed: Fixed None Opened 11 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=910410 (Red Hat Enterprise Linux 6)

Description of problem:

When passing multiple servers on command line, they are not being listed in the
same order in sssd.conf.  I have so far only seen this on i386.  I did not see
the same behavior on x86_64 yet.


Version-Release number of selected component (if applicable):
ipa-client-3.0.0-26.el6_4.i686

How reproducible:
Very on i386.  Have not see it anywhere else yet.


Steps to Reproduce:
1.  Setup 2 IPA servers
2.  ipa-client-install -p admin -w PASSWORD --fixed-primary --server=SERVER1
--server=SERVER2 --domain=testrelm.com --realm=TESTRELM.COM -U
3.  check sssd.conf

Actual results:
ipa_server list in sssd.conf order not same as passed on command line.

Expected results:
ipa_server list should be the same?

Additional info:

More info seen in my testing:
:: [17:22:25] ::  EXECUTING: ipa-client-install -p admin -w Secret123
--fixed-primary --server=mgmt9.testrelm.com --server=storm.testrelm.com
--domain=testrelm.com --realm=TESTRELM.COM -U
Hostname: qe-blade-05.testrelm.com
Realm: TESTRELM.COM
DNS Domain: testrelm.com
IPA Server: storm.testrelm.com, mgmt9.testrelm.com
BaseDN: dc=testrelm,dc=com
Synchronizing time with KDC...
Enrolled in IPA realm TESTRELM.COM
Created /etc/ipa/default.conf
New SSSD config will be created
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TESTRELM.COM
trying https://storm.testrelm.com/ipa/xml
Adding SSH public key from /etc/ssh/ssh_host_dsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Forwarding 'host_mod' to server u'https://storm.testrelm.com/ipa/xml'
SSSD enabled
Configured /etc/openldap/ldap.conf
NTP enabled
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Client configuration complete.

:: [   PASS   ] :: Running 'ipa-client-install -p admin -w Secret123
--fixed-primary --server=mgmt9.testrelm.com --server=storm.testrelm.com
--domain=testrelm.com --realm=TESTRELM.COM -U'
[domain/testrelm.com]

cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = testrelm.com
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = qe-blade-05.testrelm.com
chpass_provider = ipa
ipa_server = storm.testrelm.com, mgmt9.testrelm.com
ldap_tls_cacert = /etc/ipa/ca.crt
[sssd]
services = nss, pam, ssh
config_file_version = 2

domains = testrelm.com
[nss]

[pam]

[sudo]

[autofs]

[ssh]

[pac]

:: [   PASS   ] :: Running 'cat /etc/sssd/sssd.conf'

Patch freeipa-mkosek-381-preserve-order-of-servers-in-ipa-client-install.patch sent for review

master:[[BR]]
354a5db Avoid multiple client discovery with fixed server list[[BR]]
452ffa1 Preserve order of servers in ipa-client-install[[BR]]

ipa-3-1:[[BR]]
cc51f96 Avoid multiple client discovery with fixed server list[[BR]]
af4a1e5 Preserve order of servers in ipa-client-install[[BR]]

Metadata Update from @dpal:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.2 - 2013/03

7 years ago

Login to comment on this ticket.

Metadata