Bug #21016
closedUnable to update host's content source via hammer
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1488465
Refer to bugzilla for additional details.
Description of problem:
`hammer host update --content-source-id` seems to have no effect - command finishes successfully but content source is not changed on WebUI (currently it's the only place where it's possible to check content source due to #1488150 and #1488130 ).
Version-Release number of selected component (if applicable):
Satellite 6.3.0 Snap 14
How reproducible:
Always
Steps to Reproduce:
1. Create a host (with or without content source specified, doesn't matter)
2. Update host's content source via hammer:
hammer host update --id="115" --content-source-id="23"
3. Go to WebUI, Hosts -> All hosts -> #host_name# -> Edit, check selected content source.
Actual results:
Although update command finished with successful message ('Host updated'), content source was not changed.
Expected results:
Content source was changed.
Additional info:
Refer to bugzilla for additonal details.