-
Bug
-
Resolution: Done
-
Normal
-
None
-
6.15.4
-
False
-
Moderate
-
None
-
None
-
None
-
None
Description of problem:
While trying to change the host-group of a provisioned host, it only works using "Select-Action -> Change Group" of the "All hosts"-View. But the same is not working with Ansible, REST-API or with hammer-cli.
How reproducible:
Hammer command to change the hostgroup of the host fails with error 'Provision method is an unsupported provisioning method, available: build'.
When the host is 'Unmanaged', everything is working as expected.
Go to Hosts → All Hosts → Find the system which is failing to register → Edit → Click on 'Unmanage host' button
It seems the problem is when provisioning method is "bootdisk". The hostgroup of these hosts can not be changed via hammer or ansible when the provisioning method is "bootdisk". If we do a "subscription-manager register --force , then everything is working as expected but then the provisioning method of this re-registered host is now "build" and not "bootdisk". And there is no compute profiles set.