Activity log for bug #1387602

Date Who What changed Old value New value Message
2014-10-30 10:41:31 Vasiliy Pleshakov bug added bug
2014-10-30 13:54:51 Vasiliy Pleshakov description In functions/vm.sh in function is_vm_running() search VM name in list implemented incorrectly. Steps to reproduce: 1. Assume we have list of VMs like this: extrafuel-master extrafuel-slave-1 2. We run: is_vm_running fuel-master Expected result: return 1 Actual result: return 0. Workaround: Search VM name with regexp: is_vm_running() { name=$1 list=$(get_vms_running) # Check that the list of running VMs contains the given VM regexp="^$node$" if [[ $running =~ $regexp ]]; then return 0 else return 1 fi } I understand that I describe very rare situation. But I believe we should make very stable and reusable code. In functions/vm.sh in function is_vm_running() search VM name in list implemented incorrectly. Steps to reproduce: 1. Assume we have list of VMs like this: extrafuel-master extrafuel-slave-1 2. We run: is_vm_running fuel-master Expected result: return 1 Actual result: return 0. Workaround: Search VM name with regexp: is_vm_running() {     name=$1     list=$(get_vms_running)     # Check that the list of running VMs contains the given VM     regexp="^$node$"     if [[ $list =~ $regexp ]]; then         return 0     else         return 1     fi } I understand that I describe very rare situation. But I believe we should make very stable and reusable code.
2014-11-03 12:03:08 Nastya Urlapova fuel: assignee Miroslav Anashkin (manashkin)
2014-11-03 12:03:12 Nastya Urlapova fuel: milestone 6.0
2014-11-14 15:43:13 Roman Prykhodchenko fuel: milestone 6.0 6.1
2014-11-14 15:43:26 Roman Prykhodchenko fuel: importance Undecided Wishlist
2014-11-16 23:56:46 Miroslav Anashkin fuel: status New Confirmed
2014-11-17 18:22:05 Miroslav Anashkin fuel: assignee Miroslav Anashkin (manashkin) Sergii Ovsianikov (sovsianikov)
2014-11-27 16:35:39 OpenStack Infra fuel: status Confirmed In Progress
2014-12-30 17:17:27 OpenStack Infra fuel: status In Progress Fix Committed