Using Web UI, currently user can configure an image using select dropdown on Host as well as on Compute Profile Page for their hosts. Later value gets stored inside compute-attribute.
Documentation link for reference.
On Hammer side, there is a separate
--image-id option to set image value for a Host but no such option available for Compute Profile.
While GCE development, I used to pass
--compute-attributes option but with the Hammer PR-427 change it won’t display
image-id under GCE’s compute-attributes on command
hammer compute-profile values create --help.
So there is no option to set
image-id at compute-profile level. This is inconsistent behavior with Web UI.
Considering below two points -
- Compute profile should describe the hardware configuration of the host like interfaces, and volumes and the OS is not relevant for compute profile
- There is no any place apart from compute profile where user can configure
image-idfor their hosts.
I think, pages may need some redesigning to make it appropriate and consistent OR hammer command needs to have an option to set
image-id at Compute profile level.
Any thoughts on this?
I would like to know opinions from others to know real time use cases.