Issue 3010: devices command is hung when VM is paused
Status:  Invalid
Owner: ----
Closed:  Nov 2014
Reported by patli...@gmail.com, Nov 11, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:  the code base is 11/10

What steps will reproduce the problem?
1. set up a two onos instance cluster
2. configure three switches to backup-connected to onos instance. two switches connect to instance 1 and one switch connected to instance 2d.  topology is tree.
3. pause VM one instance 2, then issue devices command on instance 1
4. after waiting for 12000 us, we saw following errors. 

onos> devices
id=of:0000000000000001, available=true, role=MASTER, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.0.1, serial=None
id=of:0000000000000002, available=true, role=MASTER, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.0.1, serial=None
Error executing command: No response for 120000 ms. Aborting invocation! BasicInvocationFuture{invocation=BasicInvocation{ serviceName='hz:impl:mapService', op=GetOperation{}, partitionId=87, replicaIndex=0, tryCount=250, tryPauseMillis=500, invokeCount=1, callTimeout=60000, target=Address[192.168.56.102]:5701}, done=false} Not all backups have completed  backups-expected:0 backups-completed: 0


What is the expected output? What do you see instead?

devices command should not hung in this case

Please provide any additional information below.

the issue seems related to switch mastership data distribution in HZ.  devices command call mastership service to get switch's role. if the role data stored in the VM that is paused,  we will see this problem.  
Nov 11, 2014
Project Member #1 edwin.ke...@gmail.com
Wrong issue tracker. This issue tracker is for the Gerrit Code Review project, but what you describe has nothing to do with Gerrit.
Status: Invalid