Actions
Bug #14797
closedMedium validation wrong with Katello and foreman_bootdisk
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
Both foreman_bootdisk and Katello overwrite validate_media? in the Host Model and the wrong order is applied.
What you can try as a workaround is the following:
Remove or comment
alias_method_chain :validate_media?, :bootdisk
from app/models/concerns/foreman_bootdisk/host_ext.rb
See:
https://github.com/Katello/katello/blob/b92a833e38fa3b39deff26839b219c0b7da53bbb/app/models/katello/concerns/host_managed_extensions.rb#L34-L36
https://github.com/theforeman/foreman_bootdisk/blob/master/app/models/concerns/foreman_bootdisk/host_ext.rb#L36-L38
Actions