{"action":"created","issue":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/1348","repository_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse","labels_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/1348/labels{/name}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/1348/comments","events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/1348/events","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1348","id":154240337,"number":1348,"title":"Add Hyper-V svirt tests","user":{"login":"mnowaksuse","id":16148464,"avatar_url":"https://avatars.githubusercontent.com/u/16148464?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowaksuse","html_url":"https://github.com/mnowaksuse","followers_url":"https://api.github.com/users/mnowaksuse/followers","following_url":"https://api.github.com/users/mnowaksuse/following{/other_user}","gists_url":"https://api.github.com/users/mnowaksuse/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowaksuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowaksuse/subscriptions","organizations_url":"https://api.github.com/users/mnowaksuse/orgs","repos_url":"https://api.github.com/users/mnowaksuse/repos","events_url":"https://api.github.com/users/mnowaksuse/events{/privacy}","received_events_url":"https://api.github.com/users/mnowaksuse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-11T13:13:40Z","updated_at":"2016-05-27T07:05:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/1348","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1348","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1348.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1348.patch"},"body":"This bootloader setups Hyper-V VM:\r\n\r\n1. Connects to VIRSH_HOST via SSH,\r\n2. starts a VNC server there, VNC server starts RDP connection to a VM on\r\nHYPERV_SERVER via xfreerdp,\r\n3. openQA connects to the VNC server.\r\n\r\nServer requirements:\r\n\r\n* Windows Server 2008 R2, 2012 R2, or 2016 (TP5) - a Datacenter edition,\r\n* Hyper-V and RDP roles are installed,\r\n* telnet server (WS 2008 R2 and 2012 R2 contain terminal service, 2016\r\n  does not and e.g. telnetd from Cygwin has to be installed),\r\n* program which enables VM's serial port for connection from outside\r\n  (Hyper-V enables serial port as a Windows named pipe \\\\.\\pipe\\NAME),\r\n  e.g. \"Named Pipe TCP Proxy Utility\" (which is not a scriptable, it's\r\n  an GUI app...),\r\n* open ports in firewall, perhaps add above program as an exception to\r\n  the firewall,\r\n* WS 2008 R2 requires Powershell and \"PowerShell management Library for\r\n  Hyper-V\" (http://pshyperv.codeplex.com)\r\n\r\nIntermediary VIRSH_HOST requirements:\r\n\r\n* sshd, vnserver, xauth,\r\n* FreeRDP before commit 9c7b7ab otherwise /vmconnect option won't work,\r\n  see https://github.com/FreeRDP/FreeRDP/issues/2421,\r\n\r\nCaveats:\r\n\r\n* FreeRDP does not work for Windows Server 2016 (TP5), see\r\n  https://github.com/FreeRDP/FreeRDP/issues/3325,\r\n* FreeRDP has to be in it's old version, see above,\r\n* so far VM in RDP connection which is displayed by a VNC server on\r\n  VIRSH_HOST is not getting \"System Keys\" (e.g. Alt-F2 for console\r\n  change), which looks similar to me as when vncviewer is running without\r\n  \"-FullScreen -FullscreenSystemKeys\" options."},"comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/comments/222075386","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1348#issuecomment-222075386","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/1348","id":222075386,"user":{"login":"mnowaksuse","id":16148464,"avatar_url":"https://avatars.githubusercontent.com/u/16148464?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowaksuse","html_url":"https://github.com/mnowaksuse","followers_url":"https://api.github.com/users/mnowaksuse/followers","following_url":"https://api.github.com/users/mnowaksuse/following{/other_user}","gists_url":"https://api.github.com/users/mnowaksuse/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowaksuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowaksuse/subscriptions","organizations_url":"https://api.github.com/users/mnowaksuse/orgs","repos_url":"https://api.github.com/users/mnowaksuse/repos","events_url":"https://api.github.com/users/mnowaksuse/events{/privacy}","received_events_url":"https://api.github.com/users/mnowaksuse/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T07:05:43Z","updated_at":"2016-05-27T07:05:43Z","body":"They are very relevant for the tests to do anything meaningful (with JeOS at least):\r\n`tests/jeos/firstrun.pm` - Hyper-V is so slow to extend JeOS to the disk, that 100 s is the bare minimum to get from Grub to Firstboot;\r\n`tests/jeos/grub2_gfxmode.pm` - `video=hyperv_fb:1024x768` is needed after reboot and this seems to be the right place to do that, thought name of the test might be changed;\r\n`tests/jeos/root_fs_size.pm` - JeOS on Hyper-V requires 30 GB disk."}}
{"actor":{"display_login":"mnowaksuse"}}