« Previous | Next » 

Revision 562bf712

ID562bf7126b8f268ec95d6f33ec323755766135b6

Added by Christos Stavrakakis over 8 years ago

cyclades: refactor server creation command

Split the server creation command in more steps in order to be
decorated with the 'server_command' function and follow the logic of all
other server commands. The main change is that the commission job is not
accepted when the VM is stored in DB, but when the OP_INSTANCE_CREATE
job finishes in Ganeti, no matter whether it succeeded or not. Finally,
this commit includes a transaction testcase that checks instance
creation.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences