diff --git a/cluster/manager/manager.go b/cluster/manager/manager.go index c3c56b9ca..2fad35d32 100644 --- a/cluster/manager/manager.go +++ b/cluster/manager/manager.go @@ -1509,7 +1509,9 @@ func (c *ClusterManager) StartWithConfiguration( c.system = systemutils.New() // Start the gossip protocol. - gob.Register(api.Node{}) + // Replacing gob.Register with gob.RegisterName to avoid any issue caused due to the movement from portworx to pure-px + // gossip: Error in unmarshalling peer's local data. Error : gob: name not registered for interface. + gob.RegisterName("github.com/portworx/porx/vendor/github.com/libopenstorage/openstorage/api.Node", api.Node{}) quorumTimeout := types.DEFAULT_QUORUM_TIMEOUT if c.config.QuorumTimeoutInSeconds > 0 { quorumTimeout = time.Duration(c.config.QuorumTimeoutInSeconds) * time.Second