10
0
forked from pool/cobbler

21 Commits

Author SHA256 Message Date
b01f8ccdc5 Accepting request 1225256 from home:PSuarezHernandez:branches:systemsmanagement
- Update to 3.3.7
  * Security: Fix issue that allowed anyone to connect to the API
    as admin (CVE-2024-47533, bsc#1231332)
  * bind - Fix bug that prevents cname entries from being
    generated successfully
  * Fix build on RHEL9 based distributions (fence-agents-all split)
  * Fix for Windows systems
  * Docs: Add missing dependencies for source installation
  * Fix issue that prevented systems from being synced when the
    profile was edited

OBS-URL: https://build.opensuse.org/request/show/1225256
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=155
2024-11-20 09:59:36 +00:00
75d54b6e3e - Update to 3.3.6
* Upstream all openSUSE specific patches that were maintained in Git
  * Fix rename of items that had uppercase letters
  * Skip inconsistent collections instead of crashing the daemon
- Update to 3.3.5
  * Added collection indicies for UUID's, MAC's, IP addresses and hostnames
    bsc#1219933
  * Re-added to_dict() caching
  * Added lazy loading for the daemon (off by default)
- Update to 3.3.4
  * Added cobbler-tests-containers subpackage
  * Updated the distro_signatures.json database
  * The default name for grub2-efi changed to grubx64.efi to match
    the DHCP template

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=154
2024-07-16 10:46:06 +00:00
ad6b0f22bc Accepting request 1087687 from home:PSuarezHernandez:branches:systemsmanagement
- Fix package building with Sphinx >= 7.0.0
- Switch packaging from patch based to Git tree based development
- All patches that are being removed in this revision are contained in
  the new Git tree.
- Do generate boot menus even if no profiles or systems - only local boot
- Avoid crashing running buildiso in certain conditions.
- Fix settings migration schema to work while upgrading on existing running
  Uyuni and SUSE Manager servers running with old Cobbler settings (bsc#1203478)
- Consider case of "next_server" being a hostname during migration
  of Cobbler collections.
- Fix problem with "proxy_url_ext" setting being None type.
- Update v2 to v3 migration script to allow migration of collections
  that contains settings from Cobbler 2. (bsc#1203478)
- Fix problem for the migration of "autoinstall" collection attribute.
- Fix failing Cobbler tests after upgrading to 3.3.3.
- Fix regression: allow empty string as interface_type value (bsc#1203478) 
- Avoid possible override of existing values during migration
  of collections to 3.0.0 (bsc#1206160)
- Add new "cobbler-tests-containers" subpackage which contains setup and
  configuration files to run Cobbler tests in containers.
- Add missing code for previous patch file around boot_loaders migration.
- Improve Cobbler performance with item cache and threadpool (bsc#1205489)
- Skip collections that are inconsistent instead of crashing (bsc#1205749)
- Items: Fix creation of "default" NetworkInterface (bsc#1206520)
- S390X systems require their kernel options to have a linebreak at
  79 characters (bsc#1207595)
- settings-migration-v1-to-v2.sh will now handle paths with whitespace
  correct
- Fix renaming Cobbler items (bsc#1204900, bsc#1209149)
- Fix cobbler buildiso so that the artifact can be booted by EFI firmware.

OBS-URL: https://build.opensuse.org/request/show/1087687
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=153
2023-05-18 07:53:03 +00:00
dacfcdd83c Accepting request 990539 from home:SchoolGuy:branches:systemsmanagement
Added specfile corrections

OBS-URL: https://build.opensuse.org/request/show/990539
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=152
2022-07-21 15:30:12 +00:00
de4345c96c Accepting request 980622 from home:PSuarezHernandez:branches:systemsmanagement
- Update to version 3.3.3
  * New:
    * Uyuni Proxies can now be set with the schema validation.
    * Cobbler should now build on AlmaLinux.
    * The initrd is not required anymore as it is an optional file.
    * XML-RPC: Added dump_vars endpoint. This is intended to replace get_blended_data as of 3.4.0.
    * XML-RPC: Added get_item_resolved_value & set_item_resolved_value endpoints.
  * Breaking Changes:
    * The field virt_file_size is now a float and the related settings as well.
  * Changes: 
    * The error messages for duplicated objects now contains the name of the duplicated object.
  * Bugfixes:
    * Dictionaries had the wrong value set for <<inherit>>.
    * There were some cases in which the autoinstallation manager was handed the wrong object and then crashed.
    * The inheritance of the owners field was fixed.
    * Serial Console options should not contain bogous -1 value anymore.
    * HTTP API should not throw permission errors anymore.
    * During build the log was not visible due to a custom logger without output.
    * cobbler mkloaders now also copies dependencies of menu.c32.
    * We now generate the grub configuration for the architectures correct again.
    * virt_file_size now is a float at all times.
    * Cobbler should restart successfully now if you have attached an image to a system.
    * If you have a system named default the bootloader was not removed properly before.
    * cobbler buildiso: The isolinux.cfg was not properly formatted.
    * There were unharmful templating errors in the log related to redhat_management_type. The parts depending on this were removed.
    * The DNS managers were non-functional before because of a not existing function call.
    * cobbler buildiso failed with --tmpdirs that don't end in buildiso.
    * cobbler buildiso had outdated docs and help messages for some parameters.
    * cobbler import: It was impossible to import Rocky Linux 8.5 successfully.
    * Cobbler created duplicated settings files before.

OBS-URL: https://build.opensuse.org/request/show/980622
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=150
2022-06-03 11:03:52 +00:00
1c9a508540 Accepting request 961095 from home:SchoolGuy:branches:systemsmanagement
- This update fixes CVE-2022-0860 (bsc#1197027)
- Version 3.3.0 fixed jsc#SUMA-112
- Update to version 3.3.2
  * New:
    * cobbler sync doesn't have to be executed no more after enable_ipxe was flipped
    * Auth: Support for Global Secure Catalog via LDAP provider
  * Changes:
    * Reposync now deletes old metadata to prevent metadata merge conflicts
    * The automigration of the settings is now not enabled per default.
    * We removed ppc from RedHat EL 7 as it is not supported
  * Bugfixes:
    * Network interface is not subscriptable errors were fixed
    * The stacktraces related to the package and file pre & post triggers should no longer appear
    * You should be able to add multiple initrds if needed again
    * Debian: Fix regex for SHIM_FILE which now provides a working reasonable default

OBS-URL: https://build.opensuse.org/request/show/961095
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=148
2022-03-11 14:58:45 +00:00
9497c5e6d0 Accepting request 920180 from home:trenn:branches:systemsmanagement
- Update to version 3.2.1.336+git.5639a3af:
  * Autoinstall Manager: Fix utils.die calls and removed unused variable
  * Docs: Add the mkgrub command to the CLI
  * Add docstring to new API method
  * Added new keys to the migration module for 3.3.0
  * spec file needs an open source license header to be build in open build service
  * Expose GrubImage Action in api.py and cli.py
  * Add GrubImage action
  * Refactor the hardlink command to support non default web directories.
  * Cobbler-settings: Change options order
  * docs: Fix docstrings and logger formatting
  * Adjustments to cobbler-settings validate
  * Update sleep time in setup-supervisor script
  * reposync_ssl
  * Feat.: add support for Debian 11 Bullseye
  * fix: cobbler reposync

- Do not export spec file from git, due to bad licence format
- Add rpmlintrc to sources

OBS-URL: https://build.opensuse.org/request/show/920180
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=145
2021-09-19 18:27:08 +00:00
adfbb7f20a Accepting request 915721 from home:trenn:branches:systemsmanagement
- Update to version v3.2.1.295+git.af118f52:
  * Refactor the hardlink command to support non default web directories.
  * Cobbler-settings: Change options order
  * docs: Fix docstrings and logger formatting
  * docs: Update and cleanup
  * Adjustments to cobbler-settings validate
  * fix/windows
  * Applied suggestions from @agraul and @vzhestkov
  * Update sleep time in setup-supervisor script
  * reposync_ssl
  * Feat.: add support for Debian 11 Bullseye
  * fix: cobbler reposync
- Set disabled service to localonly
- Remove unused patch
D    prevent-race-condition-writting-tftpboot-files-bsc1186124.patch

OBS-URL: https://build.opensuse.org/request/show/915721
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=144
2021-09-02 10:47:50 +00:00
82bfad4b63 Accepting request 879438 from home:trenn:branches:systemsmanagement
- Update to version 3.2.1+git20210315.f7482f6b:
  * API: Add HTTP 200 Return in case we have an OPTIONS request
  * Install everything in scripts/ to get migrate-data-v2-to-v3.py
  * Update issue templates
  * Webinterface: Removal of the Django Version
  * Remove get-loader code
  * Remove internal tftp python server and remove tornado dependencies
  * Increase version of Cobbler to 3.2.1
  * Move legacy field setting
  * Add tests for distro.py and item.py
  * Templates: Move macros back to the template_api and fix snippets
  * Templates: Remove old subject parameter; rename Template to CobblerTemplate
  * Templates: Improve Cheetah template child class (linter & comments)
  * Templates: Improve docs and fix linter errors with sedsec
  * CLI: Add class docstring for the main class
  * Actions - Replicate: Add class docstring
  * Serializer - Mongo: Revert explicit type because of soft req on MongoDB
  * Grub: Add tests and catch some errors
  * Fix several issues in module file.py
  * remove esxi70u1 from signatures and template from spec
  * remove esxi70u1 config and templates

- Update to version 3.2.0+git20210221.644f267c:
  * Address review concerns by @nodeg
  * Add schema checking code and test it
  * Convert integer bools to real bools
  * Docs: Rearrange to alphabetical order & add missing settings
  * Add python-schema to our requirements
  * post_report: Use with syntax to close file in case of an error.
  * Fix linter errors in check.py

OBS-URL: https://build.opensuse.org/request/show/879438
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=139
2021-03-25 07:17:25 +00:00
06ba5dda5d OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=123 2020-06-08 19:02:51 +00:00
ebe888aeba Accepting request 809599 from home:SchoolGuy:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/809599
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=120
2020-05-27 15:18:28 +00:00
b4fb48533b Accepting request 789175 from home:trenn:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/789175
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=116
2020-03-28 00:07:07 +00:00
05337d44ab Accepting request 779148 from home:trenn:cobbler_test_build
- Removed not needed files in obs. This is now all mainline:
D logrotate_cobbler
D fix_hardcoded_libpath_for_websession.patch
D fence_ipmitool.template
D cobbler_management_mac.diff
D AUTHORS
- Added source files:
A cobbler.obsinfo
A cobbler-rpmlintrc
Spec file is mostly adopted to mainline spec file.
Still it is not directly extracted from mainline tarball.
First the remaining diff has to be submitted mainline.

- Updated to version 3.1.1.
  * Introduce new packaging from upstream
  * Changelog see below
- New:
  * We are now having a cross-distro specfile which can be build in the OBS
    (#2220) - before rewritten it was improved by #2144 & #2174
  * Grub Submenu for net-booting machines (#2217)
  * Building the Cent-OS RPMs in Docker (#2190 #2189)
  * Reintroduced manpage build in setup.py (#2185)
  * mgmt_parameters are now passed to the dhcp template (#2182)
  * Using the standard Pyhton3 logger instead of a custom one (#2160 #2139 #2151)
  * Script for converting the settings file from 3.0.0 to 3.0.1 (#2154)
  * Docs now inside the repo instead of cobbler.github.io and improved with sphinx (#2117)
- Changes:
  * The default tftpboot directory is now /var/lib/tftpboot instead of previously /srv/tftpboot (#2220)
  * Distro signatures were adjusted where necessary (#2219 #2134)
  * Removed requirements.txt and placed the requirements in setup.py (#2204)

OBS-URL: https://build.opensuse.org/request/show/779148
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=115
2020-02-25 16:29:52 +00:00
5220afee12 Accepting request 743837 from home:trenn:branches:systemsmanagement
- Update to latest git HEAD code base (commit fbebd758)
- Adjusted manpage creation (needs sphinx as BuildRequires)

OBS-URL: https://build.opensuse.org/request/show/743837
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=112
2019-10-29 13:42:29 +00:00
3012885f0d - Switch to openSUSE latest_mulitarch_work for shortterm until
everything is in place and submitted mainline
- started to switch to Sphinx manpage generation, but comment out.
  SuMa people must have done this already somewhere.
- Already mainline:
D fix_module_renaming.diff

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=110
2019-10-08 15:01:46 +00:00
a484c3260b Accepting request 730148 from home:cvoegl:branches:systemsmanagement
- Now track Github master branch
  WARNING: This release contains breaking changes for your settings file! 
  * Notable changes:
    - Now using standard python logger
    - Updated dhcpd.template 
- Removed fix_shebang.patch: now in upstream. 
- added -s parameter to fdupes call to prevent hardlink across 
  partititons

OBS-URL: https://build.opensuse.org/request/show/730148
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=107
2019-09-11 13:28:12 +00:00
42ad02e936 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=103 2019-07-23 15:06:28 +00:00
c96cd436be Accepting request 703487 from home:trenn:branches:systemsmanagement:Uyuni:Master
- Updated to latest git master branch
commit d43461b39073ac01a54a3f52be0b133d36cb8061
Author: Jochen Breuer <jbreuer@suse.de>
Date:   Fri May 10 16:41:32 2019 +0200
  Remove already mainline patches:
D fix-login-error.patch
D remove-newline-from-token.diff
D fixes-distro-none-case.diff
D return-the-name-of-the-unknown-method.patch
D call-with-logger-where-possible.patch
D fix-http-status-code.patch
D create-system-directory-at-the-correct-place.patch
D remodeled-distro-detection.diff
D disable_nsupdate_enabled_by_default.diff
D power_system_xmlrpc_api.patch
D renamed-methods-alias.patch
D changes-return-to-float.diff
D revert-redhat-management-removal.patch
D add-docker-integration-testing.diff
D refactor-unittest-to-pytest.diff
D renamed-methods-alias-part2.patch
D changes-detection-to-distro-like-for-suse-distributions.diff
D rhn-mngmnt-key-field-fix.diff

- Re-enabling build for cobbler-test package.

- Fix for redhat_management_key not being listed as a choice
  during profile rename (bsc#1134588)
- Added:
  * rhn-mngmnt-key-field-fix.diff

OBS-URL: https://build.opensuse.org/request/show/703487
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=101
2019-05-20 15:09:26 +00:00
e14f948be0 Accepting request 678979 from home:trenn:branches:systemsmanagement
- Require latest apache2-mod_wsgi-python3 package
  This fixes interface to http://localhost/cblr/svc/...
- Use latest github cobbler/cobbler master branch in _service file
- cobblerd_needs_apache2_service_started.patch reverted, that is mainline
  now:
D cobblerd_needs_apache2_service_started.patch
- Only recommend grub2-arm and grub2-ppc packages or we might not be
  able to build on factory where arm/ppc might not be built
- Remove genders package requires. A genders file is generated, but
  we do not need/use the genders package.

OBS-URL: https://build.opensuse.org/request/show/678979
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=94
2019-02-25 17:12:38 +00:00
50f997258a Accepting request 674186 from home:trenn:cobbler3
- Serial console support added, did some testing already
  Things should start to work as expected

- Add general grub2 support

- Put mkgrub.* into mkgrub.sh

- Add git date and commit to version string for now

- Add grub2 mkimage scripts:
mkgrub.i386-pc
mkgrub.powerpc-ieee1275
mkgrub.x86_64-efi
mkgrub.arm64-efi
  and generate grub executables with them in the %post section

OBS-URL: https://build.opensuse.org/request/show/674186
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=90
2019-02-14 14:31:49 +00:00
eff8074b33 Accepting request 664711 from home:trenn:cobbler3
** Backported fixes from SLE12 SP3
- build server wants explicite package in BuildRequires; use tftp
- require tftp(server) instead of atftp
- cleanup: cobbler is noarch, so arch specific requires do not make
  sense
- SLES15 is using /etc/os-release instead of /etc/SuSE-release, use
  this one for checking also
- Add:
  * sles15.patch
- add sles15 distro profile (bsc#1090205)
- Add:
  * add-sles15-distro.patch
- fix signature for SLES15 (bsc#1075014)
- Updated:
  * add-sles15-distro.patch
- fix signature for SLES15 (bsc#1075014)
- Updated:
  * add-sles15-distro.patch
Missing fixes
=============
This SLE fixes are missing.
The reason for this is that koan got split out into a separate
package, these changes (changelog entries) therefore are not relevant
for this package anymore:
Koan specific:
--------------
- fix koan wait parameter initialization
  Added:
  * fix-wait.patch
- Fix koan shebang

OBS-URL: https://build.opensuse.org/request/show/664711
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cobbler?expand=0&rev=89
2019-01-11 16:13:14 +00:00