[Kimchi-devel] [PATCH v3] [Kimchi 0/8] Web serial console
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Feb 12 17:30:17 UTC 2016
Hi Ziviani,
I can't apply this patch set due the error below:
[alinefm at alinefm-TP440 kimchi]$ git am -3
/home/alinefm/mail-patches/\[PATCH\ v3\]\ \[Kimchi\ *
Applying: Rename vnc.py to websocket.py
Applying: Implement the web serial console server
Applying: Implement the backend to support web serial console
fatal: cannot convert from y to UTF-8
Instead of entering 'y' to the encoding question, you should press ENTER.
You can also add:
|assume8bitEncoding = UTF-8|
to the [sendemail] section in the .git/config file to avoid this question.
Please, could you fix it and resend the patch?
Thanks,
Aline Manera
On 02/11/2016 11:47 AM, Jose Ricardo Ziviani wrote:
> v3:
> - applied code review
> - removed favicon from this patch
>
> v2:
> - applied code review
> - updated the build system
>
> This is the initial version of a web serial console for kimchi/libvirt
> VMs.
>
> When a VM is turned on, a new action is displayed named "Connect
> Serial", this will open a new tab with an interface like the existing
> novnc.
>
> That interface opens a websocket to kimchi webserver (nginx), then
> it is redirected to websockify. Websockify will proxy that connection to
> a local unix socket server to finally communicate with the guest
> console.
>
> I chose to create one server per guest because that's the way websockify
> was designed (it was born inside novnc), so I could reuse the token
> security plugin implemented in websockify. In order to avoid wasting
> resources I decided to user unix socket, a local/lightweight/reliable
> socket if compared with internet sockets, this uses files instead of
> ports to accept connections.
>
> When a connection is established no one else can get that console (I'm
> not multiplexing it but it's possible in future). The serial console
> will be available again if the current user does one of:
> - type ctrl+q
> - close the tab
> - 2 min. timeout
>
> Thanks
>
> Jose Ricardo Ziviani (8):
> Rename vnc.py to websocket.py
> Implement the web serial console server
> Implement the backend to support web serial console
> Import term.js to Kimchi project
> Implement the web serial console front-end
> Implement the Kimchi front-end for the web serial console
> Update the build system to make the serial console
> Add test case for the socket server
>
> COPYING | 2 +
> Makefile.am | 4 +-
> config.py.in | 6 +-
> configure.ac | 3 +
> control/vms.py | 3 +-
> i18n.py | 3 +
> model/vms.py | 43 +-
> root.py | 6 +-
> serialconsole.py | 315 +++
> tests/test_model.py | 28 +-
> ui/Makefile.am | 2 +-
> ui/js/src/kimchi.api.js | 27 +
> ui/js/src/kimchi.guest_main.js | 14 +-
> ui/pages/guest.html.tmpl | 5 +-
> ui/serial/Makefile.am | 21 +
> ui/serial/html/Makefile.am | 21 +
> ui/serial/html/serial.html | 99 +
> ui/serial/libs/Makefile.am | 21 +
> ui/serial/libs/term.js | 5973 ++++++++++++++++++++++++++++++++++++++++
> vnc.py | 92 -
> websocket.py | 122 +
> 21 files changed, 6700 insertions(+), 110 deletions(-)
> create mode 100644 serialconsole.py
> create mode 100644 ui/serial/Makefile.am
> create mode 100644 ui/serial/html/Makefile.am
> create mode 100644 ui/serial/html/serial.html
> create mode 100644 ui/serial/libs/Makefile.am
> create mode 100644 ui/serial/libs/term.js
> delete mode 100644 vnc.py
> create mode 100644 websocket.py
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160212/adf1a41b/attachment.html>
More information about the Kimchi-devel
mailing list