Revision c34b2908 snf-cyclades-app/synnefo/api/management/commands/server-create.py

b/snf-cyclades-app/synnefo/api/management/commands/server-create.py
43 43
from synnefo.logic.backend_allocator import BackendAllocator
44 44
from synnefo.api import util
45 45
from synnefo.api.servers import server_created
46
from synnefo import quotas
46 47

  
47 48
HELP_MSG = """
48 49

  
......
156 157
                'img_personality': '[]',
157 158
                'img_properties': json.dumps(image['metadata']),
158 159
            })
160

  
161
            quotas.issue_and_accept_commission(vm)
159 162
        except:
160 163
            transaction.rollback()
161 164
            raise

Also available in: Unified diff