File orthos-client.changes of Package orthos-client
------------------------------------------------------------------- Fri Aug 15 09:34:16 UTC 2025 - Enno Gotthold <egotthold@suse.com> - Update to version 1.6.0+git.0b0cd07: * CLI: Remove manpage from RPM-SPEC * Frontend: Fix stacktraces in the logs of orthos-testing * Taskmanager: Fix URL in reservation mail * Docs: Update admin guide to current implementation details * Make netbox_last_fetch_attempt read-only in admin UI * Docs: Add NetBox Comparison Runs documentation * Frontend: Fix bug that network interface names were omited * Enclosure: Support unracked devices for NetBox sync * Docs: Add first draft of the user documentation for Enclosures * Docs: Update copyright year * Docs: Add note that account creation may not be visible * Docs: Add page for adding machines in the frontend * Docs: Adjust landing page and machine page to current feature set * Frontend: Fix redirects and permission checking * Docs: Add subsections to landing and machine page * Docs: Fix linking to websockets topic * Docs: Fix development setup list indentation * Docs: Include development setup document * Docs: Split userguide into dedicated documents * Docs: Remove CLI documentation * Enclosure: Make netbox_last_fetch_attempt read-only * Add Enclosure CRUD views * Enclosure: Fix setting location from NetBox API * Prettier: Install Jinja Plugin * Frontend: Add hints if comparison is current * Frontend: Display if compared data is equal * Models: Fix exceptions during fetch_netbox * Docker: Get rid of partly complete env files * Frontend: Increase display of empty or null values * Frontend: Create list and detail views for NetboxOrthosComparisonRun and Result * Frontend: Switch to explicit view re-exports * Add test for migration * BMC: Fixup fence_agent clean method * RemotePowerTypes: Fixup migration to set known fence agents instead of dummy * Netbox: Enable methods to work with VMs * Frontend: Disable comparison UI for enclosures if NetBox ID is zero * Add timezone to comparison run * Add docstring to compare_netbox methods * RemotePower: Fix issue checking if a machine has a BMC * RemotePowerTypes: Fix ForgeinKey error * RemotePowerTypes: Remove section in default config * NetBox: Add per-machine comparison view * Machine: Don't attempt to create Domain * Remove network machinechecks * Import missing NetworkInterfaces from NetBox * Fetch network interfaces from NetBox * Frontend: Added prefix to inline Django reverse URL template * Frontend: Remove comparison with deprecated field * CI: Remove waiting on Cobbler * Virtualization: Get rid of reverse inheritance * Re-Introduce RemotePowerType model for fence agents * Add django-test-migrations as test dependency * Remove vendors.json fixture * Add type hints according to pyright suggestions * CI: Specify type stub version to match Django 4.2 * Update Django to 4.2.11 * Frontend: Add NetBox-powered AddMachine view * Frontend: Show NetBox URL if netbox_id field is set * Machine: Add netbox_id field to allow syncing of data * Docker: Fix secret generation * Taskmanager: Fix typos in models * Docker: Use network ready check for NetBox postgresql * CLI: Use new env var for superuser password * CI: Use new script to generate secrets * Docker: Introduce secrets generator script * Docker: Add Traefik to proxy WebUIs * Fetch location from NetBox instead of Racktables * ServerConfig: Remove racktables.url.query * Settings: Add Netbox URL and Token * CI: Use local NetBox instance * Docker: Setup Netbox script * Docker: Add NetBox files for compose * Netbox: Initial add of helper code * Data: Fix typing issues reported by pyright * Meta: Mark scripts as bashscripts * Taskmanager: Fix typing issues reported by pyright * Utils: Fix typing issues reported by pyright * API: Fix typing issues reported by pyright * Docker: Fixup BMC script pyright issues * CLI: Fix typing issues reported by pyright * Remotepowertype: Fix typo * Frontend: Split forms module * Utils: Fix issue with missing typing for from_addr * Frontend: Add buttons to implement regenerate functionality * Frontend: Display list view with invalid fence agents * Frontend: Split view module * Enclosure: Fix spelling * Meta: Don't break on existing folders * Docker: Allow taskmanager to start * Docker: Use network healthcheck * Add favicon * CI: Upload coverage to Codacy * Meta: Add --skip-chown flag * SPEC: Increase macro usage for a more flexible build * Remove test fixtures from packaging and docs * SPEC: Switch to systemd-sysusers * Docker: Install Ansible files into taskmanager container * Meta: Introduce new app to setup the application * ServerConfig: Return default datetime of midnight * Settings: Turn off file logging per-default * Settings: Use env vars to configure DB * Docker: Add git to Leap 15.6 dockerfile * CI: Create env files * Taskmanager: Start without ServerConfig * Docker: Containerize taskmanager * Ignore: Add Docker env files * Settings: Remove ORTHOS_USER check * Allow executing dmidecode for aarch64 * Fix duplicate IP address detected * Admin: Skip is in network check for administrative machines * Docker: Flush DB in case fixture is important * Verify that new and old Machine have remotepower * Admin: Fix missing tftp_server field * Tests: Don't use format strings for IP and MAC outside of loop * Tests: Add host IP suggestion tests * Misc: Improve host IP suggestion logic * Remove hostnamefinder Django Admin command * Remove hardcoded default values * Migrations: Add initial data * CI: Use ubuntu-latest for isort * Cobbler: Recognize multiple network interfaces * Remove requirement for DNS to exist before machine is created * Docker: Migrate test dump for devel server * Fix JSON fixture formatting * Add prettier configuration * CI: Introduce Prettier * Data: Add missing DateTime migration * Ignore: Ignore django test fixtures * Tests: Add Cobbler coverage * Tests: Fix info timezone test * Cobbler: Add support for removing serial console, BMC and power options * Cobbler: Remove dead code that is present in cobblerd ------------------------------------------------------------------- Wed Mar 26 12:50:53 UTC 2025 - egotthold@suse.com - Update to version 1.5.0+git.56d9fde: * API: Fix reserved_until infinite bug * API: Add test case for info endpoint and serializer * Fixtures: Fix updated and created timestamps * Machine: Re-add "BareMetal" to ppc64/ppc64le * Cobbler: Allow the BMC both the IPv4 and IPv6 address to be optional * Models: Fix username key in the meta dictionary * API: Restore get_status_ipv4/6() methods * Create CODE_OF_CONDUCT.md ------------------------------------------------------------------- Thu Mar 13 07:27:21 UTC 2025 - egotthold@suse.com - Update to version 1.4.0+git.97ef4f6: * Create CODE_OF_CONDUCT.md * Create SECURITY.md * Create CONTRIBUTING.md * ServerConfig: Return default instead of None for script directories * Ansible: Skip dmidecode fact collection on non x86 hardware * Serialconsole: Make ipmi username and password optional * Cobbler: Add DNS name for BMCs * Remotepower: Improve stability of status power action * Cobbler: Workaround for task status bug * Cobbler: Don't create new system for existing ones * Cobbler: Require login for power switching * Machine: Get rid of assert statements * Machine: Check if cscreen server is set * Cobbler: Use default profile for setup * Taskmanager: Fix arguments for SetupMachine * Taskmanager: Add default for non-existing key * ServerConfig: Allow default value for bool_by_key * Machine Details: Remove superfluous dots * systemd: Skip bash script for taskmanager * Cobbler: Remove interface_master property for interface * Cobbler: Move object ID to method arguments * Cobbler: Throw error if default profile doesn't exist on Cobbler * Cobbler: Remove SSH exception from XML-RPC logic * Cobbler: Add missing authentication to get_system_handle * Admin: Remove custom empty Django Admin * Search: Fix incorrect implementation of choice callables * Views: Add default welcome message * Orthos-Admin: Migrate to Python 3.11 * Docs: Fix TOC of adminguide * Switch to Gunicorn * Remove debug systemd service * SPEC: Fixes to build on SLES and TW at the same time * Add terminado and tornado as requirements * Server: Linter cleanup * Requirements: Add types for paramiko * CI: Require mypy for server to pass * CI: Update workflows to Python 3.11 * CLI: Use map to decide which response class is instantiated * Requirements: Add types for pexpect * CI: Enforce mypy in strict mode for the CLI * CLI: Linter cleanup * Apply black format to the CLI * CI: Enable black for the CLI * CLI: Fix pylint warnings * CI: Enable pylint for the CLI * pylint: Remove all default values * CI: Run pylint on the complete project * pylintrc: remove obsolete and unkown options * remove bogus attempt to lock cscreenrc * Fix syntax error in dmidecode * Tasks: Restart cscreend server after config deployment * Frontend: Fix power cycle bug * Docker: Add secondary leap based test container * Enable Orthos to run on with Django 5 * Compose: Fixed unit-tests * Tests: Move to built-in mock * CI: Switch to docker based testing * Cobbler: Replace SSH with XML-RPC API calls * SPEC: Update Django to 4.2 or greater * CI: Update indentation of trigger_services * SPEC: Update version to 1.4 * CI: Add workflow file to update packages * CLI: Fix setup and shebang * CLI: Rename specfile to match OBS name * SPEC: Add typing_extensions for asgiref * Docker: Add python3-pytz for CLI testing * Docker: Auto-Import GPG keys for BMC dockerfile * Admin: Remove architecture filter * pylint: Fix imports * Blacken code of repo * CI: Add black * Docs: Add notes about the configuration file format * API: Fix default selection of kernel device * Data: Add fence_agent to display columns * Settings: Add default REMOTEPOWER_TYPES * Forms: Fixup RemotePowerDeviceAPIForm * SPEC: Use autosetup macro * Forms: Match KVM as a word and not as a complete type * Virt API: Handle missing ServerConfig key * Add typing requirements * CI: Switch to black profile * API: Add correct authentication to BMC add * Forms: Add constructor to BMC * Docs: Add BMC command for CLI * Tests: Splitup file and add multiple ones * Fixtures: Add for new test * Fixtures: Add virt_api_int to test machine * Ingore: Add vscode directory * Hostnamefinder: Add typing * Hostnamefinder: Fix import * CI: Execute integration tests * Docker: Add test docker-compose * Tests: Initial of integration tests * CLI: Add specfile * CI: Introduce mypy optionally * Admin: Fix bug that network switches can't select any architecture * Revert "Sconsole: Switch from _cscreen to cscreen user" * Sconsole: Switch from _cscreen to cscreen user * Docker: Give fixture example * Tests: Fixup for multiple django fixtures * RTD: Fixup config according to new schema * Requirements: Upgrade Django to 4.2 LTS * Admin - Display Add/Change page faster * Utils: SSH - Add typing annotations * Cobbler: Add typing annotations * Utils: SSH - Remove manual debug code ------------------------------------------------------------------- Mon Apr 29 09:55:08 UTC 2024 - egotthold@suse.com - Update to version 1.3.0+git.16207aa ------------------------------------------------------------------- Wed Apr 13 08:42:47 UTC 2022 - trenn@suse.de - Update to version 1.2.83+git.cb8bcaf: * Add undefined-variable to .pylintrc * Fix machine bugs * Get image install directory via ServerConfig key * Several virtualization fixes * Remove shebang from utils/remote.py and add description how to use if for testing * Fix not existing attribute usage timezone.ZERO in task RegenerateMotd * Update serial console server on BMC user/pass modifications * Set default serial device fro powerpc to hvc * Enhance saver() machine checks to properly update serial console and BMC * Do not allow renaming of machines * Make use of ssh shell call instead of paramiko lib in machinechecks.py * Add remote.py (ssh/scp) to replace paramiko python3 ssh library usage * Add remote.py (ssh/scp) to replace paramiko python3 ssh library usage * Properly update and also remove in empty case ipv6 and other machine options * Properly fix port checking for remote power devices * 'W0611' is cryptic: use '# pylint: disable=unused-import' instead * Fix wrong import order * Fix one bracket too much bug * Fix: orthos2.noarch: E: non-executable-script * orthos2.noarch: W: tmpfile-not-in-filelist /run/orthos2/ansible_lastrun * orthos2.noarch: E: zero-length /usr/lib/python3.8/site-packages/orthos2/utils/models.py * Remove not needed lintrc line * Signal() does not have providing_args attribute in constructor anymore * Use url_has_allowed_host_and_scheme instead of deprecated is_safe_url * Convert old django.conf.url import to new django.url * Remove wrong or unused translation bits and imports * Enhance command line client documentation * If no profile to install is provided, just install the assigned profile * Introduce autoreinstall machine attribute * BMC password field must be a password field. * Remote power device username/pass is mandatory, pass must be a password field * Provide default/fallback arguement for ServerConfig.by_key similar to dict.get * Add URL field to power device to find WebGUI for configuration * Add new use_hostname_as_port fence option * Add per machine cobbler sync * Do not hard code ansible key, this comes from /usr/lib/orthos2/ansible/ansible.cfg * Show "All Machines" not only to superuser, but to all users ------------------------------------------------------------------- Mon Dec 06 21:54:43 UTC 2021 - trenn@suse.de - Update to version 1.2.28+git.6ca5350: * We need a title for the cli manpage * Add commandline.rst to doc directory again * Add example orthosrc ------------------------------------------------------------------- Mon Dec 06 21:09:15 UTC 2021 - trenn@suse.de - Update to version 1.2.26+git.d200973: * ------------------------------------------------------------------- Thu Oct 7 20:42:33 UTC 2021 - Thomas Renninger <trenn@suse.de> - Added SUSE specific /etc/orthosrc config ------------------------------------------------------------------- Thu Oct 07 15:37:50 UTC 2021 - trenn@suse.de - Update to version 1.0.102+git.a6bbc34: * Always try to use ssl connection and complain/warn if none ssl is chosen ------------------------------------------------------------------- Thu Oct 07 10:19:08 UTC 2021 - trenn@suse.de - Update to version 1.0.100+git.1ab143e: * Set default port to 80, not 8000 * Rearrange order of imports * Use isinstance() instead of type() to check for type ------------------------------------------------------------------- Mon Oct 4 16:09:17 UTC 2021 - Christian Vögl <christian.voegl@suse.com> - Run spec-cleaner ------------------------------------------------------------------- Mon Oct 4 15:22:22 UTC 2021 - Christian Vögl <christian.voegl@suse.com> - Changed source to tarball with obs service - Renamed package orthos2 -> orthos ------------------------------------------------------------------- Mon Oct 04 15:11:15 UTC 2021 - christian.voegl@suse.com - Update to version 1.0.86+git.9cc6510: * new folder structure * Rearrange order of imports * Fix spacing * Use context manager for open() * Use isinstance() instead of type() to check for type * Use sets * Simplify boolean conditions * Format docstring * Remove trailing comma * Use version_info to get python version ------------------------------------------------------------------- Mon Oct 4 09:46:45 UTC 2021 - Christian Vögl <christian.voegl@suse.com> Initial Commit-