Guest User

Untitled

a guest
Jul 8th, 2014
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 174.32 KB | None | 0 0
  1. 2014-07-08 11:08:35 INFO juju.cmd supercommand.go:37 running jujud [1.20.0-precise-amd64 gc]
  2. 2014-07-08 11:08:35 DEBUG juju.agent agent.go:376 read agent config, format "1.18"
  3. 2014-07-08 11:08:35 INFO juju.jujud unit.go:76 unit agent unit-test-0 start (1.20.0-precise-amd64 [gc])
  4. 2014-07-08 11:08:35 INFO juju.worker runner.go:260 start "api"
  5. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:242 dialing "wss://192.99.65.145:17070/"
  6. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:176 connection established to "wss://192.99.65.145:17070/"
  7. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:242 dialing "wss://192.99.65.145:17070/"
  8. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:176 connection established to "wss://192.99.65.145:17070/"
  9. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "upgrader"
  10. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "logger"
  11. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:35 initial log config: "<root>=DEBUG"
  12. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "uniter"
  13. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:60 logger setup
  14. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "apiaddressupdater"
  15. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "rsyslog"
  16. 2014-07-08 11:08:36 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for "unit-test-0" ""
  17. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
  18. 2014-07-08 11:08:40 INFO install sudo: unable to resolve host juju-runabove-machine-28
  19. 2014-07-08 11:08:40 INFO install Reading package lists...
  20. 2014-07-08 11:08:40 INFO install Building dependency tree...
  21. 2014-07-08 11:08:40 INFO install Reading state information...
  22. 2014-07-08 11:08:40 INFO install The following extra packages will be installed:
  23. 2014-07-08 11:08:40 INFO install python-setuptools
  24. 2014-07-08 11:08:40 INFO install The following NEW packages will be installed:
  25. 2014-07-08 11:08:40 INFO install python-pip python-setuptools
  26. 2014-07-08 11:08:40 INFO install 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
  27. 2014-07-08 11:08:40 INFO install Need to get 536 kB of archives.
  28. 2014-07-08 11:08:40 INFO install After this operation, 1,467 kB of additional disk space will be used.
  29. 2014-07-08 11:08:40 INFO install Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]
  30. 2014-07-08 11:08:41 INFO install Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB]
  31. 2014-07-08 11:08:41 INFO install debconf: unable to initialize frontend: Dialog
  32. 2014-07-08 11:08:41 INFO install debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
  33. 2014-07-08 11:08:41 INFO install debconf: falling back to frontend: Readline
  34. 2014-07-08 11:08:41 INFO install debconf: unable to initialize frontend: Readline
  35. 2014-07-08 11:08:41 INFO install debconf: (This frontend requires a controlling tty.)
  36. 2014-07-08 11:08:41 INFO install debconf: falling back to frontend: Teletype
  37. 2014-07-08 11:08:41 INFO install dpkg-preconfigure: unable to re-open stdin:
  38. 2014-07-08 11:08:41 INFO install Fetched 536 kB in 1s (496 kB/s)
  39. 2014-07-08 11:08:41 INFO install Selecting previously unselected package python-setuptools.
  40. 2014-07-08 11:08:41 INFO install (Reading database ... 48267 files and directories currently installed.)
  41. 2014-07-08 11:08:41 INFO install Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...
  42. 2014-07-08 11:08:41 INFO install Selecting previously unselected package python-pip.
  43. 2014-07-08 11:08:41 INFO install Unpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ...
  44. 2014-07-08 11:08:42 INFO install Processing triggers for man-db ...
  45. 2014-07-08 11:08:42 INFO install debconf: unable to initialize frontend: Dialog
  46. 2014-07-08 11:08:42 INFO install debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
  47. 2014-07-08 11:08:42 INFO install debconf: falling back to frontend: Readline
  48. 2014-07-08 11:08:42 INFO install debconf: unable to initialize frontend: Readline
  49. 2014-07-08 11:08:42 INFO install debconf: (This frontend requires a controlling tty.)
  50. 2014-07-08 11:08:42 INFO install debconf: falling back to frontend: Teletype
  51. 2014-07-08 11:08:42 INFO install Setting up python-setuptools (0.6.24-1ubuntu1) ...
  52. 2014-07-08 11:08:42 INFO install Setting up python-pip (1.0-1build1) ...
  53. 2014-07-08 11:08:42 INFO install sudo: unable to resolve host juju-runabove-machine-28
  54. 2014-07-08 11:08:45 INFO install Downloading/unpacking pymongo
  55. 2014-07-08 11:08:45 INFO install Running setup.py egg_info for package pymongo
  56. 2014-07-08 11:08:45 INFO install
  57. 2014-07-08 11:08:45 INFO install Installing collected packages: pymongo
  58. 2014-07-08 11:08:45 INFO install Running setup.py install for pymongo
  59. 2014-07-08 11:08:45 INFO install building 'bson._cbson' extension
  60. 2014-07-08 11:08:45 INFO install gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o
  61. 2014-07-08 11:08:45 INFO install unable to execute gcc: No such file or directory
  62. 2014-07-08 11:08:45 INFO install /var/lib/juju/agents/unit-test-0/charm/build/pymongo/setup.py:217: UserWarning:
  63. 2014-07-08 11:08:45 INFO install ********************************************************************
  64. 2014-07-08 11:08:45 INFO install WARNING: The bson._cbson extension module could not
  65. 2014-07-08 11:08:45 INFO install be compiled. No C extensions are essential for PyMongo to run,
  66. 2014-07-08 11:08:45 INFO install although they do result in significant speed improvements.
  67. 2014-07-08 11:08:45 INFO install The output above this warning shows how the compilation failed.
  68. 2014-07-08 11:08:45 INFO install
  69. 2014-07-08 11:08:45 INFO install Please see the installation docs for solutions to build issues:
  70. 2014-07-08 11:08:45 INFO install
  71. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html
  72. 2014-07-08 11:08:45 INFO install
  73. 2014-07-08 11:08:45 INFO install Here are some hints for popular operating systems:
  74. 2014-07-08 11:08:45 INFO install
  75. 2014-07-08 11:08:45 INFO install If you are seeing this message on Linux you probably need to
  76. 2014-07-08 11:08:45 INFO install install GCC and/or the Python development package for your
  77. 2014-07-08 11:08:45 INFO install version of Python.
  78. 2014-07-08 11:08:45 INFO install
  79. 2014-07-08 11:08:45 INFO install Debian and Ubuntu users should issue the following command:
  80. 2014-07-08 11:08:45 INFO install
  81. 2014-07-08 11:08:45 INFO install $ sudo apt-get install build-essential python-dev
  82. 2014-07-08 11:08:45 INFO install
  83. 2014-07-08 11:08:45 INFO install Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
  84. 2014-07-08 11:08:45 INFO install Oracle Linux, Fedora, etc.) should issue the following command:
  85. 2014-07-08 11:08:45 INFO install
  86. 2014-07-08 11:08:45 INFO install $ sudo yum install gcc python-devel
  87. 2014-07-08 11:08:45 INFO install
  88. 2014-07-08 11:08:45 INFO install If you are seeing this message on Microsoft Windows please install
  89. 2014-07-08 11:08:45 INFO install PyMongo using the MS Windows installer for your version of Python,
  90. 2014-07-08 11:08:45 INFO install available on pypi here:
  91. 2014-07-08 11:08:45 INFO install
  92. 2014-07-08 11:08:45 INFO install http://pypi.python.org/pypi/pymongo/#downloads
  93. 2014-07-08 11:08:45 INFO install
  94. 2014-07-08 11:08:45 INFO install If you are seeing this message on OSX please read the documentation
  95. 2014-07-08 11:08:45 INFO install here:
  96. 2014-07-08 11:08:45 INFO install
  97. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html#osx
  98. 2014-07-08 11:08:45 INFO install ********************************************************************
  99. 2014-07-08 11:08:45 INFO install
  100. 2014-07-08 11:08:45 INFO install "The output above "
  101. 2014-07-08 11:08:45 INFO install command 'gcc' failed with exit status 1
  102. 2014-07-08 11:08:45 INFO install building 'pymongo._cmessage' extension
  103. 2014-07-08 11:08:45 INFO install gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o
  104. 2014-07-08 11:08:45 INFO install unable to execute gcc: No such file or directory
  105. 2014-07-08 11:08:45 INFO install /var/lib/juju/agents/unit-test-0/charm/build/pymongo/setup.py:217: UserWarning:
  106. 2014-07-08 11:08:45 INFO install ********************************************************************
  107. 2014-07-08 11:08:45 INFO install WARNING: The pymongo._cmessage extension module could not
  108. 2014-07-08 11:08:45 INFO install be compiled. No C extensions are essential for PyMongo to run,
  109. 2014-07-08 11:08:45 INFO install although they do result in significant speed improvements.
  110. 2014-07-08 11:08:45 INFO install The output above this warning shows how the compilation failed.
  111. 2014-07-08 11:08:45 INFO install
  112. 2014-07-08 11:08:45 INFO install Please see the installation docs for solutions to build issues:
  113. 2014-07-08 11:08:45 INFO install
  114. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html
  115. 2014-07-08 11:08:45 INFO install
  116. 2014-07-08 11:08:45 INFO install Here are some hints for popular operating systems:
  117. 2014-07-08 11:08:45 INFO install
  118. 2014-07-08 11:08:45 INFO install If you are seeing this message on Linux you probably need to
  119. 2014-07-08 11:08:45 INFO install install GCC and/or the Python development package for your
  120. 2014-07-08 11:08:45 INFO install version of Python.
  121. 2014-07-08 11:08:45 INFO install
  122. 2014-07-08 11:08:45 INFO install Debian and Ubuntu users should issue the following command:
  123. 2014-07-08 11:08:45 INFO install
  124. 2014-07-08 11:08:45 INFO install $ sudo apt-get install build-essential python-dev
  125. 2014-07-08 11:08:45 INFO install
  126. 2014-07-08 11:08:45 INFO install Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
  127. 2014-07-08 11:08:45 INFO install Oracle Linux, Fedora, etc.) should issue the following command:
  128. 2014-07-08 11:08:45 INFO install
  129. 2014-07-08 11:08:45 INFO install $ sudo yum install gcc python-devel
  130. 2014-07-08 11:08:45 INFO install
  131. 2014-07-08 11:08:45 INFO install If you are seeing this message on Microsoft Windows please install
  132. 2014-07-08 11:08:45 INFO install PyMongo using the MS Windows installer for your version of Python,
  133. 2014-07-08 11:08:45 INFO install available on pypi here:
  134. 2014-07-08 11:08:45 INFO install
  135. 2014-07-08 11:08:45 INFO install http://pypi.python.org/pypi/pymongo/#downloads
  136. 2014-07-08 11:08:45 INFO install
  137. 2014-07-08 11:08:45 INFO install If you are seeing this message on OSX please read the documentation
  138. 2014-07-08 11:08:45 INFO install here:
  139. 2014-07-08 11:08:45 INFO install
  140. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html#osx
  141. 2014-07-08 11:08:45 INFO install ********************************************************************
  142. 2014-07-08 11:08:45 INFO install
  143. 2014-07-08 11:08:45 INFO install "The output above "
  144. 2014-07-08 11:08:45 INFO install command 'gcc' failed with exit status 1
  145. 2014-07-08 11:08:45 INFO install
  146. 2014-07-08 11:08:45 INFO install Successfully installed pymongo
  147. 2014-07-08 11:08:45 INFO install Cleaning up...
  148. 2014-07-08 11:08:45 INFO juju-log Installing mongodb
  149. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security Release.gpg
  150. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools Release.gpg
  151. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security Release
  152. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise Release.gpg
  153. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools Release
  154. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/main Sources
  155. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates Release.gpg
  156. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main amd64 Packages
  157. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/universe Sources
  158. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise Release
  159. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main i386 Packages
  160. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/main amd64 Packages
  161. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates Release
  162. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe amd64 Packages
  163. 2014-07-08 11:08:46 INFO install Ign http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main TranslationIndex
  164. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main Sources
  165. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main i386 Packages
  166. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe Sources
  167. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe i386 Packages
  168. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main amd64 Packages
  169. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main TranslationIndex
  170. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe amd64 Packages
  171. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe TranslationIndex
  172. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main Translation-en
  173. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main i386 Packages
  174. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe Translation-en
  175. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe i386 Packages
  176. 2014-07-08 11:08:46 INFO install Ign http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main Translation-en
  177. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main TranslationIndex
  178. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe TranslationIndex
  179. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main Sources
  180. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe Sources
  181. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main amd64 Packages
  182. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe amd64 Packages
  183. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main i386 Packages
  184. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe i386 Packages
  185. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main TranslationIndex
  186. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe TranslationIndex
  187. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main Translation-en
  188. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe Translation-en
  189. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main Translation-en
  190. 2014-07-08 11:08:48 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe Translation-en
  191. 2014-07-08 11:08:49 INFO install Reading package lists...
  192. 2014-07-08 11:08:49 INFO juju-log Installing ['mongodb', 'python-yaml'] with options: ['--option=Dpkg::Options::=--force-confold']
  193. 2014-07-08 11:08:49 INFO install Reading package lists...
  194. 2014-07-08 11:08:50 INFO install Building dependency tree...
  195. 2014-07-08 11:08:50 INFO install Reading state information...
  196. 2014-07-08 11:08:50 INFO install python-yaml is already the newest version.
  197. 2014-07-08 11:08:50 INFO install The following extra packages will be installed:
  198. 2014-07-08 11:08:50 INFO install binutils cpp-4.4 g++-4.4 gcc-4.4 gcc-4.4-base libboost-dev
  199. 2014-07-08 11:08:50 INFO install libboost-filesystem1.46.1 libboost-program-options1.46.1
  200. 2014-07-08 11:08:50 INFO install libboost-system1.46.1 libboost-thread1.46.1 libboost1.46-dev libc-dev-bin
  201. 2014-07-08 11:08:50 INFO install libc6-dev libgomp1 libmpfr4 libpcrecpp0 libstdc++6-4.4-dev linux-libc-dev
  202. 2014-07-08 11:08:50 INFO install manpages-dev mongodb-clients mongodb-dev mongodb-server
  203. 2014-07-08 11:08:50 INFO install Suggested packages:
  204. 2014-07-08 11:08:50 INFO install binutils-doc gcc-4.4-locales g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
  205. 2014-07-08 11:08:50 INFO install gcc-4.4-multilib libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg
  206. 2014-07-08 11:08:50 INFO install libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 libboost1.46-doc
  207. 2014-07-08 11:08:50 INFO install libboost-date-time1.46-dev libboost-filesystem1.46-dev
  208. 2014-07-08 11:08:50 INFO install libboost-graph1.46-dev libboost-iostreams1.46-dev libboost-math1.46-dev
  209. 2014-07-08 11:08:50 INFO install libboost-program-options1.46-dev libboost-python1.46-dev
  210. 2014-07-08 11:08:50 INFO install libboost-random1.46-dev libboost-regex1.46-dev
  211. 2014-07-08 11:08:50 INFO install libboost-serialization1.46-dev libboost-signals1.46-dev
  212. 2014-07-08 11:08:50 INFO install libboost-system1.46-dev libboost-test1.46-dev libboost-thread1.46-dev
  213. 2014-07-08 11:08:50 INFO install libboost-wave1.46-dev xsltproc doxygen docbook-xml docbook-xsl default-jdk
  214. 2014-07-08 11:08:50 INFO install fop glibc-doc libstdc++6-4.4-doc
  215. 2014-07-08 11:08:50 INFO install Recommended packages:
  216. 2014-07-08 11:08:50 INFO install gcc c-compiler
  217. 2014-07-08 11:08:50 INFO install The following NEW packages will be installed:
  218. 2014-07-08 11:08:50 INFO install binutils cpp-4.4 g++-4.4 gcc-4.4 gcc-4.4-base libboost-dev
  219. 2014-07-08 11:08:50 INFO install libboost-filesystem1.46.1 libboost-program-options1.46.1
  220. 2014-07-08 11:08:50 INFO install libboost-system1.46.1 libboost-thread1.46.1 libboost1.46-dev libc-dev-bin
  221. 2014-07-08 11:08:50 INFO install libc6-dev libgomp1 libmpfr4 libpcrecpp0 libstdc++6-4.4-dev linux-libc-dev
  222. 2014-07-08 11:08:50 INFO install manpages-dev mongodb mongodb-clients mongodb-dev mongodb-server
  223. 2014-07-08 11:08:50 INFO install 0 upgraded, 23 newly installed, 0 to remove and 4 not upgraded.
  224. 2014-07-08 11:08:50 INFO install Need to get 52.8 MB of archives.
  225. 2014-07-08 11:08:50 INFO install After this operation, 180 MB of additional disk space will be used.
  226. 2014-07-08 11:08:50 INFO install Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB]
  227. 2014-07-08 11:08:50 INFO install Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB]
  228. 2014-07-08 11:08:51 INFO install Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libpcrecpp0 amd64 8.12-4 [16.2 kB]
  229. 2014-07-08 11:08:51 INFO install Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2638 kB]
  230. 2014-07-08 11:08:52 INFO install Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main gcc-4.4-base amd64 4.4.7-1ubuntu2 [12.0 kB]
  231. 2014-07-08 11:08:52 INFO install Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main cpp-4.4 amd64 4.4.7-1ubuntu2 [3967 kB]
  232. 2014-07-08 11:08:53 INFO install Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main gcc-4.4 amd64 4.4.7-1ubuntu2 [2967 kB]
  233. 2014-07-08 11:08:53 INFO install Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.5 [83.9 kB]
  234. 2014-07-08 11:08:54 INFO install Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-65.99 [859 kB]
  235. 2014-07-08 11:08:54 INFO install Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.5 [2941 kB]
  236. 2014-07-08 11:08:54 INFO install Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.4-dev amd64 4.4.7-1ubuntu2 [1529 kB]
  237. 2014-07-08 11:08:54 INFO install Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main g++-4.4 amd64 4.4.7-1ubuntu2 [5605 kB]
  238. 2014-07-08 11:08:55 INFO install Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost1.46-dev amd64 1.46.1-7ubuntu3 [7656 kB]
  239. 2014-07-08 11:08:56 INFO install Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-dev amd64 1.48.0.2 [2826 B]
  240. 2014-07-08 11:08:56 INFO install Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-system1.46.1 amd64 1.46.1-7ubuntu3 [14.6 kB]
  241. 2014-07-08 11:08:56 INFO install Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-filesystem1.46.1 amd64 1.46.1-7ubuntu3 [50.7 kB]
  242. 2014-07-08 11:08:56 INFO install Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-program-options1.46.1 amd64 1.46.1-7ubuntu3 [146 kB]
  243. 2014-07-08 11:08:56 INFO install Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread1.46.1 amd64 1.46.1-7ubuntu3 [39.5 kB]
  244. 2014-07-08 11:08:56 INFO install Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1671 kB]
  245. 2014-07-08 11:08:56 INFO install Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-clients amd64 1:2.0.4-1ubuntu2.1 [16.5 MB]
  246. 2014-07-08 11:08:57 INFO install Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-server amd64 1:2.0.4-1ubuntu2.1 [4167 kB]
  247. 2014-07-08 11:08:57 INFO install Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-dev amd64 1:2.0.4-1ubuntu2.1 [1703 kB]
  248. 2014-07-08 11:08:58 INFO install Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb amd64 1:2.0.4-1ubuntu2.1 [5160 B]
  249. 2014-07-08 11:08:58 INFO install Fetched 52.8 MB in 7s (6715 kB/s)
  250. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libgomp1.
  251. 2014-07-08 11:08:58 INFO install (Reading database ... 48482 files and directories currently installed.)
  252. 2014-07-08 11:08:58 INFO install Unpacking libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
  253. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libmpfr4.
  254. 2014-07-08 11:08:58 INFO install Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3ubuntu2_amd64.deb) ...
  255. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libpcrecpp0.
  256. 2014-07-08 11:08:58 INFO install Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ...
  257. 2014-07-08 11:08:58 INFO install Selecting previously unselected package binutils.
  258. 2014-07-08 11:08:58 INFO install Unpacking binutils (from .../binutils_2.22-6ubuntu1.1_amd64.deb) ...
  259. 2014-07-08 11:08:59 INFO install Selecting previously unselected package gcc-4.4-base.
  260. 2014-07-08 11:08:59 INFO install Unpacking gcc-4.4-base (from .../gcc-4.4-base_4.4.7-1ubuntu2_amd64.deb) ...
  261. 2014-07-08 11:08:59 INFO install Selecting previously unselected package cpp-4.4.
  262. 2014-07-08 11:08:59 INFO install Unpacking cpp-4.4 (from .../cpp-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  263. 2014-07-08 11:08:59 INFO install Selecting previously unselected package gcc-4.4.
  264. 2014-07-08 11:08:59 INFO install Unpacking gcc-4.4 (from .../gcc-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  265. 2014-07-08 11:08:59 INFO install Selecting previously unselected package libc-dev-bin.
  266. 2014-07-08 11:08:59 INFO install Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10.5_amd64.deb) ...
  267. 2014-07-08 11:09:00 INFO install Selecting previously unselected package linux-libc-dev.
  268. 2014-07-08 11:09:00 INFO install Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.0-65.99_amd64.deb) ...
  269. 2014-07-08 11:09:00 INFO install Selecting previously unselected package libc6-dev.
  270. 2014-07-08 11:09:00 INFO install Unpacking libc6-dev (from .../libc6-dev_2.15-0ubuntu10.5_amd64.deb) ...
  271. 2014-07-08 11:09:00 INFO install Selecting previously unselected package libstdc++6-4.4-dev.
  272. 2014-07-08 11:09:00 INFO install Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.7-1ubuntu2_amd64.deb) ...
  273. 2014-07-08 11:09:01 INFO install Selecting previously unselected package g++-4.4.
  274. 2014-07-08 11:09:01 INFO install Unpacking g++-4.4 (from .../g++-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  275. 2014-07-08 11:09:01 INFO install Selecting previously unselected package libboost1.46-dev.
  276. 2014-07-08 11:09:01 INFO install Unpacking libboost1.46-dev (from .../libboost1.46-dev_1.46.1-7ubuntu3_amd64.deb) ...
  277. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-dev.
  278. 2014-07-08 11:09:04 INFO install Unpacking libboost-dev (from .../libboost-dev_1.48.0.2_amd64.deb) ...
  279. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-system1.46.1.
  280. 2014-07-08 11:09:04 INFO install Unpacking libboost-system1.46.1 (from .../libboost-system1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  281. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-filesystem1.46.1.
  282. 2014-07-08 11:09:04 INFO install Unpacking libboost-filesystem1.46.1 (from .../libboost-filesystem1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  283. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-program-options1.46.1.
  284. 2014-07-08 11:09:04 INFO install Unpacking libboost-program-options1.46.1 (from .../libboost-program-options1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  285. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-thread1.46.1.
  286. 2014-07-08 11:09:04 INFO install Unpacking libboost-thread1.46.1 (from .../libboost-thread1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  287. 2014-07-08 11:09:04 INFO install Selecting previously unselected package manpages-dev.
  288. 2014-07-08 11:09:04 INFO install Unpacking manpages-dev (from .../manpages-dev_3.35-0.1ubuntu1_all.deb) ...
  289. 2014-07-08 11:09:05 INFO install Selecting previously unselected package mongodb-clients.
  290. 2014-07-08 11:09:05 INFO install Unpacking mongodb-clients (from .../mongodb-clients_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  291. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb-server.
  292. 2014-07-08 11:09:06 INFO install Unpacking mongodb-server (from .../mongodb-server_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  293. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb-dev.
  294. 2014-07-08 11:09:06 INFO install Unpacking mongodb-dev (from .../mongodb-dev_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  295. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb.
  296. 2014-07-08 11:09:06 INFO install Unpacking mongodb (from .../mongodb_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  297. 2014-07-08 11:09:06 INFO install Processing triggers for man-db ...
  298. 2014-07-08 11:09:07 INFO install Processing triggers for ureadahead ...
  299. 2014-07-08 11:09:08 INFO install Setting up libgomp1 (4.6.3-1ubuntu5) ...
  300. 2014-07-08 11:09:08 INFO install Setting up libmpfr4 (3.1.0-3ubuntu2) ...
  301. 2014-07-08 11:09:08 INFO install Setting up libpcrecpp0 (8.12-4) ...
  302. 2014-07-08 11:09:08 INFO install Setting up binutils (2.22-6ubuntu1.1) ...
  303. 2014-07-08 11:09:08 INFO install Setting up gcc-4.4-base (4.4.7-1ubuntu2) ...
  304. 2014-07-08 11:09:08 INFO install Setting up cpp-4.4 (4.4.7-1ubuntu2) ...
  305. 2014-07-08 11:09:08 INFO install Setting up gcc-4.4 (4.4.7-1ubuntu2) ...
  306. 2014-07-08 11:09:08 INFO install Setting up libc-dev-bin (2.15-0ubuntu10.5) ...
  307. 2014-07-08 11:09:08 INFO install Setting up linux-libc-dev (3.2.0-65.99) ...
  308. 2014-07-08 11:09:08 INFO install Setting up libc6-dev (2.15-0ubuntu10.5) ...
  309. 2014-07-08 11:09:08 INFO install Setting up libboost-system1.46.1 (1.46.1-7ubuntu3) ...
  310. 2014-07-08 11:09:08 INFO install Setting up libboost-filesystem1.46.1 (1.46.1-7ubuntu3) ...
  311. 2014-07-08 11:09:08 INFO install Setting up libboost-program-options1.46.1 (1.46.1-7ubuntu3) ...
  312. 2014-07-08 11:09:08 INFO install Setting up libboost-thread1.46.1 (1.46.1-7ubuntu3) ...
  313. 2014-07-08 11:09:08 INFO install Setting up manpages-dev (3.35-0.1ubuntu1) ...
  314. 2014-07-08 11:09:08 INFO install Setting up mongodb-clients (1:2.0.4-1ubuntu2.1) ...
  315. 2014-07-08 11:09:08 INFO install Setting up mongodb-server (1:2.0.4-1ubuntu2.1) ...
  316. 2014-07-08 11:09:09 INFO install Adding system user `mongodb' (UID 106) ...
  317. 2014-07-08 11:09:09 INFO install Adding new user `mongodb' (UID 106) with group `nogroup' ...
  318. 2014-07-08 11:09:09 INFO install Not creating home directory `/home/mongodb'.
  319. 2014-07-08 11:09:09 INFO install Adding group `mongodb' (GID 112) ...
  320. 2014-07-08 11:09:09 INFO install Done.
  321. 2014-07-08 11:09:09 INFO install Adding user `mongodb' to group `mongodb' ...
  322. 2014-07-08 11:09:09 INFO install Adding user mongodb to group mongodb
  323. 2014-07-08 11:09:09 INFO install Done.
  324. 2014-07-08 11:09:09 INFO install mongodb start/running, process 12913
  325. 2014-07-08 11:09:09 INFO install Setting up g++-4.4 (4.4.7-1ubuntu2) ...
  326. 2014-07-08 11:09:09 INFO install Setting up libstdc++6-4.4-dev (4.4.7-1ubuntu2) ...
  327. 2014-07-08 11:09:09 INFO install Setting up libboost1.46-dev (1.46.1-7ubuntu3) ...
  328. 2014-07-08 11:09:09 INFO install Setting up libboost-dev (1.48.0.2) ...
  329. 2014-07-08 11:09:09 INFO install Setting up mongodb-dev (1:2.0.4-1ubuntu2.1) ...
  330. 2014-07-08 11:09:09 INFO install Setting up mongodb (1:2.0.4-1ubuntu2.1) ...
  331. 2014-07-08 11:09:10 INFO install Processing triggers for libc-bin ...
  332. 2014-07-08 11:09:10 INFO install ldconfig deferred processing now taking place
  333. 2014-07-08 11:09:11 INFO juju-log Entering config_changed
  334. 2014-07-08 11:09:11 INFO juju-log config_get: None
  335. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  336. 2014-07-08 11:09:11 INFO juju-log config_get: None
  337. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  338. 2014-07-08 11:09:11 INFO juju-log config_get: None
  339. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  340. 2014-07-08 11:09:11 INFO juju-log unit_get: public-address
  341. 2014-07-08 11:09:11 INFO juju-log unit_get public-address returns: 192.99.65.161
  342. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/mongodb.conf
  343. 2014-07-08 11:09:11 INFO juju-log update_file /etc/mongodb.conf returns: True
  344. 2014-07-08 11:09:11 INFO juju-log Setting up cronjob
  345. 2014-07-08 11:09:11 INFO juju-log config_get: None
  346. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  347. 2014-07-08 11:09:11 INFO juju-log regex_sub
  348. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/init/mongodb.conf
  349. 2014-07-08 11:09:11 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  350. 2014-07-08 11:09:11 INFO juju-log open_port: port: 28017 protocol: TCP
  351. 2014-07-08 11:09:11 INFO juju-log open_port 28017/TCP returns: True
  352. 2014-07-08 11:09:11 INFO juju-log regex_sub
  353. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/init/mongodb.conf
  354. 2014-07-08 11:09:11 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  355. 2014-07-08 11:09:11 INFO juju-log Writing /etc/logrotate.d/mongodb-server.
  356. 2014-07-08 11:09:11 INFO juju-log unit_get: public-address
  357. 2014-07-08 11:09:11 INFO juju-log unit_get public-address returns: 192.99.65.161
  358. 2014-07-08 11:09:11 INFO juju-log config_get: port
  359. 2014-07-08 11:09:11 INFO juju-log config_get: port returns: 27017
  360. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: stop
  361. 2014-07-08 11:09:11 INFO config-changed mongodb stop/waiting
  362. 2014-07-08 11:09:11 INFO juju-log service mongodb stop returns: True
  363. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: start
  364. 2014-07-08 11:09:11 INFO config-changed mongodb start/running, process 13139
  365. 2014-07-08 11:09:11 INFO juju-log service mongodb start returns: True
  366. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: status
  367. 2014-07-08 11:09:11 INFO config-changed mongodb start/running, process 13139
  368. 2014-07-08 11:09:11 INFO juju-log service mongodb status returns: True
  369. 2014-07-08 11:09:11 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  370. 2014-07-08 11:09:11 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  371. 2014-07-08 11:09:11 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (0/5)
  372. 2014-07-08 11:09:15 INFO juju-log service: mongodb, action: status
  373. 2014-07-08 11:09:16 INFO config-changed mongodb start/running, process 13139
  374. 2014-07-08 11:09:16 INFO juju-log service mongodb status returns: True
  375. 2014-07-08 11:09:16 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  376. 2014-07-08 11:09:16 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  377. 2014-07-08 11:09:16 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (1/5)
  378. 2014-07-08 11:09:20 INFO juju-log service: mongodb, action: status
  379. 2014-07-08 11:09:20 INFO config-changed mongodb start/running, process 13139
  380. 2014-07-08 11:09:20 INFO juju-log service mongodb status returns: True
  381. 2014-07-08 11:09:20 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  382. 2014-07-08 11:09:20 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  383. 2014-07-08 11:09:20 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (2/5)
  384. 2014-07-08 11:09:24 INFO juju-log service: mongodb, action: status
  385. 2014-07-08 11:09:24 INFO config-changed mongodb start/running, process 13139
  386. 2014-07-08 11:09:24 INFO juju-log service mongodb status returns: True
  387. 2014-07-08 11:09:24 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  388. 2014-07-08 11:09:24 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  389. 2014-07-08 11:09:24 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (3/5)
  390. 2014-07-08 11:09:28 INFO juju-log service: mongodb, action: status
  391. 2014-07-08 11:09:28 INFO config-changed mongodb start/running, process 13139
  392. 2014-07-08 11:09:28 INFO juju-log service mongodb status returns: True
  393. 2014-07-08 11:09:28 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  394. 2014-07-08 11:09:28 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  395. 2014-07-08 11:09:28 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (4/5)
  396. 2014-07-08 11:09:32 INFO juju-log service: mongodb, action: status
  397. 2014-07-08 11:09:32 INFO config-changed mongodb start/running, process 13139
  398. 2014-07-08 11:09:32 INFO juju-log service mongodb status returns: True
  399. 2014-07-08 11:09:32 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  400. 2014-07-08 11:09:32 INFO juju-log service: mongodb, action: status
  401. 2014-07-08 11:09:32 INFO config-changed mongodb start/running, process 13139
  402. 2014-07-08 11:09:32 INFO juju-log service mongodb status returns: True
  403. 2014-07-08 11:09:32 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  404. 2014-07-08 11:09:32 INFO juju-log update_service_ports
  405. 2014-07-08 11:09:32 INFO juju-log closing port: 27017
  406. 2014-07-08 11:09:32 INFO juju-log close_port: port: 27017 protocol: TCP
  407. 2014-07-08 11:09:32 INFO juju-log close_port 27017/TCP returns: True
  408. 2014-07-08 11:09:32 INFO juju-log opening port: 27017
  409. 2014-07-08 11:09:32 INFO juju-log open_port: port: 27017 protocol: TCP
  410. 2014-07-08 11:09:33 INFO juju-log open_port 27017/TCP returns: True
  411. 2014-07-08 11:09:33 INFO juju-log close_port: port: 28017 protocol: TCP
  412. 2014-07-08 11:09:33 INFO juju-log close_port 28017/TCP returns: True
  413. 2014-07-08 11:09:33 INFO juju-log open_port: port: 28017 protocol: TCP
  414. 2014-07-08 11:09:34 INFO juju-log open_port 28017/TCP returns: True
  415. 2014-07-08 11:09:34 INFO juju-log config_get: None
  416. 2014-07-08 11:09:34 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  417. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  418. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  419. 2014-07-08 11:09:34 INFO juju-log unit_get: public-address
  420. 2014-07-08 11:09:34 INFO juju-log unit_get public-address returns: 192.99.65.161
  421. 2014-07-08 11:09:34 INFO juju-log port_check: Unable to connect to 192.99.65.161:27019/TCP.
  422. 2014-07-08 11:09:34 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  423. 2014-07-08 11:09:34 INFO juju-log open_port: port: 27019 protocol: TCP
  424. 2014-07-08 11:09:34 INFO juju-log open_port 27019/TCP returns: True
  425. 2014-07-08 11:09:34 INFO juju-log config_get: None
  426. 2014-07-08 11:09:34 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  427. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  428. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  429. 2014-07-08 11:09:34 INFO juju-log unit_get: public-address
  430. 2014-07-08 11:09:34 INFO juju-log unit_get public-address returns: 192.99.65.161
  431. 2014-07-08 11:09:34 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  432. 2014-07-08 11:09:34 INFO juju-log open_port: port: 27017 protocol: TCP
  433. 2014-07-08 11:09:35 INFO juju-log open_port 27017/TCP returns: True
  434. 2014-07-08 11:09:35 INFO config-changed Entering config_changed
  435. 2014-07-08 11:09:35 INFO config-changed config_data: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  436. 2014-07-08 11:09:35 INFO config-changed current_mongodb_port: 27017
  437. 2014-07-08 11:09:35 INFO config-changed public_address: 192.99.65.161
  438. 2014-07-08 11:09:35 INFO config-changed About to leave config_changed
  439. 2014-07-08 11:09:35 INFO juju-log start_hook
  440. 2014-07-08 11:09:35 INFO juju-log unit_get: public-address
  441. 2014-07-08 11:09:35 INFO juju-log unit_get public-address returns: 192.99.65.161
  442. 2014-07-08 11:09:35 INFO juju-log config_get: port
  443. 2014-07-08 11:09:35 INFO juju-log config_get: port returns: 27017
  444. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: stop
  445. 2014-07-08 11:09:35 INFO start mongodb stop/waiting
  446. 2014-07-08 11:09:35 INFO juju-log service mongodb stop returns: True
  447. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: start
  448. 2014-07-08 11:09:35 INFO start mongodb start/running, process 13622
  449. 2014-07-08 11:09:35 INFO juju-log service mongodb start returns: True
  450. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: status
  451. 2014-07-08 11:09:35 INFO start mongodb start/running, process 13622
  452. 2014-07-08 11:09:35 INFO juju-log service mongodb status returns: True
  453. 2014-07-08 11:09:35 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  454. 2014-07-08 11:09:35 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  455. 2014-07-08 11:09:35 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (0/5)
  456. 2014-07-08 11:09:39 INFO juju-log service: mongodb, action: status
  457. 2014-07-08 11:09:39 INFO start mongodb start/running, process 13622
  458. 2014-07-08 11:09:39 INFO juju-log service mongodb status returns: True
  459. 2014-07-08 11:09:39 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  460. 2014-07-08 11:09:39 INFO juju-log service: mongodb, action: status
  461. 2014-07-08 11:09:39 INFO start mongodb start/running, process 13622
  462. 2014-07-08 11:09:39 INFO juju-log service mongodb status returns: True
  463. 2014-07-08 11:09:39 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  464. 2014-07-08 11:09:39 INFO juju-log start_hook returns: True
  465. 2014-07-08 11:09:39 WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo
  466. 2014-07-08 11:09:40 INFO juju-log replica-set:9: replica_set_relation_joined
  467. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get: public-address
  468. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  469. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port
  470. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port returns: 27017
  471. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: replicaset
  472. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  473. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_hostname: 192.99.65.161
  474. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_port: 27017
  475. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_replset: myset
  476. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_install_order: 0
  477. 2014-07-08 11:09:40 INFO juju-log replica-set:9: regex_sub
  478. 2014-07-08 11:09:40 INFO juju-log replica-set:9: update_file: /etc/init/mongodb.conf
  479. 2014-07-08 11:09:40 INFO juju-log replica-set:9: update_file /etc/init/mongodb.conf returns: True
  480. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get: public-address
  481. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  482. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port
  483. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: port returns: 27017
  484. 2014-07-08 11:09:41 INFO juju-log replica-set:9: service: mongodb, action: stop
  485. 2014-07-08 11:09:41 INFO replica-set-relation-joined mongodb stop/waiting
  486. 2014-07-08 11:09:41 INFO juju-log replica-set:9: service mongodb stop returns: True
  487. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  488. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  489. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  490. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  491. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset
  492. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  493. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  494. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  495. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  496. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  497. 2014-07-08 11:09:41 INFO replica-set-relation-joined forked process: 13925
  498. 2014-07-08 11:09:41 INFO replica-set-relation-joined all output going to: /var/log/mongodb/replica.log
  499. 2014-07-08 11:09:41 INFO juju-log replica-set:9: Replica waits for config final
  500. 2014-07-08 11:09:41 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  501. 2014-07-08 11:09:41 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  502. 2014-07-08 11:09:45 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  503. 2014-07-08 11:09:45 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  504. 2014-07-08 11:09:49 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  505. 2014-07-08 11:09:49 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  506. 2014-07-08 11:09:53 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  507. 2014-07-08 11:09:53 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  508. 2014-07-08 11:09:57 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  509. 2014-07-08 11:09:57 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  510. 2014-07-08 11:10:01 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  511. 2014-07-08 11:10:01 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  512. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_set: kv: {'install-order': '0', 'hostname': u'192.99.65.161', 'type': 'replset', 'port': 27017, 'replset': u'myset'}, relation_id: None
  513. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_set returns: True
  514. 2014-07-08 11:10:01 INFO replica-set-relation-joined --format flag deprecated for command "relation-set"
  515. 2014-07-08 11:10:01 INFO juju-log replica-set:9: replica_set_relation_changed
  516. 2014-07-08 11:10:01 INFO juju-log replica-set:9: unit_get: public-address
  517. 2014-07-08 11:10:01 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  518. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: port
  519. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: port returns: 27017
  520. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset
  521. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  522. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset_master
  523. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset_master returns: auto
  524. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_list: relation_id: None
  525. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_id None returns: [u'test/2']
  526. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_joined
  527. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  528. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  529. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  530. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  531. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  532. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  533. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_hostname: 192.99.65.161
  534. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_port: 27017
  535. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_replset: myset
  536. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_install_order: 0
  537. 2014-07-08 11:10:02 INFO juju-log replica-set:9: update_file: /etc/init/mongodb.conf
  538. 2014-07-08 11:10:02 INFO juju-log replica-set:9: update_file /etc/init/mongodb.conf returns: True
  539. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  540. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  541. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  542. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  543. 2014-07-08 11:10:02 INFO juju-log replica-set:9: service: mongodb, action: stop
  544. 2014-07-08 11:10:02 INFO replica-set-relation-joined stop: Unknown instance:
  545. 2014-07-08 11:10:02 INFO juju-log replica-set:9: service mongodb stop returns: False
  546. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  547. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  548. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  549. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  550. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  551. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  552. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  553. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  554. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  555. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  556. 2014-07-08 11:10:02 INFO replica-set-relation-joined forked process: 14317
  557. 2014-07-08 11:10:02 INFO replica-set-relation-joined all output going to: /var/log/mongodb/replica.log
  558. 2014-07-08 11:10:02 INFO juju-log replica-set:9: Replica waits for config final
  559. 2014-07-08 11:10:02 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  560. 2014-07-08 11:10:02 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  561. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_set: kv: {'install-order': '0', 'hostname': u'192.99.65.161', 'type': 'replset', 'port': 27017, 'replset': u'myset'}, relation_id: None
  562. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_set returns: True
  563. 2014-07-08 11:10:02 INFO replica-set-relation-joined --format flag deprecated for command "relation-set"
  564. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_changed
  565. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  566. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  567. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  568. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  569. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  570. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  571. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_master
  572. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_master returns: auto
  573. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_list: relation_id: None
  574. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  575. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_list: relation_id: None
  576. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  577. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_changed: member: test/1
  578. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/1, relation_id: None
  579. 2014-07-08 11:10:02 INFO juju-log replica-set:9: Waiting for data available...
  580. 2014-07-08 11:10:06 INFO juju-log replica-set:9: Waiting for data available...
  581. 2014-07-08 11:10:10 INFO juju-log replica-set:9: Waiting for data available...
  582. 2014-07-08 11:10:14 INFO juju-log replica-set:9: Waiting for data available...
  583. 2014-07-08 11:10:18 INFO juju-log replica-set:9: Waiting for data available...
  584. 2014-07-08 11:10:22 INFO juju-log replica-set:9: relation_get returns: None
  585. 2014-07-08 11:10:22 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/1, relation_id: None
  586. 2014-07-08 11:10:22 INFO juju-log replica-set:9: Waiting for data available...
  587. 2014-07-08 11:10:26 INFO juju-log replica-set:9: Waiting for data available...
  588. 2014-07-08 11:10:30 INFO juju-log replica-set:9: Waiting for data available...
  589. 2014-07-08 11:10:34 INFO juju-log replica-set:9: Waiting for data available...
  590. 2014-07-08 11:10:38 INFO juju-log replica-set:9: Waiting for data available...
  591. 2014-07-08 11:10:42 INFO juju-log replica-set:9: relation_get returns: None
  592. 2014-07-08 11:10:42 INFO juju-log replica-set:9: relation_get: scope: install-order, unit_name: test/1, relation_id: None
  593. 2014-07-08 11:10:42 INFO juju-log replica-set:9: Waiting for data available...
  594. 2014-07-08 11:10:46 INFO juju-log replica-set:9: Waiting for data available...
  595. 2014-07-08 11:10:50 INFO juju-log replica-set:9: Waiting for data available...
  596. 2014-07-08 11:10:54 INFO juju-log replica-set:9: Waiting for data available...
  597. 2014-07-08 11:10:58 INFO juju-log replica-set:9: Waiting for data available...
  598. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_get returns: None
  599. 2014-07-08 11:11:03 INFO juju-log replica-set:9: replica_set_relation_changed: install_order: None
  600. 2014-07-08 11:11:03 INFO juju-log replica-set:9: replica_set_relation_changed: install_order is None. relation is not ready
  601. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_list: relation_id: None
  602. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  603. 2014-07-08 11:11:03 INFO juju-log replica-set:9: Getting ip for replica config
  604. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/1, relation_id: None
  605. 2014-07-08 11:11:03 INFO juju-log replica-set:9: Waiting for data available...
  606. 2014-07-08 11:11:07 INFO juju-log replica-set:9: Waiting for data available...
  607. 2014-07-08 11:11:11 INFO juju-log replica-set:9: Waiting for data available...
  608. 2014-07-08 11:11:15 INFO juju-log replica-set:9: Waiting for data available...
  609. 2014-07-08 11:11:19 INFO juju-log replica-set:9: Waiting for data available...
  610. 2014-07-08 11:11:23 INFO juju-log replica-set:9: relation_get returns: None
  611. 2014-07-08 11:11:23 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/1, relation_id: None
  612. 2014-07-08 11:11:23 INFO juju-log replica-set:9: Waiting for data available...
  613. 2014-07-08 11:11:27 INFO juju-log replica-set:9: Waiting for data available...
  614. 2014-07-08 11:11:31 INFO juju-log replica-set:9: Waiting for data available...
  615. 2014-07-08 11:11:35 INFO juju-log replica-set:9: Waiting for data available...
  616. 2014-07-08 11:11:39 INFO juju-log replica-set:9: Waiting for data available...
  617. 2014-07-08 11:11:43 INFO juju-log replica-set:9: relation_get returns: None
  618. 2014-07-08 11:11:43 INFO juju-log replica-set:9: Getting ip for replica config
  619. 2014-07-08 11:11:43 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/2, relation_id: None
  620. 2014-07-08 11:11:43 INFO juju-log replica-set:9: Waiting for data available...
  621. 2014-07-08 11:11:47 INFO juju-log replica-set:9: Waiting for data available...
  622. 2014-07-08 11:11:51 INFO juju-log replica-set:9: Waiting for data available...
  623. 2014-07-08 11:11:55 INFO juju-log replica-set:9: Waiting for data available...
  624. 2014-07-08 11:11:59 INFO juju-log replica-set:9: Waiting for data available...
  625. 2014-07-08 11:12:03 INFO juju-log replica-set:9: relation_get returns: None
  626. 2014-07-08 11:12:03 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/2, relation_id: None
  627. 2014-07-08 11:12:03 INFO juju-log replica-set:9: Waiting for data available...
  628. 2014-07-08 11:12:07 INFO juju-log replica-set:9: Waiting for data available...
  629. 2014-07-08 11:12:11 INFO juju-log replica-set:9: Waiting for data available...
  630. 2014-07-08 11:12:15 INFO juju-log replica-set:9: Waiting for data available...
  631. 2014-07-08 11:12:19 INFO juju-log replica-set:9: Waiting for data available...
  632. 2014-07-08 11:12:23 INFO juju-log replica-set:9: relation_get returns: None
  633. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  634. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  635. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  636. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  637. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  638. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  639. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  640. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  641. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  642. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  643. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  644. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  645. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  646. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  647. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  648. 2014-07-08 11:12:23 INFO juju-log replica-set:9: Executing: mongo --host 192.99.65.161:27017 --eval 'rs.initiate({"_id":"myset","members":[{"_id":0,"host":"192.99.65.161:27017"},{"_id":1,"host":"None:None"},{"_id":1,"host":"None:None"}]})'
  649. 2014-07-08 11:12:23 INFO replica-set-relation-changed MongoDB shell version: 2.0.4
  650. 2014-07-08 11:12:23 INFO replica-set-relation-changed connecting to: 192.99.65.161:27017/test
  651. 2014-07-08 11:12:23 INFO replica-set-relation-changed [object bson_object]
  652. 2014-07-08 11:14:48 INFO juju-log Entering config_changed
  653. 2014-07-08 11:14:48 INFO juju-log config_get: None
  654. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  655. 2014-07-08 11:14:48 INFO juju-log config_get: None
  656. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  657. 2014-07-08 11:14:48 INFO juju-log config_get: None
  658. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  659. 2014-07-08 11:14:48 INFO juju-log unit_get: public-address
  660. 2014-07-08 11:14:48 INFO juju-log unit_get public-address returns: 192.99.65.161
  661. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/mongodb.conf
  662. 2014-07-08 11:14:48 INFO juju-log update_file /etc/mongodb.conf returns: True
  663. 2014-07-08 11:14:48 INFO juju-log Setting up cronjob
  664. 2014-07-08 11:14:48 INFO juju-log config_get: None
  665. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  666. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/init/mongodb.conf
  667. 2014-07-08 11:14:48 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  668. 2014-07-08 11:14:48 INFO juju-log open_port: port: 28017 protocol: TCP
  669. 2014-07-08 11:14:48 INFO juju-log open_port 28017/TCP returns: True
  670. 2014-07-08 11:14:48 INFO juju-log regex_sub
  671. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/init/mongodb.conf
  672. 2014-07-08 11:14:48 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  673. 2014-07-08 11:14:48 INFO juju-log Writing /etc/logrotate.d/mongodb-server.
  674. 2014-07-08 11:14:48 INFO juju-log unit_get: public-address
  675. 2014-07-08 11:14:48 INFO juju-log unit_get public-address returns: 192.99.65.161
  676. 2014-07-08 11:14:48 INFO juju-log config_get: port
  677. 2014-07-08 11:14:48 INFO juju-log config_get: port returns: 27017
  678. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: stop
  679. 2014-07-08 11:14:48 INFO config-changed stop: Unknown instance:
  680. 2014-07-08 11:14:48 INFO juju-log service mongodb stop returns: False
  681. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: start
  682. 2014-07-08 11:14:48 INFO config-changed mongodb start/running, process 15343
  683. 2014-07-08 11:14:48 INFO juju-log service mongodb start returns: True
  684. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: status
  685. 2014-07-08 11:14:48 INFO config-changed mongodb stop/waiting
  686. 2014-07-08 11:14:48 INFO juju-log service mongodb status returns: True
  687. 2014-07-08 11:14:48 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  688. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: status
  689. 2014-07-08 11:14:48 INFO config-changed mongodb stop/waiting
  690. 2014-07-08 11:14:48 INFO juju-log service mongodb status returns: True
  691. 2014-07-08 11:14:48 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  692. 2014-07-08 11:14:48 INFO juju-log update_service_ports
  693. 2014-07-08 11:14:48 INFO juju-log closing port: 27017
  694. 2014-07-08 11:14:48 INFO juju-log close_port: port: 27017 protocol: TCP
  695. 2014-07-08 11:14:49 INFO juju-log close_port 27017/TCP returns: True
  696. 2014-07-08 11:14:49 INFO juju-log opening port: 27017
  697. 2014-07-08 11:14:49 INFO juju-log open_port: port: 27017 protocol: TCP
  698. 2014-07-08 11:14:49 INFO juju-log open_port 27017/TCP returns: True
  699. 2014-07-08 11:14:49 INFO juju-log close_port: port: 28017 protocol: TCP
  700. 2014-07-08 11:14:49 INFO juju-log close_port 28017/TCP returns: True
  701. 2014-07-08 11:14:49 INFO juju-log open_port: port: 28017 protocol: TCP
  702. 2014-07-08 11:14:49 INFO juju-log open_port 28017/TCP returns: True
  703. 2014-07-08 11:14:49 INFO juju-log config_get: None
  704. 2014-07-08 11:14:49 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  705. 2014-07-08 11:14:49 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  706. 2014-07-08 11:14:49 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  707. 2014-07-08 11:14:49 INFO juju-log unit_get: public-address
  708. 2014-07-08 11:14:49 INFO juju-log unit_get public-address returns: 192.99.65.161
  709. 2014-07-08 11:14:49 INFO juju-log port_check: Unable to connect to 192.99.65.161:27019/TCP.
  710. 2014-07-08 11:14:49 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  711. 2014-07-08 11:14:49 INFO juju-log open_port: port: 27019 protocol: TCP
  712. 2014-07-08 11:14:50 INFO juju-log open_port 27019/TCP returns: True
  713. 2014-07-08 11:14:50 INFO juju-log config_get: None
  714. 2014-07-08 11:14:50 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  715. 2014-07-08 11:14:50 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  716. 2014-07-08 11:14:50 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  717. 2014-07-08 11:14:50 INFO juju-log unit_get: public-address
  718. 2014-07-08 11:14:50 INFO juju-log unit_get public-address returns: 192.99.65.161
  719. 2014-07-08 11:14:50 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  720. 2014-07-08 11:14:50 INFO juju-log open_port: port: 27017 protocol: TCP
  721. 2014-07-08 11:14:50 INFO juju-log open_port 27017/TCP returns: True
  722. 2014-07-08 11:14:50 INFO config-changed Entering config_changed
  723. 2014-07-08 11:14:50 INFO config-changed config_data: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  724. 2014-07-08 11:14:50 INFO config-changed current_mongodb_port: 27017
  725. 2014-07-08 11:14:50 INFO config-changed public_address: 192.99.65.161
  726. 2014-07-08 11:14:50 INFO config-changed About to leave config_changed
  727. 2014-07-08 11:14:50 WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo
  728. admin@juju:~$ touch log2
  729. admin@juju:~$ juju scp test/0:/var/log/juju/unit-test-0.log log2
  730. admin@juju:~$ clear
  731.  
  732. admin@juju:~$ cat log2
  733. 2014-07-08 11:08:35 INFO juju.cmd supercommand.go:37 running jujud [1.20.0-precise-amd64 gc]
  734. 2014-07-08 11:08:35 DEBUG juju.agent agent.go:376 read agent config, format "1.18"
  735. 2014-07-08 11:08:35 INFO juju.jujud unit.go:76 unit agent unit-test-0 start (1.20.0-precise-amd64 [gc])
  736. 2014-07-08 11:08:35 INFO juju.worker runner.go:260 start "api"
  737. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:242 dialing "wss://192.99.65.145:17070/"
  738. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:176 connection established to "wss://192.99.65.145:17070/"
  739. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:242 dialing "wss://192.99.65.145:17070/"
  740. 2014-07-08 11:08:35 INFO juju.state.api apiclient.go:176 connection established to "wss://192.99.65.145:17070/"
  741. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "upgrader"
  742. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "logger"
  743. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:35 initial log config: "<root>=DEBUG"
  744. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "uniter"
  745. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:60 logger setup
  746. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "apiaddressupdater"
  747. 2014-07-08 11:08:36 INFO juju.worker runner.go:260 start "rsyslog"
  748. 2014-07-08 11:08:36 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for "unit-test-0" ""
  749. 2014-07-08 11:08:36 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
  750. 2014-07-08 11:08:40 INFO install sudo: unable to resolve host juju-runabove-machine-28
  751. 2014-07-08 11:08:40 INFO install Reading package lists...
  752. 2014-07-08 11:08:40 INFO install Building dependency tree...
  753. 2014-07-08 11:08:40 INFO install Reading state information...
  754. 2014-07-08 11:08:40 INFO install The following extra packages will be installed:
  755. 2014-07-08 11:08:40 INFO install python-setuptools
  756. 2014-07-08 11:08:40 INFO install The following NEW packages will be installed:
  757. 2014-07-08 11:08:40 INFO install python-pip python-setuptools
  758. 2014-07-08 11:08:40 INFO install 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
  759. 2014-07-08 11:08:40 INFO install Need to get 536 kB of archives.
  760. 2014-07-08 11:08:40 INFO install After this operation, 1,467 kB of additional disk space will be used.
  761. 2014-07-08 11:08:40 INFO install Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]
  762. 2014-07-08 11:08:41 INFO install Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB]
  763. 2014-07-08 11:08:41 INFO install debconf: unable to initialize frontend: Dialog
  764. 2014-07-08 11:08:41 INFO install debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
  765. 2014-07-08 11:08:41 INFO install debconf: falling back to frontend: Readline
  766. 2014-07-08 11:08:41 INFO install debconf: unable to initialize frontend: Readline
  767. 2014-07-08 11:08:41 INFO install debconf: (This frontend requires a controlling tty.)
  768. 2014-07-08 11:08:41 INFO install debconf: falling back to frontend: Teletype
  769. 2014-07-08 11:08:41 INFO install dpkg-preconfigure: unable to re-open stdin:
  770. 2014-07-08 11:08:41 INFO install Fetched 536 kB in 1s (496 kB/s)
  771. 2014-07-08 11:08:41 INFO install Selecting previously unselected package python-setuptools.
  772. 2014-07-08 11:08:41 INFO install (Reading database ... 48267 files and directories currently installed.)
  773. 2014-07-08 11:08:41 INFO install Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...
  774. 2014-07-08 11:08:41 INFO install Selecting previously unselected package python-pip.
  775. 2014-07-08 11:08:41 INFO install Unpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ...
  776. 2014-07-08 11:08:42 INFO install Processing triggers for man-db ...
  777. 2014-07-08 11:08:42 INFO install debconf: unable to initialize frontend: Dialog
  778. 2014-07-08 11:08:42 INFO install debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
  779. 2014-07-08 11:08:42 INFO install debconf: falling back to frontend: Readline
  780. 2014-07-08 11:08:42 INFO install debconf: unable to initialize frontend: Readline
  781. 2014-07-08 11:08:42 INFO install debconf: (This frontend requires a controlling tty.)
  782. 2014-07-08 11:08:42 INFO install debconf: falling back to frontend: Teletype
  783. 2014-07-08 11:08:42 INFO install Setting up python-setuptools (0.6.24-1ubuntu1) ...
  784. 2014-07-08 11:08:42 INFO install Setting up python-pip (1.0-1build1) ...
  785. 2014-07-08 11:08:42 INFO install sudo: unable to resolve host juju-runabove-machine-28
  786. 2014-07-08 11:08:45 INFO install Downloading/unpacking pymongo
  787. 2014-07-08 11:08:45 INFO install Running setup.py egg_info for package pymongo
  788. 2014-07-08 11:08:45 INFO install
  789. 2014-07-08 11:08:45 INFO install Installing collected packages: pymongo
  790. 2014-07-08 11:08:45 INFO install Running setup.py install for pymongo
  791. 2014-07-08 11:08:45 INFO install building 'bson._cbson' extension
  792. 2014-07-08 11:08:45 INFO install gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o
  793. 2014-07-08 11:08:45 INFO install unable to execute gcc: No such file or directory
  794. 2014-07-08 11:08:45 INFO install /var/lib/juju/agents/unit-test-0/charm/build/pymongo/setup.py:217: UserWarning:
  795. 2014-07-08 11:08:45 INFO install ********************************************************************
  796. 2014-07-08 11:08:45 INFO install WARNING: The bson._cbson extension module could not
  797. 2014-07-08 11:08:45 INFO install be compiled. No C extensions are essential for PyMongo to run,
  798. 2014-07-08 11:08:45 INFO install although they do result in significant speed improvements.
  799. 2014-07-08 11:08:45 INFO install The output above this warning shows how the compilation failed.
  800. 2014-07-08 11:08:45 INFO install
  801. 2014-07-08 11:08:45 INFO install Please see the installation docs for solutions to build issues:
  802. 2014-07-08 11:08:45 INFO install
  803. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html
  804. 2014-07-08 11:08:45 INFO install
  805. 2014-07-08 11:08:45 INFO install Here are some hints for popular operating systems:
  806. 2014-07-08 11:08:45 INFO install
  807. 2014-07-08 11:08:45 INFO install If you are seeing this message on Linux you probably need to
  808. 2014-07-08 11:08:45 INFO install install GCC and/or the Python development package for your
  809. 2014-07-08 11:08:45 INFO install version of Python.
  810. 2014-07-08 11:08:45 INFO install
  811. 2014-07-08 11:08:45 INFO install Debian and Ubuntu users should issue the following command:
  812. 2014-07-08 11:08:45 INFO install
  813. 2014-07-08 11:08:45 INFO install $ sudo apt-get install build-essential python-dev
  814. 2014-07-08 11:08:45 INFO install
  815. 2014-07-08 11:08:45 INFO install Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
  816. 2014-07-08 11:08:45 INFO install Oracle Linux, Fedora, etc.) should issue the following command:
  817. 2014-07-08 11:08:45 INFO install
  818. 2014-07-08 11:08:45 INFO install $ sudo yum install gcc python-devel
  819. 2014-07-08 11:08:45 INFO install
  820. 2014-07-08 11:08:45 INFO install If you are seeing this message on Microsoft Windows please install
  821. 2014-07-08 11:08:45 INFO install PyMongo using the MS Windows installer for your version of Python,
  822. 2014-07-08 11:08:45 INFO install available on pypi here:
  823. 2014-07-08 11:08:45 INFO install
  824. 2014-07-08 11:08:45 INFO install http://pypi.python.org/pypi/pymongo/#downloads
  825. 2014-07-08 11:08:45 INFO install
  826. 2014-07-08 11:08:45 INFO install If you are seeing this message on OSX please read the documentation
  827. 2014-07-08 11:08:45 INFO install here:
  828. 2014-07-08 11:08:45 INFO install
  829. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html#osx
  830. 2014-07-08 11:08:45 INFO install ********************************************************************
  831. 2014-07-08 11:08:45 INFO install
  832. 2014-07-08 11:08:45 INFO install "The output above "
  833. 2014-07-08 11:08:45 INFO install command 'gcc' failed with exit status 1
  834. 2014-07-08 11:08:45 INFO install building 'pymongo._cmessage' extension
  835. 2014-07-08 11:08:45 INFO install gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o
  836. 2014-07-08 11:08:45 INFO install unable to execute gcc: No such file or directory
  837. 2014-07-08 11:08:45 INFO install /var/lib/juju/agents/unit-test-0/charm/build/pymongo/setup.py:217: UserWarning:
  838. 2014-07-08 11:08:45 INFO install ********************************************************************
  839. 2014-07-08 11:08:45 INFO install WARNING: The pymongo._cmessage extension module could not
  840. 2014-07-08 11:08:45 INFO install be compiled. No C extensions are essential for PyMongo to run,
  841. 2014-07-08 11:08:45 INFO install although they do result in significant speed improvements.
  842. 2014-07-08 11:08:45 INFO install The output above this warning shows how the compilation failed.
  843. 2014-07-08 11:08:45 INFO install
  844. 2014-07-08 11:08:45 INFO install Please see the installation docs for solutions to build issues:
  845. 2014-07-08 11:08:45 INFO install
  846. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html
  847. 2014-07-08 11:08:45 INFO install
  848. 2014-07-08 11:08:45 INFO install Here are some hints for popular operating systems:
  849. 2014-07-08 11:08:45 INFO install
  850. 2014-07-08 11:08:45 INFO install If you are seeing this message on Linux you probably need to
  851. 2014-07-08 11:08:45 INFO install install GCC and/or the Python development package for your
  852. 2014-07-08 11:08:45 INFO install version of Python.
  853. 2014-07-08 11:08:45 INFO install
  854. 2014-07-08 11:08:45 INFO install Debian and Ubuntu users should issue the following command:
  855. 2014-07-08 11:08:45 INFO install
  856. 2014-07-08 11:08:45 INFO install $ sudo apt-get install build-essential python-dev
  857. 2014-07-08 11:08:45 INFO install
  858. 2014-07-08 11:08:45 INFO install Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
  859. 2014-07-08 11:08:45 INFO install Oracle Linux, Fedora, etc.) should issue the following command:
  860. 2014-07-08 11:08:45 INFO install
  861. 2014-07-08 11:08:45 INFO install $ sudo yum install gcc python-devel
  862. 2014-07-08 11:08:45 INFO install
  863. 2014-07-08 11:08:45 INFO install If you are seeing this message on Microsoft Windows please install
  864. 2014-07-08 11:08:45 INFO install PyMongo using the MS Windows installer for your version of Python,
  865. 2014-07-08 11:08:45 INFO install available on pypi here:
  866. 2014-07-08 11:08:45 INFO install
  867. 2014-07-08 11:08:45 INFO install http://pypi.python.org/pypi/pymongo/#downloads
  868. 2014-07-08 11:08:45 INFO install
  869. 2014-07-08 11:08:45 INFO install If you are seeing this message on OSX please read the documentation
  870. 2014-07-08 11:08:45 INFO install here:
  871. 2014-07-08 11:08:45 INFO install
  872. 2014-07-08 11:08:45 INFO install http://api.mongodb.org/python/current/installation.html#osx
  873. 2014-07-08 11:08:45 INFO install ********************************************************************
  874. 2014-07-08 11:08:45 INFO install
  875. 2014-07-08 11:08:45 INFO install "The output above "
  876. 2014-07-08 11:08:45 INFO install command 'gcc' failed with exit status 1
  877. 2014-07-08 11:08:45 INFO install
  878. 2014-07-08 11:08:45 INFO install Successfully installed pymongo
  879. 2014-07-08 11:08:45 INFO install Cleaning up...
  880. 2014-07-08 11:08:45 INFO juju-log Installing mongodb
  881. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security Release.gpg
  882. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools Release.gpg
  883. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security Release
  884. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise Release.gpg
  885. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools Release
  886. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/main Sources
  887. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates Release.gpg
  888. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main amd64 Packages
  889. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/universe Sources
  890. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise Release
  891. 2014-07-08 11:08:45 INFO install Hit http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main i386 Packages
  892. 2014-07-08 11:08:45 INFO install Hit http://security.ubuntu.com precise-security/main amd64 Packages
  893. 2014-07-08 11:08:45 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates Release
  894. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe amd64 Packages
  895. 2014-07-08 11:08:46 INFO install Ign http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main TranslationIndex
  896. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main Sources
  897. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main i386 Packages
  898. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe Sources
  899. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe i386 Packages
  900. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main amd64 Packages
  901. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main TranslationIndex
  902. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe amd64 Packages
  903. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe TranslationIndex
  904. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/main Translation-en
  905. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main i386 Packages
  906. 2014-07-08 11:08:46 INFO install Hit http://security.ubuntu.com precise-security/universe Translation-en
  907. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe i386 Packages
  908. 2014-07-08 11:08:46 INFO install Ign http://ubuntu-cloud.archive.canonical.com precise-updates/cloud-tools/main Translation-en
  909. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main TranslationIndex
  910. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe TranslationIndex
  911. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main Sources
  912. 2014-07-08 11:08:46 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe Sources
  913. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main amd64 Packages
  914. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe amd64 Packages
  915. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main i386 Packages
  916. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe i386 Packages
  917. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main TranslationIndex
  918. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe TranslationIndex
  919. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/main Translation-en
  920. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise/universe Translation-en
  921. 2014-07-08 11:08:47 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/main Translation-en
  922. 2014-07-08 11:08:48 INFO install Hit http://nova.clouds.archive.ubuntu.com precise-updates/universe Translation-en
  923. 2014-07-08 11:08:49 INFO install Reading package lists...
  924. 2014-07-08 11:08:49 INFO juju-log Installing ['mongodb', 'python-yaml'] with options: ['--option=Dpkg::Options::=--force-confold']
  925. 2014-07-08 11:08:49 INFO install Reading package lists...
  926. 2014-07-08 11:08:50 INFO install Building dependency tree...
  927. 2014-07-08 11:08:50 INFO install Reading state information...
  928. 2014-07-08 11:08:50 INFO install python-yaml is already the newest version.
  929. 2014-07-08 11:08:50 INFO install The following extra packages will be installed:
  930. 2014-07-08 11:08:50 INFO install binutils cpp-4.4 g++-4.4 gcc-4.4 gcc-4.4-base libboost-dev
  931. 2014-07-08 11:08:50 INFO install libboost-filesystem1.46.1 libboost-program-options1.46.1
  932. 2014-07-08 11:08:50 INFO install libboost-system1.46.1 libboost-thread1.46.1 libboost1.46-dev libc-dev-bin
  933. 2014-07-08 11:08:50 INFO install libc6-dev libgomp1 libmpfr4 libpcrecpp0 libstdc++6-4.4-dev linux-libc-dev
  934. 2014-07-08 11:08:50 INFO install manpages-dev mongodb-clients mongodb-dev mongodb-server
  935. 2014-07-08 11:08:50 INFO install Suggested packages:
  936. 2014-07-08 11:08:50 INFO install binutils-doc gcc-4.4-locales g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
  937. 2014-07-08 11:08:50 INFO install gcc-4.4-multilib libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg
  938. 2014-07-08 11:08:50 INFO install libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 libboost1.46-doc
  939. 2014-07-08 11:08:50 INFO install libboost-date-time1.46-dev libboost-filesystem1.46-dev
  940. 2014-07-08 11:08:50 INFO install libboost-graph1.46-dev libboost-iostreams1.46-dev libboost-math1.46-dev
  941. 2014-07-08 11:08:50 INFO install libboost-program-options1.46-dev libboost-python1.46-dev
  942. 2014-07-08 11:08:50 INFO install libboost-random1.46-dev libboost-regex1.46-dev
  943. 2014-07-08 11:08:50 INFO install libboost-serialization1.46-dev libboost-signals1.46-dev
  944. 2014-07-08 11:08:50 INFO install libboost-system1.46-dev libboost-test1.46-dev libboost-thread1.46-dev
  945. 2014-07-08 11:08:50 INFO install libboost-wave1.46-dev xsltproc doxygen docbook-xml docbook-xsl default-jdk
  946. 2014-07-08 11:08:50 INFO install fop glibc-doc libstdc++6-4.4-doc
  947. 2014-07-08 11:08:50 INFO install Recommended packages:
  948. 2014-07-08 11:08:50 INFO install gcc c-compiler
  949. 2014-07-08 11:08:50 INFO install The following NEW packages will be installed:
  950. 2014-07-08 11:08:50 INFO install binutils cpp-4.4 g++-4.4 gcc-4.4 gcc-4.4-base libboost-dev
  951. 2014-07-08 11:08:50 INFO install libboost-filesystem1.46.1 libboost-program-options1.46.1
  952. 2014-07-08 11:08:50 INFO install libboost-system1.46.1 libboost-thread1.46.1 libboost1.46-dev libc-dev-bin
  953. 2014-07-08 11:08:50 INFO install libc6-dev libgomp1 libmpfr4 libpcrecpp0 libstdc++6-4.4-dev linux-libc-dev
  954. 2014-07-08 11:08:50 INFO install manpages-dev mongodb mongodb-clients mongodb-dev mongodb-server
  955. 2014-07-08 11:08:50 INFO install 0 upgraded, 23 newly installed, 0 to remove and 4 not upgraded.
  956. 2014-07-08 11:08:50 INFO install Need to get 52.8 MB of archives.
  957. 2014-07-08 11:08:50 INFO install After this operation, 180 MB of additional disk space will be used.
  958. 2014-07-08 11:08:50 INFO install Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB]
  959. 2014-07-08 11:08:50 INFO install Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB]
  960. 2014-07-08 11:08:51 INFO install Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libpcrecpp0 amd64 8.12-4 [16.2 kB]
  961. 2014-07-08 11:08:51 INFO install Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2638 kB]
  962. 2014-07-08 11:08:52 INFO install Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main gcc-4.4-base amd64 4.4.7-1ubuntu2 [12.0 kB]
  963. 2014-07-08 11:08:52 INFO install Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main cpp-4.4 amd64 4.4.7-1ubuntu2 [3967 kB]
  964. 2014-07-08 11:08:53 INFO install Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main gcc-4.4 amd64 4.4.7-1ubuntu2 [2967 kB]
  965. 2014-07-08 11:08:53 INFO install Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.5 [83.9 kB]
  966. 2014-07-08 11:08:54 INFO install Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-65.99 [859 kB]
  967. 2014-07-08 11:08:54 INFO install Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.5 [2941 kB]
  968. 2014-07-08 11:08:54 INFO install Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.4-dev amd64 4.4.7-1ubuntu2 [1529 kB]
  969. 2014-07-08 11:08:54 INFO install Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main g++-4.4 amd64 4.4.7-1ubuntu2 [5605 kB]
  970. 2014-07-08 11:08:55 INFO install Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost1.46-dev amd64 1.46.1-7ubuntu3 [7656 kB]
  971. 2014-07-08 11:08:56 INFO install Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-dev amd64 1.48.0.2 [2826 B]
  972. 2014-07-08 11:08:56 INFO install Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-system1.46.1 amd64 1.46.1-7ubuntu3 [14.6 kB]
  973. 2014-07-08 11:08:56 INFO install Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-filesystem1.46.1 amd64 1.46.1-7ubuntu3 [50.7 kB]
  974. 2014-07-08 11:08:56 INFO install Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-program-options1.46.1 amd64 1.46.1-7ubuntu3 [146 kB]
  975. 2014-07-08 11:08:56 INFO install Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread1.46.1 amd64 1.46.1-7ubuntu3 [39.5 kB]
  976. 2014-07-08 11:08:56 INFO install Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1671 kB]
  977. 2014-07-08 11:08:56 INFO install Get:20 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-clients amd64 1:2.0.4-1ubuntu2.1 [16.5 MB]
  978. 2014-07-08 11:08:57 INFO install Get:21 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-server amd64 1:2.0.4-1ubuntu2.1 [4167 kB]
  979. 2014-07-08 11:08:57 INFO install Get:22 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb-dev amd64 1:2.0.4-1ubuntu2.1 [1703 kB]
  980. 2014-07-08 11:08:58 INFO install Get:23 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe mongodb amd64 1:2.0.4-1ubuntu2.1 [5160 B]
  981. 2014-07-08 11:08:58 INFO install Fetched 52.8 MB in 7s (6715 kB/s)
  982. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libgomp1.
  983. 2014-07-08 11:08:58 INFO install (Reading database ... 48482 files and directories currently installed.)
  984. 2014-07-08 11:08:58 INFO install Unpacking libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
  985. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libmpfr4.
  986. 2014-07-08 11:08:58 INFO install Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3ubuntu2_amd64.deb) ...
  987. 2014-07-08 11:08:58 INFO install Selecting previously unselected package libpcrecpp0.
  988. 2014-07-08 11:08:58 INFO install Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ...
  989. 2014-07-08 11:08:58 INFO install Selecting previously unselected package binutils.
  990. 2014-07-08 11:08:58 INFO install Unpacking binutils (from .../binutils_2.22-6ubuntu1.1_amd64.deb) ...
  991. 2014-07-08 11:08:59 INFO install Selecting previously unselected package gcc-4.4-base.
  992. 2014-07-08 11:08:59 INFO install Unpacking gcc-4.4-base (from .../gcc-4.4-base_4.4.7-1ubuntu2_amd64.deb) ...
  993. 2014-07-08 11:08:59 INFO install Selecting previously unselected package cpp-4.4.
  994. 2014-07-08 11:08:59 INFO install Unpacking cpp-4.4 (from .../cpp-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  995. 2014-07-08 11:08:59 INFO install Selecting previously unselected package gcc-4.4.
  996. 2014-07-08 11:08:59 INFO install Unpacking gcc-4.4 (from .../gcc-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  997. 2014-07-08 11:08:59 INFO install Selecting previously unselected package libc-dev-bin.
  998. 2014-07-08 11:08:59 INFO install Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10.5_amd64.deb) ...
  999. 2014-07-08 11:09:00 INFO install Selecting previously unselected package linux-libc-dev.
  1000. 2014-07-08 11:09:00 INFO install Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.0-65.99_amd64.deb) ...
  1001. 2014-07-08 11:09:00 INFO install Selecting previously unselected package libc6-dev.
  1002. 2014-07-08 11:09:00 INFO install Unpacking libc6-dev (from .../libc6-dev_2.15-0ubuntu10.5_amd64.deb) ...
  1003. 2014-07-08 11:09:00 INFO install Selecting previously unselected package libstdc++6-4.4-dev.
  1004. 2014-07-08 11:09:00 INFO install Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.7-1ubuntu2_amd64.deb) ...
  1005. 2014-07-08 11:09:01 INFO install Selecting previously unselected package g++-4.4.
  1006. 2014-07-08 11:09:01 INFO install Unpacking g++-4.4 (from .../g++-4.4_4.4.7-1ubuntu2_amd64.deb) ...
  1007. 2014-07-08 11:09:01 INFO install Selecting previously unselected package libboost1.46-dev.
  1008. 2014-07-08 11:09:01 INFO install Unpacking libboost1.46-dev (from .../libboost1.46-dev_1.46.1-7ubuntu3_amd64.deb) ...
  1009. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-dev.
  1010. 2014-07-08 11:09:04 INFO install Unpacking libboost-dev (from .../libboost-dev_1.48.0.2_amd64.deb) ...
  1011. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-system1.46.1.
  1012. 2014-07-08 11:09:04 INFO install Unpacking libboost-system1.46.1 (from .../libboost-system1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  1013. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-filesystem1.46.1.
  1014. 2014-07-08 11:09:04 INFO install Unpacking libboost-filesystem1.46.1 (from .../libboost-filesystem1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  1015. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-program-options1.46.1.
  1016. 2014-07-08 11:09:04 INFO install Unpacking libboost-program-options1.46.1 (from .../libboost-program-options1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  1017. 2014-07-08 11:09:04 INFO install Selecting previously unselected package libboost-thread1.46.1.
  1018. 2014-07-08 11:09:04 INFO install Unpacking libboost-thread1.46.1 (from .../libboost-thread1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
  1019. 2014-07-08 11:09:04 INFO install Selecting previously unselected package manpages-dev.
  1020. 2014-07-08 11:09:04 INFO install Unpacking manpages-dev (from .../manpages-dev_3.35-0.1ubuntu1_all.deb) ...
  1021. 2014-07-08 11:09:05 INFO install Selecting previously unselected package mongodb-clients.
  1022. 2014-07-08 11:09:05 INFO install Unpacking mongodb-clients (from .../mongodb-clients_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  1023. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb-server.
  1024. 2014-07-08 11:09:06 INFO install Unpacking mongodb-server (from .../mongodb-server_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  1025. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb-dev.
  1026. 2014-07-08 11:09:06 INFO install Unpacking mongodb-dev (from .../mongodb-dev_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  1027. 2014-07-08 11:09:06 INFO install Selecting previously unselected package mongodb.
  1028. 2014-07-08 11:09:06 INFO install Unpacking mongodb (from .../mongodb_1%3a2.0.4-1ubuntu2.1_amd64.deb) ...
  1029. 2014-07-08 11:09:06 INFO install Processing triggers for man-db ...
  1030. 2014-07-08 11:09:07 INFO install Processing triggers for ureadahead ...
  1031. 2014-07-08 11:09:08 INFO install Setting up libgomp1 (4.6.3-1ubuntu5) ...
  1032. 2014-07-08 11:09:08 INFO install Setting up libmpfr4 (3.1.0-3ubuntu2) ...
  1033. 2014-07-08 11:09:08 INFO install Setting up libpcrecpp0 (8.12-4) ...
  1034. 2014-07-08 11:09:08 INFO install Setting up binutils (2.22-6ubuntu1.1) ...
  1035. 2014-07-08 11:09:08 INFO install Setting up gcc-4.4-base (4.4.7-1ubuntu2) ...
  1036. 2014-07-08 11:09:08 INFO install Setting up cpp-4.4 (4.4.7-1ubuntu2) ...
  1037. 2014-07-08 11:09:08 INFO install Setting up gcc-4.4 (4.4.7-1ubuntu2) ...
  1038. 2014-07-08 11:09:08 INFO install Setting up libc-dev-bin (2.15-0ubuntu10.5) ...
  1039. 2014-07-08 11:09:08 INFO install Setting up linux-libc-dev (3.2.0-65.99) ...
  1040. 2014-07-08 11:09:08 INFO install Setting up libc6-dev (2.15-0ubuntu10.5) ...
  1041. 2014-07-08 11:09:08 INFO install Setting up libboost-system1.46.1 (1.46.1-7ubuntu3) ...
  1042. 2014-07-08 11:09:08 INFO install Setting up libboost-filesystem1.46.1 (1.46.1-7ubuntu3) ...
  1043. 2014-07-08 11:09:08 INFO install Setting up libboost-program-options1.46.1 (1.46.1-7ubuntu3) ...
  1044. 2014-07-08 11:09:08 INFO install Setting up libboost-thread1.46.1 (1.46.1-7ubuntu3) ...
  1045. 2014-07-08 11:09:08 INFO install Setting up manpages-dev (3.35-0.1ubuntu1) ...
  1046. 2014-07-08 11:09:08 INFO install Setting up mongodb-clients (1:2.0.4-1ubuntu2.1) ...
  1047. 2014-07-08 11:09:08 INFO install Setting up mongodb-server (1:2.0.4-1ubuntu2.1) ...
  1048. 2014-07-08 11:09:09 INFO install Adding system user `mongodb' (UID 106) ...
  1049. 2014-07-08 11:09:09 INFO install Adding new user `mongodb' (UID 106) with group `nogroup' ...
  1050. 2014-07-08 11:09:09 INFO install Not creating home directory `/home/mongodb'.
  1051. 2014-07-08 11:09:09 INFO install Adding group `mongodb' (GID 112) ...
  1052. 2014-07-08 11:09:09 INFO install Done.
  1053. 2014-07-08 11:09:09 INFO install Adding user `mongodb' to group `mongodb' ...
  1054. 2014-07-08 11:09:09 INFO install Adding user mongodb to group mongodb
  1055. 2014-07-08 11:09:09 INFO install Done.
  1056. 2014-07-08 11:09:09 INFO install mongodb start/running, process 12913
  1057. 2014-07-08 11:09:09 INFO install Setting up g++-4.4 (4.4.7-1ubuntu2) ...
  1058. 2014-07-08 11:09:09 INFO install Setting up libstdc++6-4.4-dev (4.4.7-1ubuntu2) ...
  1059. 2014-07-08 11:09:09 INFO install Setting up libboost1.46-dev (1.46.1-7ubuntu3) ...
  1060. 2014-07-08 11:09:09 INFO install Setting up libboost-dev (1.48.0.2) ...
  1061. 2014-07-08 11:09:09 INFO install Setting up mongodb-dev (1:2.0.4-1ubuntu2.1) ...
  1062. 2014-07-08 11:09:09 INFO install Setting up mongodb (1:2.0.4-1ubuntu2.1) ...
  1063. 2014-07-08 11:09:10 INFO install Processing triggers for libc-bin ...
  1064. 2014-07-08 11:09:10 INFO install ldconfig deferred processing now taking place
  1065. 2014-07-08 11:09:11 INFO juju-log Entering config_changed
  1066. 2014-07-08 11:09:11 INFO juju-log config_get: None
  1067. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1068. 2014-07-08 11:09:11 INFO juju-log config_get: None
  1069. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1070. 2014-07-08 11:09:11 INFO juju-log config_get: None
  1071. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1072. 2014-07-08 11:09:11 INFO juju-log unit_get: public-address
  1073. 2014-07-08 11:09:11 INFO juju-log unit_get public-address returns: 192.99.65.161
  1074. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/mongodb.conf
  1075. 2014-07-08 11:09:11 INFO juju-log update_file /etc/mongodb.conf returns: True
  1076. 2014-07-08 11:09:11 INFO juju-log Setting up cronjob
  1077. 2014-07-08 11:09:11 INFO juju-log config_get: None
  1078. 2014-07-08 11:09:11 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1079. 2014-07-08 11:09:11 INFO juju-log regex_sub
  1080. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/init/mongodb.conf
  1081. 2014-07-08 11:09:11 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1082. 2014-07-08 11:09:11 INFO juju-log open_port: port: 28017 protocol: TCP
  1083. 2014-07-08 11:09:11 INFO juju-log open_port 28017/TCP returns: True
  1084. 2014-07-08 11:09:11 INFO juju-log regex_sub
  1085. 2014-07-08 11:09:11 INFO juju-log update_file: /etc/init/mongodb.conf
  1086. 2014-07-08 11:09:11 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1087. 2014-07-08 11:09:11 INFO juju-log Writing /etc/logrotate.d/mongodb-server.
  1088. 2014-07-08 11:09:11 INFO juju-log unit_get: public-address
  1089. 2014-07-08 11:09:11 INFO juju-log unit_get public-address returns: 192.99.65.161
  1090. 2014-07-08 11:09:11 INFO juju-log config_get: port
  1091. 2014-07-08 11:09:11 INFO juju-log config_get: port returns: 27017
  1092. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: stop
  1093. 2014-07-08 11:09:11 INFO config-changed mongodb stop/waiting
  1094. 2014-07-08 11:09:11 INFO juju-log service mongodb stop returns: True
  1095. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: start
  1096. 2014-07-08 11:09:11 INFO config-changed mongodb start/running, process 13139
  1097. 2014-07-08 11:09:11 INFO juju-log service mongodb start returns: True
  1098. 2014-07-08 11:09:11 INFO juju-log service: mongodb, action: status
  1099. 2014-07-08 11:09:11 INFO config-changed mongodb start/running, process 13139
  1100. 2014-07-08 11:09:11 INFO juju-log service mongodb status returns: True
  1101. 2014-07-08 11:09:11 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1102. 2014-07-08 11:09:11 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1103. 2014-07-08 11:09:11 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (0/5)
  1104. 2014-07-08 11:09:15 INFO juju-log service: mongodb, action: status
  1105. 2014-07-08 11:09:16 INFO config-changed mongodb start/running, process 13139
  1106. 2014-07-08 11:09:16 INFO juju-log service mongodb status returns: True
  1107. 2014-07-08 11:09:16 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1108. 2014-07-08 11:09:16 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1109. 2014-07-08 11:09:16 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (1/5)
  1110. 2014-07-08 11:09:20 INFO juju-log service: mongodb, action: status
  1111. 2014-07-08 11:09:20 INFO config-changed mongodb start/running, process 13139
  1112. 2014-07-08 11:09:20 INFO juju-log service mongodb status returns: True
  1113. 2014-07-08 11:09:20 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1114. 2014-07-08 11:09:20 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1115. 2014-07-08 11:09:20 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (2/5)
  1116. 2014-07-08 11:09:24 INFO juju-log service: mongodb, action: status
  1117. 2014-07-08 11:09:24 INFO config-changed mongodb start/running, process 13139
  1118. 2014-07-08 11:09:24 INFO juju-log service mongodb status returns: True
  1119. 2014-07-08 11:09:24 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1120. 2014-07-08 11:09:24 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1121. 2014-07-08 11:09:24 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (3/5)
  1122. 2014-07-08 11:09:28 INFO juju-log service: mongodb, action: status
  1123. 2014-07-08 11:09:28 INFO config-changed mongodb start/running, process 13139
  1124. 2014-07-08 11:09:28 INFO juju-log service mongodb status returns: True
  1125. 2014-07-08 11:09:28 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1126. 2014-07-08 11:09:28 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1127. 2014-07-08 11:09:28 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (4/5)
  1128. 2014-07-08 11:09:32 INFO juju-log service: mongodb, action: status
  1129. 2014-07-08 11:09:32 INFO config-changed mongodb start/running, process 13139
  1130. 2014-07-08 11:09:32 INFO juju-log service mongodb status returns: True
  1131. 2014-07-08 11:09:32 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1132. 2014-07-08 11:09:32 INFO juju-log service: mongodb, action: status
  1133. 2014-07-08 11:09:32 INFO config-changed mongodb start/running, process 13139
  1134. 2014-07-08 11:09:32 INFO juju-log service mongodb status returns: True
  1135. 2014-07-08 11:09:32 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1136. 2014-07-08 11:09:32 INFO juju-log update_service_ports
  1137. 2014-07-08 11:09:32 INFO juju-log closing port: 27017
  1138. 2014-07-08 11:09:32 INFO juju-log close_port: port: 27017 protocol: TCP
  1139. 2014-07-08 11:09:32 INFO juju-log close_port 27017/TCP returns: True
  1140. 2014-07-08 11:09:32 INFO juju-log opening port: 27017
  1141. 2014-07-08 11:09:32 INFO juju-log open_port: port: 27017 protocol: TCP
  1142. 2014-07-08 11:09:33 INFO juju-log open_port 27017/TCP returns: True
  1143. 2014-07-08 11:09:33 INFO juju-log close_port: port: 28017 protocol: TCP
  1144. 2014-07-08 11:09:33 INFO juju-log close_port 28017/TCP returns: True
  1145. 2014-07-08 11:09:33 INFO juju-log open_port: port: 28017 protocol: TCP
  1146. 2014-07-08 11:09:34 INFO juju-log open_port 28017/TCP returns: True
  1147. 2014-07-08 11:09:34 INFO juju-log config_get: None
  1148. 2014-07-08 11:09:34 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1149. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1150. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1151. 2014-07-08 11:09:34 INFO juju-log unit_get: public-address
  1152. 2014-07-08 11:09:34 INFO juju-log unit_get public-address returns: 192.99.65.161
  1153. 2014-07-08 11:09:34 INFO juju-log port_check: Unable to connect to 192.99.65.161:27019/TCP.
  1154. 2014-07-08 11:09:34 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1155. 2014-07-08 11:09:34 INFO juju-log open_port: port: 27019 protocol: TCP
  1156. 2014-07-08 11:09:34 INFO juju-log open_port 27019/TCP returns: True
  1157. 2014-07-08 11:09:34 INFO juju-log config_get: None
  1158. 2014-07-08 11:09:34 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1159. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1160. 2014-07-08 11:09:34 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1161. 2014-07-08 11:09:34 INFO juju-log unit_get: public-address
  1162. 2014-07-08 11:09:34 INFO juju-log unit_get public-address returns: 192.99.65.161
  1163. 2014-07-08 11:09:34 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1164. 2014-07-08 11:09:34 INFO juju-log open_port: port: 27017 protocol: TCP
  1165. 2014-07-08 11:09:35 INFO juju-log open_port 27017/TCP returns: True
  1166. 2014-07-08 11:09:35 INFO config-changed Entering config_changed
  1167. 2014-07-08 11:09:35 INFO config-changed config_data: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1168. 2014-07-08 11:09:35 INFO config-changed current_mongodb_port: 27017
  1169. 2014-07-08 11:09:35 INFO config-changed public_address: 192.99.65.161
  1170. 2014-07-08 11:09:35 INFO config-changed About to leave config_changed
  1171. 2014-07-08 11:09:35 INFO juju-log start_hook
  1172. 2014-07-08 11:09:35 INFO juju-log unit_get: public-address
  1173. 2014-07-08 11:09:35 INFO juju-log unit_get public-address returns: 192.99.65.161
  1174. 2014-07-08 11:09:35 INFO juju-log config_get: port
  1175. 2014-07-08 11:09:35 INFO juju-log config_get: port returns: 27017
  1176. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: stop
  1177. 2014-07-08 11:09:35 INFO start mongodb stop/waiting
  1178. 2014-07-08 11:09:35 INFO juju-log service mongodb stop returns: True
  1179. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: start
  1180. 2014-07-08 11:09:35 INFO start mongodb start/running, process 13622
  1181. 2014-07-08 11:09:35 INFO juju-log service mongodb start returns: True
  1182. 2014-07-08 11:09:35 INFO juju-log service: mongodb, action: status
  1183. 2014-07-08 11:09:35 INFO start mongodb start/running, process 13622
  1184. 2014-07-08 11:09:35 INFO juju-log service mongodb status returns: True
  1185. 2014-07-08 11:09:35 INFO juju-log port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1186. 2014-07-08 11:09:35 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1187. 2014-07-08 11:09:35 INFO juju-log restart_mongod: Waiting for MongoDB to be ready (0/5)
  1188. 2014-07-08 11:09:39 INFO juju-log service: mongodb, action: status
  1189. 2014-07-08 11:09:39 INFO start mongodb start/running, process 13622
  1190. 2014-07-08 11:09:39 INFO juju-log service mongodb status returns: True
  1191. 2014-07-08 11:09:39 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1192. 2014-07-08 11:09:39 INFO juju-log service: mongodb, action: status
  1193. 2014-07-08 11:09:39 INFO start mongodb start/running, process 13622
  1194. 2014-07-08 11:09:39 INFO juju-log service mongodb status returns: True
  1195. 2014-07-08 11:09:39 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1196. 2014-07-08 11:09:39 INFO juju-log start_hook returns: True
  1197. 2014-07-08 11:09:39 WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo
  1198. 2014-07-08 11:09:40 INFO juju-log replica-set:9: replica_set_relation_joined
  1199. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get: public-address
  1200. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1201. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port
  1202. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port returns: 27017
  1203. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: replicaset
  1204. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1205. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_hostname: 192.99.65.161
  1206. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_port: 27017
  1207. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_replset: myset
  1208. 2014-07-08 11:09:40 INFO juju-log replica-set:9: my_install_order: 0
  1209. 2014-07-08 11:09:40 INFO juju-log replica-set:9: regex_sub
  1210. 2014-07-08 11:09:40 INFO juju-log replica-set:9: update_file: /etc/init/mongodb.conf
  1211. 2014-07-08 11:09:40 INFO juju-log replica-set:9: update_file /etc/init/mongodb.conf returns: True
  1212. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get: public-address
  1213. 2014-07-08 11:09:40 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1214. 2014-07-08 11:09:40 INFO juju-log replica-set:9: config_get: port
  1215. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: port returns: 27017
  1216. 2014-07-08 11:09:41 INFO juju-log replica-set:9: service: mongodb, action: stop
  1217. 2014-07-08 11:09:41 INFO replica-set-relation-joined mongodb stop/waiting
  1218. 2014-07-08 11:09:41 INFO juju-log replica-set:9: service mongodb stop returns: True
  1219. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  1220. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  1221. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  1222. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  1223. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset
  1224. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1225. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  1226. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  1227. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  1228. 2014-07-08 11:09:41 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  1229. 2014-07-08 11:09:41 INFO replica-set-relation-joined forked process: 13925
  1230. 2014-07-08 11:09:41 INFO replica-set-relation-joined all output going to: /var/log/mongodb/replica.log
  1231. 2014-07-08 11:09:41 INFO juju-log replica-set:9: Replica waits for config final
  1232. 2014-07-08 11:09:41 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1233. 2014-07-08 11:09:41 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  1234. 2014-07-08 11:09:45 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1235. 2014-07-08 11:09:45 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  1236. 2014-07-08 11:09:49 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1237. 2014-07-08 11:09:49 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  1238. 2014-07-08 11:09:53 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1239. 2014-07-08 11:09:53 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  1240. 2014-07-08 11:09:57 INFO juju-log replica-set:9: port_check: Unable to connect to 192.99.65.161:27017/TCP.
  1241. 2014-07-08 11:09:57 INFO juju-log replica-set:9: port_check: Exception: [Errno 111] Connection refused
  1242. 2014-07-08 11:10:01 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  1243. 2014-07-08 11:10:01 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  1244. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_set: kv: {'install-order': '0', 'hostname': u'192.99.65.161', 'type': 'replset', 'port': 27017, 'replset': u'myset'}, relation_id: None
  1245. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_set returns: True
  1246. 2014-07-08 11:10:01 INFO replica-set-relation-joined --format flag deprecated for command "relation-set"
  1247. 2014-07-08 11:10:01 INFO juju-log replica-set:9: replica_set_relation_changed
  1248. 2014-07-08 11:10:01 INFO juju-log replica-set:9: unit_get: public-address
  1249. 2014-07-08 11:10:01 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1250. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: port
  1251. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: port returns: 27017
  1252. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset
  1253. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1254. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset_master
  1255. 2014-07-08 11:10:01 INFO juju-log replica-set:9: config_get: replicaset_master returns: auto
  1256. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_list: relation_id: None
  1257. 2014-07-08 11:10:01 INFO juju-log replica-set:9: relation_id None returns: [u'test/2']
  1258. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_joined
  1259. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  1260. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1261. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  1262. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  1263. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  1264. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1265. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_hostname: 192.99.65.161
  1266. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_port: 27017
  1267. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_replset: myset
  1268. 2014-07-08 11:10:02 INFO juju-log replica-set:9: my_install_order: 0
  1269. 2014-07-08 11:10:02 INFO juju-log replica-set:9: update_file: /etc/init/mongodb.conf
  1270. 2014-07-08 11:10:02 INFO juju-log replica-set:9: update_file /etc/init/mongodb.conf returns: True
  1271. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  1272. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1273. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  1274. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  1275. 2014-07-08 11:10:02 INFO juju-log replica-set:9: service: mongodb, action: stop
  1276. 2014-07-08 11:10:02 INFO replica-set-relation-joined stop: Unknown instance:
  1277. 2014-07-08 11:10:02 INFO juju-log replica-set:9: service mongodb stop returns: False
  1278. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  1279. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  1280. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  1281. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  1282. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  1283. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1284. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath
  1285. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_dbpath returns: /mnt/var/lib/database/
  1286. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath
  1287. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_server_logpath returns: /var/log/mongodb/replica.log
  1288. 2014-07-08 11:10:02 INFO replica-set-relation-joined forked process: 14317
  1289. 2014-07-08 11:10:02 INFO replica-set-relation-joined all output going to: /var/log/mongodb/replica.log
  1290. 2014-07-08 11:10:02 INFO juju-log replica-set:9: Replica waits for config final
  1291. 2014-07-08 11:10:02 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  1292. 2014-07-08 11:10:02 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  1293. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_set: kv: {'install-order': '0', 'hostname': u'192.99.65.161', 'type': 'replset', 'port': 27017, 'replset': u'myset'}, relation_id: None
  1294. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_set returns: True
  1295. 2014-07-08 11:10:02 INFO replica-set-relation-joined --format flag deprecated for command "relation-set"
  1296. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_changed
  1297. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get: public-address
  1298. 2014-07-08 11:10:02 INFO juju-log replica-set:9: unit_get public-address returns: 192.99.65.161
  1299. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port
  1300. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: port returns: 27017
  1301. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset
  1302. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset returns: myset
  1303. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_master
  1304. 2014-07-08 11:10:02 INFO juju-log replica-set:9: config_get: replicaset_master returns: auto
  1305. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_list: relation_id: None
  1306. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  1307. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_list: relation_id: None
  1308. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  1309. 2014-07-08 11:10:02 INFO juju-log replica-set:9: replica_set_relation_changed: member: test/1
  1310. 2014-07-08 11:10:02 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/1, relation_id: None
  1311. 2014-07-08 11:10:02 INFO juju-log replica-set:9: Waiting for data available...
  1312. 2014-07-08 11:10:06 INFO juju-log replica-set:9: Waiting for data available...
  1313. 2014-07-08 11:10:10 INFO juju-log replica-set:9: Waiting for data available...
  1314. 2014-07-08 11:10:14 INFO juju-log replica-set:9: Waiting for data available...
  1315. 2014-07-08 11:10:18 INFO juju-log replica-set:9: Waiting for data available...
  1316. 2014-07-08 11:10:22 INFO juju-log replica-set:9: relation_get returns: None
  1317. 2014-07-08 11:10:22 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/1, relation_id: None
  1318. 2014-07-08 11:10:22 INFO juju-log replica-set:9: Waiting for data available...
  1319. 2014-07-08 11:10:26 INFO juju-log replica-set:9: Waiting for data available...
  1320. 2014-07-08 11:10:30 INFO juju-log replica-set:9: Waiting for data available...
  1321. 2014-07-08 11:10:34 INFO juju-log replica-set:9: Waiting for data available...
  1322. 2014-07-08 11:10:38 INFO juju-log replica-set:9: Waiting for data available...
  1323. 2014-07-08 11:10:42 INFO juju-log replica-set:9: relation_get returns: None
  1324. 2014-07-08 11:10:42 INFO juju-log replica-set:9: relation_get: scope: install-order, unit_name: test/1, relation_id: None
  1325. 2014-07-08 11:10:42 INFO juju-log replica-set:9: Waiting for data available...
  1326. 2014-07-08 11:10:46 INFO juju-log replica-set:9: Waiting for data available...
  1327. 2014-07-08 11:10:50 INFO juju-log replica-set:9: Waiting for data available...
  1328. 2014-07-08 11:10:54 INFO juju-log replica-set:9: Waiting for data available...
  1329. 2014-07-08 11:10:58 INFO juju-log replica-set:9: Waiting for data available...
  1330. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_get returns: None
  1331. 2014-07-08 11:11:03 INFO juju-log replica-set:9: replica_set_relation_changed: install_order: None
  1332. 2014-07-08 11:11:03 INFO juju-log replica-set:9: replica_set_relation_changed: install_order is None. relation is not ready
  1333. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_list: relation_id: None
  1334. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_id None returns: [u'test/1', u'test/2']
  1335. 2014-07-08 11:11:03 INFO juju-log replica-set:9: Getting ip for replica config
  1336. 2014-07-08 11:11:03 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/1, relation_id: None
  1337. 2014-07-08 11:11:03 INFO juju-log replica-set:9: Waiting for data available...
  1338. 2014-07-08 11:11:07 INFO juju-log replica-set:9: Waiting for data available...
  1339. 2014-07-08 11:11:11 INFO juju-log replica-set:9: Waiting for data available...
  1340. 2014-07-08 11:11:15 INFO juju-log replica-set:9: Waiting for data available...
  1341. 2014-07-08 11:11:19 INFO juju-log replica-set:9: Waiting for data available...
  1342. 2014-07-08 11:11:23 INFO juju-log replica-set:9: relation_get returns: None
  1343. 2014-07-08 11:11:23 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/1, relation_id: None
  1344. 2014-07-08 11:11:23 INFO juju-log replica-set:9: Waiting for data available...
  1345. 2014-07-08 11:11:27 INFO juju-log replica-set:9: Waiting for data available...
  1346. 2014-07-08 11:11:31 INFO juju-log replica-set:9: Waiting for data available...
  1347. 2014-07-08 11:11:35 INFO juju-log replica-set:9: Waiting for data available...
  1348. 2014-07-08 11:11:39 INFO juju-log replica-set:9: Waiting for data available...
  1349. 2014-07-08 11:11:43 INFO juju-log replica-set:9: relation_get returns: None
  1350. 2014-07-08 11:11:43 INFO juju-log replica-set:9: Getting ip for replica config
  1351. 2014-07-08 11:11:43 INFO juju-log replica-set:9: relation_get: scope: hostname, unit_name: test/2, relation_id: None
  1352. 2014-07-08 11:11:43 INFO juju-log replica-set:9: Waiting for data available...
  1353. 2014-07-08 11:11:47 INFO juju-log replica-set:9: Waiting for data available...
  1354. 2014-07-08 11:11:51 INFO juju-log replica-set:9: Waiting for data available...
  1355. 2014-07-08 11:11:55 INFO juju-log replica-set:9: Waiting for data available...
  1356. 2014-07-08 11:11:59 INFO juju-log replica-set:9: Waiting for data available...
  1357. 2014-07-08 11:12:03 INFO juju-log replica-set:9: relation_get returns: None
  1358. 2014-07-08 11:12:03 INFO juju-log replica-set:9: relation_get: scope: port, unit_name: test/2, relation_id: None
  1359. 2014-07-08 11:12:03 INFO juju-log replica-set:9: Waiting for data available...
  1360. 2014-07-08 11:12:07 INFO juju-log replica-set:9: Waiting for data available...
  1361. 2014-07-08 11:12:11 INFO juju-log replica-set:9: Waiting for data available...
  1362. 2014-07-08 11:12:15 INFO juju-log replica-set:9: Waiting for data available...
  1363. 2014-07-08 11:12:19 INFO juju-log replica-set:9: Waiting for data available...
  1364. 2014-07-08 11:12:23 INFO juju-log replica-set:9: relation_get returns: None
  1365. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: 192.99.65.161:27017/TCP is open
  1366. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1367. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1368. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1369. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1370. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1371. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1372. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1373. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1374. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1375. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1376. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1377. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1378. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Unable to connect to None:None/TCP.
  1379. 2014-07-08 11:12:23 INFO juju-log replica-set:9: port_check: Exception: invalid literal for int() with base 10: 'None'
  1380. 2014-07-08 11:12:23 INFO juju-log replica-set:9: Executing: mongo --host 192.99.65.161:27017 --eval 'rs.initiate({"_id":"myset","members":[{"_id":0,"host":"192.99.65.161:27017"},{"_id":1,"host":"None:None"},{"_id":1,"host":"None:None"}]})'
  1381. 2014-07-08 11:12:23 INFO replica-set-relation-changed MongoDB shell version: 2.0.4
  1382. 2014-07-08 11:12:23 INFO replica-set-relation-changed connecting to: 192.99.65.161:27017/test
  1383. 2014-07-08 11:12:23 INFO replica-set-relation-changed [object bson_object]
  1384. 2014-07-08 11:14:48 INFO juju-log Entering config_changed
  1385. 2014-07-08 11:14:48 INFO juju-log config_get: None
  1386. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1387. 2014-07-08 11:14:48 INFO juju-log config_get: None
  1388. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1389. 2014-07-08 11:14:48 INFO juju-log config_get: None
  1390. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1391. 2014-07-08 11:14:48 INFO juju-log unit_get: public-address
  1392. 2014-07-08 11:14:48 INFO juju-log unit_get public-address returns: 192.99.65.161
  1393. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/mongodb.conf
  1394. 2014-07-08 11:14:48 INFO juju-log update_file /etc/mongodb.conf returns: True
  1395. 2014-07-08 11:14:48 INFO juju-log Setting up cronjob
  1396. 2014-07-08 11:14:48 INFO juju-log config_get: None
  1397. 2014-07-08 11:14:48 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1398. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/init/mongodb.conf
  1399. 2014-07-08 11:14:48 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1400. 2014-07-08 11:14:48 INFO juju-log open_port: port: 28017 protocol: TCP
  1401. 2014-07-08 11:14:48 INFO juju-log open_port 28017/TCP returns: True
  1402. 2014-07-08 11:14:48 INFO juju-log regex_sub
  1403. 2014-07-08 11:14:48 INFO juju-log update_file: /etc/init/mongodb.conf
  1404. 2014-07-08 11:14:48 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1405. 2014-07-08 11:14:48 INFO juju-log Writing /etc/logrotate.d/mongodb-server.
  1406. 2014-07-08 11:14:48 INFO juju-log unit_get: public-address
  1407. 2014-07-08 11:14:48 INFO juju-log unit_get public-address returns: 192.99.65.161
  1408. 2014-07-08 11:14:48 INFO juju-log config_get: port
  1409. 2014-07-08 11:14:48 INFO juju-log config_get: port returns: 27017
  1410. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: stop
  1411. 2014-07-08 11:14:48 INFO config-changed stop: Unknown instance:
  1412. 2014-07-08 11:14:48 INFO juju-log service mongodb stop returns: False
  1413. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: start
  1414. 2014-07-08 11:14:48 INFO config-changed mongodb start/running, process 15343
  1415. 2014-07-08 11:14:48 INFO juju-log service mongodb start returns: True
  1416. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: status
  1417. 2014-07-08 11:14:48 INFO config-changed mongodb stop/waiting
  1418. 2014-07-08 11:14:48 INFO juju-log service mongodb status returns: True
  1419. 2014-07-08 11:14:48 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1420. 2014-07-08 11:14:48 INFO juju-log service: mongodb, action: status
  1421. 2014-07-08 11:14:48 INFO config-changed mongodb stop/waiting
  1422. 2014-07-08 11:14:48 INFO juju-log service mongodb status returns: True
  1423. 2014-07-08 11:14:48 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1424. 2014-07-08 11:14:48 INFO juju-log update_service_ports
  1425. 2014-07-08 11:14:48 INFO juju-log closing port: 27017
  1426. 2014-07-08 11:14:48 INFO juju-log close_port: port: 27017 protocol: TCP
  1427. 2014-07-08 11:14:49 INFO juju-log close_port 27017/TCP returns: True
  1428. 2014-07-08 11:14:49 INFO juju-log opening port: 27017
  1429. 2014-07-08 11:14:49 INFO juju-log open_port: port: 27017 protocol: TCP
  1430. 2014-07-08 11:14:49 INFO juju-log open_port 27017/TCP returns: True
  1431. 2014-07-08 11:14:49 INFO juju-log close_port: port: 28017 protocol: TCP
  1432. 2014-07-08 11:14:49 INFO juju-log close_port 28017/TCP returns: True
  1433. 2014-07-08 11:14:49 INFO juju-log open_port: port: 28017 protocol: TCP
  1434. 2014-07-08 11:14:49 INFO juju-log open_port 28017/TCP returns: True
  1435. 2014-07-08 11:14:49 INFO juju-log config_get: None
  1436. 2014-07-08 11:14:49 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1437. 2014-07-08 11:14:49 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1438. 2014-07-08 11:14:49 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1439. 2014-07-08 11:14:49 INFO juju-log unit_get: public-address
  1440. 2014-07-08 11:14:49 INFO juju-log unit_get public-address returns: 192.99.65.161
  1441. 2014-07-08 11:14:49 INFO juju-log port_check: Unable to connect to 192.99.65.161:27019/TCP.
  1442. 2014-07-08 11:14:49 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1443. 2014-07-08 11:14:49 INFO juju-log open_port: port: 27019 protocol: TCP
  1444. 2014-07-08 11:14:50 INFO juju-log open_port 27019/TCP returns: True
  1445. 2014-07-08 11:14:50 INFO juju-log config_get: None
  1446. 2014-07-08 11:14:50 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1447. 2014-07-08 11:14:50 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1448. 2014-07-08 11:14:50 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1449. 2014-07-08 11:14:50 INFO juju-log unit_get: public-address
  1450. 2014-07-08 11:14:50 INFO juju-log unit_get public-address returns: 192.99.65.161
  1451. 2014-07-08 11:14:50 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1452. 2014-07-08 11:14:50 INFO juju-log open_port: port: 27017 protocol: TCP
  1453. 2014-07-08 11:14:50 INFO juju-log open_port 27017/TCP returns: True
  1454. 2014-07-08 11:14:50 INFO config-changed Entering config_changed
  1455. 2014-07-08 11:14:50 INFO config-changed config_data: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1456. 2014-07-08 11:14:50 INFO config-changed current_mongodb_port: 27017
  1457. 2014-07-08 11:14:50 INFO config-changed public_address: 192.99.65.161
  1458. 2014-07-08 11:14:50 INFO config-changed About to leave config_changed
  1459. 2014-07-08 11:14:50 WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo
  1460. 2014-07-08 11:36:03 INFO juju-log Entering config_changed
  1461. 2014-07-08 11:36:03 INFO juju-log config_get: None
  1462. 2014-07-08 11:36:03 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1463. 2014-07-08 11:36:03 INFO juju-log config_get: None
  1464. 2014-07-08 11:36:03 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1465. 2014-07-08 11:36:03 INFO juju-log config_get: None
  1466. 2014-07-08 11:36:03 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1467. 2014-07-08 11:36:03 INFO juju-log unit_get: public-address
  1468. 2014-07-08 11:36:03 INFO juju-log unit_get public-address returns: 192.99.65.161
  1469. 2014-07-08 11:36:03 INFO juju-log update_file: /etc/mongodb.conf
  1470. 2014-07-08 11:36:03 INFO juju-log update_file /etc/mongodb.conf returns: True
  1471. 2014-07-08 11:36:03 INFO juju-log Setting up cronjob
  1472. 2014-07-08 11:36:03 INFO juju-log config_get: None
  1473. 2014-07-08 11:36:03 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1474. 2014-07-08 11:36:03 INFO juju-log update_file: /etc/init/mongodb.conf
  1475. 2014-07-08 11:36:03 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1476. 2014-07-08 11:36:03 INFO juju-log open_port: port: 28017 protocol: TCP
  1477. 2014-07-08 11:36:03 INFO juju-log open_port 28017/TCP returns: True
  1478. 2014-07-08 11:36:03 INFO juju-log regex_sub
  1479. 2014-07-08 11:36:03 INFO juju-log update_file: /etc/init/mongodb.conf
  1480. 2014-07-08 11:36:03 INFO juju-log update_file /etc/init/mongodb.conf returns: True
  1481. 2014-07-08 11:36:03 INFO juju-log Writing /etc/logrotate.d/mongodb-server.
  1482. 2014-07-08 11:36:03 INFO juju-log unit_get: public-address
  1483. 2014-07-08 11:36:03 INFO juju-log unit_get public-address returns: 192.99.65.161
  1484. 2014-07-08 11:36:03 INFO juju-log config_get: port
  1485. 2014-07-08 11:36:03 INFO juju-log config_get: port returns: 27017
  1486. 2014-07-08 11:36:03 INFO juju-log service: mongodb, action: stop
  1487. 2014-07-08 11:36:03 INFO config-changed stop: Unknown instance:
  1488. 2014-07-08 11:36:03 INFO juju-log service mongodb stop returns: False
  1489. 2014-07-08 11:36:03 INFO juju-log service: mongodb, action: start
  1490. 2014-07-08 11:36:03 INFO config-changed mongodb stop/waiting
  1491. 2014-07-08 11:36:03 INFO juju-log service mongodb start returns: True
  1492. 2014-07-08 11:36:03 INFO juju-log service: mongodb, action: status
  1493. 2014-07-08 11:36:03 INFO config-changed mongodb stop/waiting
  1494. 2014-07-08 11:36:03 INFO juju-log service mongodb status returns: True
  1495. 2014-07-08 11:36:03 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1496. 2014-07-08 11:36:03 INFO juju-log service: mongodb, action: status
  1497. 2014-07-08 11:36:03 INFO config-changed mongodb stop/waiting
  1498. 2014-07-08 11:36:03 INFO juju-log service mongodb status returns: True
  1499. 2014-07-08 11:36:04 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1500. 2014-07-08 11:36:04 INFO juju-log update_service_ports
  1501. 2014-07-08 11:36:04 INFO juju-log closing port: 27017
  1502. 2014-07-08 11:36:04 INFO juju-log close_port: port: 27017 protocol: TCP
  1503. 2014-07-08 11:36:04 INFO juju-log close_port 27017/TCP returns: True
  1504. 2014-07-08 11:36:04 INFO juju-log opening port: 27017
  1505. 2014-07-08 11:36:04 INFO juju-log open_port: port: 27017 protocol: TCP
  1506. 2014-07-08 11:36:04 INFO juju-log open_port 27017/TCP returns: True
  1507. 2014-07-08 11:36:04 INFO juju-log close_port: port: 28017 protocol: TCP
  1508. 2014-07-08 11:36:04 INFO juju-log close_port 28017/TCP returns: True
  1509. 2014-07-08 11:36:04 INFO juju-log open_port: port: 28017 protocol: TCP
  1510. 2014-07-08 11:36:05 INFO juju-log open_port 28017/TCP returns: True
  1511. 2014-07-08 11:36:05 INFO juju-log config_get: None
  1512. 2014-07-08 11:36:05 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1513. 2014-07-08 11:36:05 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1514. 2014-07-08 11:36:05 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1515. 2014-07-08 11:36:05 INFO juju-log unit_get: public-address
  1516. 2014-07-08 11:36:05 INFO juju-log unit_get public-address returns: 192.99.65.161
  1517. 2014-07-08 11:36:05 INFO juju-log port_check: Unable to connect to 192.99.65.161:27019/TCP.
  1518. 2014-07-08 11:36:05 INFO juju-log port_check: Exception: [Errno 111] Connection refused
  1519. 2014-07-08 11:36:05 INFO juju-log open_port: port: 27019 protocol: TCP
  1520. 2014-07-08 11:36:05 INFO juju-log open_port 27019/TCP returns: True
  1521. 2014-07-08 11:36:05 INFO juju-log config_get: None
  1522. 2014-07-08 11:36:05 INFO juju-log config_get: None returns: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1523. 2014-07-08 11:36:05 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1524. 2014-07-08 11:36:05 INFO juju-log process_check_pidfile: undefined or non-existant pidfile.
  1525. 2014-07-08 11:36:05 INFO juju-log unit_get: public-address
  1526. 2014-07-08 11:36:05 INFO juju-log unit_get public-address returns: 192.99.65.161
  1527. 2014-07-08 11:36:05 INFO juju-log port_check: 192.99.65.161:27017/TCP is open
  1528. 2014-07-08 11:36:05 INFO juju-log open_port: port: 27017 protocol: TCP
  1529. 2014-07-08 11:36:05 INFO juju-log open_port 27017/TCP returns: True
  1530. 2014-07-08 11:36:05 INFO config-changed Entering config_changed
  1531. 2014-07-08 11:36:05 INFO config-changed config_data: {u'config_server_dbpath': u'/mnt/var/lib/mongodb/configsvr', u'volume-dev-regexp': u'/dev/vd[b-z]', u'dbpath': u'/var/lib/mongodb', u'nocursors': False, u'backups_enabled': False, u'oplogSize': u'default', u'bind_ip': u'all', u'mms-interval': u'disabled', u'port': 27017, u'noprealloc': False, u'verbose': False, u'replicaset': u'myset', u'backup_copies_kept': 7, u'nssize': u'default', u'mongos_logpath': u'/var/log/mongodb/mongos.log', u'logpath': u'/var/log/mongodb/mongodb.log', u'volume-ephemeral-storage': True, u'source': u'None', u'master': u'self', u'objcheck': False, u'config_server_port': 27019, u'volume-map': u'', u'opIdMem': u'default', u'notablescan': False, u'mongos_port': 27017, u'logrotate-frequency': u'daily', u'journal': True, u'quota': False, u'auth': False, u'replicaset_server_logpath': u'/var/log/mongodb/replica.log', u'extra_config_options': u'none', u'logrotate-rotate': 5, u'arbiter': u'disabled', u'backup_directory': u'/home/ubuntu/backups', u'mms-name': u'disabled', u'logrotate-maxsize': u'500M', u'nohints': False, u'web_admin_ui': True, u'replicaset_master': u'auto', u'mms-token': u'disabled', u'autoresync': False, u'diaglog': 0, u'logappend': True, u'cpu': False, u'replicaset_server_dbpath': u'/mnt/var/lib/database/', u'config_server_logpath': u'/var/log/mongodb/configsvr.log', u'noscripting': False, u'extra_daemon_options': u'none'}
  1532. 2014-07-08 11:36:05 INFO config-changed current_mongodb_port: 27017
  1533. 2014-07-08 11:36:05 INFO config-changed public_address: 192.99.65.161
  1534. 2014-07-08 11:36:05 INFO config-changed About to leave config_changed
  1535. 2014-07-08 11:36:05 WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo
Advertisement
Add Comment
Please, Sign In to add comment