1. 2012-04-27 13:03:45,869 unit:hpcc/1: hook.output DEBUG: hook start exited, exit code 0.
  2. 2012-04-27 13:03:45,902 unit:hpcc/1: hook.executor DEBUG: Hook complete: /var/lib/juju/units/hpcc-1/charm/hooks/start
  3. 2012-04-27 13:03:45,902 unit:hpcc/1: unit.lifecycle DEBUG: starting service relation watch
  4. 2012-04-27 13:03:45,903 unit:hpcc/1: unit.lifecycle DEBUG: starting unit relation resolved watch
  5. 2012-04-27 13:03:45,914 unit:hpcc/1: unit.lifecycle DEBUG: relation resolved changed
  6. 2012-04-27 13:03:45,914 unit:hpcc/1: unit.lifecycle INFO: processing relation resolved changed
  7. 2012-04-27 13:03:45,922 unit:hpcc/1: unit.lifecycle DEBUG: services changed old:None new:[<ServiceRelationState name:hpcc-cluster role:peer id:relation-0000000000 scope:global>]
  8. 2012-04-27 13:03:45,923 unit:hpcc/1: unit.lifecycle DEBUG: processing relations changed
  9. 2012-04-27 13:03:46,013 unit:hpcc/0: unit.relation.watch DEBUG: relation membership change
  10. 2012-04-27 13:03:45,982 unit:hpcc/1: unit.relation.lifecycle DEBUG: stopped relation:hpcc-cluster lifecycle
  11. 2012-04-27 13:03:46,001 unit:hpcc/1: statemachine DEBUG: relationworkflowstate: transition start (None -> up) {}
  12. 2012-04-27 13:03:46,001 unit:hpcc/1: statemachine DEBUG: relationworkflowstate: execute action do_start
  13. 2012-04-27 13:03:46,002 unit:hpcc/1: hook.scheduler DEBUG: start
  14. 2012-04-27 13:03:46,022 unit:hpcc/1: unit.relation.watch DEBUG: relation watcher start
  15. 2012-04-27 13:03:46,022 unit:hpcc/1: unit.relation.lifecycle DEBUG: started relation:hpcc-cluster lifecycle
  16. 2012-04-27 13:03:46,054 unit:hpcc/0: hook.scheduler DEBUG: members changed: old=[], new=['hpcc/1']
  17. 2012-04-27 13:03:46,056 unit:hpcc/0: hook.scheduler DEBUG: executing hook for hpcc/1:joined
  18. 2012-04-27 13:03:46,056 unit:hpcc/0: unit.relation.lifecycle DEBUG: Executing hook hpcc-cluster-relation-joined
  19. 2012-04-27 13:03:46,056 unit:hpcc/0: hook.executor DEBUG: Running hook: /var/lib/juju/units/hpcc-0/charm/hooks/hpcc-cluster-relation-joined
  20. 2012-04-27 13:03:46,035 unit:hpcc/1: hook.scheduler DEBUG: members changed: old=[], new=['hpcc/0']
  21. 2012-04-27 13:03:46,037 unit:hpcc/1: hook.scheduler DEBUG: executing hook for hpcc/0:joined
  22. 2012-04-27 13:03:46,037 unit:hpcc/1: unit.relation.lifecycle DEBUG: Executing hook hpcc-cluster-relation-joined
  23. 2012-04-27 13:03:46,037 unit:hpcc/1: hook.executor DEBUG: Running hook: /var/lib/juju/units/hpcc-1/charm/hooks/hpcc-cluster-relation-joined
  24. 2012-04-27 13:03:46,070 unit:hpcc/0: hook.scheduler DEBUG: settings changed: (('hpcc/1', 0),)
  25. 2012-04-27 13:03:46,076 unit:hpcc/0: hook.output ERROR: ++ unit-get public-address
  26. 2012-04-27 13:03:46,051 unit:hpcc/1: hook.scheduler DEBUG: settings changed: (('hpcc/0', 0),)
  27. 2012-04-27 13:03:46,057 unit:hpcc/1: hook.output ERROR: ++ unit-get public-address
  28. 2012-04-27 13:03:46,057 unit:hpcc/1: statemachine DEBUG: relationworkflowstate: transition complete start (state up) {}
  29. 2012-04-27 13:03:46,060 unit:hpcc/1: unit.lifecycle DEBUG: started unit lifecycle
  30. 2012-04-27 13:03:46,145 unit:hpcc/1: statemachine DEBUG: unitworkflowstate: transition complete start (state started) {}
  31. 2012-04-27 13:03:46,159 unit:hpcc/1: juju.agents.unit DEBUG: Configuration Changed
  32. 2012-04-27 13:03:46,174 unit:hpcc/1: statemachine DEBUG: unitworkflowstate: transition configure (started -> started) {}
  33. 2012-04-27 13:03:46,174 unit:hpcc/1: statemachine DEBUG: unitworkflowstate: execute action do_configure
  34. 2012-04-27 13:03:46,242 unit:hpcc/1: hook.output DEBUG: Cached relation hook contexts: ['hpcc-cluster:0']
  35. 2012-04-27 13:03:46,452 unit:hpcc/1: unit.hook.api DEBUG: Get unit setting: 'public-address'
  36. 2012-04-27 13:03:46,486 unit:hpcc/0: unit.hook.api DEBUG: Get unit setting: 'public-address'
  37. 2012-04-27 13:03:46,490 unit:hpcc/1: hook.output ERROR: + HOSTNAME=ec2-23-20-152-190.compute-1.amazonaws.com
  38. 2012-04-27 13:03:46,491 unit:hpcc/1: hook.output ERROR: ++ unit-get private-address
  39. 2012-04-27 13:03:46,524 unit:hpcc/0: hook.output ERROR: + HOSTNAME=ec2-23-20-114-5.compute-1.amazonaws.com
  40. 2012-04-27 13:03:46,525 unit:hpcc/0: hook.output ERROR: ++ unit-get private-address
  41. 2012-04-27 13:03:46,819 unit:hpcc/1: unit.hook.api DEBUG: Get unit setting: 'private-address'
  42. 2012-04-27 13:03:46,857 unit:hpcc/1: hook.output ERROR: + PRIVATE_HOSTNAME=ip-10-116-202-39.ec2.internal
  43. 2012-04-27 13:03:46,858 unit:hpcc/1: hook.output ERROR: ++ dig +short ip-10-116-202-39.ec2.internal
  44. 2012-04-27 13:03:46,893 unit:hpcc/0: unit.hook.api DEBUG: Get unit setting: 'private-address'
  45. 2012-04-27 13:03:46,893 unit:hpcc/1: hook.output ERROR: + IP_ADDRESS=10.116.202.39
  46. + relation-set name=ec2-23-20-152-190.compute-1.amazonaws.com netAddress=10.116.202.39
  47. 2012-04-27 13:03:46,941 unit:hpcc/0: hook.output ERROR: + PRIVATE_HOSTNAME=ip-10-80-215-254.ec2.internal
  48. 2012-04-27 13:03:46,942 unit:hpcc/0: hook.output ERROR: ++ dig +short ip-10-80-215-254.ec2.internal
  49. 2012-04-27 13:03:46,979 unit:hpcc/0: hook.output ERROR: + IP_ADDRESS=10.80.215.254
  50. 2012-04-27 13:03:46,979 unit:hpcc/0: hook.output ERROR: + relation-set name=ec2-23-20-114-5.compute-1.amazonaws.com netAddress=10.80.215.254
  51. 2012-04-27 13:03:47,248 unit:hpcc/1: hook.output ERROR: + juju-log 'HPCC Join: ec2-23-20-152-190.compute-1.amazonaws.com - 10.116.202.39'
  52. 2012-04-27 13:03:47,376 unit:hpcc/0: hook.output ERROR: + juju-log 'HPCC Join: ec2-23-20-114-5.compute-1.amazonaws.com - 10.80.215.254'
  53. 2012-04-27 13:03:47,619 unit:hpcc/1: unit.hook.api INFO: HPCC Join: ec2-23-20-152-190.compute-1.amazonaws.com - 10.116.202.39
  54. 2012-04-27 13:03:47,620 unit:hpcc/1: hook.output INFO: {}
  55. 2012-04-27 13:03:47,649 unit:hpcc/1: hook.output DEBUG: hook hpcc-cluster-relation-joined exited, exit code 0.
  56. 2012-04-27 13:03:47,693 unit:hpcc/0: unit.relation.watch DEBUG: relation watcher settings change <ClientEvent changed at '/relations/relation-0000000000/settings/unit-0000000001' state: connected>
  57. 2012-04-27 13:03:47,701 unit:hpcc/0: hook.scheduler DEBUG: settings changed: (('hpcc/1', 1),)
  58. 2012-04-27 13:03:47,710 unit:hpcc/0: unit.hook.api INFO: HPCC Join: ec2-23-20-114-5.compute-1.amazonaws.com - 10.80.215.254
  59. 2012-04-27 13:03:47,711 unit:hpcc/0: hook.output INFO: {}
  60. 2012-04-27 13:03:47,698 unit:hpcc/1: hook.output DEBUG: Flushed values for hook 'hpcc-cluster-relation-joined' on 'hpcc-cluster:0'
  61. Setting changed: u'name'=u'ec2-23-20-152-190.compute-1.amazonaws.com' (was unset)
  62. Setting changed: u'netAddress'=u'10.116.202.39' (was unset)
  63. 2012-04-27 13:03:47,699 unit:hpcc/1: hook.executor DEBUG: Hook complete: /var/lib/juju/units/hpcc-1/charm/hooks/hpcc-cluster-relation-joined
  64. 2012-04-27 13:03:47,703 unit:hpcc/1: hook.scheduler DEBUG: executing hook for hpcc/0:modified
  65. 2012-04-27 13:03:47,703 unit:hpcc/1: unit.relation.lifecycle DEBUG: Executing hook hpcc-cluster-relation-changed
  66. 2012-04-27 13:03:47,704 unit:hpcc/1: hook.executor INFO: Hook does not exist, skipping /var/lib/juju/units/hpcc-1/charm/hooks/config-changed
  67. 2012-04-27 13:03:47,704 unit:hpcc/1: unit.lifecycle DEBUG: configured unit
  68. 2012-04-27 13:03:47,706 unit:hpcc/1: hook.executor DEBUG: Running hook: /var/lib/juju/units/hpcc-1/charm/hooks/hpcc-cluster-relation-changed
  69. 2012-04-27 13:03:47,734 unit:hpcc/1: statemachine DEBUG: unitworkflowstate: transition complete configure (state started) {}
  70. 2012-04-27 13:03:47,742 unit:hpcc/0: hook.output DEBUG: hook hpcc-cluster-relation-joined exited, exit code 0.
  71. 2012-04-27 13:03:47,746 unit:hpcc/1: juju.agents.unit INFO: No upgrade flag set.
  72. 2012-04-27 13:03:47,762 unit:hpcc/1: unit.relation.watch DEBUG: relation watcher settings change <ClientEvent changed at '/relations/relation-0000000000/settings/unit-0000000000' state: connected>
  73. 2012-04-27 13:03:47,770 unit:hpcc/1: hook.scheduler DEBUG: settings changed: (('hpcc/0', 1),)
  74. 2012-04-27 13:03:47,826 unit:hpcc/0: hook.output DEBUG: Flushed values for hook 'hpcc-cluster-relation-joined' on 'hpcc-cluster:0'
  75. Setting changed: u'name'=u'ec2-23-20-114-5.compute-1.amazonaws.com' (was unset)
  76. Setting changed: u'netAddress'=u'10.80.215.254' (was unset)
  77. 2012-04-27 13:03:47,827 unit:hpcc/0: hook.executor DEBUG: Hook complete: /var/lib/juju/units/hpcc-0/charm/hooks/hpcc-cluster-relation-joined
  78. 2012-04-27 13:03:47,829 unit:hpcc/0: hook.scheduler DEBUG: executing hook for hpcc/1:modified
  79. 2012-04-27 13:03:47,829 unit:hpcc/0: unit.relation.lifecycle DEBUG: Executing hook hpcc-cluster-relation-changed
  80. 2012-04-27 13:03:47,830 unit:hpcc/0: hook.executor DEBUG: Running hook: /var/lib/juju/units/hpcc-0/charm/hooks/hpcc-cluster-relation-changed
  81. 2012-04-27 13:03:48,034 unit:hpcc/1: unit.hook.api INFO: Adding HPCC Unit
  82. 2012-04-27 13:03:48,035 unit:hpcc/1: hook.output INFO: {}
  83. 2012-04-27 13:03:48,063 unit:hpcc/1: hook.output ERROR: + IP_FILE=/tmp/ip_file.txt
  84. + ENV_FILE=/etc/HPCCSystems/environment.xml
  85. + ENV_GEN=/opt/HPCCSystems/sbin/envgen
  86. + rm -f /tmp/ip_file.txt
  87. 2012-04-27 13:03:48,065 unit:hpcc/1: hook.output ERROR: + relation-list
  88. 2012-04-27 13:03:48,178 unit:hpcc/0: unit.hook.api INFO: Adding HPCC Unit
  89. 2012-04-27 13:03:48,180 unit:hpcc/0: hook.output INFO: {}
  90. 2012-04-27 13:03:48,208 unit:hpcc/0: hook.output ERROR: + IP_FILE=/tmp/ip_file.txt
  91. + ENV_FILE=/etc/HPCCSystems/environment.xml
  92. + ENV_GEN=/opt/HPCCSystems/sbin/envgen
  93. + rm -f /tmp/ip_file.txt
  94. 2012-04-27 13:03:48,211 unit:hpcc/0: hook.output ERROR: + relation-list
  95. 2012-04-27 13:03:48,444 unit:hpcc/1: hook.output INFO: hpcc/0
  96. 2012-04-27 13:03:48,472 unit:hpcc/1: hook.output ERROR: ++ relation-list
  97. 2012-04-27 13:03:48,554 unit:hpcc/0: hook.output INFO: hpcc/1
  98. 2012-04-27 13:03:48,584 unit:hpcc/0: hook.output ERROR: ++ relation-list
  99. 2012-04-27 13:03:48,813 unit:hpcc/1: hook.output ERROR: + for UNIT in '`relation-list`'
  100. 2012-04-27 13:03:48,815 unit:hpcc/1: hook.output ERROR: /var/lib/juju/units/hpcc-1/charm/hooks/hpcc-cluster-relation-changed: line 11: MEMBER: unbound variable
  101. 2012-04-27 13:03:48,815 unit:hpcc/1: hook.output ERROR: + UNIT_ADDRESS=
  102. + juju-log 'UNIT_ADDRESS: '
  103. 2012-04-27 13:03:49,007 unit:hpcc/0: hook.output ERROR: + for UNIT in '`relation-list`'
  104. 2012-04-27 13:03:49,008 unit:hpcc/0: hook.output ERROR: /var/lib/juju/units/hpcc-0/charm/hooks/hpcc-cluster-relation-changed: line 11: MEMBER: unbound variable
  105. 2012-04-27 13:03:49,009 unit:hpcc/0: hook.output ERROR: + UNIT_ADDRESS=
  106. 2012-04-27 13:03:49,009 unit:hpcc/0: hook.output ERROR: + juju-log 'UNIT_ADDRESS: '
  107. 2012-04-27 13:03:49,187 unit:hpcc/1: unit.hook.api INFO: UNIT_ADDRESS:
  108. 2012-04-27 13:03:49,188 unit:hpcc/1: hook.output INFO: {}
  109. 2012-04-27 13:03:49,217 unit:hpcc/1: hook.output ERROR: + echo ';'
  110. 2012-04-27 13:03:49,217 unit:hpcc/1: hook.output ERROR: + cat /tmp/ip_file.txt
  111. 2012-04-27 13:03:49,219 unit:hpcc/1: hook.output INFO: ;
  112. 2012-04-27 13:03:49,219 unit:hpcc/1: hook.output ERROR: + sudo /etc/init.d/hpcc-init stop
  113. 2012-04-27 13:03:49,394 unit:hpcc/0: unit.hook.api INFO: UNIT_ADDRESS:
  114. 2012-04-27 13:03:49,395 unit:hpcc/0: hook.output INFO: {}
  115. 2012-04-27 13:03:49,423 unit:hpcc/0: hook.output ERROR: + echo ';'
  116. 2012-04-27 13:03:49,424 unit:hpcc/0: hook.output ERROR: + cat /tmp/ip_file.txt
  117. 2012-04-27 13:03:49,425 unit:hpcc/0: hook.output INFO: ;
  118. 2012-04-27 13:03:49,426 unit:hpcc/0: hook.output ERROR: + sudo /etc/init.d/hpcc-init stop
  119. 2012-04-27 13:03:49,512 unit:hpcc/1: hook.output INFO: Stopping mythor...
  120. 2012-04-27 13:03:49,734 unit:hpcc/0: hook.output INFO: Stopping mythor...