Project

Profile

Help

Task #7141

Create function that will stop running instance of libvirt machine

Added by Alexander Kaluzhny almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Alexander Kaluzhny
Category:
mdbci features
Sprint/Milestone:
Start date:
28.06.2016
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

Run:
./mdbci --template spec/test_machine_configurations/7141_stop_config_function.json generate docker_test

Run:
./mdbci up docker_test/

Run:
path_to_nodes_docker=docker_test node_name=node0 rspec spec/unit/7141_stop_config_function_spec.rb

Expect:
2 examples, 0 failures


Description

Create function that will stop running instance of libvirt machine/node by its name
Function parameters - node name (full name like: T/node0)
Function must throw exception if node or config/node are not found.
Function must throw exception if machine is in wrong state (like not created)
Function does nothing if machine already in shutdown state, but must notify user
Function must be implemented in file clone.rb in core/ directory


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #7100: Implement "mdbci clone <configuration> <new_path>" commandClosed22.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Alexander Kaluzhny almost 5 years ago

  • Description updated (diff)

#2 Updated by Alexander Kaluzhny almost 5 years ago

  • Related to Task #7100: Implement "mdbci clone <configuration> <new_path>" command added

#3 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee set to Tatyana Berlenko
  • Sprint/Milestone set to 0.9

#4 Updated by Alexander Kaluzhny almost 5 years ago

  • Assignee changed from Tatyana Berlenko to Alexander Kaluzhny

#5 Updated by Alexander Kaluzhny almost 5 years ago

#6 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#7 Updated by Alexander Kaluzhny almost 5 years ago

  • Test scenario updated (diff)

#9 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#10 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from Review to Active / In progress
  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#11 Updated by Alexander Kaluzhny almost 5 years ago

  • Category set to mdbci features
  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#12 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

Please add expected result to test scenraio.

#13 Updated by Alexander Kaluzhny almost 5 years ago

  • Test scenario updated (diff)

#14 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from New to Closed

Also available in: Atom PDF