I was trained by Master in the morning, mainly blame myself, has not been the overall structure of the code to smooth--.
Today is looking at the OMS array Access module, from the Create method has been looking down, basically the create process to pull through, but still some do not understand, and so tomorrow to ask the master.
In the afternoon, a questionnaire was located, and the problem was that the tester failed to unbind the physical pool after modifying the system time.
Positioning problems generally starting from the log, due to the failure to unbind, so I first read the oms-agent log, with Vim open,? Error did not find a match for the condition. Then I look at the Oms-api log, in the OMS-API found the time to modify the point, is at 15:59 when the modified time, with this time only to use the location after 15:59 error. Finally use VIM to open the Oms-controller log,? Error found the location of the error. The error location has three error messages: Timeout; There is no up agent;omsexception. In the source code to find the location of the exception, found the cause of the problem: in the system, Judge service active is the above time minus the current time, if the absolute value is less than a threshold value, then the service is active, or down the service. After modifying the system time to unbind, due to the absence of an active service, a timeout exception is generated, resulting in the failure of the solution binding.
Tomorrow's task: Continue to follow today's process to pull-through the rest of the array Access section, ask the teacher the father does not understand the problem, help colleagues locate the problem list.
Huawei Internship Diary--Day 28th