)]}'
{"ironic_python_agent/extensions/rescue.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"06e571e7908faa510894cc2d8db360556ca9eedc","unresolved":false,"context_lines":[{"line_number":30,"context_line":"             with open(\u0027/mnt/rescue-environment\u0027, \u0027w\u0027) as f:"},{"line_number":31,"context_line":"                 f.write(\u0027PASSWORD\u003d%s\u0027 % encPass)"},{"line_number":32,"context_line":"        except Exception as e:"},{"line_number":33,"context_line":"             return"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        # ToDo"},{"line_number":36,"context_line":"        # - handle configdrive ?"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a57fde8_09ed7d8b","line":33,"updated":"2017-01-12 10:24:19.000000000","message":"We need to do this instead of running \"useradd\" ourselfs because this code is running inside a chroot ?\n\nWe will also need a version of finalize_rescue for TinyIPA and DIB ramdisk which does not use chroot/container to run IPA in.","commit_id":"4fa3463f36d7b6772cfa4b6b38edd94c9511ada5"},{"author":{"_account_id":22931,"name":"Taku Izumi","email":"izumi.taku@jp.fujitsu.com","username":"izumi777"},"change_message_id":"8902c6c8baea47694ed10d7deadb47d3996e3d67","unresolved":false,"context_lines":[{"line_number":30,"context_line":"             with open(\u0027/mnt/rescue-environment\u0027, \u0027w\u0027) as f:"},{"line_number":31,"context_line":"                 f.write(\u0027PASSWORD\u003d%s\u0027 % encPass)"},{"line_number":32,"context_line":"        except Exception as e:"},{"line_number":33,"context_line":"             return"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        # ToDo"},{"line_number":36,"context_line":"        # - handle configdrive ?"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a3c09a3_63fc603f","line":33,"in_reply_to":"9a57fde8_09ed7d8b","updated":"2017-01-12 23:54:25.000000000","message":"I know. We can\u0027t invoke \"useradd\" in finalize_rescue() because this is in chroot jail.\nMy idea is to add systemd unit file to invoke \"useradd\" instead.\nPlease look oem/cloud-config.yml.\n\nI\u0027ll try to implement other versions of finalize_rescue after this implementation is finished.","commit_id":"4fa3463f36d7b6772cfa4b6b38edd94c9511ada5"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"4053c474ad38583c30017a1a4b729180c4b3d680","unresolved":false,"context_lines":[{"line_number":37,"context_line":"            LOG.error(\u0027Failed to create %s file\u0027, envFile)"},{"line_number":38,"context_line":"            return"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"        if not configdrive:"},{"line_number":41,"context_line":"            LOG.error(\u0027No configdrive argument was passed\u0027)"},{"line_number":42,"context_line":"            return"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_6f235706","line":41,"range":{"start_line":40,"start_character":0,"end_line":41,"end_character":59},"updated":"2017-01-19 11:39:28.000000000","message":"If not passing the configdrive argument is considered an error we should make it mandatory and not optional.","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"},{"author":{"_account_id":22931,"name":"Taku Izumi","email":"izumi.taku@jp.fujitsu.com","username":"izumi777"},"change_message_id":"8fa089f728a093938c7d47ec2bbc966b86661bb2","unresolved":false,"context_lines":[{"line_number":37,"context_line":"            LOG.error(\u0027Failed to create %s file\u0027, envFile)"},{"line_number":38,"context_line":"            return"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"        if not configdrive:"},{"line_number":41,"context_line":"            LOG.error(\u0027No configdrive argument was passed\u0027)"},{"line_number":42,"context_line":"            return"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_08c5298d","line":41,"range":{"start_line":40,"start_character":0,"end_line":41,"end_character":59},"in_reply_to":"5a3905b3_6f235706","updated":"2017-01-20 10:39:10.000000000","message":"Done","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"4053c474ad38583c30017a1a4b729180c4b3d680","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            decoded \u003d base64.b64decode(configdrive)"},{"line_number":46,"context_line":"            with open(\u0027%s\u0027 % configdriveFile, \u0027w\u0027) as f:"},{"line_number":47,"context_line":"                f.write(decoded)"},{"line_number":48,"context_line":"            utils.execute(\u0027/bin/gunzip\u0027, configdriveFile)"},{"line_number":49,"context_line":"        except Exception:"},{"line_number":50,"context_line":"            LOG.error(\u0027Failed to create %s file\u0027, configdriveFile)"},{"line_number":51,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_f51c7a79","line":48,"range":{"start_line":48,"start_character":12,"end_line":48,"end_character":57},"updated":"2017-01-19 11:39:28.000000000","message":"python has a gzip library you can use there to not have to depend on another application.","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"},{"author":{"_account_id":22931,"name":"Taku Izumi","email":"izumi.taku@jp.fujitsu.com","username":"izumi777"},"change_message_id":"8fa089f728a093938c7d47ec2bbc966b86661bb2","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            decoded \u003d base64.b64decode(configdrive)"},{"line_number":46,"context_line":"            with open(\u0027%s\u0027 % configdriveFile, \u0027w\u0027) as f:"},{"line_number":47,"context_line":"                f.write(decoded)"},{"line_number":48,"context_line":"            utils.execute(\u0027/bin/gunzip\u0027, configdriveFile)"},{"line_number":49,"context_line":"        except Exception:"},{"line_number":50,"context_line":"            LOG.error(\u0027Failed to create %s file\u0027, configdriveFile)"},{"line_number":51,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_883759af","line":48,"range":{"start_line":48,"start_character":12,"end_line":48,"end_character":57},"in_reply_to":"5a3905b3_f51c7a79","updated":"2017-01-20 10:39:10.000000000","message":"Done","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"4053c474ad38583c30017a1a4b729180c4b3d680","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"5a3905b3_906264d7","line":52,"updated":"2017-01-19 11:39:28.000000000","message":"So, there two IPA images supported upstream: The coreos one and the tinyIPA.\n\nThis works for the CoreOS one I image but, TinyIPA doesn\u0027t have systemd nor runs IPA in a chroot jail. We need to get this code to work on both situations.","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"},{"author":{"_account_id":22931,"name":"Taku Izumi","email":"izumi.taku@jp.fujitsu.com","username":"izumi777"},"change_message_id":"8fa089f728a093938c7d47ec2bbc966b86661bb2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"5a3905b3_c841610d","line":52,"in_reply_to":"5a3905b3_906264d7","updated":"2017-01-20 10:39:10.000000000","message":"I add the implementation for tiny IPA.","commit_id":"8146d6ca64975de3b655b4298ea7bb39604da651"}]}
