Comment 0 for bug 1671827

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote : UMM_DRC counter doesn't increase sometimes after 'virsh destroy/start' controller node

Detailed bug description:
Sometimes UMM_DRC counter doesn't increase after 'virsh destroy/start' of controller node.

Steps to reproduce:
1) Deploy a MOS environment

2) Ensure there are default values of "REBOOT_COUNT" and "COUNTER_RESET_TIME" is configured on a Controller node:
    cat /etc/umm.conf
    UMM=yes
    REBOOT_COUNT=2
    COUNTER_RESET_TIME=10

3) Perform reboot of controller node; check value of UMM_DRC variable:
    root@node-1:~# sudo reboot
    After that make sure that UMM_DRC is equal to 1:
    root@node-1:~# cat /var/lib/umm/*
    UMM_DRC=1

4) Kill a Libvirt VM which corresponds to Controller node using virsh then start it immediately:
    virsh destroy fuel_custom_slave-01
    virsh start fuel_custom_slave-01

5) Enter the Controller node and check value of UMM_DRC variable: 'cat /var/lib/umm/*'

Expected results:
UMM_DRC=2 on step 5).

Actual results:
Sometimes UMM_DRC=1 on step 5).
http://paste.openstack.org/show/602246/ - 1 half of file - issue is not reproduced; 2 half of file - issue is reproduced.

Reproducibility:
50%

Impact:
For example, to get umm mode we need to make additional 'virsh destroy/start' of node, although this count is defined in REBOOT_COUNT value in /etc/umm.conf.

Description of the environment:
MOS 9.2
fuel-library9.0-9.0.0-1.mos8740.noarch
fuel-library9.0-9.0.0-1.mos8727.noarch