In OzoneContainer start() we have
Suppose here if readChannel.start() failed due to some reason, from VersionEndPointTask, we try to start OzoneContainer again. This can cause an issue for writeChannel.start() if it is already started.
Fix the logic such a way that if service is started, don't attempt to start the service again. Similar changes needed to be done for stop().