ceph/calamari — pull request #162 by GregMeno (2014-07-24 19:21:16+00:00)
Title: WIP: Add ability to get/set a crush map from the cluster

@jcsp @dmick
There is still two failing tests:

======================================================================
FAIL: test_list_delete (tests.test_keys.TestKey)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/calamari/rest-api/tests/test_keys.py", line 35, in test_list_delete
self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
AssertionError: 200 != 204
-------------------- >> begin captured logging << --------------------
django.request.profile: DEBUG: [3.98302078247ms] /api/v2/key
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_list_patch (tests.test_keys.TestKey)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/calamari/rest-api/tests/test_keys.py", line 22, in test_list_patch
self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
AssertionError: 200 != 204
-------------------- >> begin captured logging << --------------------
django.request: DEBUG: KEYS [{u'status': u'accepted', u'id': u'minion1'}, {u'status': u'accepted', u'id': u'minion2'}]
django.request.profile: DEBUG: [3.39293479919ms] /api/v2/key
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------

that are a result of 8d22cf74844c8733ef58db0d2d9c21bfa8b91c3f
it is somewhat unexpected. If I can't figure it out today I will fall-back to the StaticHTMLRenderer