Univention Bugzilla – Bug 46488
UCS 4.3-0 EC2 images
Last modified: 2018-03-14 14:38:46 CET
UCS 4.3-0 EC2 images should be created.
First test image: ami-3720694e (eu-west-1)
A test VM has been started in our EC2 VPC with the normal network setting, see /var/log/univention/config-registry.replog.1.gz. Old config: 2018-03-13 17:41:49: set interfaces/eth0/type=dhcp old:[Previously undefined] 2018-03-13 17:42:02: unset 'gateway' old:192.168.152.1 2018-03-13 17:42:05: set interfaces/ens3/network=192.168.152.0 old:192.168.152.0 2018-03-13 17:42:05: set interfaces/restart/auto=false old:[Previously undefined] 2018-03-13 17:42:05: set interfaces/ens3/address=192.168.152.237 old:192.168.152.237 2018-03-13 17:42:05: set interfaces/ens3/broadcast=192.168.152.255 old:192.168.152.255 2018-03-13 17:42:05: set interfaces/ens3/netmask=255.255.255.0 old:255.255.255.0 2018-03-13 17:42:05: set gateway=192.168.152.1 old:[Previously undefined] 2018-03-13 17:42:16: unset 'interfaces/restart/auto' old:false 2018-03-13 17:42:32: set dns/forwarder1=208.67.222.222 old:[Previously undefined] 2018-03-13 17:42:32: set nameserver1=208.67.222.222 old:192.168.152.1 2018-03-13 17:42:32: set update/secure_apt=yes old:yes 2018-03-13 17:42:51: set system/setup/boot/start=true old:true 2018-03-13 17:42:52: set repository/online/server=https://updates.software-univention.de/ old:https://updates.software-univention.de 2018-03-13 17:42:52: set update/secure_apt=yes old:yes EC2 setup: 2018-03-13 19:11:08: set updater/statistics='' old: 2018-03-13 19:11:09: set interfaces/eth0/broadcast=10.210.255.255 old:[Previously undefined] 2018-03-13 19:11:09: set interfaces/restart/auto=false old:[Previously undefined] 2018-03-13 19:11:09: set interfaces/eth0/netmask=255.255.0.0 old:[Previously undefined] 2018-03-13 19:11:09: set interfaces/eth0/network=10.210.0.0 old:[Previously undefined] 2018-03-13 19:11:09: set interfaces/eth0/address=10.210.208.238 old:[Previously undefined] 2018-03-13 19:11:09: set gateway=10.210.0.1 old:192.168.152.1 2018-03-13 19:11:10: unset 'interfaces/restart/auto' old:false 2018-03-13 19:12:23: set update/available=no old:yes 2018-03-13 19:12:53: set gateway=10.210.216.13 old:10.210.0.1 2018-03-13 19:12:56: set interfaces/restart/auto=false old:[Previously undefined] 2018-03-13 19:12:56: set interfaces/eth0/address=10.210.208.238 old:10.210.208.238 2018-03-13 19:12:56: set interfaces/eth0/netmask=255.255.0.0 old:255.255.0.0 2018-03-13 19:12:56: set interfaces/eth0/network=10.210.0.0 old:10.210.0.0 2018-03-13 19:12:56: set interfaces/eth0/broadcast=10.210.255.255 old:10.210.255.255 2018-03-13 19:12:56: unset 'interfaces/restart/auto' old:false 2018-03-13 19:13:07: set dns/forwarder1=208.67.222.222 old:208.67.222.222 2018-03-13 19:13:07: set dns/forwarder2=10.210.0.2 old:[Previously undefined] 2018-03-13 19:13:07: set --force updater/identify='UCS (EC2 Test)' old:[Previously undefined] 2018-03-13 19:13:07: set update/check/cron/enabled=false old:yes 2018-03-13 19:13:07: set update/check/boot/enabled=false old:yes Later, the 90univention-bind-post.inst join script configures the nameserver: 2018-03-13 19:28:58: set dns/backend=ldap old:[Previously undefined] 2018-03-13 19:28:58: set dns/forwarder1=208.67.222.222 old:208.67.222.222 2018-03-13 19:28:58: set dns/forwarder2=10.210.0.2 old:10.210.0.2 2018-03-13 19:28:58: set nameserver1=192.168.152.237 old:208.67.222.222 I guess it is /usr/share/univention-server/univention-fix-ucr-dns which uses the values from interfaces/primary: root@master091:~# zgrep interfaces/primary= /var/log/univention/config-registry.replog* /var/log/univention/config-registry.replog:2018-03-13 19:15:43: set interfaces/primary=ens3 old:[Previously undefined] root@master091:~# I think interfaces/primary and all interfaces/ens3 variables need to be removed.
I've added the following lines to my EC2 start script and it works now: ucr unset interfaces/primary interfaces/ens3/network interfaces/ens3/netmask interfaces/ens3/address interfaces/ens3/broadcast
Another issue on my test system the start site is set to ucs-overview: root@master091:/var/www# ucr get apache2/startsite ucs-overview/ root@master091:/var/www# See 10.210.63.200
(In reply to Stefan Gohmann from comment #4) > Another issue on my test system the start site is set to ucs-overview: > root@master091:/var/www# ucr get apache2/startsite > ucs-overview/ > root@master091:/var/www# As discussed, the startsite issue is something in our utils.sh script. So, you can ignore it.
ami-0aa0e973 Univention Corporate Server (UCS) 4.3 (official image) rev. 0
ap-northeast-1 ami-26561c40 ap-northeast-2 ami-a78a26c9 ap-south-1 ami-a8ca93c7 ap-southeast-1 ami-fc5b0b80 ap-southeast-2 ami-7e25e61c ca-central-1 ami-e6179082 eu-central-1 ami-e6264d89 eu-west-1 ami-0aa0e973 eu-west-2 ami-f84cab9f eu-west-3 ami-e146f09c sa-east-1 ami-6a570206 us-east-1 ami-57488b2a us-east-2 ami-a6d5e3c3 us-west-1 ami-9e0e1afe us-west-2 ami-3519894d
OK - ucs-ec2-create -c scenarios/autotest-091-master-s4.cfg OK - manually creating an ec2 instance, system setup ucs master + s4, app installation OK - disk resize
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".