[Bug 1293035] Re: ISST:Severity-3:virtio block VM, fisk -l doesnot list the disks available , but returns zero

Priya M A priyama2 at in.ibm.com
Thu Mar 20 08:41:44 UTC 2014


I have reported the same at https://bugs.launchpad.net/tasty-taco/+bug/1295017.
Thus marking this bug as Invalid.

** Changed in: dpkg (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1293035

Title:
  ISST:Severity-3:virtio block VM, fisk -l doesnot list the disks
  available , but returns zero

Status in “dpkg” package in Ubuntu:
  Invalid

Bug description:
  Classification the type of defect:
  ================================== 

    DEFECT :distro		
    TYPE OF DEFECT:Ubuntu 14.04

  Description of the defect: [[ Guest VM does not list disks in "fdisk -l" but return value zero ]]
  --------------------------

  1) The Guest has been installed a guest by assigning 6 disks virtio
  block disks, SMT threads=8.

  Log:
  ---
  root at lizg18:/# uname -a
  Linux lizg18 3.13.0-16-generic #36-Ubuntu SMP Tue Mar 4 23:03:28 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
  root at lizg18:/# ppc64_cpu --smt
  SMT is on

  2) I tried to see disks available in guest using fdisk -l, it did not
  list any disks on guest VM but returns value as zero

  Log:
  ----
  root at lizg18:/etc# cd /
  root at lizg18:/# echo $?
  0
  root at lizg18:/# ls
  bin   dev  home  lib64       media  opt   root  sbin  sys  usr
  boot  etc  lib   lost+found  mnt    proc  run   srv   tmp  var
  root at lizg18:/# echo $?
  0
  root at lizg18:/# free -g
               total       used       free     shared    buffers     cached
  Mem:             6          0          6          0          0          0
  -/+ buffers/cache:          0          6
  Swap:            0          0          0
  root at lizg18:/# echo $?
  0
  root at lizg18:/# fdisk -l
  root at lizg18:/# echo $?
  0

  3) The following disks are available in host

  Log:
  ---
  [root at lizkvm ~]# fdisk -l

  Disk /dev/sda: 1142.4 GB, 1142377414656 bytes, 2231205888 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk label type: dos
  Disk identifier: 0x2f900700

     Device Boot      Start         End      Blocks   Id  System
  /dev/sda1   *        2048       18431        8192   41  PPC PReP Boot
  /dev/sda2           18432     1067007      524288   83  Linux
  /dev/sda3         1067008  2231205887  1115069440    f  W95 Ext'd (LBA)
  /dev/sda5         1069056    43012095    20971520   8e  Linux LVM
  /dev/sda6        43014144    63985663    10485760   8e  Linux LVM
  /dev/sda7        63987712    80764927     8388608   8e  Linux LVM
  /dev/sda8        80766976  2231205887  1075219456   8e  Linux LVM

  Disk /dev/sdb: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk label type: dos
  Disk identifier: 0x29335acc

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdb1             256    69285887   277142528   83  Linux
  WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

  Disk /dev/sdc: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk label type: gpt

  
  #         Start          End    Size  Type            Name
   1          256         2047      7M  unknown
   2         2048     66468607  253.6G  Linux filesyste
   3     66468608     69285631   10.8G  Linux swap

  Disk /dev/sdd: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk label type: dos
  Disk identifier: 0x171c2ceb

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdd1             256    65536255   262144000   8e  Linux LVM

  Disk /dev/sdf: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disk label type: dos
  Disk identifier: 0x8eb042cd

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdf1             256    26214655   104857600   8e  Linux LVM

  Disk /dev/sde: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  
  Disk /dev/sdg: 283.8 GB, 283794997248 bytes, 69285888 sectors
  Units = sectors of 1 * 4096 = 4096 bytes
  Sector size (logical/physical): 4096 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  
  Disk /dev/mapper/ibmpkvm_vg_data-ibmpkvm_lv_data: 1101.0 GB, 1101021577216 bytes, 2150432768 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/mapper/ibmpkvm_vg_swap-ibmpkvm_lv_swap: 8585 MB, 8585740288 bytes, 16769024 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/mapper/ibmpkvm_vg_log-ibmpkvm_lv_log: 10.7 GB, 10733223936 bytes, 20963328 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root: 21.5 GB, 21470642176 bytes, 41934848 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdh: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdy: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdu: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdx: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdaa: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdad: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdz: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdab: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdac: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdae: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdi: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdj: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdk: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdm: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdn: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdo: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdp: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdq: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdr: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdt: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sds: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdw: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdv: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  Disk /dev/sdl: 283.8 GB, 283794997248 bytes, 554287104 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes

  
  4) When I tried the same in PAPR-scsi, "fdisk -l" at guest VM worked fine 

  
  5) I tried creating sosreport in host lizkvm, but it is getting hanged at 48/65 rpm.
  I waited more than a hour while creating sosreport, then interrupted with "ctrl+c"

  [root at lizkvm /]# sosreport

  sosreport (version 3.0)

    This command will collect system configuration and
  diagnostic information from this Red Hat Enterprise Linux
  system. An archive containing the collected information
  will be generated in /var/tmp and may be provided to a Red
  Hat support representative or used for local diagnostic or
  recording purposes.

    Any information provided to Red Hat will be treated in
  strict confidence in accordance with the published support
  policies at:

      https://access.redhat.com/support/

    The generated archive may contain data considered
  sensitive and its content should be reviewed by the
  originating organization before being passed to any third
  party.

    No changes will be made to system configuration.

  Press ENTER to continue, or CTRL-C to quit.

  Please enter your first initial and last name [lizkvm.isst.aus.stglabs.ibm.com]:                                                                               sosreport_lizkvm
  Please enter the case number that you are generating this report for: 123

  gluster
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 937, in setup
      plug.setup()
    File "/usr/lib/python2.7/site-packages/sos/plugins/gluster.py", line 91, in se                                                                              tup
      gluster_major = int((pkg["version"])[:1])
  TypeError: string indices must be integers, not str

   Running plugins. Please wait ...

    Running 48/65: rpm...



  ^C[root at lizkvm /]#
  KeyboardInterrupt
  [root at lizkvm /]# ps -eaf | grep sosreport
  root     81919 78867  0 06:34 pts/11   00:00:00 grep --color=auto sosreport

  XML - 
  =====

  [root at lizkvm qemu]# cat lizg18.xml
  <!--
  WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
    virsh edit lizg18
  or other application using the libvirt API.
  -->

  <domain type='kvm'>
    <name>lizg18</name>
    <uuid>83954e49-e20a-4429-a6e3-f4ed98ca21ea</uuid>
    <memory unit='KiB'>6606029</memory>
    <currentMemory unit='KiB'>6606029</currentMemory>
    <vcpu placement='static'>8</vcpu>
    <os>
      <type arch='ppc64' machine='pseries'>hvm</type>
      <boot dev='hd'/>
      <boot dev='cdrom'/>
      <bootmenu enable='yes'/>
    </os>
    <features>
      <acpi/>
      <apic/>
    </features>
    <cpu>
      <topology sockets='1' cores='1' threads='8'/>
    </cpu>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>restart</on_crash>
    <devices>
      <emulator>/usr/bin/qemu-system-ppc64</emulator>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg18.raw'/>
        <target dev='sda' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      </disk>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg182.raw'/>
        <target dev='sde' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
      </disk>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg183.raw'/>
        <target dev='sdf' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </disk>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg181.raw'/>
        <target dev='sdl' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      </disk>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg184.raw'/>
        <target dev='sdr' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
      </disk>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/lizg185.raw'/>
        <target dev='sdw' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
      </disk>
      <disk type='file' device='cdrom'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/trusty-server-ppc64el.iso'/>
        <target dev='sdb' bus='scsi'/>
        <readonly/>
        <address type='drive' controller='0' bus='0' target='1' unit='1'/>
      </disk>
      <controller type='pci' index='0' model='pci-root'/>
      <controller type='scsi' index='0'>
        <address type='spapr-vio' reg='0x2000'/>
      </controller>
      <controller type='usb' index='0'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
      </controller>
      <interface type='bridge'>
        <mac address='52:54:00:7a:80:e2'/>
        <source bridge='br0'/>
        <model type='spapr-vlan'/>
        <address type='spapr-vio' reg='0x1000'/>
      </interface>
      <serial type='pty'>
        <target port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      </serial>
      <console type='pty'>
        <target type='serial' port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      </console>
      <memballoon model='none'/>
    </devices>
  </domain>


  NOTE:-
  -----

  System is on a private network.  Access the private network via SSH to "banner.isst.aus.stglabs.ibm.com" using your GSA ID and password. 
  (Banner itself is behind a BSO, so must authenticate through that first.)

  or 
  ssh banner.isst.aus.stglabs.ibm.com [debug/don2rry ]

  Host : -

  lizkvm.isst.aus.stglabs.ibm.com [10.33.11.3]
  [root/don2rry ]

   
  Guests : -

  
  lizg18.isst.aus.stglabs.ibm.com [root/don2rry ]
  lizg18 IP: 10.33.14.21

  To open a Guest console

  virsh console lizg18 --force

  
  -----------------------------------------------------------------------------
                               TESTING INFORMATION
  -----------------------------------------------------------------------------

  SYSTEM INFORMATION
  ------------------
    HOST NAME or NETWORK ADDRESS:         lizkvm.isst.aus.stglabs.ibm.com (10.33.11.3)


     FSP NAME and FSP ip                  fsp-
  liz.isst.aus.stglabs.ibm.com. (10.33.11.2)

    KVM BUILD LEVEL:                       - Frobisher 11
    Sapphire FIRMWARE LEVEL: 		 - Saphire  fips810/b0226s_1409.810

  Classification the type of defect

    DEFECT :distro		
    TYPE OF DEFECT:Ubuntu 14.04

  
  -----------------------------------------------------------------------------
                              DEBUGGING INFORMATION
  -----------------------------------------------------------------------------

  DEBUG / LOGIN INFORMATION 
  ------------------------- 
    ERROR LOG:         on local machine 
    FSP LOGIN:         see name above   dev/FipSdev

  RECENT SYSTEM CHANGES
  -----------------------------------------
    none

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1293035/+subscriptions



More information about the foundations-bugs mailing list