Comment 2 for bug 1206412

Revision history for this message
nagabhushan (nag-angadi) wrote :

There is only one log file in "/var/log/juju/machine-agent.log" on wordpress/1 node.

=====cat of /var/log/juju/machine-agent.log ==============
root@node19:~# cat /var/log/juju/machine-agent.log
2013-07-25 13:49:11,655: juju.agents.machine@INFO: Machine agent started id:2
2013-07-25 13:49:11,659: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-25 13:49:11,659: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-25 13:49:11,682: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-25 13:49:11,751: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-25 13:49:11,752: unit.deploy@DEBUG: Starting service unit wordpress/0...
2013-07-25 13:49:12,481: unit.deploy@INFO: Started service unit wordpress/0
2013-07-25 14:11:03,702: juju.agents.machine@INFO: Machine agent started id:2
2013-07-25 14:11:03,708: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-25 14:11:03,709: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-25 14:11:03,739: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-25 14:11:03,810: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-25 14:52:18,511: juju.agents.machine@DEBUG: Units changed old:set(['wor)
2013-07-25 14:52:18,512: juju.agents.machine@DEBUG: Stopping service unit: word.
2013-07-25 14:52:18,512: unit.deploy@INFO: Stopping service unit wordpress/0...
2013-07-25 14:52:18,796: unit.deploy@INFO: Stopped service unit wordpress/0
2013-07-25 14:56:34,593: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-25 14:56:34,594: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-25 14:56:34,630: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-25 14:56:34,706: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-25 14:56:34,707: unit.deploy@DEBUG: Starting service unit wordpress/1...
2013-07-25 14:56:35,450: unit.deploy@INFO: Started service unit wordpress/1
2013-07-25 16:49:22,043: juju.agents.machine@INFO: Machine agent started id:2
2013-07-25 16:49:22,048: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-25 16:49:22,049: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-25 16:49:22,077: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-25 16:49:22,147: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-25 17:19:22,328: juju.agents.machine@INFO: Machine agent started id:2
2013-07-25 17:19:22,334: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-25 17:19:22,334: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-25 17:19:22,366: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-25 17:19:22,445: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-26 11:47:18,567: twisted@ERROR: Unhandled error in Deferred:
2013-07-26 11:47:18,568: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
Failure: zookeeper.NodeExistsException: node exists

2013-07-26 11:47:18,573: juju.agents.machine@DEBUG: Units changed old:set([]) n)
2013-07-26 11:47:18,573: juju.agents.machine@DEBUG: Starting service unit: word.
2013-07-26 11:47:18,598: unit.deploy@DEBUG: Downloading charm cs:precise/wordprs
2013-07-26 11:47:18,666: unit.deploy@DEBUG: Using <juju.machine.unit.UnitMachinu
2013-07-26 13:54:15,588: twisted@ERROR: Unhandled error in Deferred:
2013-07-26 13:54:15,589: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
Failure: txzookeeper.client.ConnectionTimeoutException: could not connect befort

2013-07-30 11:24:14,267: twisted@ERROR: Unhandled error in Deferred:
2013-07-30 11:24:14,272: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 240, in stae
    yield self.connect()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 210, in cont
    self.config["zookeeper_servers"])
  File "/usr/lib/python2.7/dist-packages/txzookeeper/retry.py", line 302, in cot
    return self.client.connect(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/txzookeeper/client.py", line 468, in ct
    self._servers, callback, self._session_timeout)
zookeeper.ZooKeeperException: Could not internally obtain zookeeper handle

2013-07-30 16:02:10,501: twisted@ERROR: Unhandled error in Deferred:
2013-07-30 16:02:10,505: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 240, in stae
    yield self.connect()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 210, in cont
    self.config["zookeeper_servers"])
  File "/usr/lib/python2.7/dist-packages/txzookeeper/retry.py", line 302, in cot
    return self.client.connect(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/txzookeeper/client.py", line 468, in ct
    self._servers, callback, self._session_timeout)
zookeeper.ZooKeeperException: Could not internally obtain zookeeper handle

2000-01-01 05:35:19,602: twisted@ERROR: Unhandled error in Deferred:
2000-01-01 05:35:19,608: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 240, in stae
    yield self.connect()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1214,r
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1071,s
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 210, in cont
    self.config["zookeeper_servers"])
  File "/usr/lib/python2.7/dist-packages/txzookeeper/retry.py", line 302, in cot
    return self.client.connect(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/txzookeeper/client.py", line 468, in ct
    self._servers, callback, self._session_timeout)
zookeeper.ZooKeeperException: Could not internally obtain zookeeper handle

root@node19:~#