)]}'
{"rally/common/utils.py":[{"author":{"_account_id":22960,"name":"Hai Shi","email":"shihai1992@gmail.com","username":"haishi"},"change_message_id":"e5fc84049dbf0469fb9e665aba439c6d151c97c4","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_738dc9d1","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"updated":"2017-05-23 03:10:34.000000000","message":"I like your idea. But it would make all resource\u0027s name starting from rally-xxxx. On sometimes, I would use the name of resources to identity which plugin(context, scenarios and so on) created them.","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"bc72945efdefcef792a8359ae2ef1b2d5642e8d5","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_863bebcf","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"7f231b9d_abd592bb","updated":"2017-06-12 13:29:33.000000000","message":"Also, here is another problem - different services can have different name patterns. So we need separate options for different classes, not only one global option.","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":22960,"name":"Hai Shi","email":"shihai1992@gmail.com","username":"haishi"},"change_message_id":"ea39f5167758610d2668baa165962c6b7cb06214","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_4e6bc51e","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"ff0f0b1f_4981f1fa","updated":"2017-05-26 02:11:58.000000000","message":"np. it is not a important point. Waiting other folks opinion:)","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":21528,"name":"chenhb","email":"chen.haibing1@zte.com.cn","username":"chenhb"},"change_message_id":"33b44ef387bf0ae1e56a923d55d12a448f122936","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_7cb403f3","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"ff0f0b1f_4e6bc51e","updated":"2017-05-26 03:33:44.000000000","message":"Here i want it is not required to register, you have added to opts.list_opts, will be registered opts.register()","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":20031,"name":"Mathieu Velten","email":"mathieu.velten@cern.ch","username":"MatMaul"},"change_message_id":"da8c46a3c1d95b693a3cf42c8cbdac9f5032bc02","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_4981f1fa","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"ff0f0b1f_738dc9d1","updated":"2017-05-23 07:17:12.000000000","message":"Honestly I don\u0027t see the point, you would need to actually include the test name somehow to be really useful I think. However the old mechanism still works, specifying RESOURCE_NAME_FORMAT in a test will override the default formatting.","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"c534e82897bf870a25a9811616bc6188bf62c6b5","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"CONF \u003d cfg.CONF"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"OPTS \u003d [cfg.StrOpt("},{"line_number":45,"context_line":"    \"rally_resource_name_format\","},{"line_number":46,"context_line":"    default\u003d\"rally-XXXXXXXX-XXXXXXXX\","},{"line_number":47,"context_line":"    help\u003d\"Format used to generated the name of\""},{"line_number":48,"context_line":"         \"the resources created by Rally.\")]"},{"line_number":49,"context_line":"CONF.register_opts(OPTS)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class ImmutableMixin(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_abd592bb","line":49,"range":{"start_line":44,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"ff0f0b1f_738dc9d1","updated":"2017-06-12 13:26:23.000000000","message":"The point of Hai Shi is right. The current implementation splits naming convention by different types of plugins. I mean that contexts should clean their own resources and scenario cleanup should cleanup only resources left after scenarios. It is done for several cases:\n\n* if context cleans resources created by scenarios, it means that clenaup of scenario is configured in a wrong way. In other words, in case of another combination of that scenario with another context can lead to left resources.\n\n* for the last several rally releases we made a great progress for Rally Task V2. It should support using one set of contexts for several workloads . In your case, it will allow to create k8s cluster(which takes much time) in the context once and use created resources for several scenarios.","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"},{"author":{"_account_id":21528,"name":"chenhb","email":"chen.haibing1@zte.com.cn","username":"chenhb"},"change_message_id":"33b44ef387bf0ae1e56a923d55d12a448f122936","unresolved":false,"context_lines":[{"line_number":275,"context_line":""},{"line_number":276,"context_line":"    @classmethod"},{"line_number":277,"context_line":"    def get_resource_name_format(cls):"},{"line_number":278,"context_line":"        if hasattr(cls, \"RESOURCE_NAME_FORMAT\") \\"},{"line_number":279,"context_line":"                and cls.RESOURCE_NAME_FORMAT:"},{"line_number":280,"context_line":"            return cls.RESOURCE_NAME_FORMAT"},{"line_number":281,"context_line":"        return CONF.rally_resource_name_format"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_bcdbbb1f","line":278,"updated":"2017-05-26 03:33:44.000000000","message":"please use () instead of \\","commit_id":"a710995608e280fcc71f930b925d6430ed658f9f"}]}
