Advertisement
moozz

bootstrap - dict

Nov 29th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. localadmin@oscs1:~/.juju$ juju -v bootstrap
  2. 2011-11-30 13:09:07,600 DEBUG Initializing juju bootstrap runtime
  3. 2011-11-30 13:09:07,619 INFO Bootstrapping environment 'orchestra' (type: orchestra)...
  4. 2011-11-30 13:09:07,627 DEBUG Verifying writable storage
  5. 2011-11-30 13:09:07,631 DEBUG Launching juju bootstrap instance.
  6. Traceback (most recent call last):
  7. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
  8. self._startRunCallbacks(fail)
  9. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
  10. self._runCallbacks()
  11. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
  12. current.result = callback(current.result, *args, **kw)
  13. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
  14. _inlineCallbacks(r, g, deferred)
  15. --- <exception caught here> ---
  16. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  17. result = result.throwExceptionIntoGenerator(g)
  18. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  19. return g.throw(self.type, self.value, self.tb)
  20. File "/usr/lib/python2.7/dist-packages/juju/control/bootstrap.py", line 24, in command
  21. yield provider.bootstrap()
  22. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  23. result = result.throwExceptionIntoGenerator(g)
  24. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  25. return g.throw(self.type, self.value, self.tb)
  26. File "/usr/lib/python2.7/dist-packages/juju/providers/common/launch.py", line 45, in run
  27. machines = yield self.start_machine(machine_id, zookeepers)
  28. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  29. result = result.throwExceptionIntoGenerator(g)
  30. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  31. return g.throw(self.type, self.value, self.tb)
  32. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/launch.py", line 35, in start_machine
  33. instance_id, machine_id, cloud_init.render())
  34. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
  35. result = g.send(result)
  36. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/cobbler.py", line 233, in start_system
  37. ks_meta = _unpack_ks_meta(system["ks_meta"])
  38. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/cobbler.py", line 16, in _unpack_ks_meta
  39. return dict(t.split("=", 1) for t in shlex.split(s))
  40. File "/usr/lib/python2.7/shlex.py", line 279, in split
  41. return list(lex)
  42. File "/usr/lib/python2.7/shlex.py", line 269, in next
  43. token = self.get_token()
  44. File "/usr/lib/python2.7/shlex.py", line 96, in get_token
  45. raw = self.read_token()
  46. File "/usr/lib/python2.7/shlex.py", line 124, in read_token
  47. nextchar = self.instream.read(1)
  48. exceptions.AttributeError: 'dict' object has no attribute 'read'
  49. 2011-11-30 13:09:07,897 ERROR Traceback (most recent call last):
  50. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
  51. self._startRunCallbacks(fail)
  52. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
  53. self._runCallbacks()
  54. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
  55. current.result = callback(current.result, *args, **kw)
  56. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
  57. _inlineCallbacks(r, g, deferred)
  58. --- <exception caught here> ---
  59. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  60. result = result.throwExceptionIntoGenerator(g)
  61. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  62. return g.throw(self.type, self.value, self.tb)
  63. File "/usr/lib/python2.7/dist-packages/juju/control/bootstrap.py", line 24, in command
  64. yield provider.bootstrap()
  65. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  66. result = result.throwExceptionIntoGenerator(g)
  67. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  68. return g.throw(self.type, self.value, self.tb)
  69. File "/usr/lib/python2.7/dist-packages/juju/providers/common/launch.py", line 45, in run
  70. machines = yield self.start_machine(machine_id, zookeepers)
  71. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
  72. result = result.throwExceptionIntoGenerator(g)
  73. File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 350, in throwExceptionIntoGenerator
  74. return g.throw(self.type, self.value, self.tb)
  75. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/launch.py", line 35, in start_machine
  76. instance_id, machine_id, cloud_init.render())
  77. File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
  78. result = g.send(result)
  79. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/cobbler.py", line 233, in start_system
  80. ks_meta = _unpack_ks_meta(system["ks_meta"])
  81. File "/usr/lib/python2.7/dist-packages/juju/providers/orchestra/cobbler.py", line 16, in _unpack_ks_meta
  82. return dict(t.split("=", 1) for t in shlex.split(s))
  83. File "/usr/lib/python2.7/shlex.py", line 279, in split
  84. return list(lex)
  85. File "/usr/lib/python2.7/shlex.py", line 269, in next
  86. token = self.get_token()
  87. File "/usr/lib/python2.7/shlex.py", line 96, in get_token
  88. raw = self.read_token()
  89. File "/usr/lib/python2.7/shlex.py", line 124, in read_token
  90. nextchar = self.instream.read(1)
  91. exceptions.AttributeError: 'dict' object has no attribute 'read'
  92.  
  93. 'dict' object has no attribute 'read'
  94. 2011-11-30 13:09:07,897 ERROR 'dict' object has no attribute 'read'
  95.  
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement