← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414038] [NEW] libvirt driver creates wrong console device for system z

 

Public bug reported:

The system z platform needs a console device for the log file of an 
instance. A (manual[*]) regression test showed that this is not the case 
with master from 2015-01-22. The guest.cpu.arch is None which leads
to the creation of a wrong device.

Wrong domain XML:
    <domain type="kvm">	
        [...]
        <devices>
            [...]
            <serial type="file">
                <source path="/path/to/console.log" />
            </serial>
            <console type="pty">
                <target type="sclp" />
            </console>
            [...]
        </devices>
    </domain> 

Correct domain XML:    
    <domain type="kvm">	
        [...]
        <devices>
            [...]
            <console type="file">
                <source path="/path/to/console.log" />
                <target type="sclplm" />
            </console>
            <console type="pty">
                <target type="sclp" />
            </console>
            [...]
        </devices>
    </domain> 
    

[*] The CI environment for this platform is still under development.

** Affects: nova
     Importance: Undecided
     Assignee: Markus Zoeller (mzoeller)
         Status: In Progress


** Tags: libvirt

** Changed in: nova
     Assignee: (unassigned) => Markus Zoeller (mzoeller)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1414038

Title:
  libvirt driver creates wrong console device for system z

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  The system z platform needs a console device for the log file of an 
  instance. A (manual[*]) regression test showed that this is not the case 
  with master from 2015-01-22. The guest.cpu.arch is None which leads
  to the creation of a wrong device.

  Wrong domain XML:
      <domain type="kvm">	
          [...]
          <devices>
              [...]
              <serial type="file">
                  <source path="/path/to/console.log" />
              </serial>
              <console type="pty">
                  <target type="sclp" />
              </console>
              [...]
          </devices>
      </domain> 

  Correct domain XML:    
      <domain type="kvm">	
          [...]
          <devices>
              [...]
              <console type="file">
                  <source path="/path/to/console.log" />
                  <target type="sclplm" />
              </console>
              <console type="pty">
                  <target type="sclp" />
              </console>
              [...]
          </devices>
      </domain> 
      

  [*] The CI environment for this platform is still under development.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1414038/+subscriptions


Follow ups

References