[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: Libvirt hit a issue when do VM migration
From:       liang chaojun <jesonliang040705 () hotmail ! com>
Date:       2021-06-23 12:31:24
Message-ID: OS3PR01MB62123F1480531FC3E9CECA50D9089 () OS3PR01MB6212 ! jpnprd01 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]

[Attachment #6 (text/plain)]

Thanks Peter for your help as well as your suggestion. I have got the cues of this \
issue.

Current there still exist another issue that confuse me that we random hit VM can't \
boot and  stuck in black screen show as "Guest has not initialized the display \
(yet)."

The attachment is the Libvirt debug log but I'm not able to find any useful cues.  \
Any comments regarding this issue will be appreciated.



[cid:a29599f6-5c30-4804-a2f1-65b1027a7e10@jpnprd01.prod.outlook.com]


> 在 2021年6月17日,下午8:21,Peter Krempa <pkrempa@redhat.com> 写道:
> 
> Firstly please don't CC random people who are subscribed to the list.
> 
> Additionally this is a user-question so it's not entirely appropriate
> for libvir-list@redhat.com only for libvirt-users@redhat.com.
> 
> On Thu, Jun 17, 2021 at 16:52:42 +0800, 梁朝军 wrote:
> > Hi All,
> > 
> > Who can give me a help? I hit another issue when do vm migration?  Libvirt throw \
> > out the error like below 
> > "libvirt: Domain Config error : unsupported configuration: vcpu enable order of \
> > vCPU '0' differs between source and destination definitions"
> 
> This error happens when the 'order' attribute ...
> 
> > 
> > 
> > The cup information is defined VM domain on source host is like:
> > <vcpu placement='static'>2</vcpu>
> > <vcpus>
> > <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
> > <vcpu id='1' enabled='yes' hotpluggable='no' order='2'/>
> 
> ... such you can see here doesn't match for a vcpu of a particular ID.
> 
> > </vcpus>
> > <cputune>
> > <vcpupin vcpu='0' cpuset='42'/>
> > <vcpupin vcpu='1' cpuset='43'/>
> > </cputune>
> > 
> > The distinction host previews generate xml for VM like:
> > 
> > <vcpu placement='static'>2</vcpu>
> > <vcpus>
> > <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
> > <vcpu id='1' enabled='yes' hotpluggable='no' order='2'/>
> 
> Yours do match though. Did you post the correct XMLs?
> 
> > </vcpus>
> > <cputune>
> > <vcpupin vcpu='0' cpuset='42'/>
> > <vcpupin vcpu='1' cpuset='43'/>
> > </cputune>
> > 
> > What't wrong with it? Or I missing some actions in configurations regarding the \
> > migration
> 
> It's unfortunately impossible to tell, your report doesn't descirbe what
> steps you took to do the migration nor does contain debug logs.
> 


[Attachment #7 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Thanks Peter for your help as well as your suggestion. I have \
got the cues of this issue.<br> <br>
Current there still exist another issue that confuse me that we random hit VM can't \
boot and&nbsp; stuck in black screen show as "Guest has not initialized the display \
(yet)." <br>
<br>
The attachment is the Libvirt debug log but I'm not able to find any useful \
cues.&nbsp; Any comments regarding this issue will be appreciated.</div> \
</span></font></div> <div class="BodyFragment"><font size="2"><span \
style="font-size:11pt;"> <div class="PlainText"><br>
<br>
<br>
</div>
</span></font></div>
<div><img src="cid:a29599f6-5c30-4804-a2f1-65b1027a7e10@jpnprd01.prod.outlook.com">
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
&gt; 在 2021年6月17日,下午8:21,Peter Krempa &lt;pkrempa@redhat.com&gt; \
写道:<br> &gt; <br>
&gt; Firstly please don't CC random people who are subscribed to the list.<br>
&gt; <br>
&gt; Additionally this is a user-question so it's not entirely appropriate<br>
&gt; for libvir-list@redhat.com only for libvirt-users@redhat.com.<br>
&gt; <br>
&gt; On Thu, Jun 17, 2021 at 16:52:42 +0800, 梁朝军 wrote:<br>
&gt;&gt; Hi All,<br>
&gt;&gt; <br>
&gt;&gt; Who can give me a help? I hit another issue when do vm migration?&nbsp; \
Libvirt throw out the error like below<br> &gt;&gt; <br>
&gt;&gt; &quot;libvirt: Domain Config error : unsupported configuration: vcpu enable \
order of vCPU '0' differs between source and destination definitions"<br> &gt; <br>
&gt; This error happens when the 'order' attribute ...<br>
&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; The cup information is defined VM domain on source host is like: <br>
&gt;&gt; &lt;vcpu placement='static'&gt;2&lt;/vcpu&gt;<br>
&gt;&gt; &lt;vcpus&gt;<br>
&gt;&gt; &lt;vcpu id='0' enabled='yes' hotpluggable='no' order='1'/&gt;<br>
&gt;&gt; &lt;vcpu id='1' enabled='yes' hotpluggable='no' order='2'/&gt;<br>
&gt; <br>
&gt; ... such you can see here doesn't match for a vcpu of a particular ID.<br>
&gt; <br>
&gt;&gt; &lt;/vcpus&gt;<br>
&gt;&gt; &lt;cputune&gt;<br>
&gt;&gt; &lt;vcpupin vcpu='0' cpuset='42'/&gt;<br>
&gt;&gt; &lt;vcpupin vcpu='1' cpuset='43'/&gt;<br>
&gt;&gt; &lt;/cputune&gt;<br>
&gt;&gt; <br>
&gt;&gt; The distinction host previews generate xml for VM like:<br>
&gt;&gt; <br>
&gt;&gt; &lt;vcpu placement='static'&gt;2&lt;/vcpu&gt;<br>
&gt;&gt; &lt;vcpus&gt;<br>
&gt;&gt; &lt;vcpu id='0' enabled='yes' hotpluggable='no' order='1'/&gt;<br>
&gt;&gt; &lt;vcpu id='1' enabled='yes' hotpluggable='no' order='2'/&gt;<br>
&gt; <br>
&gt; Yours do match though. Did you post the correct XMLs?<br>
&gt; <br>
&gt;&gt; &lt;/vcpus&gt;<br>
&gt;&gt; &lt;cputune&gt;<br>
&gt;&gt; &lt;vcpupin vcpu='0' cpuset='42'/&gt;<br>
&gt;&gt; &lt;vcpupin vcpu='1' cpuset='43'/&gt;<br>
&gt;&gt; &lt;/cputune&gt;<br>
&gt;&gt; <br>
&gt;&gt; What't wrong with it? Or I missing some actions in configurations regarding \
the migration<br> &gt; <br>
&gt; It's unfortunately impossible to tell, your report doesn't descirbe what<br>
&gt; steps you took to do the migration nor does contain debug logs.<br>
&gt; <br>
<br>
</div>
</span></font></div>
</body>
</html>


["PastedGraphic-1.png" (image/png)]
["testvm_cuhv7a54.log" (application/octet-stream)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic