Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.53 KB | None | 0 0
  1. 2016-01-26 03:01:27,786 140418734868272 DEBUG log [-] Ensuring indexes for model "ActionExecutionDB"...
  2. 2016-01-26 03:01:27,787 140418734868272 DEBUG log [-] Ensuring indexes for model "ActionExecutionStateDB"...
  3. 2016-01-26 03:01:27,787 140418734868272 DEBUG log [-] Ensuring indexes for model "LiveActionDB"...
  4. 2016-01-26 03:01:27,787 140418734868272 DEBUG log [-] Ensuring indexes for model "PolicyTypeDB"...
  5. 2016-01-26 03:01:27,787 140418734868272 DEBUG log [-] Ensuring indexes for model "PolicyDB"...
  6. 2016-01-26 03:01:27,789 140418734868272 DEBUG log [-] Ensuring indexes for model "RuleDB"...
  7. 2016-01-26 03:01:27,789 140418734868272 DEBUG log [-] Ensuring indexes for model "RunnerTypeDB"...
  8. 2016-01-26 03:01:27,790 140418734868272 DEBUG log [-] Ensuring indexes for model "SensorTypeDB"...
  9. 2016-01-26 03:01:27,790 140418734868272 DEBUG log [-] Ensuring indexes for model "TriggerTypeDB"...
  10. 2016-01-26 03:01:27,793 140418734868272 DEBUG log [-] Ensuring indexes for model "TriggerDB"...
  11. 2016-01-26 03:01:27,793 140418734868272 DEBUG log [-] Ensuring indexes for model "TriggerInstanceDB"...
  12. 2016-01-26 03:01:27,794 140418734868272 DEBUG log [-] Registering exchanges...
  13. 2016-01-26 03:01:27,818 140418734868272 DEBUG connection [-] Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL. See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'PLAIN', u'AMQPLAIN'], locales: [u'en_US']
  14. 2016-01-26 03:01:27,821 140418734868272 DEBUG connection [-] Open OK!
  15. 2016-01-26 03:01:27,821 140418734868272 DEBUG channel [-] using channel_id: 1
  16. 2016-01-26 03:01:27,830 140418734868272 DEBUG channel [-] Channel open
  17. 2016-01-26 03:01:27,831 140418734868272 DEBUG log [-] registered exchange st2.execution.
  18. 2016-01-26 03:01:27,831 140418734868272 DEBUG log [-] registered exchange st2.liveaction.
  19. 2016-01-26 03:01:27,833 140418734868272 DEBUG log [-] registered exchange st2.trigger.
  20. 2016-01-26 03:01:27,834 140418734868272 DEBUG log [-] registered exchange st2.trigger_instances_dispatch.
  21. 2016-01-26 03:01:27,842 140418734868272 DEBUG log [-] registered exchange st2.sensor.
  22. 2016-01-26 03:01:27,842 140418734868272 DEBUG channel [-] Closed channel #1
  23. 2016-01-26 03:01:27,845 140418734868272 DEBUG log [-] Registering internal trigger: st2.generic.actiontrigger
  24. 2016-01-26 03:01:27,873 140418734868272 INFO log [-] Registered trigger: st2.generic.actiontrigger.
  25. 2016-01-26 03:01:27,893 140418734868272 DEBUG channel [-] using channel_id: 1
  26. 2016-01-26 03:01:27,896 140418734868272 DEBUG channel [-] Channel open
  27. 2016-01-26 03:01:27,903 140418734868272 DEBUG channel [-] Closed channel #1
  28. 2016-01-26 03:01:27,904 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1865b64c432018e9216 (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '56a6e1865b64c432018e9216', 'description': None})
  29. 2016-01-26 03:01:27,909 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1865b64c432018e9216 (trigger_db={'uid': u'trigger:core:st2.generic.actiontrigger:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.generic.actiontrigger', 'pack': u'core', 'type': u'core.st2.generic.actiontrigger', 'id': '56a6e1865b64c432018e9216', 'description': None})
  30. 2016-01-26 03:01:27,913 140418734868272 DEBUG log [-] Registering internal trigger: st2.generic.notifytrigger
  31. 2016-01-26 03:01:27,925 140418734868272 INFO log [-] Registered trigger: st2.generic.notifytrigger.
  32. 2016-01-26 03:01:27,941 140418734868272 DEBUG channel [-] using channel_id: 1
  33. 2016-01-26 03:01:27,942 140418734868272 DEBUG channel [-] Channel open
  34. 2016-01-26 03:01:27,950 140418734868272 DEBUG channel [-] Closed channel #1
  35. 2016-01-26 03:01:27,953 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1865b64c432018e9218 (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '56a6e1865b64c432018e9218', 'description': None})
  36. 2016-01-26 03:01:27,954 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1865b64c432018e9218 (trigger_db={'uid': u'trigger:core:st2.generic.notifytrigger:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.generic.notifytrigger', 'pack': u'core', 'type': u'core.st2.generic.notifytrigger', 'id': '56a6e1865b64c432018e9218', 'description': None})
  37. 2016-01-26 03:01:27,955 140418734868272 DEBUG log [-] Registering internal trigger: st2.action.file_writen
  38. 2016-01-26 03:01:27,968 140418734868272 INFO log [-] Registered trigger: st2.action.file_writen.
  39. 2016-01-26 03:01:27,992 140418734868272 DEBUG channel [-] using channel_id: 1
  40. 2016-01-26 03:01:27,994 140418734868272 DEBUG channel [-] Channel open
  41. 2016-01-26 03:01:27,998 140418734868272 DEBUG channel [-] Closed channel #1
  42. 2016-01-26 03:01:27,999 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1865b64c432018e921a (trigger_db={'uid': u'trigger:core:st2.action.file_writen:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '56a6e1865b64c432018e921a', 'description': None})
  43. 2016-01-26 03:01:28,000 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1865b64c432018e921a (trigger_db={'uid': u'trigger:core:st2.action.file_writen:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.action.file_writen', 'pack': u'core', 'type': u'core.st2.action.file_writen', 'id': '56a6e1865b64c432018e921a', 'description': None})
  44. 2016-01-26 03:01:28,001 140418734868272 DEBUG log [-] Registering internal trigger: st2.key_value_pair.create
  45. 2016-01-26 03:01:28,012 140418734868272 INFO log [-] Registered trigger: st2.key_value_pair.create.
  46. 2016-01-26 03:01:28,037 140418734868272 DEBUG channel [-] using channel_id: 1
  47. 2016-01-26 03:01:28,038 140418734868272 DEBUG channel [-] Channel open
  48. 2016-01-26 03:01:28,042 140418734868272 DEBUG channel [-] Closed channel #1
  49. 2016-01-26 03:01:28,043 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e921c (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '56a6e1875b64c432018e921c', 'description': None})
  50. 2016-01-26 03:01:28,045 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e921c (trigger_db={'uid': u'trigger:core:st2.key_value_pair.create:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.create', 'pack': u'core', 'type': u'core.st2.key_value_pair.create', 'id': '56a6e1875b64c432018e921c', 'description': None})
  51. 2016-01-26 03:01:28,050 140418734868272 DEBUG log [-] Registering internal trigger: st2.key_value_pair.update
  52. 2016-01-26 03:01:28,072 140418734868272 INFO log [-] Registered trigger: st2.key_value_pair.update.
  53. 2016-01-26 03:01:28,092 140418734868272 DEBUG channel [-] using channel_id: 1
  54. 2016-01-26 03:01:28,093 140418734868272 DEBUG channel [-] Channel open
  55. 2016-01-26 03:01:28,096 140418734868272 DEBUG channel [-] Closed channel #1
  56. 2016-01-26 03:01:28,097 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e921e (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '56a6e1875b64c432018e921e', 'description': None})
  57. 2016-01-26 03:01:28,098 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e921e (trigger_db={'uid': u'trigger:core:st2.key_value_pair.update:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.update', 'pack': u'core', 'type': u'core.st2.key_value_pair.update', 'id': '56a6e1875b64c432018e921e', 'description': None})
  58. 2016-01-26 03:01:28,107 140418734868272 DEBUG log [-] Registering internal trigger: st2.key_value_pair.value_change
  59. 2016-01-26 03:01:28,120 140418734868272 INFO log [-] Registered trigger: st2.key_value_pair.value_change.
  60. 2016-01-26 03:01:28,140 140418734868272 DEBUG channel [-] using channel_id: 1
  61. 2016-01-26 03:01:28,141 140418734868272 DEBUG channel [-] Channel open
  62. 2016-01-26 03:01:28,143 140418734868272 DEBUG channel [-] Closed channel #1
  63. 2016-01-26 03:01:28,144 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e9220 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '56a6e1875b64c432018e9220', 'description': None})
  64. 2016-01-26 03:01:28,145 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e9220 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.value_change:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.value_change', 'pack': u'core', 'type': u'core.st2.key_value_pair.value_change', 'id': '56a6e1875b64c432018e9220', 'description': None})
  65. 2016-01-26 03:01:28,148 140418734868272 DEBUG log [-] Registering internal trigger: st2.key_value_pair.delete
  66. 2016-01-26 03:01:28,160 140418734868272 INFO log [-] Registered trigger: st2.key_value_pair.delete.
  67. 2016-01-26 03:01:28,179 140418734868272 DEBUG channel [-] using channel_id: 1
  68. 2016-01-26 03:01:28,180 140418734868272 DEBUG channel [-] Channel open
  69. 2016-01-26 03:01:28,183 140418734868272 DEBUG channel [-] Closed channel #1
  70. 2016-01-26 03:01:28,184 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e9222 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '56a6e1875b64c432018e9222', 'description': None})
  71. 2016-01-26 03:01:28,185 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e9222 (trigger_db={'uid': u'trigger:core:st2.key_value_pair.delete:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.key_value_pair.delete', 'pack': u'core', 'type': u'core.st2.key_value_pair.delete', 'id': '56a6e1875b64c432018e9222', 'description': None})
  72. 2016-01-26 03:01:28,195 140418734868272 DEBUG log [-] Registering internal trigger: st2.sensor.process_spawn
  73. 2016-01-26 03:01:28,201 140418734868272 INFO log [-] Registered trigger: st2.sensor.process_spawn.
  74. 2016-01-26 03:01:28,222 140418734868272 DEBUG channel [-] using channel_id: 1
  75. 2016-01-26 03:01:28,223 140418734868272 DEBUG channel [-] Channel open
  76. 2016-01-26 03:01:28,226 140418734868272 DEBUG channel [-] Closed channel #1
  77. 2016-01-26 03:01:28,226 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e9224 (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '56a6e1875b64c432018e9224', 'description': None})
  78. 2016-01-26 03:01:28,228 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e9224 (trigger_db={'uid': u'trigger:core:st2.sensor.process_spawn:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.sensor.process_spawn', 'pack': u'core', 'type': u'core.st2.sensor.process_spawn', 'id': '56a6e1875b64c432018e9224', 'description': None})
  79. 2016-01-26 03:01:28,234 140418734868272 DEBUG log [-] Registering internal trigger: st2.sensor.process_exit
  80. 2016-01-26 03:01:28,248 140418734868272 INFO log [-] Registered trigger: st2.sensor.process_exit.
  81. 2016-01-26 03:01:28,272 140418734868272 DEBUG channel [-] using channel_id: 1
  82. 2016-01-26 03:01:28,278 140418734868272 DEBUG channel [-] Channel open
  83. 2016-01-26 03:01:28,283 140418734868272 DEBUG channel [-] Closed channel #1
  84. 2016-01-26 03:01:28,284 140418734868272 AUDIT log [-] Trigger updated. Trigger.id=56a6e1875b64c432018e9226 (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '56a6e1875b64c432018e9226', 'description': None})
  85. 2016-01-26 03:01:28,289 140418734868272 AUDIT log [-] Trigger created for parameter-less TriggerType. Trigger.id=56a6e1875b64c432018e9226 (trigger_db={'uid': u'trigger:core:st2.sensor.process_exit:5f02f0889301fd7be1ac972c11bf3e7d', 'parameters': {}, 'ref_count': 0, 'name': u'st2.sensor.process_exit', 'pack': u'core', 'type': u'core.st2.sensor.process_exit', 'id': '56a6e1875b64c432018e9226', 'description': None})
  86. 2016-01-26 03:01:28,294 140418734868272 DEBUG log [-] Conflict while trying to save in DB.
  87. Traceback (most recent call last):
  88. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/persistence/base.py", line 120, in insert
  89. model_object = cls._get_impl().insert(model_object)
  90. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/db/__init__.py", line 170, in insert
  91. instance = self.model.objects.insert(instance)
  92. File "/usr/share/python/st2/local/lib/python2.7/site-packages/mongoengine/queryset/base.py", line 307, in insert
  93. raise NotUniqueError(message % unicode(err))
  94. NotUniqueError: Could not save document (E11000 duplicate key error index: st2.role_d_b.$name_1 dup key: { : "admin" })
  95. 2016-01-26 03:01:28,296 140418734868272 DEBUG log [-] Conflict while trying to save in DB.
  96. Traceback (most recent call last):
  97. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/persistence/base.py", line 120, in insert
  98. model_object = cls._get_impl().insert(model_object)
  99. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/db/__init__.py", line 170, in insert
  100. instance = self.model.objects.insert(instance)
  101. File "/usr/share/python/st2/local/lib/python2.7/site-packages/mongoengine/queryset/base.py", line 307, in insert
  102. raise NotUniqueError(message % unicode(err))
  103. NotUniqueError: Could not save document (E11000 duplicate key error index: st2.role_d_b.$name_1 dup key: { : "observer" })
  104. 2016-01-26 03:01:28,297 140418734868272 DEBUG log [-] Conflict while trying to save in DB.
  105. Traceback (most recent call last):
  106. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/persistence/base.py", line 120, in insert
  107. model_object = cls._get_impl().insert(model_object)
  108. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/db/__init__.py", line 170, in insert
  109. instance = self.model.objects.insert(instance)
  110. File "/usr/share/python/st2/local/lib/python2.7/site-packages/mongoengine/queryset/base.py", line 307, in insert
  111. raise NotUniqueError(message % unicode(err))
  112. NotUniqueError: Could not save document (E11000 duplicate key error index: st2.role_d_b.$name_1 dup key: { : "system_admin" })
  113. 2016-01-26 03:01:28,326 140418734868272 DEBUG extension [-] found extension EntryPoint.parse('flat_file = st2auth_flat_file_backend.flat_file:FlatFileAuthenticationBackend')
  114. 2016-01-26 03:02:58,973 140418702720848 DEBUG log [-] No version specified in URL. Will use default controller.
  115. 2016-01-26 03:02:58,976 140418702720848 DEBUG log [-] Pack not provided in the body, setting a default pack name (default_pack_name='default',resource_api='TokenAPI(**{})')
  116. 2016-01-26 03:02:58,978 140418702720848 ERROR log [-] API call failed: no bcrypt backends available -- recommend you install one (e.g. 'pip install bcrypt')
  117. Traceback (most recent call last):
  118. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 631, in __call__
  119. self.invoke_controller(controller, args, kwargs, state)
  120. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 531, in invoke_controller
  121. result = controller(*args, **kwargs)
  122. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/api/base.py", line 230, in callfunction
  123. result = f(*args, **kwargs)
  124. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 48, in post
  125. return self._handle_standalone_auth(request=request, **kwargs)
  126. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 101, in _handle_standalone_auth
  127. result = self._auth_backend.authenticate(username=username, password=password)
  128. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth_flat_file_backend/flat_file.py", line 47, in authenticate
  129. result = htpasswd_file.check_password(username, password)
  130. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/apache.py", line 698, in check_password
  131. ok, new_hash = self.context.verify_and_update(password, hash)
  132. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/context.py", line 2616, in verify_and_update
  133. if not record.verify(secret, hash, **kwds):
  134. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 571, in verify
  135. return consteq(self._calc_checksum(secret), chk)
  136. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 406, in _calc_checksum
  137. self.get_backend()
  138. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1365, in get_backend
  139. cls.set_backend()
  140. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 285, in set_backend
  141. backend = super(bcrypt, cls).set_backend(*a, **k)
  142. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1442, in set_backend
  143. raise exc.MissingBackendError(cls._no_backends_msg())
  144. MissingBackendError: no bcrypt backends available -- recommend you install one (e.g. 'pip install bcrypt') (_exception_data={},_exception_class='MissingBackendError',_exception_message="no bcrypt backends available -- recommend you install one (e.g. 'pip install bcrypt')")
  145. 2016-01-26 03:02:58,982 140418702720848 ERROR log [-] Traceback (most recent call last):
  146. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 631, in __call__
  147. self.invoke_controller(controller, args, kwargs, state)
  148. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 531, in invoke_controller
  149. result = controller(*args, **kwargs)
  150. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/api/base.py", line 230, in callfunction
  151. result = f(*args, **kwargs)
  152. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 48, in post
  153. return self._handle_standalone_auth(request=request, **kwargs)
  154. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 101, in _handle_standalone_auth
  155. result = self._auth_backend.authenticate(username=username, password=password)
  156. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth_flat_file_backend/flat_file.py", line 47, in authenticate
  157. result = htpasswd_file.check_password(username, password)
  158. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/apache.py", line 698, in check_password
  159. ok, new_hash = self.context.verify_and_update(password, hash)
  160. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/context.py", line 2616, in verify_and_update
  161. if not record.verify(secret, hash, **kwds):
  162. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 571, in verify
  163. return consteq(self._calc_checksum(secret), chk)
  164. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 406, in _calc_checksum
  165. self.get_backend()
  166. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1365, in get_backend
  167. cls.set_backend()
  168. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 285, in set_backend
  169. backend = super(bcrypt, cls).set_backend(*a, **k)
  170. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1442, in set_backend
  171. raise exc.MissingBackendError(cls._no_backends_msg())
  172. MissingBackendError: no bcrypt backends available -- recommend you install one (e.g. 'pip install bcrypt')
  173. Traceback (most recent call last):
  174. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 631, in __call__
  175. self.invoke_controller(controller, args, kwargs, state)
  176. File "/usr/share/python/st2/local/lib/python2.7/site-packages/pecan/core.py", line 531, in invoke_controller
  177. result = controller(*args, **kwargs)
  178. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2common/models/api/base.py", line 230, in callfunction
  179. result = f(*args, **kwargs)
  180. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 48, in post
  181. return self._handle_standalone_auth(request=request, **kwargs)
  182. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth/controllers/v1/auth.py", line 101, in _handle_standalone_auth
  183. result = self._auth_backend.authenticate(username=username, password=password)
  184. File "/usr/share/python/st2/local/lib/python2.7/site-packages/st2auth_flat_file_backend/flat_file.py", line 47, in authenticate
  185. result = htpasswd_file.check_password(username, password)
  186. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/apache.py", line 698, in check_password
  187. ok, new_hash = self.context.verify_and_update(password, hash)
  188. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/context.py", line 2616, in verify_and_update
  189. if not record.verify(secret, hash, **kwds):
  190. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 571, in verify
  191. return consteq(self._calc_checksum(secret), chk)
  192. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 406, in _calc_checksum
  193. self.get_backend()
  194. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1365, in get_backend
  195. cls.set_backend()
  196. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/handlers/bcrypt.py", line 285, in set_backend
  197. backend = super(bcrypt, cls).set_backend(*a, **k)
  198. File "/usr/share/python/st2/local/lib/python2.7/site-packages/passlib/utils/handlers.py", line 1442, in set_backend
  199. raise exc.MissingBackendError(cls._no_backends_msg())
  200. MissingBackendError: no bcrypt backends available -- recommend you install one (e.g. 'pip install bcrypt')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement