Bug #28885
closedbug in virtual machine api in compute resource
Description
2 things needed to be fixed in virtual machine API:
1. adding provider field to show_vm - in order to be able to identify which compute resource, we are dealing with in hammer.
2. fixing the API for GCE - find_vm_by_uuid needs to get the full name in GCE and not the id.
Updated by The Foreman Bot over 4 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7495 added
Updated by yifat makias over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset fd0b39ac457617823b44e4a66e45e0b2573dacf6.
Updated by yifat makias over 4 years ago
- Related to Bug #20451: Hammer compute-resource lacks commands for virtual machine added
Updated by yifat makias over 4 years ago
2 things needed to be fixed in virtual machine API:
1. adding provider field to show_vm - in order to be able to identify which compute resource, we are dealing with in hammer.
2. fixing the API for GCE - find_vm_by_uuid needs to get the full name in GCE and not the id.
The second issue is not really an issue. Apparently it didn't work before because of the problematic fields that were excluded in this fix. In addition, a comment was added to the hammer help documentation so that users will know how to use this command properly when dealing with GCE compute resource (use VM name instead of VM id).