Fixes #10915 - Deleting a host removes all host specific overrides
(cherry picked from commit 674755f43684f76e6b23ca499a57153aad3db5e2)
Fixes #10607 - match bonds based on identifier only
(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)
Fixes #10888 - skip attached_to updates if identifier was blank
(cherry picked from commit db6d6b8b7d0d2e90e27d4c23308e5db26abd3820)
fixes #10627 - apply host taxonomy scope to facts/report joins
Previous changes to perform a join onto hosts with authorisation resultin a query such as Report.joins(:hosts), which ignores anydefault_scope on Host::Base. This commit explicitly passes taxonomy...
Fixes #10535 - building a token instead of creating it until host is saved
(cherry picked from commit c2ff4bd6874155459a51af070abb381fd59be262)
Fixes #10212 - validate DNS name uniqueness of interfaces
(cherry picked from commit 60fdfb3851cad0ff347788c1f796d709693a8f27)
fixes #10403 - resync names of unmanaged hosts to their primary NIC
MoveHostNicsToInterfaces previously ignored unmanaged hosts, but theyneed migrating too. Updated the existing migration to migrate both,then for existing hosts, add a new migration to ensure all primary NIC...
Fixes #10307 - editing host with 'unattended: false' no longer results in error
(cherry picked from commit ae274f95193c3147ad563da075d0a36fb1bcff20)
fixes #10298 - handle destroyed but present interfaces
When deleting a host and DHCP orchestration is removing reservations for NICs,it generates a dhcp_record that contains next-server data. Determining thenext-server IP causes the primary interface to be fetched for DNS resolution,...
fixes #10168 - delegate fqdn/shortname to primary interface
(cherry picked from commit 4d5b979541902c2163d98ca8fd53d230445b60ac)
Fixes #10111 - Use a dummy primary interface for unmanaged hosts
Unmanaged hosts require a host interface due to delegation of networkingattributes, and some others like 'name'. Since unmanaged hosts do notnecessarily have an interface associated (unless created through puppet...
Fixes #10025 - move generic taxonomies code to base class
(cherry picked from commit bf75590c49c05dd780df388908598c85fc8f53bd)
Fixes #9947 - restrict user taxonomies if none is set
(cherry picked from commit abe910f2a46f4ecc1f349263d0b4751ed46ff200)
Fixes #8890 - Allow selection of plaintext "encryption" method for root password
(cherry picked from commit 331ff165939399787022e77ad17778e2ac39c148)
Fixes #9618 - make identifier uniq per host
(cherry picked from commit f2d5f95539b5070f5c7aba37196c45346140357d)
Fixes #8316: Removing a host can create a huge transaction
(cherry picked from commit 3e7507198f25b41b90a55115671fe0edd495f531)
fixes #8878 - ensure domain fact is downcased prior to import
(cherry picked from commit 25a647eb04ac2d31af99c85e447d58d1de4185e6)
Fixes #9590 - make info test less fragile
(cherry picked from commit e24c3fbbe5d089f76b89f909b65b2bd2205a5035)
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
Fixes #9186 - build interface if needed during facts import
Fixes #9104 - allow disabling of interface updates
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
fixes #8498 - Allows root password to be set in finish scripts
Refs #9049 - fix log message formatting
Missing "%s" in the commit that was supposed to fix #9049 caused theexception message not to be printed into the log.
Fixes #2948 - added sp_* host attributes to safe mode
Refs #2948 - Add sp_ host attributes to jail test
Fixes #9044 - fixes invalid mac in tests
Also do not reset invalid mac address to nil so we can propagate propervalidation error.
Fixes #9049 - Log exceptions when triggering a Puppet run
If an exception occurs during triggering a Puppet run from the UI,user will be notified of the error in a flash message. If theexception occurs when running the action non-interactively (e.g. from...
fixes #6369 - allow to override puppet ca/master to nil
fixes #8739 - use global setting when hostgroup root_pass is blank
A blank (not nil) root_pass on hostgroups was preventing correct inheritancefrom settings in both hosts and nested hostgroups.
root_pass was also being copied from parents/settings to hostgroups when they...
Fixes #8546 - Namespace interfaces and subnets to avoid a facts clash
Fixes #7440 - correctly autocomplete current_user
Fixes #8456 - normalize addresses only if mac is being set
Fixes #7908 - normalize mac before host get saved
For some reason we save host without running valdiations when we importattributes from facts. Therefore we have to take care of macnormalization by ourselves. We have to normalize it just after settingnew value because save can occure anytime.
Fixes #8321 - correctly pull Compute Resource image method from compute attributes
Fixes #844 #5725 - correct hosts count in puppetclass
Fixes #7954 - When creating a host cant is spelled wrong under partition table side note
Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation
Fixes #2089 - Add network configuration to ENC
Fixes #6710 - unicode characters in url parameters
Original methods to_param defined on resources called name.parameterizeto get rid of url-unsafe characters. This function unfortunately alsostripped off unicode characters.
Changes:- parameterization extracted into a separate module Parameterizable...
Fixes #7401 - Add support for bonds
Renames physical_device to attached_to and move the virtual deviceform out of BMC.Extends the form for Bond devicesAllow configuration of bonds in KS templateParsing of Bond interfaces from factsMac address is required only for physical devices
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Fix a few rubocop TODOs
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
fixes #7163 - on host's edit page, show the source for the value of puppet class parameters.
Fixes #7572 - remove rundeck from core
Foreman rundeck is now a plugin available in https://github.com/theforeman/foreman_host_rundeck
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
Fixes #6695: Adding two OS parameters with same name should raise an error
Fixes #6468 - Allow filtering/searching by active user
Fixes #5692 - correct counts in cached_counters
fixes #4375: provisioning no longer loops when using oVirt + compute profile
Fixes #7344 - ignore saving errors during fact parsing
Fixes #6444 - add support for virtual NICs
Extend additional interface details refs #2240
NIC facts parsing change and we create interfaces in Foreman accordingto facts we recieve.
Subclasses does not define their own attributes and serialize them toattrs hash. All BMC attributes are extracted to separate columns so it's...
Fixes #5926 - hide sensitive parameter values
User can check to hide value when creating or editing global parameter.The value is masked by *** and is also not displayed when overriding.
Fixes #6998 - Accept native true for overwrite parameter to host API.
Fixes #6560 - Extract puppet parsing logic
Fixes #6566 - renaming a node now resets the certname on provision
If use_uuid_for_certificates is true, reuse the certname UUID value.If false, then reset the certname if it does not match the hostname.
Fixes #215: Parameters can be saved without a value
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
fixes #6430 - validate presence of location and organization for managed host if Settings are turned on
fixes #6618 - provide an indentation helper for provisioning templates
fixes #3664 - support deletion of installation media that's in use
fixes #4155 - enable host/CR (dis)association via api
fixes #6358 - Update LookupValue fqdn matchers when a host is renamed
fixes #6177 - clear host facts/reports when build=true set over API
fixes #6410 - update to deep_cloneable 2.0
[REFACTOR] refs #6229 - extract validation to a method
this enables plugins (e.g. katello) to override the validation whenrequried.
fixes #5915 - Add support for Infiniband 64-bit MAC addresses
fixes #6229 - validate installation media exists for new host if pxe_build
fixes #6228 - disable provisioning method radio boxes after host is provisioned
fixes #5722: VM-based host cloning picks up existing compute attributes
fixes #5708: #nil? is now an allowed method inside of Host and Token jails
fixes #5834 - Hosts: . in the name is invalid - user is told this but the UI adds one anyway
fixes #5690 - determine host taxonomy fact based on setting value
fixes #4250 - API v2 - add compute profiles
fixes #2785 - host model clone method also copies relationships using deep_cloneable gem
fixes #5450 - add realm to params for 1.4-compatible use in templates
fixes #5444 - add param_false? host method and allow in templates
fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output
fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup
fixes #5053 - minor bug fixes to realm integration
fixes #4381: dns records are being update after changes to host when dhcp is also present
Fixes #4976 - ensure the process is really running inside a rake task
fixes #1809 - foreman realm integration
fixes #1966 - improved UI errors for proxy
fixes #3214 - set taxonomy for hosts created via Puppet from facts or a default setting
Fixes #4680 - Don't append periods to unqualified unmanaged hosts
fixes #4256 - makes columns sortable in the UI
fixes #4123 - libvirt imaging support using backing volumes
fixes #4485 prevents undefined method when cloning a host
fixes #4583 - Added Environment name to rundeck output
fixes #4524 - The logged in user should be the default one in create new hosts
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4015 - support oVirt using templates like images
fixes #3912 - add inheritance for locations / organizations
fixes #3939 - add option to 'inherit from parent' for hostgroup attributes
fixes #4234 - cannot edit host's puppet parameters
fixes #3725, #4167 - root password validations, remove default password
fixes #3697, #3701 - more comprehensive field validations
fixes #3099 - Adding parameters to locations and organizations