{"action":"created","issue":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/161","repository_url":"https://api.github.com/repos/kubevirt/kubevirt","labels_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/161/comments","events_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/161/events","html_url":"https://github.com/kubevirt/kubevirt/issues/161","id":216001041,"number":161,"title":"Launching VM, but VM keep pending status","user":{"login":"kenzhaoyihui","id":18360375,"avatar_url":"https://avatars2.githubusercontent.com/u/18360375?v=4","gravatar_id":"","url":"https://api.github.com/users/kenzhaoyihui","html_url":"https://github.com/kenzhaoyihui","followers_url":"https://api.github.com/users/kenzhaoyihui/followers","following_url":"https://api.github.com/users/kenzhaoyihui/following{/other_user}","gists_url":"https://api.github.com/users/kenzhaoyihui/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzhaoyihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzhaoyihui/subscriptions","organizations_url":"https://api.github.com/users/kenzhaoyihui/orgs","repos_url":"https://api.github.com/users/kenzhaoyihui/repos","events_url":"https://api.github.com/users/kenzhaoyihui/events{/privacy}","received_events_url":"https://api.github.com/users/kenzhaoyihui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-22T09:33:29Z","updated_at":"2017-08-07T09:20:48Z","closed_at":null,"body":"When launching VM use \"kubectl create -f vm.json\" , then the VM keep pending status.\r\n```\r\n[root@master ~]# kubectl get vms\r\nNAME      KIND\r\ntestvm    VM.v1alpha1.kubevirt.io\r\n\r\n[root@master ~]# virsh list\r\n Id    Name                           State\r\n--------------------------------------------------\r\n\r\n[root@master ~]# kubectl get events\r\nLASTSEEN   FIRSTSEEN   COUNT     NAME      KIND      SUBOBJECT   TYPE      REASON       SOURCE                  MESSAGE\r\n3m         1h          7         testvm    VM                    Warning   SyncFailed   {virt-handler master}   virError(Code=27, Domain=20, Message='XML error: missing network source protocol type')\r\n\r\n[root@master ~]# kubectl get pods --all-namespaces\r\nNAMESPACE     NAME                                READY     STATUS    RESTARTS   AGE\r\ndefault       frontend-j1aaj                      1/1       Running   2          5d\r\ndefault       frontend-ll60x                      1/1       Running   2          5d\r\ndefault       frontend-xgjh9                      1/1       Running   2          5d\r\ndefault       haproxy                             1/1       Running   7          5d\r\ndefault       kubevirt-cockpit-3069757025-y1mga   1/1       Running   0          5h\r\ndefault       redis-master-zljqa                  1/1       Running   2          5d\r\ndefault       redis-slave-d8w0i                   1/1       Running   2          5d\r\ndefault       redis-slave-y355j                   1/1       Running   2          5d\r\ndefault       spice-proxy                         1/1       Running   2          5d\r\ndefault       virt-api                            1/1       Running   2          5d\r\ndefault       virt-controller                     1/1       Running   2          5d\r\ndefault       virt-handler-ehv1v                  1/1       Running   2          5d\r\ndefault       wordpress-1618093523-de8zj          1/1       Running   4          34d\r\ndefault       wordpress-mysql-2379610080-5p0e6    1/1       Running   4          34d\r\nkube-system   dummy-2088944543-lxi8s              1/1       Running   4          34d\r\nkube-system   etcd-master                         1/1       Running   5          34d\r\nkube-system   kube-apiserver-master               1/1       Running   6          34d\r\nkube-system   kube-controller-manager-master      1/1       Running   6          34d\r\nkube-system   kube-discovery-3670776889-793t6     1/1       Running   5          34d\r\nkube-system   kube-dns-2924299975-8ic0c           4/4       Running   16         34d\r\nkube-system   kube-proxy-ufd6z                    1/1       Running   4          34d\r\nkube-system   kube-scheduler-master               1/1       Running   6          34d\r\nkube-system   weave-net-tvs1l                     2/2       Running   9          34d\r\n\r\n\r\n\r\n\r\n[root@master ~]# kubectl get vms -o json\r\n{\r\n    \"apiVersion\": \"v1\",\r\n    \"items\": [\r\n        {\r\n            \"apiVersion\": \"kubevirt.io/v1alpha1\",\r\n            \"kind\": \"VM\",\r\n            \"metadata\": {\r\n                \"creationTimestamp\": \"2017-03-22T07:54:11Z\",\r\n                \"labels\": {\r\n                    \"kubevirt.io/nodeName\": \"master\"\r\n                },\r\n                \"name\": \"testvm\",\r\n                \"namespace\": \"default\",\r\n                \"resourceVersion\": \"2216964\",\r\n                \"selfLink\": \"/apis/kubevirt.io/v1alpha1/namespaces/default/vms/testvm\",\r\n                \"uid\": \"bc57dcd3-0ed4-11e7-909e-525400b58bb7\"\r\n            },\r\n            \"spec\": {\r\n                \"domain\": {\r\n                    \"devices\": {\r\n                        \"disks\": [\r\n                            {\r\n                                \"device\": \"disk\",\r\n                                \"diskSource\": {\r\n                                    \"file\": \"\"\r\n                                },\r\n                                \"diskTarget\": {\r\n                                    \"bus\": \"\",\r\n                                    \"dev\": \"\"\r\n                                },\r\n                                \"driver\": {\r\n                                    \"cache\": \"none\",\r\n                                    \"name\": \"qemu\",\r\n                                    \"type\": \"raw\"\r\n                                },\r\n                                \"shapshot\": \"\",\r\n                                \"type\": \"network\"\r\n                            }\r\n                        ],\r\n                        \"emulator\": \"/usr/local/bin/qemu-x86_64\",\r\n                        \"graphics\": [\r\n                            {\r\n                                \"autoPort\": \"yes\",\r\n                                \"defaultMode\": \"any\",\r\n                                \"listen\": {\r\n                                    \"address\": \"0.0.0.0\",\r\n                                    \"type\": \"address\"\r\n                                },\r\n                                \"port\": 4000,\r\n                                \"type\": \"spice\"\r\n                            }\r\n                        ],\r\n                        \"interfaces\": [\r\n                            {\r\n                                \"source\": {\r\n                                    \"network\": \"default\"\r\n                                },\r\n                                \"type\": \"network\"\r\n                            }\r\n                        ],\r\n                        \"video\": [\r\n                            {\r\n                                \"Model\": {\r\n                                    \"VGAMem\": 16384,\r\n                                    \"heads\": 1,\r\n                                    \"ram\": 65536,\r\n                                    \"type\": \"qxl\",\r\n                                    \"vram\": 8192\r\n                                }\r\n                            }\r\n                        ]\r\n                    },\r\n                    \"memory\": {\r\n                        \"unit\": \"MB\",\r\n                        \"value\": 64\r\n                    },\r\n                    \"name\": \"testvm\",\r\n                    \"os\": {\r\n                        \"bootOrder\": null,\r\n                        \"type\": {\r\n                            \"os\": \"hvm\"\r\n                        }\r\n                    },\r\n                    \"type\": \"qemu\",\r\n                    \"uuid\": \"bc57dcd3-0ed4-11e7-909e-525400b58bb7\"\r\n                }\r\n            },\r\n            \"status\": {\r\n                \"nodeName\": \"master\",\r\n                \"phase\": \"Pending\"\r\n            }\r\n        }\r\n    ],\r\n    \"kind\": \"List\",\r\n    \"metadata\": {},\r\n    \"resourceVersion\": \"\",\r\n    \"selfLink\": \"\"\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/comments/320614094","html_url":"https://github.com/kubevirt/kubevirt/issues/161#issuecomment-320614094","issue_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/161","id":320614094,"user":{"login":"fabiand","id":83456,"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},"created_at":"2017-08-07T09:20:48Z","updated_at":"2017-08-07T09:20:48Z","body":"@kenzhaoyihui are you still seeing this issue?"}}
{"actor":{"display_login":"fabiand"}}