Bug 38275 - Make the nameserver and domain setting transparent in the appliance wizard
Make the nameserver and domain setting transparent in the appliance wizard
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-16 09:18 CEST by Stefan Gohmann
Modified: 2015-11-17 12:12 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-04-16 09:18:26 CEST
Currently, it is a little bit complicated if a docker container should be configured.

The hostname is fixed and can't be changed. Thus, the domainname can't configured during the setup.

After selecting "Create a new UCS domain" or "Join into an existing UCS domain" or "Join into an existing Active Directory domain" a extra docker page should be shown:

- The hostname is shown grayed which a note that it can only be changed while creating the instance

- The domainname is set to the UCR domainname setting but the value should be changeable

- The nameserver setting is set to the UCR value for nameserver1 and nameserver2 and it should be changeable as well
Comment 1 Stefan Gohmann univentionstaff 2015-04-24 07:10:49 CEST
On a master it looks good. On a slave it doesn't work. I've started a docker container in this way:
 docker run -d --name=slave --hostname=slave -e domainname=test.local -e rootpwd=univention -p 8081:80 univention/slave-ucs-4.0-1-update-amd64 /sbin/init

I was able to set the DNS server in system setup but it didn't find the SRV record of the master. I disabled the automatic search of the master via DNS and typed the FQDN of the master directly. It got further but later the setup failed.
Comment 2 Dirk Wiesenthal univentionstaff 2015-09-18 09:53:44 CEST
Merged from the original ucs-container scope:
  univention-system-setup 9.0.2-2.916.201509180943

Did not test it again, though
Comment 3 Florian Best univentionstaff 2015-10-01 12:50:03 CEST
The change in svn r63832 broke the validation of interfaces. A empty definition of interfaces is send in the setup/validate call which causes that it's not possible to continue when doing a new UCS 4.1 installation.
-                       if (this.isPageVisible('network')) {
+                       if (this.areFieldsVisible('network')) {
Comment 4 Dirk Wiesenthal univentionstaff 2015-10-01 16:29:06 CEST
Fixed in
  univention-system-setup 9.0.2-3.917.201510011535
Comment 5 Stefan Gohmann univentionstaff 2015-10-02 08:56:37 CEST
Normal UCS installation: OK

UCS Appliance: OK

Docker Setup Master: OK

Docker Setup Slave: OK

Changlog: OK
Comment 6 Stefan Gohmann univentionstaff 2015-11-17 12:12:07 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".