UMM_DRC counter isn't increased sometimes after 'virsh destroy/start' controller node

Bug #1671827 reported by TatyanaGladysheva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining
Nominated for Ocata by Oleksiy Molchanov
Mitaka
Confirmed
Medium
Fuel Sustaining
Newton
Confirmed
Medium
Fuel Sustaining

Bug Description

Detailed bug description:
Sometimes UMM_DRC counter doesn't increase its value 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

Additional information:
http://paste.openstack.org/show/602197/
To get umm mode (9.2 + mu1, fuel-library9.0-9.0.0-1.mos8740.noarch):
If we start make destroy/start's when UMM_DRC counter is cleaned ("/var/lib/umm/*: No such file or directory" case) then we need at least 3 subsequent destroy-start's to get umm mode, but REBOOT_COUNT=2 in /etc/umm.conf. So we need 1 extra destroy/start to get umm mode.
Therefore to fix it we should set UMM_DRC=1 after COUNTER_RESET_TIME expires instead of cleaning of UMM_DRC.

Tags: area-library
tags: added: area-library
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 11.0
description: updated
summary: - UMM_DRC counter doesn't increase sometimes after 'virsh destroy/start'
+ UMM_DRC counter isn't increased sometimes after 'virsh destroy/start'
controller node
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.