Marcus Sorensen created CLOUDSTACK-3872:
-------------------------------------------

             Summary: Print agent human-readable hostname in log of sending 
agent commands
                 Key: CLOUDSTACK-3872
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3872
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: Future
            Reporter: Marcus Sorensen
             Fix For: Future


Whenever mgmt server sends command to agent, we see something like this:

2013-07-26 12:05:02,047 DEBUG [agent.transport.Request] 
(AgentConnectTaskPool-5:null) Seq 14-2097414148: Sending  { Cmd , MgmtId: 
90520732090445, via: 14, Ver: v1, Flags: 100001, 
[{"StopCommand":{"isProxy":false,"vmName":"i-1-141-VM","wait":0}},{"StopCommand":{"isProxy":false,"vmName":"i-1-140-VM","wait":0}}]
 }

In debugging this is a major pain, as we see "via: 14", and have to go look in 
the database manually to see what agent is "14". Would really love to see 
something like "via: 14(hostname)"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to