)]}'
{"nova/exception.py":[{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"549b3fadffd4f8896412700c079ec7e01cdb61a6","unresolved":false,"context_lines":[{"line_number":868,"context_line":""},{"line_number":869,"context_line":""},{"line_number":870,"context_line":"class WillNotSchedule(NovaException):"},{"line_number":871,"context_line":"    message \u003d _(\"Host %(host)s is not up or doesn\u0027t exist.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4i0%3D","line":871,"updated":"2011-11-04 03:57:45.000000000","message":"The i18n wrapping is done inside the exceptions  themselves.","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"}],"nova/scheduler/chance.py":[{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"59ee82175a2b83ecd7c9e2c8d3af5a83dd9b1ded","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        hosts \u003d self.hosts_up(elevated, topic)"},{"line_number":38,"context_line":"        if not hosts:"},{"line_number":39,"context_line":"            raise exception.NoValidHost(reason\u003d\"Is the appropriate\""},{"line_number":40,"context_line":"                                       \" service running?\")"},{"line_number":41,"context_line":"        return hosts[int(random.random() * len(hosts))]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def schedule(self, context, topic, method, *_args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4i8%3D","line":40,"updated":"2011-11-04 03:45:57.000000000","message":"This should be translated","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"}],"nova/scheduler/simple.py":[{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"59ee82175a2b83ecd7c9e2c8d3af5a83dd9b1ded","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            (service, volume_gigabytes) \u003d result"},{"line_number":115,"context_line":"            if volume_gigabytes + volume_ref[\u0027size\u0027] \u003e FLAGS.max_gigabytes:"},{"line_number":116,"context_line":"                raise exception.NoValidHost(reason\u003d\"All hosts have too many \""},{"line_number":117,"context_line":"                                           \"gigabytes\")"},{"line_number":118,"context_line":"            if self.service_is_up(service):"},{"line_number":119,"context_line":"                driver.cast_to_volume_host(context, service[\u0027host\u0027],"},{"line_number":120,"context_line":"                        \u0027create_volume\u0027, volume_id\u003dvolume_id, **_kwargs)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4jM%3D","line":117,"updated":"2011-11-04 03:45:57.000000000","message":"This should be translated. Maybe add a line before this one:\nmsg \u003d _(\"All host have too many gigabytes\")\nraise exception.NoValidHost(reason\u003dmsg)","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"},{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"59ee82175a2b83ecd7c9e2c8d3af5a83dd9b1ded","unresolved":false,"context_lines":[{"line_number":120,"context_line":"                        \u0027create_volume\u0027, volume_id\u003dvolume_id, **_kwargs)"},{"line_number":121,"context_line":"                return None"},{"line_number":122,"context_line":"        raise exception.NoValidHost(reason\u003d\"Is the appropriate\""},{"line_number":123,"context_line":"                                   \" service running?\")"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    def schedule_set_network_host(self, context, *_args, **_kwargs):"},{"line_number":126,"context_line":"        \"\"\"Picks a host that is up and has the fewest networks.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4jI%3D","line":123,"updated":"2011-11-04 03:45:57.000000000","message":"This should be translated","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"},{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"59ee82175a2b83ecd7c9e2c8d3af5a83dd9b1ded","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            (service, instance_count) \u003d result"},{"line_number":131,"context_line":"            if instance_count \u003e\u003d FLAGS.max_networks:"},{"line_number":132,"context_line":"                raise exception.NoValidHost(reason\u003d\"All hosts have too \""},{"line_number":133,"context_line":"                                                   \"many networks\")"},{"line_number":134,"context_line":"            if self.service_is_up(service):"},{"line_number":135,"context_line":"                driver.cast_to_network_host(context, service[\u0027host\u0027],"},{"line_number":136,"context_line":"                        \u0027set_network_host\u0027, **_kwargs)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4jE%3D","line":133,"updated":"2011-11-04 03:45:57.000000000","message":"This should be translated","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"},{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"59ee82175a2b83ecd7c9e2c8d3af5a83dd9b1ded","unresolved":false,"context_lines":[{"line_number":136,"context_line":"                        \u0027set_network_host\u0027, **_kwargs)"},{"line_number":137,"context_line":"                return None"},{"line_number":138,"context_line":"        raise exception.NoValidHost(reason\u003d\"Is the appropriate\""},{"line_number":139,"context_line":"                                   \" service running?\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAACX%2F%2F4jA%3D","line":139,"updated":"2011-11-04 03:45:57.000000000","message":"This should be translated","commit_id":"ade8b3eafc5479a6f3299d8f7126b196b80a0a96"},{"author":{"_account_id":706,"name":"Brian Lamar","email":"brian.lamar@rackspace.com","username":"blamar"},"change_message_id":"dc71cba3fe4de96acf35a8b27abf9e6ec85a9943","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            if self.service_is_up(service):"},{"line_number":68,"context_line":"                return service[\u0027host\u0027]"},{"line_number":69,"context_line":"        raise exception.NoValidHost(reason\u003d\"Is the appropriate\""},{"line_number":70,"context_line":"                                   \" service running?\")"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    def schedule_run_instance(self, context, request_spec, *_args, **_kwargs):"},{"line_number":73,"context_line":"        num_instances \u003d request_spec.get(\u0027num_instances\u0027, 1)"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAACX%2F%2F4fM%3D","line":70,"updated":"2011-11-04 18:44:06.000000000","message":"The string \"Is the appropriate service running?\" will not be translated. The exception will end up being only half translated and will looks something like:\n\n\"No se encontró host válido. Is the appropriate service running?\"\n\n(This is taken from a Enlish/Spanish online translation and I\u0027m 100% sure it\u0027s not correct).","commit_id":"73690bd890920e6332452f1cc82476a0a37638d1"}],"nova/tests/scheduler/test_distributed_scheduler.py":[{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"77f6c6ddec79070566abbd3d708a42b92b7bd2ab","unresolved":false,"context_lines":[{"line_number":25,"context_line":"from nova import rpc"},{"line_number":26,"context_line":"from nova import test"},{"line_number":27,"context_line":"from nova.compute import api as compute_api"},{"line_number":28,"context_line":"from nova.scheduler import driver"},{"line_number":29,"context_line":"from nova.scheduler import distributed_scheduler"},{"line_number":30,"context_line":"from nova.scheduler import least_cost"},{"line_number":31,"context_line":"from nova.scheduler import zone_manager"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F5SU%3D","line":28,"updated":"2011-11-01 23:44:31.000000000","message":"no longer needed","commit_id":"ce7b4df6a82b1a5497a5e2d68dbbaa5059ab048c"}],"nova/tests/scheduler/test_vsa_scheduler.py":[{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"77f6c6ddec79070566abbd3d708a42b92b7bd2ab","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from nova.volume import volume_types"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"from nova.scheduler import vsa as vsa_sched"},{"line_number":31,"context_line":"from nova.scheduler import driver"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"FLAGS \u003d flags.FLAGS"},{"line_number":34,"context_line":"LOG \u003d logging.getLogger(\u0027nova.tests.scheduler.vsa\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAACX%2F%2F5SQ%3D","line":31,"updated":"2011-11-01 23:44:31.000000000","message":"no longer needed","commit_id":"ce7b4df6a82b1a5497a5e2d68dbbaa5059ab048c"}]}
