Subject: [ OST Failure Report ] [ oVirt $VER ] [ $DATE ] [ TEST NAME ]

This is a multi-part message in MIME format. --------------E7C7D599007B2D267B0238BE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ** *Hi, * * ** vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? ** ** here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 Test failed:**004_basic_sanity.vm_run Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... Error snippet from the log: <error> * /*engine log: */** ** ***2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@ * vdsm log: ** ** 2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain* *** * * *</error>* ** --------------E7C7D599007B2D267B0238BE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Hi, </span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"> </span></p> </b><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;">vm failed to run with libvrt unsupported configuration <span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">(see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? </span></p> </b><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"> </span></p> </b><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">here is a grep from logs on vm id: <a class="moz-txt-link-freetext" href="http://pastebin.test.redhat.com/500889">http://pastebin.test.redhat.com/500889</a> </span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"> </span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Test failed:<b> </b></span><span style="color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">004_basic_sanity.vm_run</span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to suspected patches: <a class="moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/78955/">https://gerrit.ovirt.org/#/c/78955/</a></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to Job: <a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/">http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/</a></span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Link to all logs: <a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/">http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/</a></span></p> <br> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">Error snippet from the log: </span></p> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><error></span></p> </b></p> <p><i><b><span style="font-weight:normal;">engine log: </span></b></i><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"><b><br> </b></b></p> <p><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"><b></b>2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}'<br> {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@<br> <br> </b></p> <p><span style="font-weight:normal;">vdsm log: </span><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"><b><br> </b></b></p> <p><span style="font-weight:normal;">2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789)<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/virt/vm.py", line 2328, in _run<br> self._connection.createXML(domxml, flags),<br> File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper<br> return func(inst, *args, **kwargs)<br> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML<br> if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)<br> libvirtError: unsupported configuration: unknown spice channel name smain<b><br> </b></span><b style="font-weight:normal;" id="docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a"><b><br> </b><br> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"></error></span></p> </b><br class="Apple-interchange-newline"> </p> </body> </html> --------------E7C7D599007B2D267B0238BE--

On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com> wrote:
*Hi, *
* vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? *
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p... To: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd... I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though.
* here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889> Test failed: 004_basic_sanity.vm_run Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/> Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/> Error snippet from the log: <error> *
*engine log: *
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@ *
vdsm log:
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain
*</error>*

בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <ahadas@redhat.com> כתב: On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com> wrote:
*Hi, *
* vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? *
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/ vmdevices/graphics.py#L87 To: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/ vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/builder/vminfo/ LibvirtVmXmlBuilder.java#L1152 I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though. Fix is posted: https://gerrit.ovirt.org/#/c/79125
* here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889> Test failed: 004_basic_sanity.vm_run Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/> Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/> Error snippet from the log: <error> *
*engine log: *
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@ *
vdsm log:
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain
*</error>*

This is a multi-part message in MIME format. --------------0D6B796C45AC72CF3EA95EAB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Thank you :) I will keep an eye on the tests On 07/07/2017 09:43 AM, Arik Hadas wrote:
בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <ahadas@redhat.com <mailto:ahadas@redhat.com>> כתב:
On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com <mailto:dron@redhat.com>> wrote:
**
*Hi, *
*
**
vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look?
*
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p... <https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.py#L87> To: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd... <https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/builder/vminfo/LibvirtVmXmlBuilder.java#L1152> I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though.
Fix is posted: https://gerrit.ovirt.org/#/c/79125
***
**
here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889>
Test failed:**004_basic_sanity.vm_run
Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/>
Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/>
Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/>
Error snippet from the log:
<error>
*
/*engine log: */** **
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@
*
vdsm log: ** **
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain* *** * *
*</error>*
**
--------------0D6B796C45AC72CF3EA95EAB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">Thank you :) <br> I will keep an eye on the tests <br> <br> <br> On 07/07/2017 09:43 AM, Arik Hadas wrote:<br> </div> <blockquote type="cite" cite="mid:CAMCgCFHLuN4Gd7D32r5rkE-iLKK7xYzSjsOqs7k44P=KVouOmA@mail.gmail.com"> <div dir="auto"> <div><br> <div class="gmail_extra"><br> <div class="gmail_quote">בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <<a href="mailto:ahadas@redhat.com" moz-do-not-send="true">ahadas@redhat.com</a>> כתב:<br type="attribution"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote"> <div class="quoted-text">On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <span dir="ltr"><<a href="mailto:dron@redhat.com" target="_blank" moz-do-not-send="true">dron@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"> <p><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Hi, </span></b></p> <b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr">vm failed to run with libvrt unsupported configuration <span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">(see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? </span></p> </b></div> </blockquote> <div><br> </div> </div> <div>Right, good analysis.</div> <div>Will be easy to fix, just need to copy one of VDSM little hacks in:</div> <div><a href="https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p..." target="_blank" moz-do-not-send="true">https://github.com/oVirt/vdsm/<wbr>blob/master/lib/vdsm/virt/<wbr>vmdevices/graphics.py#L87</a></div> <div>To:</div> <div><a href="https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd..." target="_blank" moz-do-not-send="true">https://github.com/oVirt/<wbr>ovirt-engine/blob/master/<wbr>backend/manager/modules/<wbr>vdsbroker/src/main/java/org/<wbr>ovirt/engine/core/vdsbroker/<wbr>builder/vminfo/<wbr>LibvirtVmXmlBuilder.java#L1152</a></div> <div>I'll do that tomorrow.</div> <div>Not sure why "ci please build" tests passed on that one though.</div> </div> </div> </div> </blockquote> </div> </div> </div> <div dir="auto"><br> </div> <div dir="auto">Fix is posted:</div> <div dir="auto"><a href="https://gerrit.ovirt.org/#/c/79125" moz-do-not-send="true">https://gerrit.ovirt.org/#/c/79125</a><br> </div> <div dir="auto"><br> </div> <div dir="auto"> <div class="gmail_extra"> <div class="gmail_quote"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote"> <div class="elided-text"> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">here is a grep from logs on vm id: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://pastebin.test.redhat.com/500889" target="_blank" moz-do-not-send="true">http://pastebin.test.redhat.co<wbr>m/500889</a> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Test failed:<b> </b></span><span style="color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:bold;word-spacing:0px;display:inline;white-space:normal;float:none">004_basic_sanity.vm_run</span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to suspected patches: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/78955/" target="_blank" moz-do-not-send="true">https://gerrit.ovirt.org/#/c/7<wbr>8955/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to Job: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/" target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/t<wbr>est-repo_ovirt_experimental_ma<wbr>ster/7491/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to all logs: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa..." target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/t<wbr>est-repo_ovirt_experimental_ma<wbr>ster/7491/artifact/exported-ar<wbr>tifacts/basic-suit-master-el7/<wbr>test_logs/basic-suite-master/<wbr>post-004_basic_sanity.py/</a></span></p> <br> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Error snippet from the log: </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><error></span></p> </b> <p><i><b><span style="font-weight:normal">engine log: </span></b></i><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal">2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.Run<wbr>VmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-39595<wbr>7cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[<wbr>d3b1b67d-d2fd-4ed7-86d1-795ba2<wbr>f10bc0=VM]', sharedLocks=''}'<br> {"params": {"d3b1b67d-d2fd-4ed7-86d1-795b<wbr>a2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd<wbr>-4ed7-86d1-795ba2f10bc0"}^@<br> <br> </b></p> <p><span style="font-weight:normal">vdsm log: </span><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><span style="font-weight:normal">2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1<wbr>-795ba2f10bc0') The vm start process failed (vm:789)<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/virt/vm.py", line 2328, in _run<br> self._connection.createXML(dom<wbr>xml, flags),<br> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/libvirtconnection.py"<wbr>, line 125, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/utils.py", line 646, in wrapper<br> return func(inst, *args, **kwargs)<br> File "/usr/lib64/python2.7/site-pac<wbr>kages/libvirt.py", line 3782, in createXML<br> if ret is None:raise libvirtError('virDomainCreateX<wbr>ML() failed', conn=self)<br> libvirtError: unsupported configuration: unknown spice channel name smain<b><br> </b></span><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b><br> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></error></span></b></p> <b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><br class="m_6643759665648779864gmail-m_-3012446297553863324Apple-interchange-newline"> </div> </blockquote> </div> </div> <br> </div> </div> </blockquote> </div> <br> </div> </div> </div> </blockquote> <p><br> </p> </body> </html> --------------0D6B796C45AC72CF3EA95EAB--

This is a multi-part message in MIME format. --------------9795A692253D2BA172407687 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Arik, seems there is a second issue in the xml with a required device not sent: Here is the xml sent: http://pastebin.test.redhat.com/501086 This is the error: 2017-07-07 06:06:36,386-0400 ERROR (vm/300ac8d4) [virt.vm] (vmId='300ac8d4-2157-46f6-bc24-291d3da9a83d') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2341, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: Unable to get device ID '(null)': Bad address Here is some other useful info on the device teardown which can help suggest what was the device: http://pastebin.test.redhat.com/501087 Here is a grep on the vm id from logs: http://pastebin.test.redhat.com/501085 here is a link to full logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7501/artifa... Can you please have a look? Thanks, Dafna On 07/07/2017 10:03 AM, Dafna Ron wrote:
Thank you :) I will keep an eye on the tests
On 07/07/2017 09:43 AM, Arik Hadas wrote:
בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <ahadas@redhat.com <mailto:ahadas@redhat.com>> כתב:
On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com <mailto:dron@redhat.com>> wrote:
**
*Hi, *
*
**
vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look?
*
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p... <https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.py#L87> To: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd... <https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/builder/vminfo/LibvirtVmXmlBuilder.java#L1152> I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though.
Fix is posted: https://gerrit.ovirt.org/#/c/79125
***
**
here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889>
Test failed:**004_basic_sanity.vm_run
Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/>
Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/>
Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/>
Error snippet from the log:
<error>
*
/*engine log: */** **
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@
*
vdsm log: ** **
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain* *** * *
*</error>*
**
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--------------9795A692253D2BA172407687 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">Hi Arik, <br> <br> seems there is a second issue in the xml with a required device not sent: <br> <br> Here is the xml sent: <br> <a class="moz-txt-link-freetext" href="http://pastebin.test.redhat.com/501086">http://pastebin.test.redhat.com/501086</a><br> <br> This is the error: <br> <br> 2017-07-07 06:06:36,386-0400 ERROR (vm/300ac8d4) [virt.vm] (vmId='300ac8d4-2157-46f6-bc24-291d3da9a83d') The vm start process failed (vm:789)<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/virt/vm.py", line 2341, in _run<br> self._connection.createXML(domxml, flags),<br> File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper<br> return func(inst, *args, **kwargs)<br> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML<br> if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)<br> libvirtError: Unable to get device ID '(null)': Bad address<br> <br> Here is some other useful info on the device teardown which can help suggest what was the device: <br> <br> <a class="moz-txt-link-freetext" href="http://pastebin.test.redhat.com/501087">http://pastebin.test.redhat.com/501087</a><br> <br> Here is a grep on the vm id from logs: <a class="moz-txt-link-freetext" href="http://pastebin.test.redhat.com/501085">http://pastebin.test.redhat.com/501085</a><br> here is a link to full logs: <br> <a class="moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7501/artifact/">http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7501/artifact/</a><br> <br> Can you please have a look? <br> <br> Thanks, <br> Dafna<br> <br> <br> <br> <br> On 07/07/2017 10:03 AM, Dafna Ron wrote:<br> </div> <blockquote type="cite" cite="mid:6dc4968a-b605-fba6-625e-a8a6d33232d3@redhat.com"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <div class="moz-cite-prefix">Thank you :) <br> I will keep an eye on the tests <br> <br> <br> On 07/07/2017 09:43 AM, Arik Hadas wrote:<br> </div> <blockquote type="cite" cite="mid:CAMCgCFHLuN4Gd7D32r5rkE-iLKK7xYzSjsOqs7k44P=KVouOmA@mail.gmail.com"> <div dir="auto"> <div><br> <div class="gmail_extra"><br> <div class="gmail_quote">בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <<a href="mailto:ahadas@redhat.com" moz-do-not-send="true">ahadas@redhat.com</a>> כתב:<br type="attribution"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote"> <div class="quoted-text">On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <span dir="ltr"><<a href="mailto:dron@redhat.com" target="_blank" moz-do-not-send="true">dron@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"> <p><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Hi, </span></b></p> <b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr">vm failed to run with libvrt unsupported configuration <span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">(see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? </span></p> </b></div> </blockquote> <div><br> </div> </div> <div>Right, good analysis.</div> <div>Will be easy to fix, just need to copy one of VDSM little hacks in:</div> <div><a href="https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p..." target="_blank" moz-do-not-send="true">https://github.com/oVirt/vdsm/<wbr>blob/master/lib/vdsm/virt/<wbr>vmdevices/graphics.py#L87</a></div> <div>To:</div> <div><a href="https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd..." target="_blank" moz-do-not-send="true">https://github.com/oVirt/<wbr>ovirt-engine/blob/master/<wbr>backend/manager/modules/<wbr>vdsbroker/src/main/java/org/<wbr>ovirt/engine/core/vdsbroker/<wbr>builder/vminfo/<wbr>LibvirtVmXmlBuilder.java#L1152</a></div> <div>I'll do that tomorrow.</div> <div>Not sure why "ci please build" tests passed on that one though.</div> </div> </div> </div> </blockquote> </div> </div> </div> <div dir="auto"><br> </div> <div dir="auto">Fix is posted:</div> <div dir="auto"><a href="https://gerrit.ovirt.org/#/c/79125" moz-do-not-send="true">https://gerrit.ovirt.org/#/c/79125</a><br> </div> <div dir="auto"><br> </div> <div dir="auto"> <div class="gmail_extra"> <div class="gmail_quote"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote"> <div class="elided-text"> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">here is a grep from logs on vm id: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://pastebin.test.redhat.com/500889" target="_blank" moz-do-not-send="true">http://pastebin.test.redhat.co<wbr>m/500889</a> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Test failed:<b> </b></span><span style="color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:bold;word-spacing:0px;display:inline;white-space:normal;float:none">004_basic_sanity.vm_run</span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to suspected patches: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/78955/" target="_blank" moz-do-not-send="true">https://gerrit.ovirt.org/#/c/7<wbr>8955/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to Job: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/" target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/t<wbr>est-repo_ovirt_experimental_ma<wbr>ster/7491/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to all logs: <a class="m_6643759665648779864gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa..." target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/t<wbr>est-repo_ovirt_experimental_ma<wbr>ster/7491/artifact/exported-ar<wbr>tifacts/basic-suit-master-el7/<wbr>test_logs/basic-suite-master/<wbr>post-004_basic_sanity.py/</a></span></p> <br> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Error snippet from the log: </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><error></span></p> </b> <p><i><b><span style="font-weight:normal">engine log: </span></b></i><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal">2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.Run<wbr>VmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-39595<wbr>7cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[<wbr>d3b1b67d-d2fd-4ed7-86d1-795ba2<wbr>f10bc0=VM]', sharedLocks=''}'<br> {"params": {"d3b1b67d-d2fd-4ed7-86d1-795b<wbr>a2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd<wbr>-4ed7-86d1-795ba2f10bc0"}^@<br> <br> </b></p> <p><span style="font-weight:normal">vdsm log: </span><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><span style="font-weight:normal">2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1<wbr>-795ba2f10bc0') The vm start process failed (vm:789)<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/virt/vm.py", line 2328, in _run<br> self._connection.createXML(dom<wbr>xml, flags),<br> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/libvirtconnection.py"<wbr>, line 125, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/utils.py", line 646, in wrapper<br> return func(inst, *args, **kwargs)<br> File "/usr/lib64/python2.7/site-pac<wbr>kages/libvirt.py", line 3782, in createXML<br> if ret is None:raise libvirtError('virDomainCreateX<wbr>ML() failed', conn=self)<br> libvirtError: unsupported configuration: unknown spice channel name smain<b><br> </b></span><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b><br> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></error></span></b></p> <b id="m_6643759665648779864gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><br class="m_6643759665648779864gmail-m_-3012446297553863324Apple-interchange-newline"> </div> </blockquote> </div> </div> <br> </div> </div> </blockquote> </div> <br> </div> </div> </div> </blockquote> <p><br> </p> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Infra mailing list <a class="moz-txt-link-abbreviated" href="mailto:Infra@ovirt.org">Infra@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/infra">http://lists.ovirt.org/mailman/listinfo/infra</a> </pre> </blockquote> <p><br> </p> </body> </html> --------------9795A692253D2BA172407687--

On Fri, Jul 7, 2017 at 1:48 PM, Dafna Ron <dron@redhat.com> wrote:
Hi Arik,
seems there is a second issue in the xml with a required device not sent:
Here is the xml sent: http://pastebin.test.redhat.com/501086
This is the error:
2017-07-07 06:06:36,386-0400 ERROR (vm/300ac8d4) [virt.vm] (vmId='300ac8d4-2157-46f6-bc24-291d3da9a83d') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2341, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: Unable to get device ID '(null)': Bad address
Here is some other useful info on the device teardown which can help suggest what was the device:
http://pastebin.test.redhat.com/501087
Here is a grep on the vm id from logs: http://pastebin.test.redhat. com/501085 here is a link to full logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_ master/7501/artifact/
Can you please have a look?
Reverted https://gerrit.ovirt.org/#/c/78955/ for now.
Thanks, Dafna
On 07/07/2017 10:03 AM, Dafna Ron wrote:
Thank you :) I will keep an eye on the tests
On 07/07/2017 09:43 AM, Arik Hadas wrote:
בתאריך 6 ביולי 2017 11:13 PM, "Arik Hadas" <ahadas@redhat.com> כתב:
On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com> wrote:
*Hi, *
* vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? *
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmde vices/graphics.py#L87 To: https://github.com/oVirt/ovirt-engine/blob/master/backend/ manager/modules/vdsbroker/src/main/java/org/ovirt/engine/ core/vdsbroker/builder/vminfo/LibvirtVmXmlBuilder.java#L1152 I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though.
Fix is posted: https://gerrit.ovirt.org/#/c/79125
* here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889> Test failed: 004_basic_sanity.vm_run Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/> Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/> Error snippet from the log: <error> *
*engine log: *
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@ *
vdsm log:
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain
*</error>*
_______________________________________________ Infra mailing listInfra@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/infra

This is a multi-part message in MIME format. --------------A69F6C0008037B71296847FA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Please make sure to add me as reviewer, the little hacks you mention may be out of date and there could be simpler and safer ways to fix this issue. Bests, On 07/06/2017 10:13 PM, Arik Hadas wrote:
On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <dron@redhat.com <mailto:dron@redhat.com>> wrote:
**
*Hi, *
*
**
vm failed to run with libvrt unsupported configuration (see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look?
*
Right, good analysis. Will be easy to fix, just need to copy one of VDSM little hacks in: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p... To: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd... I'll do that tomorrow. Not sure why "ci please build" tests passed on that one though.
***
**
here is a grep from logs on vm id: http://pastebin.test.redhat.com/500889 <http://pastebin.test.redhat.com/500889>
Test failed:**004_basic_sanity.vm_run
Link to suspected patches: https://gerrit.ovirt.org/#/c/78955/ <https://gerrit.ovirt.org/#/c/78955/>
Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/ <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/>
Link to all logs: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa... <http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/>
Error snippet from the log:
<error>
*
/*engine log: */** **
*2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0=VM]', sharedLocks=''}' {"params": {"d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0"}^@
*
vdsm log: ** **
2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-86d1-795ba2f10bc0') The vm start process failed (vm:789) Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 2328, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 646, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: unsupported configuration: unknown spice channel name smain* *** * *
*</error>*
**
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh --------------A69F6C0008037B71296847FA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Please make sure to add me as reviewer, the little hacks you mention may be out of date and there could be simpler and safer ways to fix this issue.</p> <p><br> </p> <p>Bests,<br> </p> <br> <div class="moz-cite-prefix">On 07/06/2017 10:13 PM, Arik Hadas wrote:<br> </div> <blockquote type="cite" cite="mid:CAMCgCFEYjz5O1MQvvpa9ZavtPM6mDdrgQFByy18yoa+Ga30ohw@mail.gmail.com"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Jul 6, 2017 at 8:40 PM, Dafna Ron <span dir="ltr"><<a href="mailto:dron@redhat.com" target="_blank" moz-do-not-send="true">dron@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"> <p><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Hi, </span></b></p> <b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr">vm failed to run with libvrt unsupported configuration <span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">(see error below) since the patch is related to 4.2 xml configuration and the vm failed to run on unsupported configuration I suspect its related - can you please have a closer look? </span></p> </b></div> </blockquote> <div><br> </div> <div>Right, good analysis.</div> <div>Will be easy to fix, just need to copy one of VDSM little hacks in:</div> <div><a href="https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.p..." moz-do-not-send="true">https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmdevices/graphics.py#L87</a></div> <div>To:</div> <div><a href="https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vd..." moz-do-not-send="true">https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/builder/vminfo/LibvirtVmXmlBuilder.java#L1152</a></div> <div>I'll do that tomorrow.</div> <div>Not sure why "ci please build" tests passed on that one though.</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"> <div bgcolor="#FFFFFF"><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> </b><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">here is a grep from logs on vm id: <a class="gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://pastebin.test.redhat.com/500889" target="_blank" moz-do-not-send="true">http://pastebin.test.redhat.<wbr>com/500889</a> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Test failed:<b> </b></span><span style="color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:bold;word-spacing:0px;display:inline;white-space:normal;float:none">004_basic_sanity.vm_run</span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to suspected patches: <a class="gmail-m_-3012446297553863324moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/78955/" target="_blank" moz-do-not-send="true">https://gerrit.ovirt.org/#/c/<wbr>78955/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to Job: <a class="gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/" target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/7491/</a></span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Link to all logs: <a class="gmail-m_-3012446297553863324moz-txt-link-freetext" href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7491/artifa..." target="_blank" moz-do-not-send="true">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/7491/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-004_basic_sanity.<wbr>py/</a></span></p> <br> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Error snippet from the log: </span></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><error></span></p> </b> <p><i><b><span style="font-weight:normal">engine log: </span></b></i><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal">2017-07-06 11:26:34,473-04 INFO [org.ovirt.engine.core.bll.<wbr>RunVmOnceCommand] (default task-31) [a7b073ec-04ba-434a-95b4-<wbr>395957cae6dc] Lock freed to object 'EngineLock:{exclusiveLocks='[<wbr>d3b1b67d-d2fd-4ed7-86d1-<wbr>795ba2f10bc0=VM]', sharedLocks=''}'<br> {"params": {"d3b1b67d-d2fd-4ed7-86d1-<wbr>795ba2f10bc0": {"status": "Down", "timeOffset": "0", "exitReason": 1, "exitMessage": "unsupported configuration: unknown spice channel name smain", "exitCode": 1}, "notify_time": 4295594320}, "jsonrpc": "2.0", "method": "|virt|VM_status|d3b1b67d-<wbr>d2fd-4ed7-86d1-795ba2f10bc0"}^<wbr>@<br> <br> </b></p> <p><span style="font-weight:normal">vdsm log: </span><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b></b></p> <p><span style="font-weight:normal">2017-07-06 11:26:36,866-0400 ERROR (vm/d3b1b67d) [virt.vm] (vmId='d3b1b67d-d2fd-4ed7-<wbr>86d1-795ba2f10bc0') The vm start process failed (vm:789)<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/virt/vm.py", line 723, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/virt/vm.py", line 2328, in _run<br> self._connection.createXML(<wbr>domxml, flags),<br> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/<wbr>libvirtconnection.py", line 125, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/utils.py", line 646, in wrapper<br> return func(inst, *args, **kwargs)<br> File "/usr/lib64/python2.7/site-<wbr>packages/libvirt.py", line 3782, in createXML<br> if ret is None:raise libvirtError('<wbr>virDomainCreateXML() failed', conn=self)<br> libvirtError: unsupported configuration: unknown spice channel name smain<b><br> </b></span><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><b><br> </b><br> </b></p> <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"><span style="color:rgb(0,0,0);font-family:Arial;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></error></span></b></p> <b id="gmail-m_-3012446297553863324docs-internal-guid-e0ead7e4-18ea-282b-e1b6-8be42d98a81a" style="font-weight:normal"> </b><br class="gmail-m_-3012446297553863324Apple-interchange-newline"> </div> </blockquote> </div> <br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Devel@ovirt.org">Devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/devel">http://lists.ovirt.org/mailman/listinfo/devel</a></pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh</pre> </body> </html> --------------A69F6C0008037B71296847FA--
participants (3)
-
Arik Hadas
-
Dafna Ron
-
Francesco Romani