mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
add rbd support for add new/existing vol. create from rbd based flavor
This commit is contained in:
parent
86723a8271
commit
c77e049e82
5 changed files with 119 additions and 43 deletions
|
|
@ -145,7 +145,7 @@ def storage(request, compute_id, pool):
|
|||
volname = request.POST.get("volname", "")
|
||||
vol = conn.get_volume(volname)
|
||||
vol.delete(0)
|
||||
messages.success(request, _("Volume: %(volume)s is deleted.") % {"vol": volname})
|
||||
messages.success(request, _("Volume: %(vol)s is deleted.") % {"vol": volname})
|
||||
return redirect(reverse("storage", args=[compute.id, pool]))
|
||||
# return HttpResponseRedirect(request.get_full_path())
|
||||
if "iso_upload" in request.POST:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue