fog-openstack icon indicating copy to clipboard operation
fog-openstack copied to clipboard

Create/list/delete server groups and assign VMs into them

Open plribeiro3000 opened this issue 9 years ago • 6 comments
trafficstars

Hello,

Does somebody know whether OpenStack provider implments creation/deletion/listing of server groups as well as asignment of VMs into them. Basically I am interested in creation of virtual machine in a certain server group:

nova boot  --image ubuntu --flavor m1.small --hint group=aa8a69f4-2567-47c6-a28c-2934a8c7959c vm1

Thanks

Original issue opened by @pdilung at fog/fog#3656

plribeiro3000 avatar Mar 10 '16 19:03 plribeiro3000

cc/ @pdilung @TerryHowe

plribeiro3000 avatar Mar 10 '16 19:03 plribeiro3000

setting the server group when creating a VM works (when calling servers.create pass in os_scheduler_hints: { group: server_group_id })

creating, listing and deleting of server groups is not yet supported, but I have a patch that adds such (no tests or examples yet - see 7acbef0286c386493ad6db566a5ccca82745a259 - but proven out locally)

danleyden avatar Jul 13 '16 16:07 danleyden

@danleyden Would you open a PR with your changes?

plribeiro3000 avatar Jul 13 '16 17:07 plribeiro3000

PR was opened 2 weeks ago, no comments thus far

danleyden avatar Jul 29 '16 08:07 danleyden

@danleyden could you link the PR here please? Thanks

plribeiro3000 avatar Jul 29 '16 11:07 plribeiro3000

https://github.com/fog/fog-openstack/pull/161

danleyden avatar Jul 29 '16 11:07 danleyden