Univention Bugzilla – Bug 27276
Fehler bei setup-join.sh
Last modified: 2018-04-14 13:37:26 CEST
Created attachment 4391 [details] Log "erfolgreich" Bei einem Testversuch, in der EC2 eine Testinstanz automatisch zu konfigurieren, ist setup-join.sh gestern nicht sehr erfolgreich gewesen. Der heutige Test auf skepp mit einem Generic-UCS-3.0 war erfolgreicher, aber in der Ausgaben tauchten trotzdem etliche Fehler auf, die untersucht werden sollten. === ssl/10ssl (2012-05-24 10:04:00) === Generating RSA private key, 2048 bit long modulus Creating certificate: master.univention.qa Generating RSA private key, 1024 bit long modulus Creating certificate: ip0ae3b141.eu-west-1.compute.internal Generating RSA private key, 1024 bit long modulus Wofür ist der erste RSA-Key? Hier wird zwischenzeitlich in Zertifikat für den alten Namen erzeugt. In VMs und auf Servers besteht die Gefahr, das beim Generieren der Zertifikate /dev/random leer läuft und der Prozeß an schließend blockiert. Da dort keine Mausbewegungen und Tastaturanschläge passieren, kann die VM so sehr lange blockieren. Ein Login per ssh ist dann i.d.R. auch nicht mehr möglich, weil dafür auch Zufallszahlen benötigt werden. Das ist mir schon mit einer KVM-Instanz passiert. === net/10interfaces (2012-05-24 08:04:11) === SIOCSIFBRDADDR: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth0:2. Das scheint von interfaces/eth0_X/type=appliance-mode-temporary übrig zu bleiben. === setup-join.sh (2012-05-24 08:04:28) === Configure /usr/lib/univention-install/02univention-directory-notifier.inst Starting Univention Directory Notifier daemon. warning: univention-directory-notifier: unable to open supervise/ok: file does not exist ... __MSG__:Configure 20univention-join chown: cannot dereference `/etc/univention/ssl/master': No such file or directory ... Configure /usr/lib/univention-install/35univention-management-console-module-setup.inst Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 1036, in doit object=univention.admin.modules.lookup(module, co, lo, scope='base', superordinate=superordinate, base=dn, filter=filter, required=1, unique=1)[0] IndexError: list index out of range Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 1036, in doit object=univention.admin.modules.lookup(module, co, lo, scope='base', superordinate=superordinate, base=dn, filter=filter, required=1, unique=1)[0] IndexError: list index out of range
(In reply to comment #0) > === ssl/10ssl (2012-05-24 10:04:00) === > Generating RSA private key, 2048 bit long modulus > Creating certificate: master.univention.qa > Generating RSA private key, 1024 bit long modulus > Creating certificate: ip0ae3b141.eu-west-1.compute.internal > Generating RSA private key, 1024 bit long modulus > > Wofür ist der erste RSA-Key? Vermutlich werden hier die UCR-Variablen ssh/ neu gesetzt, während die UCR-Variable hostname noch nicht aktualisiert wurde. Das führt später dann auch zu folgendem Problem: > __MSG__:Configure 20univention-join > chown: cannot dereference `/etc/univention/ssl/master': No such file or > directory Hier scheint "$hostname" immer noch auf den altern Wert zu haben, obwohl ein „eval "$(ucr-shell)"” ausgeführt wird.
The error in 35univention-management-console-module-setup.inst is Bug #27620. I close this as WORKSFORME, reopen if you think the rest still exists. You changed some things in univention-ssl. This bug was created against UCS 3.0.