Bug 29885 - VMware image with UCS 3.1-0-errata
VMware image with UCS 3.1-0-errata
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.1
Assigned To: Stefan Gohmann
Alexander Kläser
: interim-5
Depends on: 25489 26507 29435 29706 29768 29771 29805 29999 30119
Blocks: 29886
  Show dependency treegraph
 
Reported: 2012-12-21 22:38 CET by Stefan Gohmann
Modified: 2023-03-25 06:41 CET (History)
2 users (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 2012-12-21 22:38:58 CET
A new VMware image should be created and released.
Comment 1 Alexander Kläser univentionstaff 2013-01-15 17:38:00 CET
I updated the VMware image and put it temporarily on omar:/tmp/aklaeser. The image contains all current errata updates, univention-system-setup-boot has been reinstalled (in order to keep the local cached package versions up-to-date [QA: please double-check]), the UCR variable system/setup/boot/start has been set to "true", network settings have been reset after the update.
Comment 2 Dirk Wiesenthal univentionstaff 2013-01-15 23:29:57 CET
The image can be booted and does so into System setup (=> the UCR variable system/setup/boot/start has been set to "true"). Network page shows that DHCP is activated. Ctrl+q is possible.

Every package that has seen at least one errata-update is up-to-date (last update: Today at 15:14). I double-checked installed versions of univention-system-setup{-boot} and python-univention-lib. As far as I can see, these are the most important packages for the image.

I did not do any further testing as has been done during the Errata-QA.
Comment 3 Stefan Gohmann univentionstaff 2013-01-16 07:05:02 CET
(In reply to comment #2)
> Every package that has seen at least one errata-update is up-to-date (last
> update: Today at 15:14). I double-checked installed versions of
> univention-system-setup{-boot} and python-univention-lib. As far as I can see,
> these are the most important packages for the image.
> 
> I did not do any further testing as has been done during the Errata-QA.

I think the following things should be tested:
 - configure the image to a master and join a windows client into the S4 domain
 - install some applications from the app center
 - configure a master + backup, slave, member and join them
Comment 4 Dirk Wiesenthal univentionstaff 2013-01-16 15:58:25 CET
I had problems joining a Windows machine -> Bug#30044

REOPENED, until the issue is resolved. Maybe it is even necessary to rebuild the image.
Comment 5 Stefan Gohmann univentionstaff 2013-01-18 10:36:00 CET
See http://wiki.univention.de/index.php?title=UCS_Appliance#Preparing_VMware_Images, I think these files should be removed:

  inflating: UCS 3.1-0/vmware.log    
  inflating: UCS 3.1-0/nvram

I can reproduce the S4 connector issue if I change the IP address. The following lines should be executed and added to the wiki article:

# Ensure s4connector will be restated after the configuration
cat >/usr/lib/univention-system-setup/appliance-hooks.d/s4connector <<__EOF__
#!/bin/sh
test -x /etc/init.d/univention-s4-connector && /etc/init.d/univention-s4-connector restart
__EOF__
chmod +x /usr/lib/univention-system-setup/appliance-hooks.d/s4connector
Comment 6 Alexander Kläser univentionstaff 2013-01-18 13:17:38 CET
(In reply to comment #5)
> See
> http://wiki.univention.de/index.php?title=UCS_Appliance#Preparing_VMware_Images,
> I think these files should be removed:
> 
>   inflating: UCS 3.1-0/vmware.log    
>   inflating: UCS 3.1-0/nvram
> 
> I can reproduce the S4 connector issue if I change the IP address. The
> following lines should be executed and added to the wiki article:
> ...

Could this also affect the EC2 images (Bug 29886)?

I adapted the Wiki page, added the s4connector appliance hook and removed log and nvram file. I updated the image in /tmp/aklaeser
Comment 7 Dirk Wiesenthal univentionstaff 2013-01-21 15:19:56 CET
The issue remains unfixed. The script is present, but the connector is still not working out-of-the-box (i.e. has to be restarted manually).
Comment 8 Alexander Kläser univentionstaff 2013-01-23 10:49:53 CET
(In reply to comment #7)
> The issue remains unfixed. The script is present, but the connector is still
> not working out-of-the-box (i.e. has to be restarted manually).

This problem could be reproduced when setting up a master system and changing its IP address from DHCP to static. See also Bug 30119.
Comment 9 Alexander Kläser univentionstaff 2013-02-12 19:11:32 CET
I prepared a new image → omar:/tmp/aklaeser
Comment 10 Alexander Kläser univentionstaff 2013-02-12 19:22:53 CET
(In reply to comment #9)
> I prepared a new image → omar:/tmp/aklaeser

I still seem to have the same problem that should be fixed with Bug 30119. Adding a new user would not be replicated into Samba4. After a restart of the s4-connector everything seems to be ok.
Comment 11 Alexander Kläser univentionstaff 2013-02-12 19:23:36 CET
The installed version of the s4-connector is 7.0.22-9.365.201301241501 → seems to be the correct one!
Comment 12 Stefan Gohmann univentionstaff 2013-02-13 07:46:26 CET
Can you test my images? I can't reproduce it with this image:

stefan@leksvik:/$ ls /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
/srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
stefan@leksvik:/$ cat /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip.md5
93340dd53986847833fcf6c0e06d8e97  ucs-3.1-0errata37-demo-image.zip
stefan@leksvik:/$
Comment 13 Alexander Kläser univentionstaff 2013-02-13 09:28:05 CET
(In reply to comment #12)
> Can you test my images? I can't reproduce it with this image:
> 
> stefan@leksvik:/$ ls /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
> /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
> stefan@leksvik:/$ cat /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip.md5
> 93340dd53986847833fcf6c0e06d8e97  ucs-3.1-0errata37-demo-image.zip
> stefan@leksvik:/$

Same problem → the listener needs a restart script in /etc/network/if-down.d
(see also Bug 30408)
Comment 14 Stefan Gohmann univentionstaff 2013-02-13 12:22:05 CET
(In reply to comment #13)
> (In reply to comment #12)
> > Can you test my images? I can't reproduce it with this image:
> > 
> > stefan@leksvik:/$ ls /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
> > /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
> > stefan@leksvik:/$ cat /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip.md5
> > 93340dd53986847833fcf6c0e06d8e97  ucs-3.1-0errata37-demo-image.zip
> > stefan@leksvik:/$
> 
> Same problem → the listener needs a restart script in /etc/network/if-down.d
> (see also Bug 30408)

New image with a manual fix for Bug #30408 and Bug #30412:

stefan@leksvik:/$ ls /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
/srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip
stefan@leksvik:/$ cat /srv/vmware/stefan/ucs-3.1-0errata37-demo-image.zip.md5 
49c24a66464bebab91d0308e34ba130e  ucs-3.1-0errata37-demo-image.zip
stefan@leksvik:/$
Comment 15 Alexander Kläser univentionstaff 2013-02-13 14:37:24 CET
Now users are synced in both directions: UCS → S4 and S4 → UCS.