Actions
Feature #28108
open[hammer] Can't import openstack vms from registered compute resource as unmanaged hosts via cli
Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Description
While it's possible to do from webui by selecting a vm from Infrastructure->Compute Resources->[Your resource here]->Virtual Machines->[Your machine here]->Import as unmanaged host there is no intuitive way to automate that with hammer.
The closest I got was
$ hammer host create --location-title "Default Location" --organization-title "Default Organization" --compute-resource "openstack_cloud_leapp_tenant" --name ivasilev-noudevadminfo330 --managed False --build False
Could not create the host:
No finish templates were found for this host, make sure you define at least one in your settings
Updated by Oleh Fedorenko about 5 years ago
- Category set to Compute resources
- Triaged changed from No to Yes
Hi Ina,
Thank you for pointing out the missing functionality!
Unfortunatelly there is no such possibility (to import vms from compute resources). My suggestions are:
1 - Create an issue for API component which would add CRUD or at least import action for ComputeResourcesVmsController.
2 - Implement the API call in form of hammer-cli command for current issue.
Updated by ina vasilevskaya about 5 years ago
Thanks, created a feature request for foreman https://projects.theforeman.org/issues/28198
Updated by Tomer Brisker almost 5 years ago
- Related to Feature #28198: import action for ComputeResourcesVmsController added
Updated by Shira Maximov almost 5 years ago
- Tracker changed from Bug to Feature
- In Kanboard changed from yes to no
Actions