Commit Graph

60128 Commits

Author SHA1 Message Date
Ivan Barbecho Delgado
9383d9735d Bug #57132: univention-server ANNOUNCE 2024-05-29 12:46:37 +02:00
Dirk Wiesenthal
5185abaaa7 Issue #2286: Fix typo in cfg 2024-05-28 01:12:02 +02:00
Dirk Wiesenthal
637a8b25bd Issue #2286: Fix typo in autotest-076-update-member-no-samba.cfg 2024-05-25 21:48:12 +02:00
Dirk Wiesenthal
4d0ea0257d Issue #2286: Increase RAM for 07* and 09* tests 2024-05-25 00:22:12 +02:00
Julia Bremer
75b468d7dd The license_client.py script changed the order of the flags that can be set.
Issue univention/ucs-ec2-tools#37
2024-05-21 09:57:08 +02:00
Philipp Hahn
ea4254045c refactor(test): Drop duplicate variables
Instead of shadowing all internal defaults (lower case) and exporting
them ad (upper case), only use the later.

Bug #57129
2024-04-18 16:43:32 +02:00
Philipp Hahn
cf8eddeebe fix(test): Switch to 5.0-7 OS image
Bug #57129
2024-04-18 16:43:00 +02:00
Philipp Hahn
ef41597c05 fix(test): no duplicate --terminate options
--terminate-always, --terminate-on-success and --shutdown are mutually
exclusive.

Issue univention/dist/ucs-ec2-tools#29
Fixes: d6fd7427bc
2024-04-18 16:38:13 +02:00
Philipp Hahn
a82dd85f24 refactor(test): Remove branch test
`buildvm` = `hauga` no longer exists since 2023-07-26

<https://helpdesk.knut.univention.de/#ticket/zoom/5256>

Bug #57129
2024-04-18 16:38:13 +02:00
Philipp Hahn
a3cfa45eed fix(test): exec vs. trap EXIT
`trap EXIT` does not work when shell does `exec ucs-…-create`.

Bug #57129
2024-04-18 16:38:13 +02:00
Felix Botner
be1020eb63 Issue #29: rename HALT to TERMINATE
univention/dist/ucs-ec2-tools#29
2024-03-27 13:04:12 +01:00
Julia Bremer
74e02e8708 Bug #57146: univention-directory-manager-modules ANNOUNCE 2024-03-18 13:59:10 +01:00
Philipp Hahn
587fdbad66 test(kvm): Disable update for KVM image
To be able to build a pristine 5.0-x image *without* errata, disable
doing the update at the end of USS.

Bug #57140
Augments: 7ef78efc98
2024-03-15 13:00:49 +01:00
Philipp Hahn
6c0e95ae23 fix(server): Depend on fixed UCR
Using `from univention.config_registry import ucr` with
`univention.config_registry.Interfaces()` was broken until erratum 989
fixed that broken behavior. This broke `univention-fix-ucr-dns`.

Depend explicitly on fixed python3-ucr.

All 3 scripts are Python-3-only:
- python{ -> 3}-dnspython
- python{ -> 3}-univention-lib
- python-ipaddress is part of Python 3.3 standard library
- python-univention-license is unused

Bug #57132: univention-server 15.0.8-3
2024-03-14 19:31:31 +01:00
Philipp Hahn
7ef78efc98 test(kvm): Configure update behavior
Instead of always updating the current KVM image to the latest
patch-level release, add the options to the Jenkins job to select the
update behavior.

Currently the 5.0-6 jobs also updates to 5.0-7; WTF?

Bug #57127
2024-03-14 18:56:15 +01:00
Florian Best
59e66191f2 fix(udm): restore Python 2.7 compatibility
UMC modules running with Python 2.7 will decode JSON objects so that each decoded string is a unicode string.
Given that to the newly introduced `univention.admin.modules._get()` will break, due to explicit only check for `str`.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 387, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 285, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 189, in _response
    return function(self, request)
  File "/usr/lib/python2.7/dist-packages/ucsschool/lib/school_umc_ldap_connection.py", line 156, in wrapper_func
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/licenses/__init__.py", line 1023, in get_license
    self._import_licenses(license_handler, license_file, school)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/licenses/__init__.py", line 997, in _import_licenses
    import_license(license_handler, license)
  File "/usr/lib/python2.7/dist-packages/univention/bildungslogin/license_import/__init__.py", line 134, in import_license
    license_handler.create(license)
  File "/usr/lib/python2.7/dist-packages/univention/bildungslogin/handlers.py", line 76, in create
    udm_obj = self._licenses_mod.new()
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 565, in new
    return self._load_obj('', superordinate)
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 768, in _load_obj
    obj._copy_from_udm_obj()
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 342, in _copy_from_udm_obj
    self.position = self._udm_module._get_default_object_positions()&#91;0&#93;
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 662, in _get_default_object_positions
    default_containers = self._get_default_containers()
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 640, in _get_default_containers
    mod = GenericModule('settings/directory', self.connection, 0)
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 554, in __init__
    self._orig_udm_module = self._get_orig_udm_module()
  File "/usr/lib/python2.7/dist-packages/univention/udm/modules/generic.py", line 691, in _get_orig_udm_module
    univention.admin.modules.init(self.connection, po, udm_module)
  File "/usr/lib/python2.7/dist-packages/univention/admin/modules.py", line 240, in init
    univention.admin.ucr_overwrite_properties(module, lo)
  File "/usr/lib/python2.7/dist-packages/univention/admin/__init__.py", line 73, in ucr_overwrite_properties
    ucr_prefix = ucr_property_prefix % module.module
AttributeError: 'unicode' object has no attribute 'module'

Fixes: f56259d79
Bug #57146
2024-03-14 17:34:23 +01:00
Florian Best
6e5d14e15c ci(pre-commit): update to pre-commit-ucr 0.1.0
Bug #31771
2024-03-14 17:30:23 +01:00
Philipp Hahn
bc21cb1a17 ci: Update .pre-commit
`ucs-erratum` fails to check errata.yaml:

> An unexpected error has occurred: CalledProcessError: command: ('/builds/univention/ucs/.cache/pre-commit/repoh_91nx47/node_env-default/bin/node', '/builds/univention/ucs/.cache/pre-commit/repoh_91nx47/node_env-default/bin/npm', 'install', '-g', '/builds/univention/ucs/.cache/pre-commit/repoh_91nx47/> @univention/pre-commit-ucs@1.4.0 prepare
> > npm run build
> > @univention/pre-commit-ucs@1.4.0 build
> > ajv compile -s erratum.schema.json -o ucs-erratum-schema.js
> schema erratum.schema.json is valid
> univention-pre-commit-ucs-1.4.0.tgz')

replace NPM based `AJV` with Python based `cgeck-jsonschema` already
used in univention/dist>.

Also `pre-commit auto-update`

<https://github.com/python-jsonschema/check-jsonschema>

Bug #57120
2024-03-14 17:30:11 +01:00
Philipp Hahn
dfba216508 doc(release): Remove unused forward
Bug #57122
2024-03-14 17:29:57 +01:00
Philipp Hahn
4b2c8da1b5 test: Fix appliance testing
Bug #57128
2024-03-14 17:01:59 +01:00
Philipp Hahn
ac28061be1 feat(VM): Shrink VM images - Revert
Download packages again into
/var/cache/univention-system-setup/packages/ to have stable set of
packages during USS.

Bug #54263
Reverts: cb7b1f83f2
Reverts: e4dd29ccd3
Reverts: 0c52226c3b
2024-03-14 17:01:40 +01:00
Florian Best
e0b120774a style: fix type annotation comments
Bug #31771
2024-03-14 16:59:46 +01:00
Hendrik Fiedler
8a4fcdc1e7 docs(ad-connection): fix name of logfile 'connector-status.log' to 'connector-ad-status.log'
Bug #57139
2024-03-14 09:40:02 +01:00
Felix Botner
eade9f4bbb fix(utils.sh): hostname in basic_setup_ucs_joined
Bug #55747
2024-03-12 16:40:07 +01:00
Florian Best
165f3137b5 ci(jenkins): adjust Apache settings for performance tests
Bug #56089
2024-03-10 10:54:03 +01:00
Florian Best
76d4e6fc95 doc(umc): add README.md for Univention Management Console
Bug #43633
2024-03-10 10:54:03 +01:00
Philipp Hahn
70aaffab15 Bug #56911: univention-system-setup 13.0.10-5
Fixes: a977099d2c
2024-03-08 10:57:31 +01:00
Philipp Hahn
1e75126501 Bug #57001: univention-keycloak 1.0.10-7
Fixes: b61ba5d3f2
2024-03-08 10:55:03 +01:00
Philipp Hahn
7df0a17b85 Bug #56521: univention-fetchmail 13.0.8-2
Fixes: b70c7f5078
2024-03-08 10:54:35 +01:00
Philipp Hahn
2433a4b637 Bug #57024: univention-directory-listener 14.0.9-2
Fixes: 0ba4a44673
2024-03-08 10:53:22 +01:00
Philipp Hahn
11093c880d Bug #56956: univention-s4-connector 14.0.16-3
Fixes: fb6fe3aa60
2024-03-08 10:50:44 +01:00
Philipp Hahn
c8c22448c5 Bug #55324: univention-debug-python 12.0.3-5
Fixes: 66f3c44ce3
2024-03-08 10:49:40 +01:00
Philipp Hahn
c77f282fa9 Bug #56957: univention-mail-postfix 14.0.7-1
Fixes: c6b5a008bb
2024-03-08 10:48:53 +01:00
Philipp Hahn
fbe1dde28f Bug #56888: univention-keycloak 1.0.10-3
Fixes: 4b47678f69
2024-03-08 10:46:58 +01:00
Philipp Hahn
25cf7d5f72 Bug #55555,Bug #57046: univention-management-console-module-udm ANNOUNCE 2024-03-07 12:55:34 +01:00
Philipp Hahn
a977099d2c Bug #56911: univention-system-setup ANNOUNCE 2024-03-07 12:55:34 +01:00
Philipp Hahn
706deb6d89 Bug #7735,Bug #28496,Bug #50385,Bug #55555,Bug #55612,Bug #57046,Bug #57089,Bug #57098,Bug #57102: univention-directory-manager-modules ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
3b9c1aac8a Bug #57072,Bug #57098: univention-ad-connector ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
810261769d Bug #56911: univention-config-registry ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
df1bbcb5ec Bug #56911: univention-server ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
7a46277137 Bug #55555: univention-directory-manager-rest ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
4ab7f0cb1a Bug #56911,Bug #57098: univention-pkgdb ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
6a2dcd23e5 Bug #50385,Bug #57013: univention-bind ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
7a35cae87b Bug #57072,Bug #57098: univention-s4-connector ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
f2bb77bda0 Bug #56911,Bug #57098: univention-python ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
472f3397ee Bug #57108: wpa ANNOUNCE 2024-03-07 12:55:33 +01:00
Philipp Hahn
6c586a71f2 Bug #57061: univention-self-service ANNOUNCE 2024-03-07 12:55:32 +01:00
Philipp Hahn
e7f87798a7 Bug #55976: univention-management-console-module-diagnostic ANNOUNCE 2024-03-07 12:55:32 +01:00
Philipp Hahn
ce1897e817 Bug #56520: univention-mail-dovecot ANNOUNCE 2024-03-07 12:55:32 +01:00
Philipp Hahn
b61ba5d3f2 Bug #57001,Bug #57100: univention-keycloak ANNOUNCE 2024-03-07 12:55:32 +01:00