{"action":"opened","issue":{"url":"https://api.github.com/repos/vatesfr/xen-orchestra/issues/2863","repository_url":"https://api.github.com/repos/vatesfr/xen-orchestra","labels_url":"https://api.github.com/repos/vatesfr/xen-orchestra/issues/2863/labels{/name}","comments_url":"https://api.github.com/repos/vatesfr/xen-orchestra/issues/2863/comments","events_url":"https://api.github.com/repos/vatesfr/xen-orchestra/issues/2863/events","html_url":"https://github.com/vatesfr/xen-orchestra/issues/2863","id":313634788,"number":2863,"title":"Error on host.installPatch","user":{"login":"ecoutinho","id":2861461,"avatar_url":"https://avatars0.githubusercontent.com/u/2861461?v=4","gravatar_id":"","url":"https://api.github.com/users/ecoutinho","html_url":"https://github.com/ecoutinho","followers_url":"https://api.github.com/users/ecoutinho/followers","following_url":"https://api.github.com/users/ecoutinho/following{/other_user}","gists_url":"https://api.github.com/users/ecoutinho/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoutinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoutinho/subscriptions","organizations_url":"https://api.github.com/users/ecoutinho/orgs","repos_url":"https://api.github.com/users/ecoutinho/repos","events_url":"https://api.github.com/users/ecoutinho/events{/privacy}","received_events_url":"https://api.github.com/users/ecoutinho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T08:56:04Z","updated_at":"2018-04-12T08:56:04Z","closed_at":null,"author_association":"NONE","body":"I've done a manual install of XO and tried to install patch XS72E016 on a host. This error occurred:\r\n\r\n```\r\nhost.installPatch\r\n{\r\n  \"host\": \"92ed4d74-a17a-471f-8773-7f24505ff0d8\",\r\n  \"patch\": \"ace26213-e993-4ede-8189-f7a086337cdf\",\r\n  \"id\": \"92ed4d74-a17a-471f-8773-7f24505ff0d8\"\r\n}\r\n{\r\n  \"message\": \"Cannot read property 'name_label' of null\",\r\n  \"stack\": \"TypeError: Cannot read property 'name_label' of null\r\n    at /opt/xen-orchestra/packages/xo-server/src/xapi/index.js:1729:46\r\n    at Generator.next (<anonymous>)\r\n    at step (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:221)\r\n    at _next (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:409)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:477\r\n    at new Promise (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:168:7)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:97\r\n    at Xapi.createVdi (/opt/xen-orchestra/packages/xo-server/src/xapi/index.js:1727:5)\r\n    at /opt/xen-orchestra/packages/xo-server/src/xapi/index.js:2265:27\r\n    at Generator.next (<anonymous>)\r\n    at step (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:221)\r\n    at _next (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:409)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:477\r\n    at new Promise (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:168:7)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:97\r\n    at Xapi.createTemporaryVdiOnSr (/opt/xen-orchestra/packages/xo-server/src/xapi/index.js:2264:4)\r\n    at Xapi.<anonymous> (/opt/xen-orchestra/node_modules/golike-defer/src/index.js:60:48)\r\n    at /opt/xen-orchestra/packages/xo-server/src/xapi/index.js:2288:16\r\n    at Generator.next (<anonymous>)\r\n    at step (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:221)\r\n    at _next (/opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:409)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:477\r\n    at new Promise (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:168:7)\r\n    at /opt/xen-orchestra/packages/xo-server/dist/xapi/index.js:82:97\r\n    at Xapi.createTemporaryVdiOnHost (/opt/xen-orchestra/packages/xo-server/src/xapi/index.js:2279:80)\r\n    at /opt/xen-orchestra/packages/xo-server/src/xapi/mixins/patching.js:288:23\r\n    at Generator.next (<anonymous>)\r\n    at step (/opt/xen-orchestra/packages/xo-server/dist/xapi/mixins/patching.js:46:221)\r\n    at _next (/opt/xen-orchestra/packages/xo-server/dist/xapi/mixins/patching.js:46:409)\r\n    at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:66:22)\r\n    at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:83:30\r\n    at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)\r\n    at process._tickCallback (internal/process/next_tick.js:112:11)\"\r\n}\r\n```"}}
{"actor":{"display_login":"ecoutinho"}}