← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1190086] Re: empty console log output with grizzly on centOS distribution

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1190086

Title:
  empty console log output with grizzly on centOS distribution

Status in OpenStack Compute (Nova):
  Invalid
Status in “nova” package in Ubuntu:
  Invalid

Bug description:
  we tried to boot  fedora image f17-x86_64-openstack-sda.qcow2 from
  openstack grizzley installation, but no console output is generated.

  
  when i look into  /var/log/libvirt/qemu/instance-00000067.log after i see a empty console log, 

  following is the content :

  2013-06-11 22:06:38.609+0000: starting up
  LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name instance-00000067 -S -M rhel6.4.0 -cpu SandyBridge,+pdpe1gb,+osxsave,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -uuid 6e0857f4-ed3e-4e1a-81db-d69456b17651 -smbios type=1,manufacturer=Red Hat Inc.,product=OpenStack Nova,version=2013.1.1-3.el6,serial=36353030-3437-5553-4532-34364d434e43,uuid=6e0857f4-ed3e-4e1a-81db-d69456b17651 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000067.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/6e0857f4-ed3e-4e1a-81db-d69456b17651/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=23,id=hostnet0,vhost=on,vhostfd=24 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:51:44:cf,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/6e0857f4-ed3e-4e1a-81db-d69456b17651/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc 10.1.255.253:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
  char device redirected to /dev/pts/0

  
  explicit  probe into virsh console reveals this :

  virsh # list
   Id    Name                           State
  ----------------------------------------------------
   4     instance-00000068              running

  virsh # console instance-00000068
  Connected to domain instance-00000068
  Escape character is ^]
  error: internal error character device (null) is not using a PTY

  
  and given below is respective  libvirt.xml file. any pointers on approaching this issues is appreciated. 

  
  <domain type="kvm">
    <uuid>6e0857f4-ed3e-4e1a-81db-d69456b17651</uuid>
    <name>instance-00000067</name>
    <memory>2097152</memory>
    <vcpu>1</vcpu>
    <sysinfo type="smbios">
      <system>
        <entry name="manufacturer">Red Hat Inc.</entry>
        <entry name="product">OpenStack Nova</entry>
        <entry name="version">2013.1.1-3.el6</entry>
        <entry name="serial">36353030-3437-5553-4532-34364d434e43</entry>
        <entry name="uuid">6e0857f4-ed3e-4e1a-81db-d69456b17651</entry>
      </system>
    </sysinfo>
    <os>
      <type>hvm</type>
      <boot dev="hd"/>
      <smbios mode="sysinfo"/>
    </os>
    <features>
      <acpi/>
      <apic/>
    </features>
    <clock offset="utc">
      <timer name="pit" tickpolicy="delay"/>
      <timer name="rtc" tickpolicy="catchup"/>
    </clock>
    <cpu mode="host-model" match="exact"/>
    <devices>
      <disk type="file" device="disk">
        <driver name="qemu" type="qcow2" cache="none"/>
        <source file="/var/lib/nova/instances/6e0857f4-ed3e-4e1a-81db-d69456b17651/disk"/>
        <target bus="virtio" dev="vda"/>
      </disk>
      <interface type="bridge">
        <mac address="fa:16:3e:51:44:cf"/>
        <model type="virtio"/>
        <source bridge="br-int"/>
        <target dev="tap4ce130e7-1a"/>
        <virtualport type="openvswitch">
          <parameters interfaceid="4ce130e7-1acc-4a06-8f84-78a320f0f108"/>
        </virtualport>
      </interface>
      <serial type='pty'>
       <target port='0'/>
      </serial>
      <console type='pty'>
       <target type='serial' port='0'/>
      </console>
      <serial type="file">
        <source path="/var/lib/nova/instances/6e0857f4-ed3e-4e1a-81db-d69456b17651/console.log"/>
      </serial>
      <serial type="pty"/>
      <input type="tablet" bus="usb"/>
      <graphics type="vnc" autoport="yes" keymap="en-us" listen="10.1.255.253"/>
    </devices>
  </domain>

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