Project

Profile

Help

Bug #7768

snapshot delete not works

Added by Ilfat Kinyaev over 4 years ago. Updated almost 4 years ago.

Status:
Couldn't reproduce
Priority:
Normal
Assignee:
Alexander Kaluzhny
Category:
mdbci features
Sprint/Milestone:
Start date:
15.11.2016
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

Description

./mdbci snapshot delete not return error and not delete snapshot

vagranttest@maxscale-jenkins:~/mdbci_kinyaev/mdbci$ ./mdbci snapshot list --path-to-nodes SOME_DIR4 --node-name node0
 INFO:  MariaDb CI CLI
 INFO:  mdbci called with: ["snapshot", "list"]
 INFO:  Checking this machine configuration requirments
 INFO:  .....NOT IMPLEMENTED YET
 INFO:  Load Boxes from ./BOXES
 INFO:  Loaded boxes: 51
 INFO:  Load AWS config from aws-config.yml
 INFO:  Load Repos from ./repo.d
 INFO:  Looking up for repos ./repo.d
 INFO:  Loaded repos: 752
mdbci_snapshot_test_SOME_DIR4_node0
vagranttest@maxscale-jenkins:~/mdbci_kinyaev/mdbci$ ./mdbci snapshot delete --path-to-nodes SOME_DIR4 --node-name node0 --snapshot-name mdbci_snapshot_test_SOME_DIR4_node0
 INFO:  MariaDb CI CLI
 INFO:  mdbci called with: ["snapshot", "delete"]
 INFO:  Checking this machine configuration requirments
 INFO:  .....NOT IMPLEMENTED YET
 INFO:  Load Boxes from ./BOXES
 INFO:  Loaded boxes: 51
 INFO:  Load AWS config from aws-config.yml
 INFO:  Load Repos from ./repo.d
 INFO:  Looking up for repos ./repo.d
 INFO:  Loaded repos: 752
vagranttest@maxscale-jenkins:~/mdbci_kinyaev/mdbci$ echo $?
0
vagranttest@maxscale-jenkins:~/mdbci_kinyaev/mdbci$ virsh undefine SOME_DIR4_node0
error: Failed to undefine domain SOME_DIR4_node0
error: Requested operation is not valid: cannot delete inactive domain with 1 snapshots

vagranttest@maxscale-jenkins:~/mdbci_kinyaev/mdbci$ ./mdbci snapshot list --path-to-nodes SOME_DIR4 --node-name node0 INFO:  MariaDb CI CLI
 INFO:  mdbci called with: ["snapshot", "list"]
 INFO:  Checking this machine configuration requirments
 INFO:  .....NOT IMPLEMENTED YET
 INFO:  Load Boxes from ./BOXES
 INFO:  Loaded boxes: 51
 INFO:  Load AWS config from aws-config.yml
 INFO:  Load Repos from ./repo.d
 INFO:  Looking up for repos ./repo.d
 INFO:  Loaded repos: 752
mdbci_snapshot_test_SOME_DIR4_node0

History

#1 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from New to Couldn't reproduce

Also available in: Atom PDF