From 63052df6c9a45379480903765d685ab88344baca Mon Sep 17 00:00:00 2001 From: Modulos Date: Tue, 9 May 2017 05:05:58 +0200 Subject: [PATCH] Change to new OpenNebula functions --- hosting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/models.py b/hosting/models.py index 37b18379..b59b7f5a 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -339,7 +339,7 @@ class HostingBill(AssignPermissionsMixin, models.Model): def get_vms(self): email = self.customer.user.email # Get opennebula client - opennebula_client = OpenNebulaManager() + opennebula_client = OpenNebulaManager(create_user=False) # Get vm pool vm_pool = opennebula_client.get_vms(email)