Cobbler Versions Save

Cobbler is a versatile Linux deployment server

v3.3.4

3 months ago

Cobbler 3.3.4 - 2024-02-26

This release is containing a lot of backports from main to make Cobbler more stable for the community.

We have 99 files changed, 5816 insertions(+), 920 deletions(-)

Milestone: https://github.com/cobbler/cobbler/milestone/21

Diff to last release: v3.3.3...v3.3.4

Added

  • SPEC: Add "cobbler-tests-containers" subpackage #3368
  • Tests: Add integration tests for "cobbler-settings" #3382
  • SPEC: Add support for Cobbler running on Ubuntu 22.04 #3413
  • Add build of debs for Debian 12 Bookworm #3566
  • Add various openSUSE, SLES and SLE Micro signatures #3589
  • Settings: Added settings migration for Cobbler 3.3.4 #3592

Changed

  • Distros: Enhance error message when a kernel doesn't match our regex requirements #3194
  • CI: Use Fedora Rawhide for tests to stabalize reposync tests #3468

Fixed

  • XML-RPC API: Systems - Re-enable the modify_interface call #2896
  • XML-RPC API: Fix an issue where "get_item_resolved_value()" would return unserializable types #3173
  • "grab_tree" is not spamming the logfile anymore #3176
  • Systems: Don't create interface "default" when not needed #3190
  • Buildiso: The action doesn't fail anymore if a system is based on an image #3238
  • DHCP: The main config file doesn't contain "<>" anymore for the filename option #3367
  • Anamon: Fix uploading of logfiles from the installer #3420
  • SELinux: Fix daemon startup error caused by incorrect ownership of /var/lib/cobbler/web.ss #3446
  • CLI: Fixed an error that mangled the types of certain flags for Cobbler items #3450
  • Docs: The documentation builds with Sphinx 7.x now #3455
  • Windows Support: Fixed issues that prevented Windows from being able to be installed #3473
  • Re-Added "tree" variable to "autoinstall_meta" #3498
  • Add EFI chainloader for Ubuntu to menu local #3524
  • Fix path to linux.c32 for symlink in mkloaders #3580
  • SPEC: Add guard for Fedora to ensure that an incorrect /etc/os-release doesn't fail the build #3584
  • sync: Fix KeyError with enabled DNS management due to missing context in the template lookup mapping data structure #3588
  • scm_track: Fix error that commits didn't work due to pathspec errors #3591
  • Fixed infinite recursion of bash completion #3604
  • Removed from Python 3.12 SafeConfigParser replaced with ConfigParser #3606
  • Settings: Clarify leftover settings and group them according to their respective topics #3612
  • scm_track: Pushing to remote repositories via the "scm_push_script" settings works again #3621
  • mkloaders: The default name for grub2-efi changed to grubx64.efi to match the expected name in the DHCPv4 template. #3623

v3.3.3

1 year ago

This release is containing a lot of backports from main to make Cobbler ready to be shipped in Uyuni.

We have 129 files changed, 6254 insertions(+), 1877 deletions(-)

Milestone: https://github.com/cobbler/cobbler/milestone/19

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.3.2...v3.3.3

Announcements:

  • None

New:

  • Uyuni Proxies can now be set with the schema validation. #3061
  • Cobbler should now build on AlmaLinux. #3064
  • The initrd is not required anymore as it is an optional file. #3127
  • XML-RPC: Added dump_vars endpoint. This is intended to replace get_blended_data as of 3.4.0. #3131
  • XML-RPC: Added get_item_resolved_value (#3056) & set_item_resolved_value (#3134) endpoints.

Breaking Changes:

  • The field virt_file_size is now a float and the related settings as well. #3072

Changes:

  • The error messages for duplicated objects now contains the name of the duplicated object. #3129

Bugfixes:

  • Dictionaries had the wrong value set for <<inherit>> #3128
  • There were some cases in which the autoinstallation manager was handed the wrong object and then crashed. #3130
  • The inheritance of the owners field was fixed. #3131
  • Serial Console options should not contain bogous -1 value anymore. #3105
  • HTTP API should not throw permission errors anymore. #3046 #3080
  • During build the log was not visible due to a custom logger without output. #3059
  • cobbler mkloaders now also copies dependencies of menu.c32. #3058
  • We now generate the grub configuration for the architectures correct again. #3097
  • virt_file_size now is a float at all times. #3072
  • Cobbler should restart successfully now if you have attached an image to a system. #3044
  • If you have a system named default the bootloader was not removed properly before. #3045
  • cobbler buildiso: The isolinux.cfg was not properly formatted. #3047
  • There were unharmful templating errors in the log related to redhat_management_type. The parts depending on this were removed. #3048
  • The DNS managers were non-functional before because of a not existing function call. #3049
  • cobbler buildiso failed with --tmpdirs that don't end in buildiso. #3050
  • cobbler buildiso had outdated docs and help messages for some parameters. #3051
  • cobbler import: It was impossible to import Rocky Linux 8.5 successfully. #3052
  • Cobbler created duplicated settings files before. #3053
  • cobbler sync was broken by refactoring to shell=False before. #3054

Other:

  • CI: The system-test workflow now uses a prebuilt image. #3132

v3.3.2

2 years ago

This release addresses mainly security issues and bugfixes.

We have 156 files changed, 3288 insertions(+), 1642 deletions(-)

Milestone: https://github.com/cobbler/cobbler/milestone/18

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.3.1...v3.3.2

Announcements:

  • Important Security Bugfixes

New:

  • cobbler sync doesn't have to be executed no more after enable_ipxe was flipped #2689 #2944
  • Auth: Support for Global Secure Catalog via LDAP provider #2937

Breaking Changes:

  • None

Changes:

  • Reposync now deletes old metadata to prevent metadata merge conflicts #2942
  • The automigration of the settings is now not enabled per default. #2881 #2966
  • We removed ppc from RedHat EL 7 as it is not supported #2964

Bugfixes:

  • Network interface is not subscriptable errors were fixed #2856
  • The stacktraces related to the package and file pre & post triggers should no longer appear #2953
  • You should be able to add multiple initrds if needed again #2870 #2931
  • Debian: Fix regex for SHIM_FILE which now provides a working reasonable default #2930

Other:

  • Internal Refactorings:
    • Tech-Tebt in the DHCP ISC manager was cleaned up #2957
    • Switch from the collection manager to the api.py #2955
  • Docs
    • cobbler-settings is now explained in the "Scripts" section #2966
  • Tests:
    • Added basic tests for untested modules #2956
    • Python: Switch from XML-RPC to Python objects #2963
  • CI/container:
    • Increase timout for DEB build #2954
    • CI: Add podman support #2934
    • Debian packages build on PRs again #2950
    • Debian package build errors were fixed #2948 #2949

v3.3.1

2 years ago

This release addresses mainly security issues and bugfixes.

We have 212 files changed, 2665 insertions(+), 125148 deletions(-)

Milestone: https://github.com/cobbler/cobbler/milestone/15

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.3.0...v3.3.1

Announcements:

  • Important Security Bugfixes
    • CVE-2021-45082: Incomplete template sanitation #2945
    • CVE-2021-45083: Make configuration files only readable by root #2945
    • Stabilize MongoDB serializer #2919
    • Log file pollution: validate the data before logging it #2911
    • Authentication: Remove testing module due to hardcoded well known credentials #2908

New:

  • Support for Windows 11 #2819
  • Support for FreeBSD 12.2 & 13.0 #2929
  • UEFI support #2416

Breaking Changes:

  • cobbler mkgrub renamed to cobbler mkloaders #2807

Bugfixes:

  • cobbler <item> rename should work again now #2824
  • ldap_anonymous_bind #2831
  • Wrong bind path for Debian #2927
  • RHEL/Fedora arches in signatures #2895
  • Auto migrate settings #2871
  • System: Fix serial_device and serial_baud_rate #2923
  • Cannot set property 'file' of image #2878
  • Enums: Fix failure to convert <<inherit>> #2920
  • cobbler mkloaders for non-SUSE distros did not work #2851
  • Added ipv6_prefix to post_install_network_config #2928

Other:

  • Internal Refactorings:

    • Add systemctl for systemd based systems #2841
    • Enums: Create general str to enum converter #2901
    • Systems: Re-enable the modify_interface call #2921
    • Utils: Check if service is running before stopping it #2936
    • Several check enhancements #2809
    • Remove old Cobbler Web leftovers #2938
    • Simplify remote_boot_file setters #2886
  • Docs

    • Explain TFTP and internal database #2904
  • Tests:

    • Add tftpgen unit tests #2808
    • Add system unit tests #2814
    • Add system test for cobbler buildiso #2822
    • XMLRPC test for adding an interface to a system #2907
  • CI/container:

    • Improvements for the development container #2806
    • Use prebuilt images for testing #2812
    • CentOS to Rocky Linux move for Compose #2939
    • Add python-rpm-macros #2872

v3.2.2

2 years ago

This is a security only release.

The Django webinterface is removed with V3.3.0 but is included in V3.2.2!

We have

Milestone: https://github.com/cobbler/cobbler/milestone/17

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.2.1...v3.2.2

Breaking Changes: None

Announcements:

  • Important Security Bugfixes #2797
    • Arbitrary Read was possible through generate_script()
    • Arbitrary Write was possible through upload_log_data()
    • Log poisoning with Remote-Code-Execution was possible through any XMLRPC method which logs to the logfile.

New:

  • AlmaLinux & RockyLinux are now supported #2705

Changes: None

Bugfixes: None

Other:

  • Release preparations #2798

v3.3.0

2 years ago

This release got everything! Security, Features, Bugfixes, ...

We have 422 files changed, 25375 insertions(+), 34826 deletions(-)

Milestone: https://github.com/cobbler/cobbler/milestone/10

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.2.1...v3.3.0

Known Issues:

  • cobbler <item> rename is not working currently
  • cobbler <item> edit may have bugs due to the internal refactorings

Breaking Changes:

  • The webinterface got removed #2434 #2434 #2700
  • The Cobbler internal TFTP Demon got removed #2512
  • yaboot support got removed as a bootloader for PowerPC #2723

Announcements:

New:

  • The migrate-data-v2-to-v3.py script is now packages and can directly be used #2591
  • The mkgrub.sh script was converted to the command cobbler mkgrub #2739 #2721
  • We now have automigrations and validation for the application settings #2747 #2719 #2772 #2769
  • New distros are now able to be imported:
  • cobbler sync now supports syncing only specified systems #2601
  • You can now define your own boot menu structure #2575
  • Cobbler is able to run on RockyLinux and import it #2627
  • DHCPv6 is now natively supported #2539 #2511 #2647

Changes:

  • Internal cache got fully removed with #2684 (related #2661)
  • cobbler get-loaders was removed for security reasons #2572
  • Removed the simplejson dependency as it is redundant now #2572
  • Docs: Multiple enhancements #2599 #2788
  • Logger: Changed to the default Python 3 logger (much more configurable) #2573
  • Old bootloaders which were not shipped by default got removed #2641
  • Windows autoinstallation was simplified #2767
  • We are now using os.urandom instead of /dev/urandom #2752
  • We have reduced the usage of the generic CX exception #2643
  • ipmilanplus is the default fence agent for power operations #2714
  • For nested GRUB menus we now show an indicator #2693 #2693
  • Items can now be found even if the item type is not specified #2663

Bugfixes:

  • Be compliant with CORS pre-flight requests #2594
  • cobbler reposync: SSL related problems were fixed #2759
  • Autoinstall templates directory was wrong per default. #2590
  • We do not strip the last two characters anymore when rendering via an HTTP(S) Endpoint #2626
  • cobbler check does not complain about the old name of the settingsfile anymore #2630
  • openSUSE Tumbleweed AutoYAST templating was fixed again 2629 #2628 #2632
  • cobbler hardlink now works with non default web directories #2774
  • GRUB got a few Cobbler related fixes #2653 #2792 #2743
  • pxe_just_once is working as expected now #2783 #2784
  • Anaconda installation process ONBOOT is now able to be set with and without qotation marks 2775
  • The Autoinstall Manager crashes correctly in case of an error #2791
  • cobbler distro delete now doesn't leave repository configs behind #2729 #1370
  • cobbler sync --dns is now working as expected again #2710 #2712

Other:

  • Internal Refactorings:
    • Base class for all manager modules is used now #2610
    • Cobbler litesync was moved into Cobbler sync #2615
    • field_info.py functionality was removed since it was unused #2662
    • API is used instead of the collection manager #2652
    • Settings are now held in the API instead of the collection manager #2664
    • Directly use the UUID module where available #2650
    • Don't clone an object during rename #2744
    • kopts_overwrite is more error resistent now #2651
  • Docs:
    • Added missing dependency for building #2571
    • Fix build errors #2633
    • Extend __init__.py files with content about Python modules #2642
    • Spelling #2731
    • Types for many external API methods #2785
    • Document properties #2773
    • General cleanup #2771
  • Tests: Multiple new testcases to improve stability and coverage #2656 #2740 #2745 #1492 #2645 #2649
  • GitHub Issue templates were revamped #2578
  • Packaging: Specfile got a few improvements #2780
  • CI:
    • Obsolete testing container #2730
    • Also use the openSUSE Build Service for packaging on PRs #2672
    • Package also for openSUSE #2607
    • Enhance the Setup scrips #2331
  • Development: Container now exposes 80 & 443 2609

v3.2.1

3 years ago

This release is a lot about bug fixes and smaller improvements.

Important: This will be the very last release to contain the already deprecated Django Web Interface.

We have 184 changed files, 8391 insertions and 3362 deletions. We have merged 45 pull requests.

Milestone: https://github.com/cobbler/cobbler/milestone/9

Diff to last release: https://github.com/cobbler/cobbler/compare/v3.2.0...v3.2.1

New:

  • Signatures: Add ESXi 7.0 U1 #2525 #2526 #2442
  • Signatures: Add AlmaLinux to supported distros #2536
  • Signatures: Add generic openSUSE Leap 15 #2508
  • Settings: Use .yaml as a file extension #2531
  • Settings: Validate what settings we have in the YAML-File #2533 #2419 #2530
  • Modules: We now support automatic Windows installations #2466
  • Docs: Terraform provider now included #2166 #2528

Changes:

  • Web Frontend: Show VMware as a breed #2449
  • Logging check fails with SELinux #2440 #2441
  • Typing: Convert docstring types to typing types #2564
  • ESXi Support: Now partly supported #2541
  • ipmitool now is upstream supported by fence_agents via ipmilanplus #2542
  • cobbler version remove the b prefix #2543
  • We are now using inst.ks instead of ks #2534
  • Use the python-file bindings instead of a subprocess call #2482 #2480
  • Web Interface: Make new user management more obvious #2484

Bugfixes:

  • Remove redundant .json suffix: #2451 #2376 #2545 #2529
  • PAM Authentication failures are fixed now: #2400 #2444
  • Templating: Fix Cheetah macros #2570 #2509 #2403
  • Templating: Fix regex replacements #2513
  • Templating: Add http_port to all snippets we are aware of #2058
  • API: Have the legacy fields kickstart and ks_meta present at all times. #2311 #2568
  • Replicate: revert_strip_none prior adding an object on replicate #2548 #2505
  • Replicate: Fix paths during replication #2516
  • Web interface: Fix snippet path #2520
  • Web interface: Prevent duplicate pathing of snippets #2485
  • Fix script path from Cobbler #2479 #2478
  • Settings: Add missing rsync flags option #2467 #2468
  • Startup: Cobbler starts with sub-profiles now #2259 #2450
  • Web: Permissions for /var/lib/cobbler/web.ss #2439 #2452
  • Power management: Follow the fence_agent return codes #1491
  • cobbler check: Fix dnsmasq check #2155

Other:

  • CI: We changed to GitHub Actions from Travis #2514
  • CI: Add Test-PyPi release for every commit on master #2533 #2553 #2565
  • CI: Configure linters #2422 #2506
  • CI: Replace Fedora 31 with Fedora 33 for building packages #2463
  • Tests: Add more coverage #2554 #2550 #2546
  • Cleanup unused import #2551
  • Docs: Improvements at various places #2547 #2481 #2473 #1801 #2228
  • Removed unused multi-language support #2532
  • Un-categorized improvements #2524 #2464
  • Packaging: CentOS builds because of a virtual provides for a dependency #2340
  • Items: Streamline template_types type in all items #2262
  • Docker: Add ldap to the image per default #2335

Breaking Changes:

  • Possibly the settings file is not correctly migrated and needs to be manually adjusted.
  • Rename settings to settings.yaml
  • Add all keys which are missing. List will be available in /var/log/cobbler/cobbler.log.
  • We dropped support for CentOS 7 since no full Python 3 stack is available #2515

Announcement:

  • We will try to fade out Cheetah3 over time. Release 4.0.0 will contain only Jinja2 templates. We will aide and help with the transition and try to make it as smooth as possible
  • We will remove the internal implementation of the TFTP daemon with 3.3.0. If you use it, please use one from your system vendor in the future.

v3.2.0

3 years ago

This release is a lot about bug fixes and smaller improvements.

Important: This will be the last release to contain the already deprecated Django Web Interface.

We have 2,960 additions and 1,018 deletions. We have merged 30 pull requests.

Milestone: V3.2.0

New:

  • Include Fedora32 & Ubuntu Focal in signatures.json (#2405)
  • Move rsync flags to the Cobbler settings reposync_rsync_flags (#1480 #2399)
  • Add a new Flag - cache_enabled - to enable or disable the cache (#2387)
  • When doing autoinstallations the conversion of hostnames to ips is now optional via this settings: convert_server_to_ip (#2357)

Changes:

  • Specfile got multiple improvements (#2413 #2409 #2334 #2351 #2355 #2392)
  • Documentation improvements (#2406 #2407 #2377 #2360 #2361 )
  • String replacments will now have a better performance (#2417)
  • Remove Python2 compability layer fully (#2402)
  • Rewrite the Spacewalk Auth Module (#2401)
  • Address tech-debt (#2380)
  • When building yourself you can configure the tftp directory (#2359)

Bugfixes:

  • Finally include ESXI7 Signatures (#2435 #2441)
  • Fix startup error when config variable is called before assignment. (#2394)
  • Remove dead code (#2367)
  • FileNotFoundError when under high load (#2362 #2365)
  • Sorting in the WebUI (#2265 #2390)
  • When copying a system, the invalid MAC error is now fixed (#2397)
  • Fix error message on the cli when using `--verbose`` (#2388)
  • Fix some reposync related problems (#2384)
  • Fix repo and mgmtclass initializations (#2374 #2373)

Other:

  • Improved Tests (#2408 #2420)

Breaking Changes: We should have no breaking changes in this version.

v3.1.2

4 years ago

This release syncs release30 with master. No patches for release30 were needed specifically.

We have +13,585 additions and −6,365 removals. We have merged 45 pull requests.

New:

Changes:

Bugfixes:

Other:

Breaking Changes:

v3.1.1

4 years ago

Bugfixes:

  • Incremented Version to 3.1.1 from 3.0.1