Bug 35767 - Create new UCS 4.0 MS1 EC2 images
Create new UCS 4.0 MS1 EC2 images
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 enhancement (vote)
: UCS 4.0
Assigned To: Janek Walkenhorst
Stefan Gohmann
: interim-2
Depends on:
Blocks: 35733
  Show dependency treegraph
 
Reported: 2014-09-02 07:10 CEST by Stefan Gohmann
Modified: 2014-11-26 06:54 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 2014-09-02 07:10:18 CEST
New UCS 4.0 MS1 EC2 images should be created. See Bug #35733.
Comment 1 Janek Walkenhorst univentionstaff 2014-09-15 17:44:53 CEST
ami-7468cc03
Comment 2 Philipp Hahn univentionstaff 2014-09-16 09:52:56 CEST
Execute: univention-license-import /root/autotest091.ldif
bash: univention-license-import: Kommando nicht gefunden.

This seems to be caused by univention-system-setup failing to provision the DC Master:

=== 05_role/10role (2014-09-16 09:22:22) ===
__NAME__:05_role/10role Configuring server role
...
__MSG__:E:Unable to correct problems, you have held broken packages.
__ERR__:E:Unable to correct problems, you have held broken packages.
__ERR__:E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
### LOG ###
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 284, in run
    success = self.inner_run()
  File "/usr/lib/univention-system-setup/scripts/05_role/10role", line 84, in inner_run
    self.install(wanted_server_role_package)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 393, in install
    self.package_manager.install(*pkg_names)
  File "/usr/lib/pymodules/python2.7/univention/lib/package_manager.py", line 700, in install
    return self.commit(install=pkg_names)
  File "/usr/lib/pymodules/python2.7/univention/lib/package_manager.py", line 612, in commit
    to_be_installed, to_be_removed, broken = self.mark(install, remove, dry_run=True)
  File "/usr/lib/pymodules/python2.7/univention/lib/package_manager.py", line 554, in mark
    pkg.mark_delete()
  File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1270, in mark_delete
    fix.resolve()
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Also the SWAP partition still does not exist:

# grep swap /etc/fstab ; stat /dev/xvda3
/dev/xvda3  none            swap    sw              0       0
stat: cannot stat `/dev/xvda3': No such file or directory


OK: Reboot works now (Bug #35733)
Comment 3 Philipp Hahn univentionstaff 2014-09-16 17:08:19 CEST
# ucr unset server/role
# /usr/lib/univention-system-setup/scripts/05_role/10role
or
# aptitude install univention-server-master
...
The following packages have unmet dependencies:
 libgfortran3 : Depends: gcc-4.7-base (= 4.7.2-5.8.201403031254) but 4.7.2-5.9.201403121731 is installed.

I manually clean up /var/univention/buildsystem2/{apt,packages}/ucs_4.0-0/ (bug #33835):
  moved arch-all packages from amd64/
    gdk*
    ...
  removed amd64 binary packages superseeded by newer builds:
    xmms2
    xcb
    uno
    libreoffice-mysql-connector
    gdk-pixbuf2.0
    gambas
    libreoffice-pdfimport
    libreoffice-presenter-console
    libreoffice-presentation-minimizer
    mono-jay
    linux-compiler-gcc-4.?-x86
    ...
  removed transition packages provided by other source packages in wheezy:
    gcc-mingw-w64
    gdb-mingw-w64
    openoffice.org-thesaurus-pl
    openoffice.org-hyphenation-pl
    ttf-indic-fonts
    ttf-freefont
    ttf-lao
    automake
    mozilla-noscript
    jodconverter
    ...
  build outdated packages for amd64:
    gcc-defaults
    java-common
    libsdl1.2
    yade
    nqp
    pmount
    gauche
    xnee snappy pev itools pcmanx-gtk2 probcons sqlitebrowser jodconverter kcc palbart kamera
    libxi libxdamage drawtk libguac-client-vnc snappy-player tomcat-native tclreadline inotifyx etl
    gcc-3.3 (r13579: use automake instead of automake1.4)
    ...

Why are the following packages installed?
- libept-dev
- gcc-4.4-base
- gcc-4.5-base
Comment 4 Stefan Gohmann univentionstaff 2014-10-01 15:49:36 CEST
The images are used in Jenkins.
Comment 5 Stefan Gohmann univentionstaff 2014-11-26 06:54:28 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

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