)]}'
{"rally-jobs/rally-senlin.yaml":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"        users:"},{"line_number":14,"context_line":"          tenants: 2"},{"line_number":15,"context_line":"          users_per_tenant: 2"},{"line_number":16,"context_line":"        profiles:"},{"line_number":17,"context_line":"          type: os.nova.server"},{"line_number":18,"context_line":"          version: \"1.0\""},{"line_number":19,"context_line":"          properties:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"9ad45d7e_9b4d5b9c","line":16,"updated":"2016-08-12 10:10:47.000000000","message":"Nice change!\u003d)","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"}],"rally/plugins/openstack/cleanup/resources.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":82,"context_line":"@base.resource(service\u003dNone, resource\u003dNone, admin_required\u003dTrue)"},{"line_number":83,"context_line":"class SenlinMixin(base.ResourceManager):"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @property"},{"line_number":86,"context_line":"    def id(self):"},{"line_number":87,"context_line":"        return self.raw_resource[\"id\"]"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9ad45d7e_fb10d75b","line":85,"updated":"2016-08-12 10:10:47.000000000","message":"lets remove this decorator","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"93f272f23de2f04912c356014d037ba741c76144","unresolved":false,"context_lines":[{"line_number":82,"context_line":"@base.resource(service\u003dNone, resource\u003dNone, admin_required\u003dTrue)"},{"line_number":83,"context_line":"class SenlinMixin(base.ResourceManager):"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @property"},{"line_number":86,"context_line":"    def id(self):"},{"line_number":87,"context_line":"        return self.raw_resource[\"id\"]"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"3ac371cc_95bec3fd","line":85,"in_reply_to":"9ad45d7e_fb10d75b","updated":"2016-08-15 02:15:44.000000000","message":"Done","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"5b83d62acd972ccd4f17992ccca87b13d62a838f","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    \"\"\"Resource class for Senlin Cluster.\"\"\""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"@base.resource(\"senlin\", \"profiles\", order\u003dnext(_senlin_order))"},{"line_number":107,"context_line":"class SenlinProfile(SenlinMixin):"},{"line_number":108,"context_line":"    \"\"\"Resource class for Senlin Profile.\"\"\""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_9dbef3d2","line":106,"updated":"2016-08-19 11:48:46.000000000","message":"please override that this is tenant_resource if it don\u0027t need admin","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"ac820e21847e36264c8e4b0190f95b33056d09ab","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    \"\"\"Resource class for Senlin Cluster.\"\"\""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"@base.resource(\"senlin\", \"profiles\", order\u003dnext(_senlin_order))"},{"line_number":107,"context_line":"class SenlinProfile(SenlinMixin):"},{"line_number":108,"context_line":"    \"\"\"Resource class for Senlin Profile.\"\"\""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_9e0d0441","line":106,"in_reply_to":"1ac06dbe_9dbef3d2","updated":"2016-08-22 01:50:34.000000000","message":"Done","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"}],"rally/plugins/openstack/context/senlin/profiles.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                \"type\": \"string\","},{"line_number":36,"context_line":"            },"},{"line_number":37,"context_line":"            \"properties\": {"},{"line_number":38,"context_line":"                \"type\": \"object\","},{"line_number":39,"context_line":"            }"},{"line_number":40,"context_line":"        },"},{"line_number":41,"context_line":"        \"additionalProperties\": False,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9ad45d7e_36f8c6c4","line":38,"updated":"2016-08-12 10:10:47.000000000","message":"Can we add schema for properties? Or there is no strict schema for it?","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"93f272f23de2f04912c356014d037ba741c76144","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                \"type\": \"string\","},{"line_number":36,"context_line":"            },"},{"line_number":37,"context_line":"            \"properties\": {"},{"line_number":38,"context_line":"                \"type\": \"object\","},{"line_number":39,"context_line":"            }"},{"line_number":40,"context_line":"        },"},{"line_number":41,"context_line":"        \"additionalProperties\": False,"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ac371cc_7569878b","line":38,"in_reply_to":"9ad45d7e_36f8c6c4","updated":"2016-08-15 02:15:44.000000000","message":"Hi, Roman, there is schema for \"properties\" of profile. But the schema varies across different profile types, e.g. for nova server profile, it has properties like \"image(string)\", \"flavor(string)\", \"networks(list)\" etc, for heat stack profile, it has properties like \"template(dict)\", \"parameters(list)\", etc.. So it is difficult to define the schema for properties here unless we define individual context for different profile types. Actually Senlin has specific API \"profile-type show\" to help user get schema of a profile type. So user can verify the schema of \"properties\" defined in job file manually(although it could be less convenient by contrast to automatic context verification by Rally).\n\nhttp://developer.openstack.org/api-ref/clustering/?expanded\u003dshow-profile-type-details-detail","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        spec \u003d {"},{"line_number":49,"context_line":"            \"type\": self.config.get(\"type\"),"},{"line_number":50,"context_line":"            \"version\": self.config.get(\"version\"),"},{"line_number":51,"context_line":"            \"properties\": self.config.get(\"properties\")"},{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("}],"source_content_type":"text/x-python","patch_set":4,"id":"9ad45d7e_d6a20a4b","line":51,"updated":"2016-08-12 10:10:47.000000000","message":"How about to add parameter profilers per tenant?","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"93f272f23de2f04912c356014d037ba741c76144","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        spec \u003d {"},{"line_number":49,"context_line":"            \"type\": self.config.get(\"type\"),"},{"line_number":50,"context_line":"            \"version\": self.config.get(\"version\"),"},{"line_number":51,"context_line":"            \"properties\": self.config.get(\"properties\")"},{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("}],"source_content_type":"text/x-python","patch_set":4,"id":"3ac371cc_b593ff4e","line":51,"in_reply_to":"9ad45d7e_d6a20a4b","updated":"2016-08-15 02:15:44.000000000","message":"Hi, Roman, sorry I didn\u0027t quite understand your comment here. You mean allowing user to define different profiles for different tenants?","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                self.context[\"users\"]):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario("},{"line_number":58,"context_line":"                {\"user\": user, \"task\": self.context[\"task\"]})"},{"line_number":59,"context_line":"            profile \u003d senlin_scenario._create_profile(spec)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"            self.context[\"tenants\"][tenant_id][\"profile\"] \u003d profile.id"}],"source_content_type":"text/x-python","patch_set":4,"id":"9ad45d7e_f658ee8c","line":58,"updated":"2016-08-12 10:10:47.000000000","message":"please pass api_version context here https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/manila/manila_share_networks.py#L140-L146","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"93f272f23de2f04912c356014d037ba741c76144","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                self.context[\"users\"]):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario("},{"line_number":58,"context_line":"                {\"user\": user, \"task\": self.context[\"task\"]})"},{"line_number":59,"context_line":"            profile \u003d senlin_scenario._create_profile(spec)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"            self.context[\"tenants\"][tenant_id][\"profile\"] \u003d profile.id"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ac371cc_759ce769","line":58,"in_reply_to":"9ad45d7e_f658ee8c","updated":"2016-08-15 02:15:44.000000000","message":"will add it.","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"5b83d62acd972ccd4f17992ccca87b13d62a838f","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            \"type\": self.config.get(\"type\"),"},{"line_number":50,"context_line":"            \"version\": self.config.get(\"version\"),"},{"line_number":51,"context_line":"            \"properties\": self.config.get(\"properties\")"},{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":55,"context_line":"                self.context[\"users\"]):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_f78108fd","line":52,"updated":"2016-08-19 11:48:46.000000000","message":"In current implementation you don\u0027t need this variable and may pass it in 64th line like:\n\nprofile \u003d senlin_scenario._create_profile(self.config)","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"ac820e21847e36264c8e4b0190f95b33056d09ab","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            \"type\": self.config.get(\"type\"),"},{"line_number":50,"context_line":"            \"version\": self.config.get(\"version\"),"},{"line_number":51,"context_line":"            \"properties\": self.config.get(\"properties\")"},{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":55,"context_line":"                self.context[\"users\"]):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_590a8622","line":52,"in_reply_to":"1ac06dbe_f78108fd","updated":"2016-08-22 01:50:34.000000000","message":"Good idea! Will make a change.","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"5b83d62acd972ccd4f17992ccca87b13d62a838f","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":55,"context_line":"                self.context[\"users\"]):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"},{"line_number":58,"context_line":"                \"user\": user,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_771a3819","line":55,"updated":"2016-08-19 11:48:46.000000000","message":"How are you going to configure number of profiles that you what to create by context?.\nDo you want to have an ability to create 100 or more profiles by context?","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"ac820e21847e36264c8e4b0190f95b33056d09ab","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        }"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":55,"context_line":"                self.context[\"users\"]):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"},{"line_number":58,"context_line":"                \"user\": user,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_b9b57a32","line":55,"in_reply_to":"1ac06dbe_771a3819","updated":"2016-08-22 01:50:34.000000000","message":"Hi, Roman, I think we don\u0027t need the ability to create given number of profiles by context. We just need to create individual profile for each tenant since project_safe is enabled by default in Senlin which makes profile invisible across different tenants.","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"5b83d62acd972ccd4f17992ccca87b13d62a838f","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                self.context[\"users\"]):"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario("},{"line_number":75,"context_line":"                {\"user\": user, \"task\": self.context[\"task\"]})"},{"line_number":76,"context_line":"            senlin_scenario._delete_profile("},{"line_number":77,"context_line":"                self.context[\"tenants\"][tenant_id][\"profile\"])"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_37c44091","line":75,"updated":"2016-08-19 11:48:46.000000000","message":"You should pass here api context","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"ac820e21847e36264c8e4b0190f95b33056d09ab","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                self.context[\"users\"]):"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario("},{"line_number":75,"context_line":"                {\"user\": user, \"task\": self.context[\"task\"]})"},{"line_number":76,"context_line":"            senlin_scenario._delete_profile("},{"line_number":77,"context_line":"                self.context[\"tenants\"][tenant_id][\"profile\"])"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_d94cb672","line":75,"in_reply_to":"1ac06dbe_37c44091","updated":"2016-08-22 01:50:34.000000000","message":"Yes, will change.","commit_id":"289a5c43215eec286c8d5ceb451ed743ca8cc145"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"f169e62ae638f1fcf4a97763028a6817ae770d12","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        \"required\": [\"type\", \"version\", \"properties\"]"},{"line_number":43,"context_line":"    }"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Enter context: `profiles`\"))"},{"line_number":46,"context_line":"    def setup(self):"},{"line_number":47,"context_line":"        \"\"\"Create test profiles.\"\"\""},{"line_number":48,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_72c1562e","line":45,"updated":"2016-08-31 15:25:07.000000000","message":"It is better to s/profiles/Senlin profiles/ because word \"profile\" is generic and potentially may clash with another context message","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"8375dba47561fd8385fce3dda0a5db12f21b320a","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        \"required\": [\"type\", \"version\", \"properties\"]"},{"line_number":43,"context_line":"    }"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Enter context: `profiles`\"))"},{"line_number":46,"context_line":"    def setup(self):"},{"line_number":47,"context_line":"        \"\"\"Create test profiles.\"\"\""},{"line_number":48,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_abb98bee","line":45,"in_reply_to":"fa7ab95a_72c1562e","updated":"2016-09-02 02:04:45.000000000","message":"I see. Will make a change. Thanks.","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"f169e62ae638f1fcf4a97763028a6817ae770d12","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_ca226c01","line":65,"updated":"2016-08-31 15:25:07.000000000","message":"Can these resources be deleted via resource manager (without scenario instances)? Similar to this https://github.com/openstack/rally/blob/0.5.0/rally/plugins/openstack/context/nova/servers.py#L127-L128","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"e416ca6ab379a94a03de9215890b0ed39e401bd9","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_94677bb6","line":65,"in_reply_to":"fa7ab95a_7ad116fb","updated":"2016-09-01 08:46:39.000000000","message":"Something like that:\n\n  for user, tenant_id in rutils.iterate_per_tenants(\n          self.context[\"users\"]):\n\n      profile \u003d self.context[\"tenants\"][tenant_id][\"profile\"]\n      clients \u003d osclients.Clients(user[\"credential\"])\n      clients(\"senlin\").delete_profile(profile)","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"0af1f7995ab57c6d44a8df58884e972aa6d8e727","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_a4c9c37b","line":65,"in_reply_to":"fa7ab95a_821cbd78","updated":"2016-08-31 22:05:24.000000000","message":"Okay, but we have profiles_ids and we can create user clients per tenant, so this cleanup can be easily done without scenario instances","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"df3ecbbe2576a3e723bebff6cdaf2f0364ff3407","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_dca2094b","line":65,"in_reply_to":"fa7ab95a_94677bb6","updated":"2016-09-01 09:34:20.000000000","message":"Okay, api_versions is a key point to use scenario","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"132660f8bdfe9fda8f05b7771b182382ba1f4848","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_7ad116fb","line":65,"in_reply_to":"fa7ab95a_a4c9c37b","updated":"2016-08-31 23:01:10.000000000","message":"I don\u0027t understand( So what is you actuall suggest? Could you put here snippet of code? I believe it will be small","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"8991882d7bd860b796dcd566ebf66266681946a1","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @logging.log_task_wrapper(LOG.info, _(\"Exit context: `profiles`\"))"},{"line_number":63,"context_line":"    def cleanup(self):"},{"line_number":64,"context_line":"        \"\"\"Delete created test profiles.\"\"\""},{"line_number":65,"context_line":"        for user, tenant_id in rutils.iterate_per_tenants("},{"line_number":66,"context_line":"                self.context[\"users\"]):"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            senlin_scenario \u003d senlin_utils.SenlinScenario({"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_821cbd78","line":65,"in_reply_to":"fa7ab95a_ca226c01","updated":"2016-08-31 18:07:23.000000000","message":"The point was to delete only resources created by those context. So we should use this approach in nova. Not nova approach here!","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"}],"rally/plugins/openstack/scenarios/senlin/clusters.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"65b8d199efea00553eb0679b83ccecc73c44cfa6","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    @validation.required_openstack(admin\u003dTrue)"},{"line_number":23,"context_line":"    @validation.required_services(consts.Service.SENLIN)"},{"line_number":24,"context_line":"    @scenario.configure(context\u003d{\"cleanup\": [\"senlin\"]})"},{"line_number":25,"context_line":"    def create_and_delete_cluster(self, desired_capacity\u003d0, min_size\u003d0,"},{"line_number":26,"context_line":"                                  max_size\u003d-1, timeout\u003d3600, metadata\u003dNone):"},{"line_number":27,"context_line":"        \"\"\"Create a cluster and then delete it."}],"source_content_type":"text/x-python","patch_set":4,"id":"9ad45d7e_a150f20b","line":24,"updated":"2016-08-12 10:10:47.000000000","message":"please add validator required context here","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"93f272f23de2f04912c356014d037ba741c76144","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    @validation.required_openstack(admin\u003dTrue)"},{"line_number":23,"context_line":"    @validation.required_services(consts.Service.SENLIN)"},{"line_number":24,"context_line":"    @scenario.configure(context\u003d{\"cleanup\": [\"senlin\"]})"},{"line_number":25,"context_line":"    def create_and_delete_cluster(self, desired_capacity\u003d0, min_size\u003d0,"},{"line_number":26,"context_line":"                                  max_size\u003d-1, timeout\u003d3600, metadata\u003dNone):"},{"line_number":27,"context_line":"        \"\"\"Create a cluster and then delete it."}],"source_content_type":"text/x-python","patch_set":4,"id":"3ac371cc_55ce0b84","line":24,"in_reply_to":"9ad45d7e_a150f20b","updated":"2016-08-15 02:15:44.000000000","message":"My fault, will change.","commit_id":"31387693f03c0ec982ba8669ccf3996c99353f95"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"05eab54146e8d8ebb6febcb8538210c2e6e218b8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        :param metadata: A set of key value pairs to associate with the cluster"},{"line_number":40,"context_line":"        \"\"\""},{"line_number":41,"context_line":"        profile_id \u003d self.context[\"tenant\"][\"profile\"]"},{"line_number":42,"context_line":"        cluster \u003d self._create_cluster(profile_id, desired_capacity,"},{"line_number":43,"context_line":"                                       min_size, max_size, timeout, metadata)"},{"line_number":44,"context_line":"        self._delete_cluster(cluster)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_4d820c02","line":42,"updated":"2016-08-26 08:40:26.000000000","message":"I think you may be interested in adding of possibility to create multiple clusters during one scenario","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"},{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"f12e8a0d30f60fde70e5f7bdfa2c7af9b3d3b7a8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        :param metadata: A set of key value pairs to associate with the cluster"},{"line_number":40,"context_line":"        \"\"\""},{"line_number":41,"context_line":"        profile_id \u003d self.context[\"tenant\"][\"profile\"]"},{"line_number":42,"context_line":"        cluster \u003d self._create_cluster(profile_id, desired_capacity,"},{"line_number":43,"context_line":"                                       min_size, max_size, timeout, metadata)"},{"line_number":44,"context_line":"        self._delete_cluster(cluster)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_ebef48ae","line":42,"in_reply_to":"fa7ab95a_4d820c02","updated":"2016-08-26 09:08:08.000000000","message":"Yes, that will be helpful for concurrency test. Will think about it. Thanks :)","commit_id":"5eccdbe211d262ddba9b64b6d401b23dbeb1661d"}],"rally/plugins/openstack/scenarios/senlin/utils.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"5b83d62acd972ccd4f17992ccca87b13d62a838f","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        if metadata:"},{"line_number":141,"context_line":"            attrs[\"metadata\"] \u003d metadata"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        return self.admin_clients(\"senlin\").create_profile(**attrs)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    @atomic.action_timer(\"senlin.delete_profile\")"},{"line_number":146,"context_line":"    def _delete_profile(self, profile):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1ac06dbe_324bae2d","side":"PARENT","line":143,"updated":"2016-08-19 11:48:46.000000000","message":"Interesting change\u003d)","commit_id":"2b07ff2a9f25cbf3202848e6791f937bb5ff3c32"}]}
