<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 07.03.2018 17:22, Arik Hadas wrote:<br>
    <blockquote type="cite"
cite="mid:CAMCgCFGAw6HR+mfwP2zHOGUv9JgaP5ovgTM7CEShdKy8Omh4PA@mail.gmail.com">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Mar 7, 2018 at 6:15 PM, Jan
            Siml <span dir="ltr">&lt;<a
                href="mailto:jsiml@plusline.net" target="_blank"
                moz-do-not-send="true">jsiml@plusline.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<span
                class=""><br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Enable network and disks on your VM than do:<br>
                    Run -&gt; ONCE Ok Ignore errors. Ok<br>
                    Run<br>
                    Cheeers<br>
                  </blockquote>
                  <br>
                  WTF! That worked.<br>
                  <br>
                  Did you know, why this works and what happens in the
                  background? Is there a Bugzilla bug ID for this issue?<br>
                </blockquote>
              </span></blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    I figured it out, by they attempt to change the VM CPU family from
    old VM's, as a last try to get it work again.<br>
    After i had a live upgrade to 4.2 with running VM's and shutdown
    them down they all dead with disabled network and disks.<br>
    No delight to delete them all and recreate them, the other way. <br>
    <br>
    Have a nice day.<br>
    <br>
    <blockquote type="cite"
cite="mid:CAMCgCFGAw6HR+mfwP2zHOGUv9JgaP5ovgTM7CEShdKy8Omh4PA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              BTW, here is the list of devices before:<span class=""><br>
                <br>
                engine=# select type, device, address, is_managed,
                is_plugged, alias from vm_device where vm_id in (select
                vm_guid from vm_static where vm_name='prod-hub-201');<br>
                    type    |    device     |                         
                 address                    | is_managed | is_plugged | 
                   alias<br>
                ------------+---------------+-<wbr>------------------------------<wbr>------------------------------<wbr>-+------------+------------+--<wbr>--------------<br>
                 video      | qxl           |                    | t   
                      | t          |<br>
                 controller | virtio-scsi   |                    | t   
                      | t          |<br>
                 balloon    | memballoon    |                    | t   
                      | f          | balloon0<br>
                 graphics   | spice         |                    | t   
                      | t          |<br>
              </span>
               controller | virtio-serial | {slot=0x06, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | t          | t   
                    | virtio-serial0<br>
               disk       | disk          | {slot=0x07, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | f          | t   
                    | virtio-disk0<br>
               memballoon | memballoon    | {slot=0x08, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | f          | t   
                    | balloon0<br>
               interface  | bridge        | {slot=0x03, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | f          | t   
                    | net0<br>
               interface  | bridge        | {slot=0x09, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | f          | t   
                    | net1<br>
               controller | scsi          | {slot=0x05, bus=0x00,
              domain=0x0000, type=pci, function=0x0} | f          | t   
                    | scsi0<span class=""><br>
                 controller | ide           | {slot=0x01, bus=0x00,
                domain=0x0000, type=pci, function=0x1} | f          | t 
                        | ide<br>
                 controller | usb           | {slot=0x01, bus=0x00,
                domain=0x0000, type=pci, function=0x2} | t          | t 
                        | usb<br>
                 channel    | unix          | {bus=0, controller=0,
                type=virtio-serial, port=1}            | f          | t 
                        | channel0<br>
                 channel    | unix          | {bus=0, controller=0,
                type=virtio-serial, port=2}            | f          | t 
                        | channel1<br>
                 channel    | spicevmc      | {bus=0, controller=0,
                type=virtio-serial, port=3}            | f          | t 
                        | channel2<br>
                 interface  | bridge        |                    | t   
                      | t          | net1<br>
                 interface  | bridge        |                    | t   
                      | t          | net0<br>
                 disk       | cdrom         |                    | t   
                      | f          | ide0-1-0<br>
                 disk       | cdrom         | {bus=1, controller=0,
                type=drive, target=0, unit=0}          | f          | t 
                        | ide0-1-0<br>
                 disk       | disk          |                    | t   
                      | t          | virtio-disk0<br>
                (20 rows)<br>
                <br>
              </span>
              and afterwards:<span class=""><br>
                <br>
                engine=# select type, device, address, is_managed,
                is_plugged, alias from vm_device where vm_id in (select
                vm_guid from vm_static where vm_name='prod-hub-201');<br>
                    type    |    device     |                         
                 address                    | is_managed | is_plugged | 
                   alias<br>
                ------------+---------------+-<wbr>------------------------------<wbr>------------------------------<wbr>-+------------+------------+--<wbr>--------------<br>
              </span>
               channel    | spicevmc      | {type=virtio-serial, bus=0,
              controller=0, port=3}            | f          | t         
              | channel2<br>
               channel    | unix          | {type=virtio-serial, bus=0,
              controller=0, port=1}            | f          | t         
              | channel0<br>
               interface  | bridge        | {type=pci, slot=0x04,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | net1<br>
               controller | usb           | {type=pci, slot=0x01,
              bus=0x00, domain=0x0000, function=0x2} | t          | t   
                    | usb<br>
               controller | virtio-serial | {type=pci, slot=0x06,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | virtio-serial0<br>
               interface  | bridge        | {type=pci, slot=0x03,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | net0<br>
               controller | virtio-scsi   | {type=pci, slot=0x05,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | scsi0<br>
               video      | qxl           | {type=pci, slot=0x02,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | video0<br>
               channel    | unix          | {type=virtio-serial, bus=0,
              controller=0, port=2}            | f          | t         
              | channel1<br>
               balloon    | memballoon    |                    | t     
                  | t          | balloon0<br>
               graphics   | spice         |                    | t     
                  | t          |<span class=""><br>
                 disk       | cdrom         |                    | t   
                      | f          | ide0-1-0<br>
              </span>
               disk       | disk          | {type=pci, slot=0x07,
              bus=0x00, domain=0x0000, function=0x0} | t          | t   
                    | virtio-disk0<br>
              (13 rows)<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>Thanks.</div>
            <div>The problem was that unmanaged interfaces and disks
              were created (and thus, you previously had 4 interfaces
              devices, 2 disk devices and 2 CD devices).</div>
            <div>That is most probably a result of a bug we had when
              migrating a VM that was started in cluster &lt; 4.2 to 4.2
              host.</div>
            <div>The fix for this bug will be available in 4.2.2.</div>
            <div>You could, alternatively, remove the unmanaged (disk
              and interface) devices and plug the managed ones.</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Regards<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Jan<br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Mit freundlichem Gruß


Oliver Riesener

--
Hochschule Bremen
Elektrotechnik und Informatik
Oliver Riesener
Neustadtswall 30
D-28199 Bremen

Tel: 0421 5905-2405, Fax: -2400
<a class="moz-txt-link-abbreviated" href="mailto:e-mail:oliver.riesener@hs-bremen.de">e-mail:oliver.riesener@hs-bremen.de</a>
</pre>
  </body>
</html>