{"action":"opened","issue":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1539","repository_url":"https://api.github.com/repos/kubevirt/kubevirt","labels_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1539/labels{/name}","comments_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1539/comments","events_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1539/events","html_url":"https://github.com/kubevirt/kubevirt/issues/1539","id":363040981,"node_id":"MDU6SXNzdWUzNjMwNDA5ODE=","number":1539,"title":"virtctl console fails if VM is marked as running but is not","user":{"login":"fabiand","id":83456,"node_id":"MDQ6VXNlcjgzNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/83456?v=4","gravatar_id":"","url":"https://api.github.com/users/fabiand","html_url":"https://github.com/fabiand","followers_url":"https://api.github.com/users/fabiand/followers","following_url":"https://api.github.com/users/fabiand/following{/other_user}","gists_url":"https://api.github.com/users/fabiand/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiand/subscriptions","organizations_url":"https://api.github.com/users/fabiand/orgs","repos_url":"https://api.github.com/users/fabiand/repos","events_url":"https://api.github.com/users/fabiand/events{/privacy}","received_events_url":"https://api.github.com/users/fabiand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T07:42:40Z","updated_at":"2018-09-24T07:42:40Z","closed_at":null,"author_association":"MEMBER","body":"/kind bug\r\n\r\n**What happened**:\r\n\r\n```\r\n$ virtctl console node\r\nSuccessfully connected to node console. The escape sequence is ^]\r\n                                                                 Virtual Machine's /var/run/kubevirt-private/79f2438a-bfcc-11e8-b6af-5254000b34fc/virt-serial0 socket is currently unavailable\r\n```\r\n\r\nwhen a VMI is in this state:\r\n\r\n```\r\nstatus:\r\n  conditions:\r\n  - lastProbeTime: null\r\n    lastTransitionTime: 2018-09-24T07:37:28Z\r\n    message: 'server error. command Launcher.Sync failed: virError(Code=1, Domain=10,\r\n      Message=''internal error: process exited while connecting to monitor: 2018-09-24T07:37:28.537019Z\r\n      qemu-system-x86_64: -drive file=/var/run/kubevirt-private/vmi-disks/rootvolume/disk.img,format=raw,if=none,id=drive-ua-rootdisk:\r\n      Could not open ''/var/run/kubevirt-private/vmi-disks/rootvolume/disk.img'':\r\n      Permission denied'')'\r\n    reason: Synchronizing with the Domain failed.\r\n    status: \"False\"\r\n    type: Synchronized\r\n  interfaces:\r\n  - ipAddress: 172.17.0.13\r\n  nodeName: localhost\r\n  phase: Running\r\n```\r\n\r\n**What you expected to happen**:\r\nConsole does nto connect while the VM is in a bad state OR it waits until it's good\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- KubeVirt version (use `virtctl version`):\r\n- Kubernetes version (use `kubectl version`):\r\n- VM or VMI specifications:\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release):\r\n- Kernel (e.g. `uname -a`):\r\n- Install tools:\r\n- Others:\r\n"}}
{"actor":{"display_login":"fabiand"}}