Bug 1141886

Summary: No take snapshot operation schedules for new storage nodes
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: Operations, Storage NodeAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: jsanda, lzoubek, mfoley, theute, tsegismo
Target Milestone: ER04   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:04:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1074633    
Bug Blocks:    

Description Armine Hovsepyan 2014-09-15 16:16:09 UTC
Description of problem:
No take snapshot operation schedules for new storage nodes

Version-Release number of selected component (if applicable):
JON 3.3 ER02

How reproducible:
always

Steps to Reproduce:
1. Navigate to Storage cluster management page
2. Enable snapshot management with corresponding schedule
3. Install and start new storage node with agent, connect to existing jon server

Actual results:
No take snapshot operation schedules for new storage nodes

Expected results:

After step2. Snapshot managment should be switched on
New operation should be visible under StorageNode/Operations/schedule  -- schedules correspondingly with the date/time in snapshot management
After step3. snapshot of old/existing storage nodes should be created before adding new node
take snapshot operation should be scheduled (not started) for the new added storage as it is for existing nodes

Additional info:

Comment 3 Thomas Segismont 2014-09-23 14:56:18 UTC
Cherry-picked over to release/jon3.3.x

commit eb62617899ba150d55ff0fe7f60bacbc914f07ce
Author: Libor Zoubek <lzoubek>
Date:   Tue Sep 23 15:32:52 2014 +0200
    
    Schedule snapshot management operations (based on cluster settings) for
    initial node and also for new node that just joined cluster.
    
    (cherry picked from commit d6fb1ccb51491d2d288dd335d39a75625ecd17c6)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 4 Simeon Pinder 2014-10-01 21:33:22 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959

Comment 5 Armine Hovsepyan 2014-10-02 16:40:29 UTC
verified in JON 3.3 ER04
take snapshot operation was scheduled (according to snapshot management settings in cluster settings) as soon as storage was auto-discovered into inventory list.