Project

General

Profile

Actions

Feature #28108

open

[hammer] Can't import openstack vms from registered compute resource as unmanaged hosts via cli

Added by ina vasilevskaya over 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:
no

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

Related issues 1 (1 open0 closed)

Related to Foreman - Feature #28198: import action for ComputeResourcesVmsControllerNewActions
Actions #1

Updated by Oleh Fedorenko over 4 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.

Actions #2

Updated by ina vasilevskaya over 4 years ago

Thanks, created a feature request for foreman https://projects.theforeman.org/issues/28198

Actions #3

Updated by Tomer Brisker over 4 years ago

  • Related to Feature #28198: import action for ComputeResourcesVmsController added
Actions #4

Updated by Shira Maximov over 4 years ago

  • In Kanboard set to yes
Actions #5

Updated by Shira Maximov about 4 years ago

  • Tracker changed from Bug to Feature
  • In Kanboard changed from yes to no
Actions

Also available in: Atom PDF