)]}'
{"magnum/tests/unit/api/controllers/v1/test_replicationcontroller.py":[{"author":{"_account_id":12175,"name":"Eli Qiao","email":"qiaoliyong@gmail.com","username":"Eli"},"change_message_id":"c84115ed907463cc57ba2fa53bcbeeb8dc6af618","unresolved":false,"context_lines":[{"line_number":555,"context_line":"        response \u003d self.delete("},{"line_number":556,"context_line":"            \u0027/rcs/test_rc/5d12f6fd-a196-4bf0-ae4c-1f639a523a5\u0027,"},{"line_number":557,"context_line":"            expect_errors\u003dTrue)"},{"line_number":558,"context_line":"        self.assertEqual(409, response.status_int)"},{"line_number":559,"context_line":"        self.assertEqual(\u0027application/json\u0027, response.content_type)"},{"line_number":560,"context_line":"        self.assertTrue(response.json[\u0027error_message\u0027])"},{"line_number":561,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a29b11f_ab61b606","line":558,"updated":"2015-10-23 01:41:16.000000000","message":"hi Vilobh,\nI am not sure we need this case.\nI tested, magnum-api doesn\u0027t allow to create a rc with same name, it raise 409 directly.\n\ntaget@taget-ThinkStation-P300:~/Downloads/kube/kubernetes/examples/redis$ magnum rc-create --manifest redis-controller.yaml --bay k8s-proxy\nERROR: replicationControllers \"redis\" already exists\nTraceback (most recent call last):\n\n  File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 142, in _dispatch_and_reply\n    executor_callback))\n\n  File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 186, in _dispatch\n    executor_callback)\n\n  File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 129, in _do_dispatch\n    result \u003d func(ctxt, **new_args)\n\n  File \"/opt/stack/magnum/magnum/conductor/handlers/k8s_conductor.py\", line 145, in rc_create\n    raise exception.KubernetesAPIFailed(err\u003derr)\n\nKubernetesAPIFailed: replicationControllers \"redis\" already exists","commit_id":"0ff97b5bed83a64c6c7b118709e19e984f1f3a6a"},{"author":{"_account_id":12053,"name":"Hua Wang","email":"wanghua.humble@gmail.com","username":"humble00"},"change_message_id":"1b7e186fffd566a6b83fd804be93a0fc88671c96","unresolved":false,"context_lines":[{"line_number":555,"context_line":"        response \u003d self.delete("},{"line_number":556,"context_line":"            \u0027/rcs/test_rc/5d12f6fd-a196-4bf0-ae4c-1f639a523a5\u0027,"},{"line_number":557,"context_line":"            expect_errors\u003dTrue)"},{"line_number":558,"context_line":"        self.assertEqual(409, response.status_int)"},{"line_number":559,"context_line":"        self.assertEqual(\u0027application/json\u0027, response.content_type)"},{"line_number":560,"context_line":"        self.assertTrue(response.json[\u0027error_message\u0027])"},{"line_number":561,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a29b11f_1cca6e1b","line":558,"in_reply_to":"3a29b11f_ab61b606","updated":"2015-10-23 04:23:37.000000000","message":"+1 for Eli Qiao.","commit_id":"0ff97b5bed83a64c6c7b118709e19e984f1f3a6a"}]}
