Project

Profile

Help

Task #7167

Create function that gets libvirt uuid by domain name

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

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
01.07.2016
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

Run:
./mdbci --template spec/test_machine_configurations/7167_libvirt_uuid_by_domain_name.json generate libvirt_ubuntu_test/

Run:
./mdbci up libvirt_ubuntu_test/

Run:
config_name=libvirt_ubuntu_test node_name=node0 rspec spec/unit/7167_libvirt_uuid_by_domain_name.rb

Check results:
3 examples, 0 failures


Description

Combining commands:
  • virsh -q list --all
  • virsh -q list --uuid --all

Create function that returns uuid of given domain name as string.
Function parameters: libvirt domain name
Function throws error if libvirt domain with given name is not found
Add function to 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

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

#2 Updated by Alexander Kaluzhny almost 5 years ago

  • Description updated (diff)
  • Assignee set to Mark Zaslavskiy
  • Sprint/Milestone set to 0.9

#3 Updated by Alexander Kaluzhny almost 5 years ago

  • Subject changed from Get libvirt uuid by name to Create function that gets libvirt uuid by domain name
  • Description updated (diff)

#4 Updated by Alexander Kaluzhny almost 5 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#5 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

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

#8 Updated by Mark Zaslavskiy almost 5 years ago

Please, fix conflicts at pull-request and add test config to repo.

#9 Updated by Mark Zaslavskiy almost 5 years ago

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

#10 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#11 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from Active / In progress to New
  • Test scenario updated (diff)

#12 Updated by Alexander Kaluzhny almost 5 years ago

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

#13 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF