)]}'
{"specs/approved/nova-compatible-serial-console.rst":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"7952f59765ae3a395283cf9b1cbc7e33b82bdf12","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Proposed change"},{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Adds Nova compatible serial console support. In detail, we\u0027re planning to add"},{"line_number":28,"context_line":"below:"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Adds new console drivers using socat. Currently, we\u0027re planing to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_9becfe90","line":27,"updated":"2016-05-24 17:30:09.000000000","message":"This paragraph seems redundant, given the one below.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Proposed change"},{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Adds Nova compatible serial console support. In detail, we\u0027re planning to add"},{"line_number":28,"context_line":"below:"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Adds new console drivers using socat. Currently, we\u0027re planing to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_af9a526c","line":27,"in_reply_to":"bab6814e_9becfe90","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f4ca3d2a632362a2b57c6bcae5ac8f169017488","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"* ironic.drivers.modules.ipmitool.IPMISocatConsole"},{"line_number":34,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":35,"context_line":"* ironic.drivers.modules.ssh.SocatConsole"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":38,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_53f1e0cc","line":35,"range":{"start_line":35,"start_character":2,"end_line":35,"end_character":41},"updated":"2016-05-24 16:33:34.000000000","message":"(just a note)\n\nThe ssh driver will be soon out due the 3rd party CI work, so I may not worry about it much when adding new features.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"* ironic.drivers.modules.ipmitool.IPMISocatConsole"},{"line_number":34,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":35,"context_line":"* ironic.drivers.modules.ssh.SocatConsole"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":38,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_a5e2712d","line":35,"range":{"start_line":35,"start_character":2,"end_line":35,"end_character":41},"in_reply_to":"bab6814e_53f1e0cc","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"7952f59765ae3a395283cf9b1cbc7e33b82bdf12","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_1b900eec","line":51,"updated":"2016-05-24 17:30:09.000000000","message":"Typo: \"dictionary\"","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_6546c922","line":51,"in_reply_to":"bab6814e_1b900eec","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":40,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":41,"context_line":"structure after this spec will have been approved."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":44,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"},{"line_number":47,"context_line":"    a command like ipmitool via socat."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_b2baca6c","line":52,"range":{"start_line":43,"start_character":0,"end_line":52,"end_character":35},"updated":"2016-05-24 15:53:21.000000000","message":"What worries me the most about this spec is that there is no details about *how exactly* starting/stopping console will be implemented. Just subprocess.Popen?\n\nOther questions: will it e.g. reconnect in case of temporary network problems? Will we be able to signal a user the the console goes down for this or any other reason? How will take over work? Would be nice to lay out all these cases.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":40,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":41,"context_line":"structure after this spec will have been approved."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":44,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"},{"line_number":47,"context_line":"    a command like ipmitool via socat."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_6846a022","line":52,"range":{"start_line":43,"start_character":0,"end_line":52,"end_character":35},"in_reply_to":"bab6814e_05726f7c","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f4ca3d2a632362a2b57c6bcae5ac8f169017488","unresolved":false,"context_lines":[{"line_number":40,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":41,"context_line":"structure after this spec will have been approved."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":44,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"},{"line_number":47,"context_line":"    a command like ipmitool via socat."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_05726f7c","line":52,"range":{"start_line":43,"start_character":0,"end_line":52,"end_character":35},"in_reply_to":"bab6814e_b2baca6c","updated":"2016-05-24 16:33:34.000000000","message":"+1\n\nSome more details about how it will actually works instead of how the code will be organized in the code base would be appreciated.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":40,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":41,"context_line":"structure after this spec will have been approved."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":44,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"},{"line_number":47,"context_line":"    a command like ipmitool via socat."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionaly contains"},{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_884b042b","line":52,"range":{"start_line":43,"start_character":0,"end_line":52,"end_character":35},"in_reply_to":"bab6814e_b2baca6c","updated":"2016-05-25 05:19:31.000000000","message":"Just subprocess.Popen? -\u003e Yes. Reason why we use it is same as shellinabox. I\u0027ve added some explanation about it.\n\nwill it e.g. reconnect in case of temporary network problems?Will we be able to signal a user the the console goes down for this or any other reason? -\u003eFor example, in case of using Horizon, \"Closed\" message will be shown. And Socat itself supports session reconnect from client side, when network problem will be resolved, users can try to reconnect.\n\nHow will take over work? -\u003e We\u0027re planning to stop session in case of ironic-conductor is stopping due to security reason, and when ironic-conductor boots, enabled console session will be started. In case of takeover, console session will be stopped for nodes which will be leave from conductor, then if console mode is on, console session will be started again. We shouldn\u0027t do takeover when ironic-conductor reboots. e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use os.execv()","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":56,"context_line":"baremetal node, but we assume that there is no such requirement."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"},{"line_number":59,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_cd1ff359","line":56,"range":{"start_line":55,"start_character":0,"end_line":56,"end_character":64},"updated":"2016-05-24 15:53:21.000000000","message":"This sounds pretty inflexible, but I guess we can live with it","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":56,"context_line":"baremetal node, but we assume that there is no such requirement."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"},{"line_number":59,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_a3a3899d","line":56,"range":{"start_line":55,"start_character":0,"end_line":56,"end_character":64},"in_reply_to":"bab6814e_c56d07ce","updated":"2016-05-25 05:19:31.000000000","message":"Exactly. We think so, too, we guess there is no case people want to use nova compatible console for some nodes and don\u0027t want to use it for other nodes. \n\nAnd in the first place, IPMI sol session is mutual exclusive, so we can not use shellinabox and socat at the same time.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f4ca3d2a632362a2b57c6bcae5ac8f169017488","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    the serial console information."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":55,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":56,"context_line":"baremetal node, but we assume that there is no such requirement."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"},{"line_number":59,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_c56d07ce","line":56,"range":{"start_line":55,"start_character":0,"end_line":56,"end_character":64},"in_reply_to":"bab6814e_cd1ff359","updated":"2016-05-24 16:33:34.000000000","message":"Actually I find it better to be mutual exclusive. The fact that shellinabox do not work with Nova it would be odd to have some nodes able to get a console and others not.\n\nIt may be inflexible, but makes it consistent which I like.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7419,"name":"Imre Farkas","email":"farkas.imre@gmail.com","username":"ifarkas"},"change_message_id":"12bdb2878a5d2256fdc20ec1be38329ca7f29030","unresolved":false,"context_lines":[{"line_number":59,"context_line":"------------"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"About supporting VNC console feature, it is out of scope in Newton cycle."},{"line_number":62,"context_line":"It will be implemented in Ocata releace cycle or more later. But we need to"},{"line_number":63,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":64,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"},{"line_number":65,"context_line":"adding all kinds of console objects like below::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_985d27ef","line":62,"range":{"start_line":62,"start_character":32,"end_line":62,"end_character":39},"updated":"2016-05-24 16:11:30.000000000","message":"release","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":59,"context_line":"------------"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"About supporting VNC console feature, it is out of scope in Newton cycle."},{"line_number":62,"context_line":"It will be implemented in Ocata releace cycle or more later. But we need to"},{"line_number":63,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":64,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"},{"line_number":65,"context_line":"adding all kinds of console objects like below::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_03b9b5cb","line":62,"range":{"start_line":62,"start_character":32,"end_line":62,"end_character":39},"in_reply_to":"bab6814e_985d27ef","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7419,"name":"Imre Farkas","email":"farkas.imre@gmail.com","username":"ifarkas"},"change_message_id":"12bdb2878a5d2256fdc20ec1be38329ca7f29030","unresolved":false,"context_lines":[{"line_number":71,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."},{"line_number":74,"context_line":"It will be implemented in Ocata releace cycle or more later."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":77,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_b85c6bee","line":74,"range":{"start_line":74,"start_character":32,"end_line":74,"end_character":39},"updated":"2016-05-24 16:11:30.000000000","message":"same here","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":71,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."},{"line_number":74,"context_line":"It will be implemented in Ocata releace cycle or more later."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":77,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_c3ededb8","line":74,"range":{"start_line":74,"start_character":32,"end_line":74,"end_character":39},"in_reply_to":"bab6814e_b85c6bee","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":95,"context_line":"REST API impact"},{"line_number":96,"context_line":"---------------"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"None"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"The response body of \"GET /v1/nodes/\u003cUUID\u003e/states/console\" contains a"},{"line_number":101,"context_line":"JSON object like below::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_921186b2","line":98,"updated":"2016-05-24 15:53:21.000000000","message":"it\u0027s not None, you mention something right below :)","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":95,"context_line":"REST API impact"},{"line_number":96,"context_line":"---------------"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"None"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"The response body of \"GET /v1/nodes/\u003cUUID\u003e/states/console\" contains a"},{"line_number":101,"context_line":"JSON object like below::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_232b19ed","line":98,"in_reply_to":"bab6814e_921186b2","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"In case of using socat instead of shellinabox,"},{"line_number":112,"context_line":"\u003ctype\u003e will be \"socat\" and \u003curl\u003e is like \"tcp://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv4,"},{"line_number":113,"context_line":"\"tcp6://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv6 and \"ssl://\u003chost\u003e:\u003cport\u003e\" for SSL"},{"line_number":114,"context_line":"connection."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_72cb421f","line":113,"range":{"start_line":113,"start_character":0,"end_line":113,"end_character":23},"updated":"2016-05-24 15:53:21.000000000","message":"I don\u0027t think we need this distinction: it\u0027s pretty clear from an IP address. also we may end up binding to both IPv4 and IPv6 and let the caller choose.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"In case of using socat instead of shellinabox,"},{"line_number":112,"context_line":"\u003ctype\u003e will be \"socat\" and \u003curl\u003e is like \"tcp://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv4,"},{"line_number":113,"context_line":"\"tcp6://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv6 and \"ssl://\u003chost\u003e:\u003cport\u003e\" for SSL"},{"line_number":114,"context_line":"connection."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_833ac532","line":113,"range":{"start_line":113,"start_character":0,"end_line":113,"end_character":23},"in_reply_to":"bab6814e_72cb421f","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7419,"name":"Imre Farkas","email":"farkas.imre@gmail.com","username":"ifarkas"},"change_message_id":"12bdb2878a5d2256fdc20ec1be38329ca7f29030","unresolved":false,"context_lines":[{"line_number":113,"context_line":"\"tcp6://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv6 and \"ssl://\u003chost\u003e:\u003cport\u003e\" for SSL"},{"line_number":114,"context_line":"connection."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_f8f43388","line":116,"range":{"start_line":116,"start_character":0,"end_line":116,"end_character":64},"updated":"2016-05-24 16:11:30.000000000","message":"why do we want to support it if the title of the spec is nova-compatible serial console?","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":113,"context_line":"\"tcp6://\u003chost\u003e:\u003cport\u003e\" for TCP/IPv6 and \"ssl://\u003chost\u003e:\u003cport\u003e\" for SSL"},{"line_number":114,"context_line":"connection."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_23ee798b","line":116,"range":{"start_line":116,"start_character":0,"end_line":116,"end_character":64},"in_reply_to":"bab6814e_f8f43388","updated":"2016-05-25 05:19:31.000000000","message":"You\u0027re right. I will remove here.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":163,"context_line":"The following configuration parameter are added into [console] section"},{"line_number":164,"context_line":"in ironic.conf:"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"* ``terminal_cert_file`` - the terminal SSL cert(PEM) file for socat"},{"line_number":167,"context_line":"  serial console access (string value)."},{"line_number":168,"context_line":"* ``terminal_ca_file`` - The CA file of cert_file, for socat serial"},{"line_number":169,"context_line":"  console access (string value)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection, so"},{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_8d732bb4","line":169,"range":{"start_line":166,"start_character":0,"end_line":169,"end_character":31},"updated":"2016-05-24 15:53:21.000000000","message":"both are optional, right?","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":163,"context_line":"The following configuration parameter are added into [console] section"},{"line_number":164,"context_line":"in ironic.conf:"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"* ``terminal_cert_file`` - the terminal SSL cert(PEM) file for socat"},{"line_number":167,"context_line":"  serial console access (string value)."},{"line_number":168,"context_line":"* ``terminal_ca_file`` - The CA file of cert_file, for socat serial"},{"line_number":169,"context_line":"  console access (string value)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"NOTE: nova-serialproxy currently doesn\u0027t support SSL connection, so"},{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_dae94bb9","line":169,"range":{"start_line":166,"start_character":0,"end_line":169,"end_character":31},"in_reply_to":"bab6814e_8d732bb4","updated":"2016-05-25 05:19:31.000000000","message":"These options around SSL are not necessary when we don\u0027t support SSL, so that I will remove here.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"},{"line_number":173,"context_line":"via nova-serialproxy."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":176,"context_line":"``terminal`` parameter like below:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"* ``terminal`` \u003d socat"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":181,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_2db67f3d","line":178,"range":{"start_line":175,"start_character":0,"end_line":178,"end_character":22},"updated":"2016-05-24 15:53:21.000000000","message":"what\u0027s the default value for this option?","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"},{"line_number":173,"context_line":"via nova-serialproxy."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":176,"context_line":"``terminal`` parameter like below:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"* ``terminal`` \u003d socat"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":181,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_34018d6b","line":178,"range":{"start_line":175,"start_character":0,"end_line":178,"end_character":22},"in_reply_to":"bab6814e_13b0f88a","updated":"2016-05-25 05:19:31.000000000","message":"Yes, shellinaboxd is default. I will add about it.","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f4ca3d2a632362a2b57c6bcae5ac8f169017488","unresolved":false,"context_lines":[{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"},{"line_number":173,"context_line":"via nova-serialproxy."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":176,"context_line":"``terminal`` parameter like below:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"* ``terminal`` \u003d socat"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":181,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_13b0f88a","line":178,"range":{"start_line":175,"start_character":0,"end_line":178,"end_character":22},"in_reply_to":"bab6814e_2db67f3d","updated":"2016-05-24 16:33:34.000000000","message":"++ for being specific in the spec.\n\nI believe the answer is \"shellinaboxd\" which is the current default.\n\nhttps://github.com/openstack/ironic/blob/master/etc/ironic/ironic.conf.sample#L684","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":172,"context_line":"you should not specify parameters above to use ironic serial console"},{"line_number":173,"context_line":"via nova-serialproxy."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":176,"context_line":"``terminal`` parameter like below:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"* ``terminal`` \u003d socat"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":181,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_1404497c","line":178,"range":{"start_line":175,"start_character":0,"end_line":178,"end_character":22},"in_reply_to":"bab6814e_2db67f3d","updated":"2016-05-25 05:19:31.000000000","message":"Done","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":222,"context_line":"Testing"},{"line_number":223,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Unit Testing will be added."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":228,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_4de78340","line":225,"updated":"2016-05-24 15:53:21.000000000","message":"I think we should test it in the devstack gate too, wdyt?","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":222,"context_line":"Testing"},{"line_number":223,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Unit Testing will be added."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":228,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_34386d3d","line":225,"in_reply_to":"bab6814e_4de78340","updated":"2016-05-25 05:19:31.000000000","message":"Currently, vBMC doesn\u0027t support sol...","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e381961160f633f735ecc8581cd7d1b4a2809046","unresolved":false,"context_lines":[{"line_number":227,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":228,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"None"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"Documentation Impact"},{"line_number":233,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_52e55ea6","line":230,"range":{"start_line":230,"start_character":0,"end_line":230,"end_character":4},"updated":"2016-05-24 15:53:21.000000000","message":"I wonder if we break people who assume that console URL can always be opened by a browser (i.e. is an HTTP link)","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"48835f2b0e0bb316ce4b102185f6cc414d397160","unresolved":false,"context_lines":[{"line_number":227,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":228,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"None"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"Documentation Impact"},{"line_number":233,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_1ac5933c","line":230,"range":{"start_line":230,"start_character":0,"end_line":230,"end_character":4},"in_reply_to":"bab6814e_52e55ea6","updated":"2016-05-25 05:19:31.000000000","message":"Existing shellinabox will be usable as in the same way as now, so that I think there is no backwards compatibility issue. Of course, we will fix some documents :)","commit_id":"3b140c48efec3bfc9f71815efbec71d4efc7c199"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Nova-compatible Serial Console"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"FYI: [RFE] Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_cf027d6f","line":11,"updated":"2016-05-27 06:09:25.000000000","message":"nit: s/ \u0027FYI: [RFE] \u0027 / /","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"842e9b57528a6406031859aa2280f5771aa99749","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Nova-compatible Serial Console"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"FYI: [RFE] Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_818ac6bd","line":11,"in_reply_to":"9abb7d3a_cf027d6f","updated":"2016-05-30 05:37:05.000000000","message":"Done","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":34,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_cf10bdab","line":34,"updated":"2016-05-27 06:09:25.000000000","message":"nit: s/ \"***ShellinaboxConsole\"/  \"**ShellinaboxConsole**\"","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"00336940f79515228e57d15c602bdaedf57d7749","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":34,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_392b7832","line":34,"in_reply_to":"9abb7d3a_cf10bdab","updated":"2016-05-27 15:57:02.000000000","message":"\u0027*\u0027 is a wildcard, so it means IPMIShellinaboxConsole, NativeIPMIShellinaboxConsole and other console drivers using shellinabox.","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":40,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_72589657","line":39,"updated":"2016-05-27 06:09:25.000000000","message":"nit: formatting looks incorrect.","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"00336940f79515228e57d15c602bdaedf57d7749","unresolved":false,"context_lines":[{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"And, we need some methods like ``*_shellinabox_console*()`` in"},{"line_number":40,"context_line":"ironic.drivers.modules.console_utils:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"  - ``start_socat_console(node_uuid, port, console_cmd)`` - starts"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_590c7c94","line":39,"in_reply_to":"9abb7d3a_72589657","updated":"2016-05-27 15:57:02.000000000","message":"nit: wildcards","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":48,"context_line":"    the serial console information."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Please see:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_f211265f","line":47,"updated":"2016-05-27 06:09:25.000000000","message":"What is port argument here?\nHow this would be different from ConsoleInterface::get_console()?","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"00336940f79515228e57d15c602bdaedf57d7749","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":48,"context_line":"    the serial console information."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Please see:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_b9d8081f","line":47,"in_reply_to":"9abb7d3a_f211265f","updated":"2016-05-27 15:57:02.000000000","message":"Methods for shellinabox have the same interfaces:\n\n * https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/console_utils.py#L172\n * https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/console_utils.py#L265\n * https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/console_utils.py#L157","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":72,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":73,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":74,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":75,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Alternatives"},{"line_number":78,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_55e45c3a","line":75,"range":{"start_line":75,"start_character":11,"end_line":75,"end_character":67},"updated":"2016-05-27 06:09:25.000000000","message":"I think this should be documented as part of feature documentation.","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"842e9b57528a6406031859aa2280f5771aa99749","unresolved":false,"context_lines":[{"line_number":72,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":73,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":74,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":75,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Alternatives"},{"line_number":78,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_7c3b05d2","line":75,"range":{"start_line":75,"start_character":11,"end_line":75,"end_character":67},"in_reply_to":"9abb7d3a_55e45c3a","updated":"2016-05-30 05:37:05.000000000","message":"Implementation which we\u0027re planning to is switching shellinabox and socat by setting .conf file like below, so I think we don\u0027t need to note about what you pointed out, wdyt?\n\n [console]\n terminal \u003d socat","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f7b68206d413511c3145f1c05baa4b0509cc7066","unresolved":false,"context_lines":[{"line_number":206,"context_line":"Work Items"},{"line_number":207,"context_line":"----------"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":210,"context_line":"  ``base.ManagementInterface``."},{"line_number":211,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":212,"context_line":"  ``get_console``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_d5804c49","line":209,"updated":"2016-05-27 06:09:25.000000000","message":"nit: formatting","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"00336940f79515228e57d15c602bdaedf57d7749","unresolved":false,"context_lines":[{"line_number":206,"context_line":"Work Items"},{"line_number":207,"context_line":"----------"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":210,"context_line":"  ``base.ManagementInterface``."},{"line_number":211,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":212,"context_line":"  ``get_console``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_993f0425","line":209,"in_reply_to":"9abb7d3a_d5804c49","updated":"2016-05-27 15:57:02.000000000","message":"nit: a wildcard","commit_id":"a7590596971e334871eb0fb699696cf8bd2230c3"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":34,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_97d2ba5a","line":34,"range":{"start_line":34,"start_character":40,"end_line":34,"end_character":43},"updated":"2016-05-31 14:19:37.000000000","message":"Does it have some special meaning? :)","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* ironic.drivers.modules.ipminative.NativeIPMISocatConsole"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also implements ``start_console()``, ``stop_console()`` and ``get_console()``"},{"line_number":34,"context_line":"method for each modules above same as ``***ShellinaboxConsole``."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"About ``Driver composition reform`` [#]_, we are planning to fix driver"},{"line_number":37,"context_line":"structure after this spec will have been approved."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_6ba2cffe","line":34,"range":{"start_line":34,"start_character":40,"end_line":34,"end_character":43},"in_reply_to":"9abb7d3a_97d2ba5a","updated":"2016-05-31 15:29:45.000000000","message":"\u0027*\u0027 is a wildcard, so it means IPMIShellinaboxConsole, NativeIPMIShellinaboxConsole and other console drivers using shellinabox.\nBut... it\u0027s the 2nd time for the question. It looks good to replace it with them.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":48,"context_line":"    the serial console information."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Behavior on start/stop"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_f7718677","line":47,"range":{"start_line":47,"start_character":6,"end_line":47,"end_character":27},"updated":"2016-05-31 14:19:37.000000000","message":"get_socat_console_info then? shellinabox implementation only returns url","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"ee79886c81e7c7d75f20ff1e4014e5c07275395a","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":48,"context_line":"    the serial console information."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Behavior on start/stop"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_3614909e","line":47,"range":{"start_line":47,"start_character":6,"end_line":47,"end_character":27},"in_reply_to":"9abb7d3a_6be48fe0","updated":"2016-06-01 04:56:01.000000000","message":"This naming rule is same as get_shellinabox_console_url. https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/console_utils.py#L157","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"  - ``stop_socat_console(node_uuid)`` - stops a socat process."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":48,"context_line":"    the serial console information."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Behavior on start/stop"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_6be48fe0","line":47,"range":{"start_line":47,"start_character":6,"end_line":47,"end_character":27},"in_reply_to":"9abb7d3a_f7718677","updated":"2016-05-31 15:29:45.000000000","message":"Right. get_socat_console_url() will return an url.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  ironic-conductor boots, enabled console session will be started."},{"line_number":59,"context_line":"  In case of takeover, console session will be stopped for nodes which will be"},{"line_number":60,"context_line":"  leave from conductor, then if console is enabled, console session will be"},{"line_number":61,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."},{"line_number":62,"context_line":"  e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use"},{"line_number":63,"context_line":"  os.execv()."},{"line_number":64,"context_line":"* Start/stop console will be implemented with subprocess.Popen."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_97063a84","line":61,"range":{"start_line":61,"start_character":17,"end_line":61,"end_character":41},"updated":"2016-05-31 14:19:37.000000000","message":"You mean we shouldn\u0027t stop/start console when ironic-conductor reboots? Is it so bad/slow?","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  ironic-conductor boots, enabled console session will be started."},{"line_number":59,"context_line":"  In case of takeover, console session will be stopped for nodes which will be"},{"line_number":60,"context_line":"  leave from conductor, then if console is enabled, console session will be"},{"line_number":61,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."},{"line_number":62,"context_line":"  e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use"},{"line_number":63,"context_line":"  os.execv()."},{"line_number":64,"context_line":"* Start/stop console will be implemented with subprocess.Popen."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_ba07dec8","line":61,"range":{"start_line":61,"start_character":17,"end_line":61,"end_character":41},"in_reply_to":"9abb7d3a_97063a84","updated":"2016-05-31 15:29:45.000000000","message":"Yes. IMO, ironic-conductors don\u0027t need to take over when one reboots, so ironic-conductor needs a capability to reboot without takeover. But it\u0027s out of this spec.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":65,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":66,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":67,"context_line":"* About recommection, e.g. in case of temporary network problem, for example,"},{"line_number":68,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":69,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":70,"context_line":"  will be resolved, users can try to reconnect."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_37f82e49","line":67,"range":{"start_line":67,"start_character":8,"end_line":67,"end_character":20},"updated":"2016-05-31 14:19:37.000000000","message":"reconnection","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"ee79886c81e7c7d75f20ff1e4014e5c07275395a","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":65,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":66,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":67,"context_line":"* About recommection, e.g. in case of temporary network problem, for example,"},{"line_number":68,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":69,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":70,"context_line":"  will be resolved, users can try to reconnect."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_d61b84c8","line":67,"range":{"start_line":67,"start_character":8,"end_line":67,"end_character":20},"in_reply_to":"9abb7d3a_37f82e49","updated":"2016-06-01 04:56:01.000000000","message":"Done","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":76,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":77,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":78,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":79,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":80,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_da074716","line":79,"updated":"2016-05-31 14:19:37.000000000","message":"Not sure I get it, first you say that \"So that we won\u0027t be able to do use a different serial console driver for each baremetal node\", and after that \"people want to use Nova compatible authorized serial console for some nodes and don\u0027t want to use it for other nodes\". So what are you going to do? :)","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":76,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":77,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":78,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":79,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":80,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_ba14fe9f","line":79,"in_reply_to":"9abb7d3a_da074716","updated":"2016-05-31 15:29:45.000000000","message":"such requirement \u003d \"people want to use Nova compatible authorized serial console for some nodes and don\u0027t want to use it for other nodes.\"","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":82,"context_line":"Alternatives"},{"line_number":83,"context_line":"------------"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"About supporting VNC console feature, it is out of scope in Newton cycle."},{"line_number":86,"context_line":"It will be implemented in Ocata release cycle or more later. But we need to"},{"line_number":87,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":88,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_baa883dc","line":85,"updated":"2016-05-31 14:19:37.000000000","message":"What if we will be able to do both this cycle? I\u0027d remove this sentence.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":82,"context_line":"Alternatives"},{"line_number":83,"context_line":"------------"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"About supporting VNC console feature, it is out of scope in Newton cycle."},{"line_number":86,"context_line":"It will be implemented in Ocata release cycle or more later. But we need to"},{"line_number":87,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":88,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_5af87249","line":85,"in_reply_to":"9abb7d3a_baa883dc","updated":"2016-05-31 15:29:45.000000000","message":"+1","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"ee79886c81e7c7d75f20ff1e4014e5c07275395a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"Alternatives"},{"line_number":83,"context_line":"------------"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"About supporting VNC console feature, it is out of scope in Newton cycle."},{"line_number":86,"context_line":"It will be implemented in Ocata release cycle or more later. But we need to"},{"line_number":87,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":88,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_875d4849","line":85,"in_reply_to":"9abb7d3a_baa883dc","updated":"2016-06-01 04:56:01.000000000","message":"I wrote about it because supporting VNC is out of scope in this spec. I will fix it.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":92,"context_line":"     def __init__(self):"},{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_c5976c38","line":93,"range":{"start_line":93,"start_character":25,"end_line":93,"end_character":54},"updated":"2016-05-31 14:19:37.000000000","message":"So, you plan to do it this way for serial console? It should be added to work items then. And I don\u0027t know why you prefer config option to a \u0027console_interface\u0027 field. IIUC the proposed way with config option is neither current approach (different driver if console interface is different), nor newly proposed one with driver composition. Why not add console_interface field to each node, and initialize console depending on its value?\n\nOh, I see Lucas\u0027 comment on PS1, but then, we\u0027ll still have to change it after driver composition?","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"7072ba08d763387186b00855ca573d7e7f6f6dc7","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":92,"context_line":"     def __init__(self):"},{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_42f6aef9","line":93,"range":{"start_line":93,"start_character":25,"end_line":93,"end_character":54},"in_reply_to":"9abb7d3a_90e47be1","updated":"2016-06-01 04:49:39.000000000","message":"s/but many developers/but IF many developers/","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"ee79886c81e7c7d75f20ff1e4014e5c07275395a","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":92,"context_line":"     def __init__(self):"},{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_e2bc0208","line":93,"range":{"start_line":93,"start_character":25,"end_line":93,"end_character":54},"in_reply_to":"9abb7d3a_c5976c38","updated":"2016-06-01 04:56:01.000000000","message":"As Akira said, we won\u0027t to have 2 values for shellinabox and socat, but just have 1 value for serial console because as Lucas said, shellinabox and socat are mutual exclusive, and also, there seem no requirements that people want to use different serial console driver(shellinabox/socat) for each node.\n\nstill have to change it after driver composition? -\u003e Yes. we need to do it. Because we cannot wait for that driver composition work will have been finished completely. But changes may little bit and we\u0027ll be able to do it soon.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":92,"context_line":"     def __init__(self):"},{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_90e47be1","line":93,"range":{"start_line":93,"start_character":25,"end_line":93,"end_character":54},"in_reply_to":"9abb7d3a_c5976c38","updated":"2016-05-31 15:29:45.000000000","message":"We don\u0027t want to double the number of Ironic drivers, but many developers like to do so, it\u0027s ok to implement new ones.\n\nWhen driver composition can be used, we will require no change to use the new console drivers.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."},{"line_number":97,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_ba5b63f5","line":96,"updated":"2016-05-31 14:19:37.000000000","message":"ditto, it\u0027s not discussing alternatives, why mention it?","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"ee79886c81e7c7d75f20ff1e4014e5c07275395a","unresolved":false,"context_lines":[{"line_number":93,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":94,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"About supporting logging feature, it is out of scope in Newton cycle."},{"line_number":97,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_c753d037","line":96,"in_reply_to":"9abb7d3a_ba5b63f5","updated":"2016-06-01 04:56:01.000000000","message":"ditto","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"fb2b3bf791eceb28967bd4de8617a5c691e89de7","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Nova driver impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"get_serial_console() will be implemented in ironic driver of Nova. It"},{"line_number":154,"context_line":"returns a dictionary, as same as"},{"line_number":155,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":156,"context_line":"impact for nova, and nova-serialproxy works well with the new one."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_80b8b2c9","line":153,"updated":"2016-05-31 14:19:37.000000000","message":"How will you distinguish a console interface supporting nova serial proxy from the one that does not? Just trying if it fails or not?","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"01b3c01f2450264f5d762d16dc6f9ac1ccf60f57","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Nova driver impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"get_serial_console() will be implemented in ironic driver of Nova. It"},{"line_number":154,"context_line":"returns a dictionary, as same as"},{"line_number":155,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":156,"context_line":"impact for nova, and nova-serialproxy works well with the new one."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_d070c3de","line":153,"in_reply_to":"9abb7d3a_80b8b2c9","updated":"2016-05-31 15:29:45.000000000","message":"Using schema of the url for the console from Ironic API. \u0027http://\u0027 or \u0027https://\u0027 for shellinabox and \u0027tcp://\u0027 for socat.","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":659,"name":"Akira Yoshiyama","email":"akirayoshiyama@gmail.com","username":"yosshy"},"change_message_id":"9b0a04f305605ab2a92dfacaa19c62ea802ece50","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Nova driver impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"get_serial_console() will be implemented in ironic driver of Nova. It"},{"line_number":154,"context_line":"returns a dictionary, as same as"},{"line_number":155,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":156,"context_line":"impact for nova, and nova-serialproxy works well with the new one."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_af48d98b","line":153,"in_reply_to":"9abb7d3a_d070c3de","updated":"2016-06-02 07:56:49.000000000","message":"s/schema/scheme/","commit_id":"6075cb4a19c77ca2d1f107db6255887babd19d18"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Nova-compatible Serial Console"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_43596834","line":11,"updated":"2016-06-08 20:42:47.000000000","message":"Don\u0027t need this line.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Nova-compatible Serial Console"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ddb357e8","line":11,"in_reply_to":"7aa08908_43596834","updated":"2016-06-09 12:02:28.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"},{"line_number":15,"context_line":"compatible serial console capability."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_83707073","line":14,"updated":"2016-06-08 20:42:47.000000000","message":"\u0027driver\u0027 is already used in too many contexts. I think for this, you mean \u0027console interface\u0027 (using ironic terminology anyway, because it is a ironic.drivers.base.ConsoleInterface, right?)","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":11,"context_line":"Nova serial console support for Ironic"},{"line_number":12,"context_line":"https://bugs.launchpad.net/ironic/+bug/1553083"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This implements console drivers using \"socat\" which provides nova-"},{"line_number":15,"context_line":"compatible serial console capability."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_3dd09bf7","line":14,"in_reply_to":"7aa08908_83707073","updated":"2016-06-09 12:02:28.000000000","message":"right, done.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Currently, ironic\u0027s only console driver is based on shellinbox, which provides"},{"line_number":21,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_e3b8542c","line":20,"updated":"2016-06-08 20:42:47.000000000","message":"s/shellinbox/shellinabox/","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Currently, ironic\u0027s only console driver is based on shellinbox, which provides"},{"line_number":21,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_fdfc5374","line":20,"in_reply_to":"7aa08908_e3b8542c","updated":"2016-06-09 12:02:28.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Currently, ironic\u0027s only console driver is based on shellinbox, which provides"},{"line_number":21,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_23ec1c29","line":21,"updated":"2016-06-08 20:42:47.000000000","message":"And why is this a problem? Because the console isn\u0027t available to the end user via nova, right?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Currently, ironic\u0027s only console driver is based on shellinbox, which provides"},{"line_number":21,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_9dca6f19","line":21,"in_reply_to":"7aa08908_23ec1c29","updated":"2016-06-09 12:02:28.000000000","message":"end users(end user means tenant user, right?) can use console in case of KVM or other VM hypervisor.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"39c8ddbd18635a50788f25efbeeee5f05a6c5765","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Currently, ironic\u0027s only console driver is based on shellinbox, which provides"},{"line_number":21,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_a725745d","line":21,"in_reply_to":"7aa08908_9dca6f19","updated":"2016-06-09 20:41:58.000000000","message":"end user \u003d\u003d the person that you want to give console access to :)","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Proposed change"},{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Adds new console drivers using socat. Currently, we\u0027re planing to"},{"line_number":28,"context_line":"implement below:"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* ironic.drivers.modules.ipmitool.IPMISocatConsole"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_23d37c61","line":27,"updated":"2016-06-08 20:42:47.000000000","message":"what is \"socat\"?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Proposed change"},{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Adds new console drivers using socat. Currently, we\u0027re planing to"},{"line_number":28,"context_line":"implement below:"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* ironic.drivers.modules.ipmitool.IPMISocatConsole"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_881ceb6b","line":27,"in_reply_to":"7aa08908_23d37c61","updated":"2016-06-09 12:02:28.000000000","message":"I\u0027ve added reference.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"53d3e914983c8a93aca7d9165743cd4963621db5","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_f3bdd402","line":50,"updated":"2016-06-08 16:19:02.000000000","message":"I think we are missing the implementation detail here and also, remember that specs also targets people that are not developers (they can be an operator only).\n\nIt\u0027s fine to mention that the implementation proposed is going to adhere to the driver\u0027s interface abstraction (start, stop, get...console()). But, we don\u0027t need to mention the name of the helper methods and what they will return, that\u0027s code details. We need to be able to explain what is the idea consistent of and how it will work.\n\nMay I suggest something:\n\n\"\"\"\n\nIn order to address the problem of not having a serial compatible with nova, this spec proposes using a command line tool called `socat \u003chttp://linux.die.net/man/1/socat\u003e`_ in junction with IPMI Serial-Over-Lan capabilities. \n\n``socat`` is a command line that allows establishing two byte streams and transferring data between them. This application allow us to activate the ipmitool Serial-over-LAN process and redirect it through a TCP or SSL connection {{ explain the differences here }} which can then can be consumed by the ``nova-serialproxy`` service.\n\nEach console (ipmitool + socat) will run on it\u0027s own process {{ explain the pos/cons about it }} on the same host that the ironic-conductor which is currently managing that node is running. \n\n{{ maybe here you make a hook with the \"Behavior on start/stop\" section }}\n\n\"\"\"","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"39c8ddbd18635a50788f25efbeeee5f05a6c5765","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_07d8c81c","line":50,"in_reply_to":"7aa08908_486cc336","updated":"2016-06-09 20:41:58.000000000","message":"I think the difficulty is knowing how much detail to provide in a spec. Since this isn\u0027t adding new API or new interfaces, just subclassing the ConsoleInterface, there is no need to mention the existing methods of that class. If there are new methods in the subclass, they don\u0027t need to be mentioned.\n\nFor the above new methods in drivers.modules.console_utils, I suppose it is up to you whether you want to mention that you will be adding methods to that file or not. If you don\u0027t mention it, that would be fine since it seems obvious any methods would fit there. If you did mention eg that you were creating a new .socat_utils file, someone might spot that and ask, why not put it in .console_utils. (Which could also be discussed at the coding level though.) The three methods you mention here don\u0027t really provide much useful information wrt the design of this. (They are there to support the interface methods, right?) If there was something tricky with eg, starting the socat console, then you might want to highlight that in the spec.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_486cc336","line":50,"in_reply_to":"7aa08908_f3bdd402","updated":"2016-06-09 12:02:28.000000000","message":"Thanks a lot for your suggestion! I also think we should discuss concept/idea mainly in spec, not detail implementation. Always detail seems to be wanted by ironic guys in all of ironic specs, so I misunderstood.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_439b2866","line":50,"in_reply_to":"7aa08908_f3bdd402","updated":"2016-06-08 20:42:47.000000000","message":"thx Lucas!","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* When ironic-conductor starts, if console mode of the node is true, start"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_e34854ce","line":51,"updated":"2016-06-08 20:42:47.000000000","message":"start/stop of an ironic-conductor process?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"108d72cfd4cbbea3685c3ab3f5fbe73c039bb14b","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  - ``get_socat_console_url(port)`` - returns a dictionary contains"},{"line_number":49,"context_line":"    the serial console information."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Behavior on start/stop"},{"line_number":52,"context_line":"----------------------"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* When ironic-conductor starts, if console mode of the node is true, start"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_c85c33f3","line":51,"in_reply_to":"7aa08908_e34854ce","updated":"2016-06-09 12:02:28.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":56,"context_line":"* When ironic-conductor stops, if console is started, stop it."},{"line_number":57,"context_line":"* About takeover work, we\u0027re planning that when ironic-conductor is stopping,"},{"line_number":58,"context_line":"  session will be stopped due to security reason, and then when"},{"line_number":59,"context_line":"  ironic-conductor boots, enabled console session will be started."},{"line_number":60,"context_line":"  In case of takeover, console session will be stopped for nodes which will be"},{"line_number":61,"context_line":"  leave from conductor, then if console is enabled, console session will be"},{"line_number":62,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ae163349","line":59,"updated":"2016-06-08 20:42:47.000000000","message":"let\u0027s not use \u0027boots\u0027 to refer to the conductor. You mean when another conductor takes over? or do you mean when the same conductor that had stopped, starts again (and assuming the node hadn\u0027t been taken over by another conductor in the meantime?)","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":56,"context_line":"* When ironic-conductor stops, if console is started, stop it."},{"line_number":57,"context_line":"* About takeover work, we\u0027re planning that when ironic-conductor is stopping,"},{"line_number":58,"context_line":"  session will be stopped due to security reason, and then when"},{"line_number":59,"context_line":"  ironic-conductor boots, enabled console session will be started."},{"line_number":60,"context_line":"  In case of takeover, console session will be stopped for nodes which will be"},{"line_number":61,"context_line":"  leave from conductor, then if console is enabled, console session will be"},{"line_number":62,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_7ed3b6d5","line":59,"in_reply_to":"7aa08908_ae163349","updated":"2016-06-13 08:09:22.000000000","message":"I\u0027ve added more explanation. Either case another conductor or same conductor, behavior is same.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  leave from conductor, then if console is enabled, console session will be"},{"line_number":62,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."},{"line_number":63,"context_line":"  e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use"},{"line_number":64,"context_line":"  os.execv()."},{"line_number":65,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":66,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":67,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ee9e7b61","line":64,"updated":"2016-06-08 20:42:47.000000000","message":"This point is not clear to me. I can\u0027t figure out which ironic-conductor you are talking about.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"53d3e914983c8a93aca7d9165743cd4963621db5","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."},{"line_number":63,"context_line":"  e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use"},{"line_number":64,"context_line":"  os.execv()."},{"line_number":65,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":66,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":67,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":68,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":69,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":70,"context_line":"  supports session reconnect from client side, so that, when network problem"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_fec3db35","line":67,"range":{"start_line":65,"start_character":0,"end_line":67,"end_character":66},"updated":"2016-06-08 16:19:02.000000000","message":"I understand that for us, developers, it\u0027s easier to read the code and figure out _exactly_ how something is being done. But, a spec should target non-coders as well, explaining how it will work is the idea of having a spec.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  started again. We shouldn\u0027t do takeover when ironic-conductor reboots."},{"line_number":63,"context_line":"  e.g. receive USR1 signal, exec usr/bin/ironic-conductor. Maybe we can use"},{"line_number":64,"context_line":"  os.execv()."},{"line_number":65,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":66,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":67,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":68,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":69,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":70,"context_line":"  supports session reconnect from client side, so that, when network problem"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_8e1ed709","line":67,"range":{"start_line":65,"start_character":0,"end_line":67,"end_character":66},"in_reply_to":"7aa08908_fec3db35","updated":"2016-06-08 20:42:47.000000000","message":"Unless the links are to eg other specs/descriptions, I don\u0027t think that one could really say they are \u0027discussed\u0027 in the code patches.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":67,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":68,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":69,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":70,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":71,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_4e84ef09","line":69,"updated":"2016-06-08 20:42:47.000000000","message":"Is there work/changes to be done in horizon, so that \u0027closed\u0027 message is shown?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":67,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":68,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":69,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":70,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":71,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_be751ecc","line":69,"in_reply_to":"7aa08908_4e84ef09","updated":"2016-06-13 08:09:22.000000000","message":"No, \"closed\" message will be shown without any change in horizon. It\u0027s existing already.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":78,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":79,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":80,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":81,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_eef15b96","line":81,"updated":"2016-06-08 20:42:47.000000000","message":"I think but am not positive, that what you are trying to say is that there will be a global configuration option/setting. Either ALL consoles will be shellinabox consoles, or will be socat consoles, and there will not be any way to override this on a per-node basis ?\n\nOr maybe you meant the opposite or something inbetween?\n\nWhat is the configuration option? Name, value, description?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":78,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":79,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":80,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":81,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_f914e044","line":81,"in_reply_to":"7aa08908_eef15b96","updated":"2016-06-13 08:09:22.000000000","message":"configuration option is written in \"Other deployer impact\" section, so I will add reference.\n\nEither ALL consoles will be shellinabox consoles, or will be socat consoles, and there will not be any way to override this on a per-node basis ?\n-\u003e Yes. We also discussed about it, and our conclusion is that there is no such requirement.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":84,"context_line":"------------"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"About supporting VNC console feature, it is out of scope in this spec."},{"line_number":87,"context_line":"It will be implemented in Ocata release cycle or more later. But we need to"},{"line_number":88,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":89,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"},{"line_number":90,"context_line":"adding all kinds of console objects like below::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_8e3d372d","line":87,"updated":"2016-06-08 20:42:47.000000000","message":"Do we know for sure this will be implemented? I\u0027d rather you didn\u0027t have this sentence.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":84,"context_line":"------------"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"About supporting VNC console feature, it is out of scope in this spec."},{"line_number":87,"context_line":"It will be implemented in Ocata release cycle or more later. But we need to"},{"line_number":88,"context_line":"make support both serial console and VNC console for each nodes same as"},{"line_number":89,"context_line":"Nova VM, so that setting console driver in config file is not suitable, but"},{"line_number":90,"context_line":"adding all kinds of console objects like below::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_b9ced82a","line":87,"in_reply_to":"7aa08908_8e3d372d","updated":"2016-06-13 08:09:22.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":92,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":93,"context_line":"     def __init__(self):"},{"line_number":94,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":95,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_8ed9b7f5","line":95,"updated":"2016-06-08 20:42:47.000000000","message":"this looks like it is proposing a new graphical console interface?\n\nI\u0027m not sure why you are mentioning it. It isn\u0027t an alternative, it is an additional feature on top of what you are proposing in this spec, isn\u0027t it?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":92,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":93,"context_line":"     def __init__(self):"},{"line_number":94,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":95,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_b9e538a5","line":95,"in_reply_to":"7aa08908_8ed9b7f5","updated":"2016-06-13 08:09:22.000000000","message":"I just wanted to say someone will be able to implement VNC support in the future, our implementation will not disturb it. I will remove here.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e2444e2f6b728093364ce216c1fb824b5f3df859","unresolved":false,"context_lines":[{"line_number":92,"context_line":" class PXEAndIPMIToolDriver(base.BaseDriver):"},{"line_number":93,"context_line":"     def __init__(self):"},{"line_number":94,"context_line":"         self.console \u003d  ipmitool.get_console_driver()"},{"line_number":95,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_fad5c442","line":95,"in_reply_to":"7aa08908_b9e538a5","updated":"2016-06-14 02:38:57.000000000","message":"You could mention that VNC support is outside the scope of this spec, but that this feature doesn\u0027t preclude VNC support from being added in the future.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":95,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_2e636343","line":98,"updated":"2016-06-08 20:42:47.000000000","message":"ditto about removing this.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":95,"context_line":"         self.graphical_console \u003d ipmitool.IPMIVNCConsole()"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_59c254ea","line":98,"in_reply_to":"7aa08908_2e636343","updated":"2016-06-13 08:09:22.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":97,"context_line":"About supporting logging feature, it is out of scope in this spec."},{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":102,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_4e6fcffb","line":100,"updated":"2016-06-08 20:42:47.000000000","message":"s/drivers/new ConsoleInterface/","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":98,"context_line":"It will be implemented in Ocata release cycle or more later."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"And creating a new service \"ironic-xxx\" instead of adding drivers to"},{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":102,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"},{"line_number":104,"context_line":"(API, DB, driver, ...)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ae611307","line":101,"updated":"2016-06-08 20:42:47.000000000","message":"Makes me wonder how a separate process would solve this problem but we probably don\u0027t want to get into detail about that.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":102,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"},{"line_number":104,"context_line":"(API, DB, driver, ...)."},{"line_number":105,"context_line":"So that, if Ironic folks prefer it, we will implement it in Ocata cycle or"},{"line_number":106,"context_line":"more later. At first, we will implement drivers at first in Newton cycle."},{"line_number":107,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_cea45f4c","line":104,"updated":"2016-06-08 20:42:47.000000000","message":"I\u0027m not sure how it creates more work in all these areas for a deployer (I mean, they don\u0027t touch the API, DB, driver) but anyway.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":101,"context_line":"``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":102,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"},{"line_number":104,"context_line":"(API, DB, driver, ...)."},{"line_number":105,"context_line":"So that, if Ironic folks prefer it, we will implement it in Ocata cycle or"},{"line_number":106,"context_line":"more later. At first, we will implement drivers at first in Newton cycle."},{"line_number":107,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_94cc81bc","line":104,"in_reply_to":"7aa08908_cea45f4c","updated":"2016-06-13 08:09:22.000000000","message":"s/deployer/developer","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"},{"line_number":104,"context_line":"(API, DB, driver, ...)."},{"line_number":105,"context_line":"So that, if Ironic folks prefer it, we will implement it in Ocata cycle or"},{"line_number":106,"context_line":"more later. At first, we will implement drivers at first in Newton cycle."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ae0f5335","line":106,"updated":"2016-06-08 20:42:47.000000000","message":"Please remove these two sentences; I don\u0027t see much value from having them here.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":103,"context_line":"it will need its own HA model as well, and will be more work for deployers"},{"line_number":104,"context_line":"(API, DB, driver, ...)."},{"line_number":105,"context_line":"So that, if Ironic folks prefer it, we will implement it in Ocata cycle or"},{"line_number":106,"context_line":"more later. At first, we will implement drivers at first in Newton cycle."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_947e4168","line":106,"in_reply_to":"7aa08908_ae0f5335","updated":"2016-06-13 08:09:22.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"aaeb500f071659f5fdb3d23b640969dfa2292e28","unresolved":false,"context_lines":[{"line_number":155,"context_line":"returns a dictionary, as same as"},{"line_number":156,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":157,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"Security impact"},{"line_number":160,"context_line":"---------------"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_71aa871a","line":158,"updated":"2016-06-08 14:22:06.000000000","message":"I think it is worth mentioning (not sure here but somewhere), that nova has agreed to the nova side of the work: https://blueprints.launchpad.net/nova/+spec/ironic-serial-console-support","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"53d3e914983c8a93aca7d9165743cd4963621db5","unresolved":false,"context_lines":[{"line_number":155,"context_line":"returns a dictionary, as same as"},{"line_number":156,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":157,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"Security impact"},{"line_number":160,"context_line":"---------------"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_ca4e1d3a","line":158,"in_reply_to":"7aa08908_71aa871a","updated":"2016-06-08 16:19:02.000000000","message":"Maybe cite here and have the link as part of the references?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":155,"context_line":"returns a dictionary, as same as"},{"line_number":156,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":157,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"Security impact"},{"line_number":160,"context_line":"---------------"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_346aed81","line":158,"in_reply_to":"7aa08908_ca4e1d3a","updated":"2016-06-13 08:09:22.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":181,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":182,"context_line":"``terminal`` parameter like below(default value is ``shellinaboxd``):"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* ``terminal`` \u003d socat"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":187,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_c95c591b","line":184,"updated":"2016-06-08 20:42:47.000000000","message":"what is this \u0027terminal\u0027 parameter? Is it the existing \u0027[console]terminal\u0027 configuration option?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":181,"context_line":"To use the new serial console, set ``socat`` as a value of"},{"line_number":182,"context_line":"``terminal`` parameter like below(default value is ``shellinaboxd``):"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* ``terminal`` \u003d socat"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":187,"context_line":"specify socat like below:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_548e992e","line":184,"in_reply_to":"7aa08908_c95c591b","updated":"2016-06-13 08:09:22.000000000","message":"Yes, I\u0027ve add more explanation.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":188,"context_line":""},{"line_number":189,"context_line":"* ``terminal`` \u003d /usr/bin/socat"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"Developer impact"},{"line_number":193,"context_line":"----------------"},{"line_number":194,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_69f28507","line":191,"updated":"2016-06-08 20:42:47.000000000","message":"There are already some configuration options used for the console. Do they all apply with this new socat console? Will there be new options added to support this new console?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":214,"context_line":"Work Items"},{"line_number":215,"context_line":"----------"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":218,"context_line":"  ``base.ManagementInterface``."},{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_e9bdd502","line":217,"updated":"2016-06-08 20:42:47.000000000","message":"not sure if you meant to have the \u0027*\u0027 in \u0027*SocatConsole\u0027\n\nOH. Maybe you mean the IPMI and native IPMI ones. In which case, it should be s/class/classes/.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":215,"context_line":"----------"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":218,"context_line":"  ``base.ManagementInterface``."},{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_49434913","line":218,"updated":"2016-06-08 20:42:47.000000000","message":"Hmm. I would have thought you were using base.ConsoleInterface. Why are you using base.ManagementInterface?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":215,"context_line":"----------"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":218,"context_line":"  ``base.ManagementInterface``."},{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_f4b18590","line":218,"in_reply_to":"7aa08908_49434913","updated":"2016-06-13 08:09:22.000000000","message":"Oh, you\u0027re right. done.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":217,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":218,"context_line":"  ``base.ManagementInterface``."},{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"},{"line_number":222,"context_line":"  ``get_socat_console_url``."},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_c94f3932","line":220,"updated":"2016-06-08 20:42:47.000000000","message":"the first bullet (assuming it is base.ConsoleInterface) implies that you will implement these methods :)","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":217,"context_line":"* Implement ``*SocatConsole`` class inherited from"},{"line_number":218,"context_line":"  ``base.ManagementInterface``."},{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"},{"line_number":222,"context_line":"  ``get_socat_console_url``."},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_946f61fb","line":220,"in_reply_to":"7aa08908_c94f3932","updated":"2016-06-13 08:09:22.000000000","message":"Done","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"},{"line_number":222,"context_line":"  ``get_socat_console_url``."},{"line_number":223,"context_line":""},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_e96b1583","line":222,"updated":"2016-06-08 20:42:47.000000000","message":"these are your utility functions, right? Not sure you need to itemize it; they are needed in order to implement your console classes.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":219,"context_line":"* Implement ``validate`` , ``start_console``, ``stop_console``,"},{"line_number":220,"context_line":"  ``get_console``."},{"line_number":221,"context_line":"* Implement ``start_socat_console``, ``stop_socat_console`` and"},{"line_number":222,"context_line":"  ``get_socat_console_url``."},{"line_number":223,"context_line":""},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_b441bd65","line":222,"in_reply_to":"7aa08908_e96b1583","updated":"2016-06-13 08:09:22.000000000","message":"Right. I\u0027ve removed here.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":225,"context_line":"Dependencies"},{"line_number":226,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"socat program. http://www.dest-unreach.org/socat/"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Testing"},{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_49dfc939","line":228,"updated":"2016-06-08 20:42:47.000000000","message":"I think we usually put a dependency if the feature depends on something else that isn\u0027t ready/available yet.\n\nSo is socat available to be used, or do you have to wait for something?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":225,"context_line":"Dependencies"},{"line_number":226,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"socat program. http://www.dest-unreach.org/socat/"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Testing"},{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_1453713a","line":228,"in_reply_to":"7aa08908_49dfc939","updated":"2016-06-13 08:09:22.000000000","message":"Oh, I misunderstood. As you say, socat is available already, we don\u0027t need to do something to socat.","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"956c1725b76916ca7f8ec6803698265fe656be8f","unresolved":false,"context_lines":[{"line_number":240,"context_line":"Documentation Impact"},{"line_number":241,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Add configuration description to the install guide."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"References"},{"line_number":246,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_2907dd82","line":243,"updated":"2016-06-08 20:42:47.000000000","message":"Does nova/horizon already have documentation about accessing consoles, and if so, would that documentation be sufficient for this, or would there need to be changes/additions?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"471c631deb96b03d12176976facedaa2960c87af","unresolved":false,"context_lines":[{"line_number":240,"context_line":"Documentation Impact"},{"line_number":241,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Add configuration description to the install guide."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"References"},{"line_number":246,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_6f001e02","line":243,"in_reply_to":"7aa08908_2907dd82","updated":"2016-06-13 08:09:22.000000000","message":"In order to enable nova compatible console, we need to fix ironic.conf set \"socat\" to [console]terminal. Don\u0027t we need to fix doc?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e2444e2f6b728093364ce216c1fb824b5f3df859","unresolved":false,"context_lines":[{"line_number":240,"context_line":"Documentation Impact"},{"line_number":241,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Add configuration description to the install guide."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"References"},{"line_number":246,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_7723adbd","line":243,"in_reply_to":"7aa08908_6f001e02","updated":"2016-06-14 02:38:57.000000000","message":"Yes, the install guide needs to be updated. But i was wondering if there was other documentation that also needed to be updated. Probably not?","commit_id":"9c755e73c84b275be741f453d6908207d09d0301"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Currently, ironic\u0027s only console driver is based on shellinabox, which provides"},{"line_number":20,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_b7d515e6","line":19,"updated":"2016-06-14 02:32:31.000000000","message":"s/driver/interface/.","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Currently, ironic\u0027s only console driver is based on shellinabox, which provides"},{"line_number":20,"context_line":"a stand-alone web console, and is not compatible with nova-serialproxy."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_d95892fb","line":19,"in_reply_to":"7aa08908_b7d515e6","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Proposed change"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"In order to address the problem of not having a serial compatible with nova,"},{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_37000566","line":26,"updated":"2016-06-14 02:32:31.000000000","message":"s/serial/serial console/","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Proposed change"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"In order to address the problem of not having a serial compatible with nova,"},{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_f90c6eed","line":26,"in_reply_to":"7aa08908_37000566","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"In order to address the problem of not having a serial compatible with nova,"},{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"},{"line_number":30,"context_line":"them. This application allow us to activate the ipmitool Serial-over-LAN"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_77f60d90","line":27,"updated":"2016-06-14 02:32:31.000000000","message":"s/junction/conjunction/","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"In order to address the problem of not having a serial compatible with nova,"},{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"},{"line_number":30,"context_line":"them. This application allow us to activate the ipmitool Serial-over-LAN"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_39fb96c2","line":27,"in_reply_to":"7aa08908_77f60d90","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"},{"line_number":30,"context_line":"them. This application allow us to activate the ipmitool Serial-over-LAN"},{"line_number":31,"context_line":"process and redirect it through a TCP connection which can then be consumed"},{"line_number":32,"context_line":"by the ``nova-serialproxy`` service."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_f7303d58","line":30,"updated":"2016-06-14 02:32:31.000000000","message":"s/allow/allows/","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":27,"context_line":"this spec proposes using a command line tool ``socat`` [#]_ in junction with"},{"line_number":28,"context_line":"IPMI Serial-Over-Lan capabilities. ``socat`` is a command line based utility"},{"line_number":29,"context_line":"that establishes two bidirectional byte streams and transfers data between"},{"line_number":30,"context_line":"them. This application allow us to activate the ipmitool Serial-over-LAN"},{"line_number":31,"context_line":"process and redirect it through a TCP connection which can then be consumed"},{"line_number":32,"context_line":"by the ``nova-serialproxy`` service."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_79019eae","line":30,"in_reply_to":"7aa08908_f7303d58","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":31,"context_line":"process and redirect it through a TCP connection which can then be consumed"},{"line_number":32,"context_line":"by the ``nova-serialproxy`` service."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Each console (socat + ipmitool) will run on it\u0027s own process on the same host"},{"line_number":35,"context_line":"that the ironic-conductor which is currently managing that node is running."},{"line_number":36,"context_line":"``socat`` will run first, then it will execute ipmitool when it has connections"},{"line_number":37,"context_line":"from ``nova-serialproxy``, and will work like a ``bridge`` between them."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_b74355ae","line":34,"updated":"2016-06-14 02:32:31.000000000","message":"s/on it\u0027s/on its/","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":31,"context_line":"process and redirect it through a TCP connection which can then be consumed"},{"line_number":32,"context_line":"by the ``nova-serialproxy`` service."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Each console (socat + ipmitool) will run on it\u0027s own process on the same host"},{"line_number":35,"context_line":"that the ironic-conductor which is currently managing that node is running."},{"line_number":36,"context_line":"``socat`` will run first, then it will execute ipmitool when it has connections"},{"line_number":37,"context_line":"from ``nova-serialproxy``, and will work like a ``bridge`` between them."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_f923ce55","line":34,"in_reply_to":"7aa08908_b74355ae","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":71,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":72,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":73,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":74,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Alternatives"},{"line_number":77,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_7a66f4ed","line":74,"updated":"2016-06-14 02:32:31.000000000","message":"I\u0027m curious. How are the drivers going to use this new SocatConsolInterface? Are you going to create a new set of drivers and replace the ShellInaboxConsole with this, or are you going to do some sort of mixin, and depending on this terminal value, decide which ConsoleInterface to use?","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":71,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":72,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":73,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":74,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Alternatives"},{"line_number":77,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_998c4a36","line":74,"in_reply_to":"7aa08908_7a66f4ed","updated":"2016-06-16 00:25:55.000000000","message":"We\u0027re planning to implement a new driver for socat console, and use eather socat or shellinabox driver determined by config option. Please see: https://review.openstack.org/#/c/293873/9/ironic/drivers/modules/ipmitool.py https://review.openstack.org/#/c/293873/9/ironic/drivers/agent.py","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":77,"context_line":"------------"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* About supporting VNC console feature, it is out of scope in this spec."},{"line_number":80,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":81,"context_line":"* About supporting logging feature, it is out of scope in this spec."},{"line_number":82,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":83,"context_line":"* Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_77d9edf2","line":80,"updated":"2016-06-14 02:32:31.000000000","message":"I don\u0027t think this sentence is worth adding in. It might be implemented at some point; we don\u0027t know if it will.","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":77,"context_line":"------------"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* About supporting VNC console feature, it is out of scope in this spec."},{"line_number":80,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":81,"context_line":"* About supporting logging feature, it is out of scope in this spec."},{"line_number":82,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":83,"context_line":"* Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_d98252fe","line":80,"in_reply_to":"7aa08908_77d9edf2","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":79,"context_line":"* About supporting VNC console feature, it is out of scope in this spec."},{"line_number":80,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":81,"context_line":"* About supporting logging feature, it is out of scope in this spec."},{"line_number":82,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":83,"context_line":"* Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"},{"line_number":84,"context_line":"  to ``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":85,"context_line":"  independently, and has no implications on conductor failover. However"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_f7f31d71","line":82,"updated":"2016-06-14 02:32:31.000000000","message":"ditto; don\u0027t need.","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":79,"context_line":"* About supporting VNC console feature, it is out of scope in this spec."},{"line_number":80,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":81,"context_line":"* About supporting logging feature, it is out of scope in this spec."},{"line_number":82,"context_line":"  It will be implemented in Ocata release cycle or more later."},{"line_number":83,"context_line":"* Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"},{"line_number":84,"context_line":"  to ``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":85,"context_line":"  independently, and has no implications on conductor failover. However"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_397ef618","line":82,"in_reply_to":"7aa08908_f7f31d71","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":133,"context_line":"------------------"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"get_serial_console() will be implemented in ironic driver of Nova. It"},{"line_number":136,"context_line":"returns a dictionary, as same as"},{"line_number":137,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":138,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":139,"context_line":"And also, nova has agreed to the nova side of the work [#]_."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_d7f9c14f","line":136,"updated":"2016-06-14 02:32:31.000000000","message":"s/as same as/ similar to/\n\nOr maybe you do mean s/as same as/the same as/","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":133,"context_line":"------------------"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"get_serial_console() will be implemented in ironic driver of Nova. It"},{"line_number":136,"context_line":"returns a dictionary, as same as"},{"line_number":137,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":138,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":139,"context_line":"And also, nova has agreed to the nova side of the work [#]_."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_b9902644","line":136,"in_reply_to":"7aa08908_d7f9c14f","updated":"2016-06-16 00:25:55.000000000","message":"Done","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Scalability impact"},{"line_number":153,"context_line":"------------------"},{"line_number":154,"context_line":"None"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Performance Impact"},{"line_number":157,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_376f65fd","line":154,"updated":"2016-06-14 02:32:31.000000000","message":"If a conductor can service 1000 nodes (I thought I heard someone mention 10,000 but I could be wrong), and a process is created for a console to each node, will this scale?","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Scalability impact"},{"line_number":153,"context_line":"------------------"},{"line_number":154,"context_line":"None"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Performance Impact"},{"line_number":157,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_f90f4e36","line":154,"in_reply_to":"7aa08908_376f65fd","updated":"2016-06-16 00:25:55.000000000","message":"the number of process is same as shellinabox, so there seems no scalability impact.","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":166,"context_line":"    [console]"},{"line_number":167,"context_line":"    terminal \u003d socat"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":170,"context_line":"specify socat like below::"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_9ab00045","line":169,"updated":"2016-06-14 02:32:31.000000000","message":"This has me a bit worried. What if, for whatever reason, someone is using shellinabox, and specifying the full path as \u0027/usr/local/bin/mysiab/\u0027\n\nAre you using this value to determine whether socat or shellinabox should be used? (I haven\u0027t yet figured out how this interface is going to be hooked into a driver.)","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":166,"context_line":"    [console]"},{"line_number":167,"context_line":"    terminal \u003d socat"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":170,"context_line":"specify socat like below::"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_1e10404d","line":169,"in_reply_to":"7aa08908_9ab00045","updated":"2016-06-16 00:25:55.000000000","message":"Yes, we\u0027re planning to determine console type by using get_console_driver() like https://review.openstack.org/#/c/293873/9/ironic/drivers/modules/ipmitool.py L1295-L1303.","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"da53559870b7d8ad5b4cd5684c46fde2fced90c1","unresolved":false,"context_lines":[{"line_number":172,"context_line":"    [console]"},{"line_number":173,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Developer impact"},{"line_number":177,"context_line":"----------------"},{"line_number":178,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_57b3119a","line":175,"updated":"2016-06-14 02:32:31.000000000","message":"I asked before but you didn\u0027t comment so I\u0027ll ask again. There are other configuration options related to the console in [console]: terminal_cert_dir, terminal_pid_dir, subprocess_checking_interval, subprocess_timeout. Are all these options applicable with socat too?","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"7eb9f0e65ea54b38f00a198aaac40e1e1d31c30e","unresolved":false,"context_lines":[{"line_number":172,"context_line":"    [console]"},{"line_number":173,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Developer impact"},{"line_number":177,"context_line":"----------------"},{"line_number":178,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7aa08908_3e153c3f","line":175,"in_reply_to":"7aa08908_57b3119a","updated":"2016-06-16 00:25:55.000000000","message":"Oops, I didn\u0027t read your previous question, sorry. SSL is out of scope in this spec, so terminal_cert_dir is unused. Also, in the current implementation, socat does not run in daemon mode, so the two config terminal_pid_dir, subprocess_checking_interval, subprocess_timeout are unused too. Please see: https://review.openstack.org/#/c/328168/1/ironic/drivers/modules/console_utils.py L.297-","commit_id":"3f43694419715e208ffd2ac757b2411aeb32d226"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1e5798aa206686a523fd9a528725eda189f9f69","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* When ironic-conductor stops, if console is started, stop it."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* About takeover work, we\u0027re planning::"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - When an ironic-conductor stops, console session will be stopped due to"},{"line_number":52,"context_line":"      security reason. In this case, if there are other ironic-conductors,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_ce124d62","line":49,"range":{"start_line":49,"start_character":37,"end_line":49,"end_character":39},"updated":"2016-06-20 19:54:32.000000000","message":"nit: double : is not needed here","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* When ironic-conductor stops, if console is started, stop it."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* About takeover work, we\u0027re planning::"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - When an ironic-conductor stops, console session will be stopped due to"},{"line_number":52,"context_line":"      security reason. In this case, if there are other ironic-conductors,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_85f81a4b","line":49,"range":{"start_line":49,"start_character":37,"end_line":49,"end_character":39},"in_reply_to":"5a9d85d2_ce124d62","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1e5798aa206686a523fd9a528725eda189f9f69","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* About takeover work, we\u0027re planning::"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - When an ironic-conductor stops, console session will be stopped due to"},{"line_number":52,"context_line":"      security reason. In this case, if there are other ironic-conductors,"},{"line_number":53,"context_line":"      they takeover nodes and enables their console session again."},{"line_number":54,"context_line":"    - When ironic-conductor starts, if there are console enabled nodes, the"},{"line_number":55,"context_line":"      ironic-conductor starts their console."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_ae170150","line":52,"range":{"start_line":51,"start_character":6,"end_line":52,"end_character":22},"updated":"2016-06-20 19:54:32.000000000","message":"how exactly? what if the conductor just crashes?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* About takeover work, we\u0027re planning::"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - When an ironic-conductor stops, console session will be stopped due to"},{"line_number":52,"context_line":"      security reason. In this case, if there are other ironic-conductors,"},{"line_number":53,"context_line":"      they takeover nodes and enables their console session again."},{"line_number":54,"context_line":"    - When ironic-conductor starts, if there are console enabled nodes, the"},{"line_number":55,"context_line":"      ironic-conductor starts their console."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_b1ed93f1","line":52,"range":{"start_line":51,"start_character":6,"end_line":52,"end_character":22},"in_reply_to":"5a9d85d2_ae170150","updated":"2016-06-21 07:13:58.000000000","message":"if the conductor just crashes, if there are other ironic-conductors, they takeover nodes\u0027 console session - stop-\u003estart. But if there is no other ironic-conductor, we cannot do anything.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      ironic-conductor starts their console."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_2e04b115","line":58,"updated":"2016-06-20 19:56:08.000000000","message":"What are we supposed to get out of the link? Maybe it could be summarized here.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"5d3f039e406ff3e49ee3fc2ab499600482d2c548","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      ironic-conductor starts their console."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_3687fc62","line":58,"in_reply_to":"3aaa91ec_1ee2eb03","updated":"2016-06-22 06:02:36.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"30aea74cf27a4985b9202eeb65f931be7e6a3646","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      ironic-conductor starts their console."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_1ee2eb03","line":58,"in_reply_to":"5a9d85d2_0e4e026f","updated":"2016-06-21 20:52:37.000000000","message":"Yes, just remove the link then. Thx.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      ironic-conductor starts their console."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_0e4e026f","line":58,"in_reply_to":"5a9d85d2_2e04b115","updated":"2016-06-21 07:13:58.000000000","message":"L.341 in https://review.openstack.org/#/c/328168/2/ironic/drivers/modules/console_utils.py\n\nWhat I want to say here is just using subprocess.Popen. Should I remove this link here?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_1914a142","line":60,"updated":"2016-06-20 19:56:08.000000000","message":"Can this be summarized?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1e5798aa206686a523fd9a528725eda189f9f69","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      ironic-conductor starts their console."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_0e2615ce","line":60,"range":{"start_line":58,"start_character":0,"end_line":60,"end_character":66},"updated":"2016-06-20 19:54:32.000000000","message":"please expand the text here instead of linking to the code. it\u0027s too hard to review otherwise","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":57,"context_line":"* Start/stop console will be implemented with subprocess.Popen."},{"line_number":58,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293871/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_ee857659","line":60,"in_reply_to":"5a9d85d2_1914a142","updated":"2016-06-21 07:13:58.000000000","message":"done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_f9da7577","line":62,"range":{"start_line":62,"start_character":22,"end_line":62,"end_character":26},"updated":"2016-06-20 19:56:08.000000000","message":"for example\n\nBasically two \"for example\" in the same sentence. Seems awkward.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* About start/stop socat: https://review.openstack.org/#/c/293873/"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_4ede4a40","line":62,"range":{"start_line":62,"start_character":22,"end_line":62,"end_character":26},"in_reply_to":"5a9d85d2_f9da7577","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_9937f1af","line":64,"range":{"start_line":64,"start_character":56,"end_line":64,"end_character":76},"updated":"2016-06-20 19:56:08.000000000","message":"when the network problem","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_8502da09","line":64,"range":{"start_line":64,"start_character":56,"end_line":64,"end_character":76},"in_reply_to":"5a9d85d2_9937f1af","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1e5798aa206686a523fd9a528725eda189f9f69","unresolved":false,"context_lines":[{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_7904c514","line":65,"updated":"2016-06-20 19:54:32.000000000","message":"Will it also reconnect to IPMI?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_f948b52f","line":65,"range":{"start_line":65,"start_character":2,"end_line":65,"end_character":18},"updated":"2016-06-20 19:56:08.000000000","message":"is resolved","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_7147ab1d","line":65,"in_reply_to":"5a9d85d2_7904c514","updated":"2016-06-21 07:13:58.000000000","message":"Yes. When an users try to reconnect to console, Nova tries to call node.set_console_mode false and then node.set_console_mode true, so ipmi command will be executed again.\n\nPlease see:\nL1249 in https://review.openstack.org/#/c/293873/12/ironic/drivers/modules/ipmitool.py\nL1184-L1188 in https://review.openstack.org/#/c/328157/1/nova/virt/ironic/driver.py","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":62,"context_line":"* About reconnection, e.g. in case of temporary network problem, for example,"},{"line_number":63,"context_line":"  in case of using Horizon, \"Closed\" message will be shown. And socat itself"},{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_080d5f37","line":65,"range":{"start_line":65,"start_character":2,"end_line":65,"end_character":18},"in_reply_to":"5a9d85d2_f948b52f","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_b9b0edf5","line":67,"updated":"2016-06-20 19:56:08.000000000","message":"What does this mean? I don\u0027t quite understand this title.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"5d3f039e406ff3e49ee3fc2ab499600482d2c548","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_f68d747c","line":67,"in_reply_to":"3aaa91ec_fe8eff25","updated":"2016-06-22 06:02:36.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"30aea74cf27a4985b9202eeb65f931be7e6a3646","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_fe8eff25","line":67,"in_reply_to":"5a9d85d2_8ed2f2fe","updated":"2016-06-21 20:52:37.000000000","message":"I suspect the problem might be with the word \u0027switch\u0027. You aren\u0027t switching, you\u0027re specifying which one to use.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  supports session reconnect from client side, so that, when network problem"},{"line_number":65,"context_line":"  will be resolved, users can try to reconnect."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_8ed2f2fe","line":67,"in_reply_to":"5a9d85d2_b9b0edf5","updated":"2016-06-21 07:13:58.000000000","message":"What I want to say is, currently, there is just shellinabox console. And we will add socat serial console. And we can use both of them by setting in conf file. How can I explain?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":71,"context_line":"(Please see ``Other deployer impact`` section.)"},{"line_number":72,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_59a0e99f","line":70,"updated":"2016-06-20 19:56:08.000000000","message":"Does this mean we are moving to socat from shellinabox? Or are we explaining how to select which one to use?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":67,"context_line":"Switch shellinabox and socat"},{"line_number":68,"context_line":"----------------------------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"We\u0027re planning to switch shellinabox and socat by setting .conf file."},{"line_number":71,"context_line":"(Please see ``Other deployer impact`` section.)"},{"line_number":72,"context_line":"So that we won\u0027t be able to do use a different serial console driver for each"},{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_6e9fc650","line":70,"in_reply_to":"5a9d85d2_59a0e99f","updated":"2016-06-21 07:13:58.000000000","message":"the latter is correct. How can I say it?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a0b75d9526790f09e351f647294332df724c1d1a","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_b293f15b","line":76,"updated":"2016-06-15 20:46:09.000000000","message":"I\u0027m curious. How are the drivers going to use this new SocatConsolInterface? Are you going to create a new set of drivers and replace the ShellInaboxConsole with this, or are you going to do some sort of mixin, and depending on this terminal value, decide which ConsoleInterface to use?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"30aea74cf27a4985b9202eeb65f931be7e6a3646","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_fe5f1f73","line":76,"in_reply_to":"3aaa91ec_52d8f41d","updated":"2016-06-21 20:52:37.000000000","message":"Yes, Hironori, that is what I was thinking of. That\u0027ll make it easier to migrate to the driver composition and we wouldn\u0027t have to use the [console]terminal config to determine which to use, since there are issues with that. Would that be acceptable for you in the short term? [Note that I am happy with this interim solution; I hope others would be too.]","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"5d3f039e406ff3e49ee3fc2ab499600482d2c548","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_d695d840","line":76,"in_reply_to":"3aaa91ec_fe5f1f73","updated":"2016-06-22 06:02:36.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"111bae6903a1df2e290f7ef7143bc2740b4db5f1","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_f4da7c77","line":76,"in_reply_to":"5a9d85d2_796325b2","updated":"2016-06-20 20:15:32.000000000","message":"I don\u0027t think it makes sense to use the [console]terminal configuration option to decide which console interface to use. That is different from the \u0027hardcoded\u0027 interfaces we have with the existing drivers, and will make it difficult to try to migrate existing drivers to use the new driver composition that Dmitry mentions above [1]. Since we don\u0027t know when the driver composition work will be done, I would be OK with adding a few (5 or less?) drivers that support socat instead of shellinabox in the meantime.\n\n[1] https://review.openstack.org/#/c/188370/","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"9fb765876a5da629edb39fee7c6c11c2dad79867","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_52d8f41d","line":76,"in_reply_to":"5a9d85d2_f4da7c77","updated":"2016-06-21 17:30:11.000000000","message":"Is the following plan aligned with your suggestion?\n\nWe will duplicate only a few existing drivers and have them support socat.\n\nFor example (duplicate pxe_ipmitool driver):\n\nclass PXEAndIPMIToolSocatDriver(base.BaseDriver):\n    def __init__(self):\n        self.power \u003d ipmitool.IPMIPower()\n|       self.console \u003d ipmitool.IPMISocatConsole()\n        self.boot \u003d pxe.PXEBoot()\n       \u003csnip\u003e\n\nWhen driver composition is done, we can migrate these drivers by the same way as other classic drivers.\nAll drivers will be able to use socat console by linking socat console interface in driver composition work.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"f806e8597ef9a21d50e19390d4f99dfbe4f125e7","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_4db583ce","line":76,"in_reply_to":"7aa08908_49580d58","updated":"2016-06-17 04:50:51.000000000","message":"Yes, Lucas, you\u0027re right.\nWe\u0027re planning to implement a new driver for socat console, and use eather socat or shellinabox driver determined by config option. Please see: https://review.openstack.org/#/c/293873/9/ironic/drivers/modules/ipmitool.py https://review.openstack.org/#/c/293873/9/ironic/drivers/agent.py","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f1e5798aa206686a523fd9a528725eda189f9f69","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_796325b2","line":76,"in_reply_to":"7aa08908_4db583ce","updated":"2016-06-20 19:54:32.000000000","message":"You\u0027re inventing the driver composition for the console interface :) I\u0027d like us to just rely on the driver composition here. We\u0027re getting closer with it already, planning to merge the spec this week. And this approach will complicate switching the driver to a composable one.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f7df3c75c89c6b1ed97c2f9b57aac2f17f47c165","unresolved":false,"context_lines":[{"line_number":73,"context_line":"baremetal node, but we assume that there is no such requirement - people want"},{"line_number":74,"context_line":"to use Nova compatible authorized serial console for some nodes and don\u0027t want"},{"line_number":75,"context_line":"to use it for other nodes. And in the first place, IPMI sol session is mutual"},{"line_number":76,"context_line":"exclusive, so we can not use shellinabox and socat at the same time."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_49580d58","line":76,"in_reply_to":"7aa08908_b293f15b","updated":"2016-06-16 09:32:44.000000000","message":"The way I understand it is that the console class (Shellinabox or Socat) will be instantiated accordingly with the CONF.console.terminal configuration option. E.g, if it\u0027s point to the socat binary it will instantiate the SocatConsoleInterface.\n\nIs that correct @authors?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"},{"line_number":82,"context_line":"to ``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":83,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":84,"context_line":"it will need its own HA model as well, and will be more work for developers"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_19730182","line":81,"range":{"start_line":81,"start_character":47,"end_line":81,"end_character":58},"updated":"2016-06-20 19:56:08.000000000","message":"adding a new","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Alternatives"},{"line_number":79,"context_line":"------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Creating a new service \"ironic-xxx\" instead of adding new ConsoleInterface"},{"line_number":82,"context_line":"to ``ironic-conductor`` . The upside of new service is that it can be scaled"},{"line_number":83,"context_line":"independently, and has no implications on conductor failover. However"},{"line_number":84,"context_line":"it will need its own HA model as well, and will be more work for developers"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_08243fad","line":81,"range":{"start_line":81,"start_character":47,"end_line":81,"end_character":58},"in_reply_to":"5a9d85d2_19730182","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":124,"context_line":"None"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Driver API impact"},{"line_number":127,"context_line":"-----------------"},{"line_number":128,"context_line":"None"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_d9ddf943","line":127,"updated":"2016-06-20 19:56:08.000000000","message":"nit: Add blank line after for consistency","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":124,"context_line":"None"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Driver API impact"},{"line_number":127,"context_line":"-----------------"},{"line_number":128,"context_line":"None"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_8e55d251","line":127,"in_reply_to":"5a9d85d2_d9ddf943","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Other end user impact"},{"line_number":147,"context_line":"---------------------"},{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_591bc91b","line":148,"updated":"2016-06-20 19:56:08.000000000","message":"nit: Add blank line for consistency","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Other end user impact"},{"line_number":147,"context_line":"---------------------"},{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_ae4a4eaa","line":148,"in_reply_to":"5a9d85d2_591bc91b","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_79d84554","line":151,"updated":"2016-06-20 19:56:08.000000000","message":"nit: Add blank line after for consistency","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":148,"context_line":"None"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_0ec8c221","line":151,"in_reply_to":"5a9d85d2_79d84554","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a0b75d9526790f09e351f647294332df724c1d1a","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_b27ad123","line":152,"updated":"2016-06-15 20:46:09.000000000","message":"If a conductor can service 1000 nodes (I thought I heard someone mention 10,000 but I could be wrong), and a process is created for a console to each node, will this scale?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_6eace635","line":152,"in_reply_to":"5a9d85d2_9437b8af","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"5e3c12436ae5d6e91d4e194e2cdb0b00d2d05252","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_9495f8e5","line":152,"in_reply_to":"7aa08908_2ddf570d","updated":"2016-06-20 20:34:31.000000000","message":"Could you please elaborate on addressing failure/fail-over scenarios w/r console service:\n\n- conductor alive, socat alive, ipmi tool dies\n- conductor alive, socat dies, ipmi tool alive (locking console)\n- conductor alive, socat dies, ipmi tool dies\n- conductor dies, socat alive, ipmi tool alive\n- conductor dies, socat alive, ipmi tool dies\n- conductor dies, socat dies, ipmi tool alive\n\n- conductor on node a having died, how are the socat and ipmi tool processes from node a handled, in case of conductor of node b takes-over (starting fresh ipmi tool and socat instances on node b)?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"111bae6903a1df2e290f7ef7143bc2740b4db5f1","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_9437b8af","line":152,"in_reply_to":"7aa08908_2ddf570d","updated":"2016-06-20 20:15:32.000000000","message":"Well, there is a scalability issue; the same scalability issue as shellinabox. I think it ought to be mentioned here.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"f806e8597ef9a21d50e19390d4f99dfbe4f125e7","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_2ddf570d","line":152,"in_reply_to":"7aa08908_49064d22","updated":"2016-06-17 04:50:51.000000000","message":"the number of process is same as shellinabox, so there seems no scalability impact.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f7df3c75c89c6b1ed97c2f9b57aac2f17f47c165","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Scalability impact"},{"line_number":151,"context_line":"------------------"},{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_49064d22","line":152,"in_reply_to":"7aa08908_b27ad123","updated":"2016-06-16 09:32:44.000000000","message":"good point, yeah I do believe it will have some scalability impact if we run thousands of console processes per conductor(s).","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"},{"line_number":156,"context_line":"None"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_39efdde9","line":155,"updated":"2016-06-20 19:56:08.000000000","message":"nit: Add blank line after for consistency","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":152,"context_line":"None"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"},{"line_number":156,"context_line":"None"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_88478f4a","line":155,"in_reply_to":"5a9d85d2_39efdde9","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a0b75d9526790f09e351f647294332df724c1d1a","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    [console]"},{"line_number":165,"context_line":"    terminal \u003d socat"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":168,"context_line":"specify socat like below::"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_f2745937","line":167,"updated":"2016-06-15 20:46:09.000000000","message":"This has me a bit worried. What if, for whatever reason, someone is using shellinabox, and specifying the full path as \u0027/usr/local/bin/mysiab/\u0027\nAre you using this value to determine whether socat or shellinabox should be used? (I haven\u0027t yet figured out how this interface is going to be hooked into a driver.)","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"5d3f039e406ff3e49ee3fc2ab499600482d2c548","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    [console]"},{"line_number":165,"context_line":"    terminal \u003d socat"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":168,"context_line":"specify socat like below::"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_d6db18ec","line":167,"in_reply_to":"5a9d85d2_74632cb2","updated":"2016-06-22 06:02:36.000000000","message":"OK, as you and Hironori discussed above, I will fix here to adding a few new drivers such as pxe_ipmitool_socat and agent_ipmitool_socat.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"f806e8597ef9a21d50e19390d4f99dfbe4f125e7","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    [console]"},{"line_number":165,"context_line":"    terminal \u003d socat"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":168,"context_line":"specify socat like below::"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_4d03c376","line":167,"in_reply_to":"7aa08908_0cf573ec","updated":"2016-06-17 04:50:51.000000000","message":"Yes, we\u0027re planning to determine console type by using get_console_driver() like https://review.openstack.org/#/c/293873/9/ironic/drivers/modules/ipmitool.py L1295-L1303.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"111bae6903a1df2e290f7ef7143bc2740b4db5f1","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    [console]"},{"line_number":165,"context_line":"    terminal \u003d socat"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":168,"context_line":"specify socat like below::"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_74632cb2","line":167,"in_reply_to":"7aa08908_4d03c376","updated":"2016-06-20 20:15:32.000000000","message":"I don\u0027t like this approach, especially since it is a path to a binary that may not have \u0027socat\u0027 or in the path. Also, I don\u0027t think we should be using configs to decide which interface to use, in light of the driver composition work being done.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f7df3c75c89c6b1ed97c2f9b57aac2f17f47c165","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    [console]"},{"line_number":165,"context_line":"    terminal \u003d socat"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"The variable is originally for full path of the binary. So, you can"},{"line_number":168,"context_line":"specify socat like below::"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    [console]"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_0cf573ec","line":167,"in_reply_to":"7aa08908_f2745937","updated":"2016-06-16 09:32:44.000000000","message":"good point, I believe the @authors are checking if the name \u0027socat\u0027 or \u0027shellinabox\u0027 is present in the path. It\u0027s a little strange I agree with you, since I could name my binaries whatever I want.\n\nDo you feel like it should have a different configuration option to determine which technology beckend we should use for the terminals? I personally think it would be useful (specially since this can be extended for other types of console also supported by nova, e.g, vnc).","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"a0b75d9526790f09e351f647294332df724c1d1a","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_325c21f0","line":173,"updated":"2016-06-15 20:46:09.000000000","message":"There are other configuration options related to the console in [console]: terminal_cert_dir, terminal_pid_dir, subprocess_checking_interval, subprocess_timeout. Are all these options applicable with socat too?","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"69a9b98cc9fedbb58aff6fe4284568f7f0ab18c6","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_1977933b","line":173,"in_reply_to":"3aaa91ec_339a6e15","updated":"2016-06-22 06:19:07.000000000","message":"OK, thanks","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"0de2aa292b43617bdda3baabd38dc36c06fee423","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_339a6e15","line":173,"in_reply_to":"5a9d85d2_39323df2","updated":"2016-06-22 05:17:07.000000000","message":"It seems the current code has a bug is that we still need to check if socat starts successfully. But socat and shellinabox run in different modes, non-daemon vs daemon, so the check is different too. However, we can turn into using the two values subprocess_cheking_interval and subprocess_timeout. Please see the updated patch.\n\nhttps://review.openstack.org/#/c/328168","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f7df3c75c89c6b1ed97c2f9b57aac2f17f47c165","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_4c9dbb56","line":173,"in_reply_to":"7aa08908_325c21f0","updated":"2016-06-16 09:32:44.000000000","message":"another good point, looking at the code[0] it seems that terminal_cert_dir, subprocess_checking_internal and subprocess_timeout are not used by the socat implementation.\n\n[0] https://review.openstack.org/#/c/328168/1/ironic/drivers/modules/console_utils.py","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"f806e8597ef9a21d50e19390d4f99dfbe4f125e7","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_8dfdab70","line":173,"in_reply_to":"7aa08908_4c9dbb56","updated":"2016-06-17 04:50:51.000000000","message":"SSL is out of scope in this spec, so terminal_cert_dir is unused. Also, in the current implementation, socat does not run in daemon mode, so the two config terminal_pid_dir, subprocess_checking_interval, subprocess_timeout are unused too. Please see: https://review.openstack.org/#/c/328168/1/ironic/drivers/modules/console_utils.py L.297-","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"07aca9697671c4c016d24f22e02f8db0c5b641da","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    [console]"},{"line_number":171,"context_line":"    terminal \u003d /usr/bin/socat"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_39323df2","line":173,"in_reply_to":"7aa08908_8dfdab70","updated":"2016-06-20 19:43:43.000000000","message":"Right, so we perhaps need to change the description of the existing help strings for terminal_cert_dir, subprocess_checking_internal and subprocess_timeout to point that.","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"cb10e57c6d57fc3e633c6b4674b15fe70152219b","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_b9b90dec","line":175,"updated":"2016-06-20 19:56:08.000000000","message":"nit: Add blank line after for consistency","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"d6c9c2549f4e5564104009183a79ec99dd4e7829","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"Developer impact"},{"line_number":175,"context_line":"----------------"},{"line_number":176,"context_line":"None"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a9d85d2_1100e700","line":175,"in_reply_to":"5a9d85d2_b9b90dec","updated":"2016-06-21 07:13:58.000000000","message":"Done","commit_id":"24f069bcc084c308298466e2aa001518724544d8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0575f1a2a395df5d3b45d413e7dba132533ef8ba","unresolved":false,"context_lines":[{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"In order to address the problem of not having a serial console compatible with"},{"line_number":28,"context_line":"nova, this spec proposes using a command line tool ``socat`` [#]_ in"},{"line_number":29,"context_line":"conjunction with IPMI Serial-Over-Lan capabilities."},{"line_number":30,"context_line":"``socat`` is a command line based utility that establishes two bidirectional"},{"line_number":31,"context_line":"byte streams and transfers data between them."}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_1df00690","line":28,"updated":"2016-06-22 13:41:08.000000000","message":"is that the right link? I would have thought this would be the 2nd link but it is the first.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"In order to address the problem of not having a serial console compatible with"},{"line_number":28,"context_line":"nova, this spec proposes using a command line tool ``socat`` [#]_ in"},{"line_number":29,"context_line":"conjunction with IPMI Serial-Over-Lan capabilities."},{"line_number":30,"context_line":"``socat`` is a command line based utility that establishes two bidirectional"},{"line_number":31,"context_line":"byte streams and transfers data between them."}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_16ff2768","line":28,"in_reply_to":"3aaa91ec_1df00690","updated":"2016-06-23 06:12:48.000000000","message":"nice catch, thanks. done.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0575f1a2a395df5d3b45d413e7dba132533ef8ba","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* About start/stop socat, we\u0027re planning to implement a new console interface"},{"line_number":60,"context_line":"  and same methods as shellinabox classes - IPMIShellinaboxConsole and"},{"line_number":61,"context_line":"  NativeIPMIShellinaboxConsole."},{"line_number":62,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293873/"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* About reconnection, for example, in case of temporary network problem with"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_a2b551ce","line":61,"updated":"2016-06-22 13:41:08.000000000","message":"I am guessing you will implement two new console interfaces (not one), something like IPMISocatConsole and NativeIPMISocatConsole.\n\nI don\u0027t know if you meant to put IPMIShellinaboxConsole (ie, that you are referring to the shellinabox classes), or if you meant to put the new *Socat* classes.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* About start/stop socat, we\u0027re planning to implement a new console interface"},{"line_number":60,"context_line":"  and same methods as shellinabox classes - IPMIShellinaboxConsole and"},{"line_number":61,"context_line":"  NativeIPMIShellinaboxConsole."},{"line_number":62,"context_line":"  About this, discussed in: https://review.openstack.org/#/c/293873/"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* About reconnection, for example, in case of temporary network problem with"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_13b1f9e1","line":61,"in_reply_to":"3aaa91ec_a2b551ce","updated":"2016-06-23 06:12:48.000000000","message":"done. Thanks, I forgot to fix here.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0575f1a2a395df5d3b45d413e7dba132533ef8ba","unresolved":false,"context_lines":[{"line_number":133,"context_line":"returns a dictionary, similar to"},{"line_number":134,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":135,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":136,"context_line":"And also, nova has agreed to the nova side of the work [#]_."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Security impact"},{"line_number":139,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_3d4a22c6","line":136,"updated":"2016-06-22 13:41:08.000000000","message":"this link seems incorrect. please verify all your links/references.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":133,"context_line":"returns a dictionary, similar to"},{"line_number":134,"context_line":"nova.virt.libvirt.driver.LibvirtDriver.get_serial_console(). No other"},{"line_number":135,"context_line":"impact for nova, and nova-serialproxy works well with the new one."},{"line_number":136,"context_line":"And also, nova has agreed to the nova side of the work [#]_."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Security impact"},{"line_number":139,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_160d6790","line":136,"in_reply_to":"3aaa91ec_3d4a22c6","updated":"2016-06-23 06:12:48.000000000","message":"Done","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"521d000da1b032c18164acabd9178b964218eeb7","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"To use serial console, deployer needs to specify new driver."},{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_25f340a0","line":166,"updated":"2016-06-22 08:34:53.000000000","message":"Shellinabox can be used by specifying the existing \u0027pxe_ipmitool\u0027 driver.\nWe\u0027re going to add new drivers only for socat as an interm solution.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"To use serial console, deployer needs to specify new driver."},{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_7302fd0c","line":166,"in_reply_to":"3aaa91ec_25f340a0","updated":"2016-06-23 06:12:48.000000000","message":"I misunderstood. Done","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0575f1a2a395df5d3b45d413e7dba132533ef8ba","unresolved":false,"context_lines":[{"line_number":164,"context_line":"To use serial console, deployer needs to specify new driver."},{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_dd65dee1","line":167,"updated":"2016-06-22 13:41:08.000000000","message":"Ideally, this spec should mention the new drivers that will be added initially. If you are unsure, then I would like the spec to mention that (something like)\n\nIn the short term, there will be a limited number (less than 5) drivers that will support socat console. After driver composition is implemented (add link to https://review.openstack.org/#/c/188370/), this feature will be available for a lot more drivers (or hardware types).","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":164,"context_line":"To use serial console, deployer needs to specify new driver."},{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_d14ac982","line":167,"in_reply_to":"3aaa91ec_dd65dee1","updated":"2016-06-23 06:12:48.000000000","message":"Done","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0575f1a2a395df5d3b45d413e7dba132533ef8ba","unresolved":false,"context_lines":[{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Developer impact"},{"line_number":171,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_5d63aeb1","line":168,"updated":"2016-06-22 13:41:08.000000000","message":"Please mention somewhere, whether or not you are going to use the existing configuration options under [console]. Eg, would you still want to use [console]terminal to specify the path for the socat binary?","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":7882,"name":"Yuiko Takada Mori","email":"yuiko-mori@nec.com","username":"YuikoTakada"},"change_message_id":"a1915b1d857eebf5cc3b659ff3321c514735e4ab","unresolved":false,"context_lines":[{"line_number":165,"context_line":"For example, to use PXE + IPMItool + shellinabox, spcify"},{"line_number":166,"context_line":"``pxe_ipmitool_shellinabox``."},{"line_number":167,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Developer impact"},{"line_number":171,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3aaa91ec_71be6ed5","line":168,"in_reply_to":"3aaa91ec_5d63aeb1","updated":"2016-06-23 06:12:48.000000000","message":"done. We no longer want to use [console]terminal to specify the path for the socat binary as discussed above, but will be used in the same way with shellinabox as a command.","commit_id":"6b6f1892520fa1b13dc787ce9ac2a56cabe165ca"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"5eda84708031e8ab4dd3333399916fa94e7076f2","unresolved":false,"context_lines":[{"line_number":69,"context_line":"--------------------------------------------"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"We\u0027re planning to specify which driver to use shellinabox or socat by setting"},{"line_number":72,"context_line":"driver like ``pxe_ipmitool_socat`` or ``agent_ipmitool_socat``."},{"line_number":73,"context_line":"(Please see ``Other deployer impact`` section.)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_be92b7f4","line":72,"updated":"2016-06-27 16:04:19.000000000","message":"Should we just wait on driver composition to land for this? It seems like putting more drivers in today is just more pain for later.","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"8e62be768d47907c0b8eeb60fb6c32f305b9443f","unresolved":false,"context_lines":[{"line_number":69,"context_line":"--------------------------------------------"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"We\u0027re planning to specify which driver to use shellinabox or socat by setting"},{"line_number":72,"context_line":"driver like ``pxe_ipmitool_socat`` or ``agent_ipmitool_socat``."},{"line_number":73,"context_line":"(Please see ``Other deployer impact`` section.)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_81403e37","line":72,"in_reply_to":"3aaa91ec_be92b7f4","updated":"2016-06-27 16:07:47.000000000","message":"09:04:50 \u003cJayF\u003e rloo: https://review.openstack.org/#/c/319505/ I looked at that (the serial console\n                support); and am wondering if it needs to be updated for / dependant on the driver comp\n                changes?\n09:05:27 \u003cmat128\u003e JayF: in the midcycle the question came up\n09:05:31 \u003crloo\u003e JayF: no, I didn\u0027t want it to be dependent.\n09:05:38 \u003cmat128\u003e and we ended up choosing that no\n09:05:39 \u003crloo\u003e JayF: I think it is OK for them to add 2 new drivers.\n09:05:40 \u003cmat128\u003e ^this\n09:05:47 \u003cJayF\u003e hm. ok\n09:06:01 \u003cJayF\u003e and you\u0027re OK landing it even with the litany of minor comments you have in there?\n09:06:04 \u003crloo\u003e JayF: I think we can handle a limited number of new drivers.\n09:06:21 \u003crloo\u003e JayF: I\u0027m OK cuz I don\u0027t think we can expect nonEnglish writers to write fluent\n                English.\n09:06:30 \u003cJayF\u003e kk","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4f1c819fed578bccc55c00016530c5aa2016e0b1","unresolved":false,"context_lines":[{"line_number":164,"context_line":"For example, to use PXE + IPMItool + socat, specify ``pxe_ipmitool_socat``."},{"line_number":165,"context_line":"To use IPA + IPMItool + socat, specify ``agent_ipmitool_socat``."},{"line_number":166,"context_line":"To use existing shellinabox console, deployer doesn\u0027t need to change anything."},{"line_number":167,"context_line":"We will implement new driver ``IPMISocatConsole`` initially, so that just"},{"line_number":168,"context_line":"``pxe_ipmitool_socat`` and ``agent_ipmitool_socat`` drivers will support socat"},{"line_number":169,"context_line":"console. After ``Driver composition reform`` [#]_ is implemented, this feature"},{"line_number":170,"context_line":"will be available for a lot more drivers (or hardware types)."}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_65f68cfa","line":167,"updated":"2016-06-23 15:14:18.000000000","message":"I\u0027m not sure you want to say this. I mean, \u0027IPMISocatConsole\u0027 is a driver interface, not a driver.\n\nI think you want to say something like \u0027We will implement two new drivers: ``pxe_ipmitool_socat`` and ``agent_ipmitool_socat`` that will support socat console. After driver composition reform ...","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4f1c819fed578bccc55c00016530c5aa2016e0b1","unresolved":false,"context_lines":[{"line_number":168,"context_line":"``pxe_ipmitool_socat`` and ``agent_ipmitool_socat`` drivers will support socat"},{"line_number":169,"context_line":"console. After ``Driver composition reform`` [#]_ is implemented, this feature"},{"line_number":170,"context_line":"will be available for a lot more drivers (or hardware types)."},{"line_number":171,"context_line":"About configuration options, existing options ``terminal``,"},{"line_number":172,"context_line":"``terminal_pid_dir``, ``subprocess_checking_interval``, ``subprocess_timeout``"},{"line_number":173,"context_line":"are available for socat in the same way as shellinabox."},{"line_number":174,"context_line":"``terminal_cert_dir`` is not used in the case of socat because SSL is not"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_85a9f892","line":171,"updated":"2016-06-23 15:14:18.000000000","message":"Might want to start a new paragraph here.\n\ns/About configuration options,/For the [console] configuration options,/","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"836137d1f67b5d2d78b94bf69d19f98051ee5f18","unresolved":false,"context_lines":[{"line_number":168,"context_line":"``pxe_ipmitool_socat`` and ``agent_ipmitool_socat`` drivers will support socat"},{"line_number":169,"context_line":"console. After ``Driver composition reform`` [#]_ is implemented, this feature"},{"line_number":170,"context_line":"will be available for a lot more drivers (or hardware types)."},{"line_number":171,"context_line":"About configuration options, existing options ``terminal``,"},{"line_number":172,"context_line":"``terminal_pid_dir``, ``subprocess_checking_interval``, ``subprocess_timeout``"},{"line_number":173,"context_line":"are available for socat in the same way as shellinabox."},{"line_number":174,"context_line":"``terminal_cert_dir`` is not used in the case of socat because SSL is not"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_6fe929e6","line":171,"range":{"start_line":171,"start_character":46,"end_line":171,"end_character":58},"updated":"2016-06-24 05:09:48.000000000","message":"We don\u0027t need to use \"terminal\" for socat because it is specified by setting a driver.\nIPMISocatConsole interface can just execute socat. \n\nWe will follow up the issue.","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"6ab701d3c9afcdb37812a315f9c70624cdc6995b","unresolved":false,"context_lines":[{"line_number":168,"context_line":"``pxe_ipmitool_socat`` and ``agent_ipmitool_socat`` drivers will support socat"},{"line_number":169,"context_line":"console. After ``Driver composition reform`` [#]_ is implemented, this feature"},{"line_number":170,"context_line":"will be available for a lot more drivers (or hardware types)."},{"line_number":171,"context_line":"About configuration options, existing options ``terminal``,"},{"line_number":172,"context_line":"``terminal_pid_dir``, ``subprocess_checking_interval``, ``subprocess_timeout``"},{"line_number":173,"context_line":"are available for socat in the same way as shellinabox."},{"line_number":174,"context_line":"``terminal_cert_dir`` is not used in the case of socat because SSL is not"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_413e602a","line":171,"range":{"start_line":171,"start_character":46,"end_line":171,"end_character":58},"in_reply_to":"3aaa91ec_6fe929e6","updated":"2016-06-27 13:51:21.000000000","message":"I didn\u0027t try out socat, I don\u0027t know if the actual path is needed or not. For that matter, I\u0027m not even sure why shellinabox needs this terminal config either. Anyway, if it isn\u0027t needed for socat, then please document it. In a followup or if you do another revision. Thanks.","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4f1c819fed578bccc55c00016530c5aa2016e0b1","unresolved":false,"context_lines":[{"line_number":173,"context_line":"are available for socat in the same way as shellinabox."},{"line_number":174,"context_line":"``terminal_cert_dir`` is not used in the case of socat because SSL is not"},{"line_number":175,"context_line":"supported."},{"line_number":176,"context_line":"To use socat, .conf file will be::"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    [console]"},{"line_number":179,"context_line":"    # Path to serial console terminal program. \"shellinaboxd\""}],"source_content_type":"text/x-rst","patch_set":10,"id":"3aaa91ec_05c34839","line":176,"updated":"2016-06-23 15:14:18.000000000","message":"I don\u0027t think you need to show the rest from here.\n\nBECAUSE I don\u0027t agree with the text in the configs as proposed here and I don\u0027t think you want me to get into a conversation about that in this spec. We can do that in the code patch :)","commit_id":"75290c72f7c3138bfdab151728718f771dfb9685"}]}
