Bug 1401569

Summary: syntax error observed dusring ipa-replica install using ipa-server-docker image.
Product: Red Hat Enterprise Linux 7 Reporter: Nikhil Dehadrai <ndehadra>
Component: ipa-server-containerAssignee: Petr Vobornik <pvoborni>
Status: CLOSED DEFERRED QA Contact: Nikhil Dehadrai <ndehadra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: pcech
Target Milestone: rcKeywords: Extras
Target Release: ---Flags: fbarreto: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-06 11:14:41 UTC Type: Bug
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
Syntax error observed during ipa-replica install none

Description Nikhil Dehadrai 2016-12-05 15:08:34 UTC
Created attachment 1228087 [details]
Syntax error observed during ipa-replica install

Description of problem:
syntax error observed dusring ipa-replica install using ipa-server-docker image

Version-Release number of selected component (if applicable):
ipa-server-docker-4.4.0-27


Steps to Reproduce:
1. Setup ipa-server without DNS using ipa-server-docker image on atomic host.
2. Use same ip-server-docker image to configure replica server, but the replica server is setup using DNS, CA, Forwarder, domain-name.
3. Notice the installation process

Actual results:
Atomic installation process for ipa-replica-install command fails with "syntax error" message.
#####################################
Global DNS configuration in LDAP server is empty
You can use 'dnsconfig-mod' command to set global DNS options that
would override settings in local named.conf files

incorrect section name: 1x.x.x.x
syntax error
#####################################



Expected results:
No error message should be observed and ipa-replica installation process should complete.

Additional info:
1. The container for ipa-replica server can be started successfully.
2. The replica server within container can be accessed.

Comment 2 fbarreto 2017-07-28 17:20:33 UTC
Nikhil,

I'm not able to reproduce the bug. During the ipa-replica-install step, the installation
stops in the step 5.

I'm using the abc labs. Also, I've changed 'ipadocker' to rhel7/ipa-server, is this ok? 


1. atomic install --name=ipadocker registry.access.redhat.com/rhel7/ipadocker net-host ipa-server-install

2. atomic run --name=ipadocker rhel7/ipa-server

3. [root@vm-058-073 ~]# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
01760468980f        rhel7/ipa-server    "/usr/sbin/init-data "   10 minutes ago      Up 10 minutes                           ipadocker

4.[root@vm-058-073 ~]# hostname
vm-058-073.abc.idm.lab.eng.brq.redhat.com

5.[root@vm-058-073 ~]# atomic install --name=replicadocker rhel7/ipa-server net-host ipa-replica-install --setup-dns --setup-ca --forwarder=10.34.78.1 -P admin -w 12345678 --server=vm-058-073.abc.idm.lab.eng.brq.redhat.com --domain abc.idm.lab.eng.brq.redhat.com

docker run -ti --rm --privileged -v /:/host -e HOST=/host -e DATADIR=/var/lib/replicadocker -e NAME=replicadocker -e IMAGE=rhel7/ipa-server rhel7/ipa-server /bin/install.sh net-host ipa-replica-install --setup-dns --setup-ca --forwarder=10.34.78.1 -P admin -w 12345678 --server=vm-058-073.abc.idm.lab.eng.brq.redhat.com --domain abc.idm.lab.eng.brq.redhat.com
+ chroot /host /usr/bin/docker run -ti --rm --name replicadocker -e NAME=replicadocker -e IMAGE=rhel7/ipa-server -v /var/lib/replicadocker:/data:Z -v /sys/fs/cgroup:/sys/fs/cgroup:ro --tmpfs /run --tmpfs /tmp -v /dev/urandom:/dev/random:ro --net=host rhel7/ipa-server exit-on-finished ipa-replica-install --setup-dns --setup-ca --forwarder=10.34.78.1 -P admin -w 12345678 --server=vm-058-073.abc.idm.lab.eng.brq.redhat.com --domain abc.idm.lab.eng.brq.redhat.com
systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
Detected virtualization docker.
Detected architecture x86-64.
Set hostname to <vm-058-073.abc.idm.lab.eng.brq.redhat.com>.
Initializing machine ID from random generator.

Comment 5 fbarreto 2017-08-29 12:10:43 UTC
In my comment above, I have enumerated the steps that I followed to try to reproduce the bug, the installation has stopped on step 5 described in my comment:

"""
5.[root@vm-058-073 ~]# atomic install --name=replicadocker rhel7/ipa-server net-host ipa-replica-install --setup-dns --setup-ca --forwarder=10.34.78.1 -P admin -w 12345678 --server=vm-058-073.abc.idm.lab.eng.brq.redhat.com --domain abc.idm.lab.eng.brq.redhat.com
"""

Comment 8 Petr Čech 2021-01-06 11:14:41 UTC
This BZ has been evaluated multiple times over the last several years and we assessed that it is a valuable request to keep in the backlog and address it at some point in future. Time showed that we did not have such capacity, nor have it now nor will have in the foreseeable future. In such a situation keeping it in the backlog is misleading and setting the wrong expectation that we will be able to address it. Unfortunately we will not. To reflect this we are closing this BZ. If you disagree with the decision please reopen or open a new support case and create a new BZ. However this does not guarantee that the request will not be closed during the triage as we are currently applying much more rigor to what we actually can accomplish in the foreseeable future. Contributions and collaboration in the upstream community and CentOS Stream is always welcome!
Thank you for understanding
Red Hat Enterprise Linux Identity Management Team