Description of problem: Hammer host update accepts non-existent LCE id and says 'Host updated.', but it's not. Version-Release number of selected component (if applicable): 6.14.0 snap 4 How reproducible: always Steps to Reproduce: 1. Have a host registered to the Satellite 2. Run `hammer host update --id <host_id> --lifecycle-environment-id 999999` Actual results: [root@sat ~]# hammer host update --id 24 --lifecycle-environment-id 999999 Host updated. Expected results: Should fail with proper message (like "LCE does not exist", "LCE is not assigned to the content source", etc.)
Created redmine issue https://projects.theforeman.org/issues/36667 from this bug
Upstream bug assigned to lufu
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36667 has been resolved.