)]}'
{"blazar/plugins/oshosts/host_plugin.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from blazar.plugins import oshosts as plugin"},{"line_number":31,"context_line":"from blazar import status"},{"line_number":32,"context_line":"from blazar.utils.openstack import nova"},{"line_number":33,"context_line":"from blazar.utils.openstack import ironic"},{"line_number":34,"context_line":"from blazar.utils.openstack import placement"},{"line_number":35,"context_line":"from blazar.utils import plugins as plugins_utils"},{"line_number":36,"context_line":"from blazar.utils import trusts"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_c1672b51","line":33,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: H306: imports not in alphabetical order (blazar.utils.openstack.nova, blazar.utils.openstack.ironic)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":853,"context_line":"        ironic_hosts \u003d []"},{"line_number":854,"context_line":"        nova_hosts \u003d []"},{"line_number":855,"context_line":"        for h in hosts:"},{"line_number":856,"context_line":"            if h[\u0027hypervisor_type\u0027] \u003d\u003d \u0027ironic\u0027: ironic_hosts.append(h)"},{"line_number":857,"context_line":"            else: nova_hosts.append(h)"},{"line_number":858,"context_line":""},{"line_number":859,"context_line":"        failed_hosts \u003d []"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_2177ef04","line":856,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E701 multiple statements on one line (colon)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":854,"context_line":"        nova_hosts \u003d []"},{"line_number":855,"context_line":"        for h in hosts:"},{"line_number":856,"context_line":"            if h[\u0027hypervisor_type\u0027] \u003d\u003d \u0027ironic\u0027: ironic_hosts.append(h)"},{"line_number":857,"context_line":"            else: nova_hosts.append(h)"},{"line_number":858,"context_line":""},{"line_number":859,"context_line":"        failed_hosts \u003d []"},{"line_number":860,"context_line":"        recovered_hosts \u003d []"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_0172b311","line":857,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E701 multiple statements on one line (colon)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":860,"context_line":"        recovered_hosts \u003d []"},{"line_number":861,"context_line":"        try:"},{"line_number":862,"context_line":"            if ironic_hosts:"},{"line_number":863,"context_line":"                reservable_hosts \u003d [h for h in ironic_hosts if h[\u0027reservable\u0027] is True]"},{"line_number":864,"context_line":"                unreservable_hosts \u003d [h for h in ironic_hosts if h[\u0027reservable\u0027] is False]"},{"line_number":865,"context_line":""},{"line_number":866,"context_line":"                ironic_client \u003d ironic.BlazarIronicClient()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_61629740","line":863,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (87 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":861,"context_line":"        try:"},{"line_number":862,"context_line":"            if ironic_hosts:"},{"line_number":863,"context_line":"                reservable_hosts \u003d [h for h in ironic_hosts if h[\u0027reservable\u0027] is True]"},{"line_number":864,"context_line":"                unreservable_hosts \u003d [h for h in ironic_hosts if h[\u0027reservable\u0027] is False]"},{"line_number":865,"context_line":""},{"line_number":866,"context_line":"                ironic_client \u003d ironic.BlazarIronicClient()"},{"line_number":867,"context_line":"                nodes \u003d ironic_client.ironic.node.list()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_4165db44","line":864,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (90 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":867,"context_line":"                nodes \u003d ironic_client.ironic.node.list()"},{"line_number":868,"context_line":"                failed_bm_ids \u003d [n.uuid for n in nodes"},{"line_number":869,"context_line":"                                 if n.maintenance or n.power_state in [\u0027error\u0027]"},{"line_number":870,"context_line":"                                 or n.provision_state not in [\u0027active\u0027, \u0027available\u0027]]"},{"line_number":871,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027hypervisor_hostname\u0027] in failed_bm_ids])"},{"line_number":872,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027hypervisor_hostname\u0027] not in failed_bm_ids])"},{"line_number":873,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_a15c9f7e","line":870,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (85 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":868,"context_line":"                failed_bm_ids \u003d [n.uuid for n in nodes"},{"line_number":869,"context_line":"                                 if n.maintenance or n.power_state in [\u0027error\u0027]"},{"line_number":870,"context_line":"                                 or n.provision_state not in [\u0027active\u0027, \u0027available\u0027]]"},{"line_number":871,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027hypervisor_hostname\u0027] in failed_bm_ids])"},{"line_number":872,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027hypervisor_hostname\u0027] not in failed_bm_ids])"},{"line_number":873,"context_line":""},{"line_number":874,"context_line":"            if nova_hosts:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_815fe370","line":871,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (120 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":869,"context_line":"                                 if n.maintenance or n.power_state in [\u0027error\u0027]"},{"line_number":870,"context_line":"                                 or n.provision_state not in [\u0027active\u0027, \u0027available\u0027]]"},{"line_number":871,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027hypervisor_hostname\u0027] in failed_bm_ids])"},{"line_number":872,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027hypervisor_hostname\u0027] not in failed_bm_ids])"},{"line_number":873,"context_line":""},{"line_number":874,"context_line":"            if nova_hosts:"},{"line_number":875,"context_line":"                reservable_hosts \u003d [h for h in nova_hosts if h[\u0027reservable\u0027] is True]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_e1550752","line":872,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (129 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":872,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027hypervisor_hostname\u0027] not in failed_bm_ids])"},{"line_number":873,"context_line":""},{"line_number":874,"context_line":"            if nova_hosts:"},{"line_number":875,"context_line":"                reservable_hosts \u003d [h for h in nova_hosts if h[\u0027reservable\u0027] is True]"},{"line_number":876,"context_line":"                unreservable_hosts \u003d [h for h in nova_hosts if h[\u0027reservable\u0027] is False]"},{"line_number":877,"context_line":""},{"line_number":878,"context_line":"                hvs \u003d self.nova.hypervisors.list()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_c150cb61","line":875,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (85 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":873,"context_line":""},{"line_number":874,"context_line":"            if nova_hosts:"},{"line_number":875,"context_line":"                reservable_hosts \u003d [h for h in nova_hosts if h[\u0027reservable\u0027] is True]"},{"line_number":876,"context_line":"                unreservable_hosts \u003d [h for h in nova_hosts if h[\u0027reservable\u0027] is False]"},{"line_number":877,"context_line":""},{"line_number":878,"context_line":"                hvs \u003d self.nova.hypervisors.list()"},{"line_number":879,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_21508f5d","line":876,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (88 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":878,"context_line":"                hvs \u003d self.nova.hypervisors.list()"},{"line_number":879,"context_line":""},{"line_number":880,"context_line":"                failed_hv_ids \u003d [str(hv.id) for hv in hvs"},{"line_number":881,"context_line":"                                 if hv.state \u003d\u003d \u0027down\u0027 or hv.status \u003d\u003d \u0027disabled\u0027]"},{"line_number":882,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027id\u0027] in failed_hv_ids])"},{"line_number":883,"context_line":""},{"line_number":884,"context_line":"                active_hv_ids \u003d [str(hv.id) for hv in hvs"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_014bd3af","line":881,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":879,"context_line":""},{"line_number":880,"context_line":"                failed_hv_ids \u003d [str(hv.id) for hv in hvs"},{"line_number":881,"context_line":"                                 if hv.state \u003d\u003d \u0027down\u0027 or hv.status \u003d\u003d \u0027disabled\u0027]"},{"line_number":882,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027id\u0027] in failed_hv_ids])"},{"line_number":883,"context_line":""},{"line_number":884,"context_line":"                active_hv_ids \u003d [str(hv.id) for hv in hvs"},{"line_number":885,"context_line":"                                 if hv.state \u003d\u003d \u0027up\u0027 and hv.status \u003d\u003d \u0027enabled\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_61c73714","line":882,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (103 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":882,"context_line":"                failed_hosts.extend([host for host in reservable_hosts if host[\u0027id\u0027] in failed_hv_ids])"},{"line_number":883,"context_line":""},{"line_number":884,"context_line":"                active_hv_ids \u003d [str(hv.id) for hv in hvs"},{"line_number":885,"context_line":"                                 if hv.state \u003d\u003d \u0027up\u0027 and hv.status \u003d\u003d \u0027enabled\u0027]"},{"line_number":886,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027id\u0027] in active_hv_ids])"},{"line_number":887,"context_line":""},{"line_number":888,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_41cafb19","line":885,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":883,"context_line":""},{"line_number":884,"context_line":"                active_hv_ids \u003d [str(hv.id) for hv in hvs"},{"line_number":885,"context_line":"                                 if hv.state \u003d\u003d \u0027up\u0027 and hv.status \u003d\u003d \u0027enabled\u0027]"},{"line_number":886,"context_line":"                recovered_hosts.extend([host for host in unreservable_hosts if host[\u0027id\u0027] in active_hv_ids])"},{"line_number":887,"context_line":""},{"line_number":888,"context_line":"        except Exception as e:"},{"line_number":889,"context_line":"            LOG.exception(\u0027Skipping health check. %s\u0027, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_a1d13fd0","line":886,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (108 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"}],"blazar/utils/openstack/ironic.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from keystoneauth1 import identity"},{"line_number":17,"context_line":"from keystoneauth1 import session"},{"line_number":18,"context_line":"from keystoneauth1 import token_endpoint"},{"line_number":19,"context_line":"from ironicclient import client as ironic_client"},{"line_number":20,"context_line":"from oslo_config import cfg"},{"line_number":21,"context_line":"from oslo_log import log as logging"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_6179f7fa","line":18,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: F401 \u0027keystoneauth1.token_endpoint\u0027 imported but unused","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from keystoneauth1 import identity"},{"line_number":17,"context_line":"from keystoneauth1 import session"},{"line_number":18,"context_line":"from keystoneauth1 import token_endpoint"},{"line_number":19,"context_line":"from ironicclient import client as ironic_client"},{"line_number":20,"context_line":"from oslo_config import cfg"},{"line_number":21,"context_line":"from oslo_log import log as logging"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_417cbbea","line":19,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: H306: imports not in alphabetical order (keystoneauth1.token_endpoint, ironicclient.client)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":31,"context_line":"CONF.register_opts(ironic_opts, group\u003d\u0027ironic\u0027)"},{"line_number":32,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class BlazarIronicClient(object):"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def __init__(self):"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_a183ffcb","line":34,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        sess \u003d session.Session(auth\u003dauth)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        self.ironic \u003d ironic_client.Client("},{"line_number":53,"context_line":"            CONF.ironic.ironic_api_version, session\u003dsess, region_name\u003dCONF.os_region_name)"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_8186c3da","line":53,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: E501 line too long (90 \u003e 79 characters)","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c5147454b96c037463234520f441d385be53ebc3","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        self.ironic \u003d ironic_client.Client("},{"line_number":53,"context_line":"            CONF.ironic.ironic_api_version, session\u003dsess, region_name\u003dCONF.os_region_name)"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_e16ce737","line":54,"updated":"2020-04-16 17:12:25.000000000","message":"pep8: W391 blank line at end of file","commit_id":"1506ffc32d89c76bf5a3a2b143d83a11e80613d7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"0f4df8dcd06ff793f1882b3e356ab0df8b0291f3","unresolved":false,"context_lines":[{"line_number":54,"context_line":"            session\u003dsess,"},{"line_number":55,"context_line":"            region_name\u003dCONF.os_region_name"},{"line_number":56,"context_line":"            )"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4c43b2_f24f9331","line":57,"updated":"2020-04-16 19:52:29.000000000","message":"pep8: W391 blank line at end of file","commit_id":"8ffa352c7de02d26465d05c8a048407e686843ec"}]}
