Public bug reported:

Hardware Architecture: ppc64el
Host OS: Ubuntu Server 16.04 LTS, Release 16.04
Guest OS: Ubuntu Server 16.04 LTS, Release 16.04

# apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 1.3.1-1ubuntu10.1
  Candidate: 1.3.1-1ubuntu10.1
  Version table:
 *** 1.3.1-1ubuntu10.1 500
        500 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main ppc64el 
Packages
        100 /var/lib/dpkg/status
     1.3.1-1ubuntu10 500
        500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main ppc64el Packages


Issue:
When attempting to hot-insert a virtual disk into a virtualized Guest that is 
online, the Guest OS encounters an error.

On the host, the Guest has been created and started, then hot-insert a virtual 
disk to the Guest:
# virsh attach-disk Guest1_Xenial --source /mnt/a/data_disk.qcow2 --target vda
Disk attached successfully


On the Guest OS, check for available disks but the newly attached disk was not 
found, then check /var/log/kern.log, we see this following error:
Aug 4 10:39:46 105-214 kernel: [ 253.633490] RTAS: event: 1, Type: Unknown, 
Severity: 1

Although the newly attached virtual disk was not recognized/seen by the
Guest OS right away, upon rebooting the Guest, The newly attached
virtual disk will show up and become available. However, expectation was
that the virtual disk will be immediately available in the Guest OS upon
attaching it and without having to reboot the Guest.

Experimentation has been done by slightly modifying the attach-disk
command, wherein the target was changed from vda to sdc (sdc because sda
& sdb have already been defined for Guest). Although the Guest no longer
sees the aforementioned error in kern.log, the newly attached virtual
disk still does not show up in the Guest until the Guest has been
rebooted.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libvirt-bin 1.3.1-1ubuntu10.1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic ppc64le
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: ppc64el
Date: Fri Aug  5 16:49:07 2016
InstallationDate: Installed on 2016-07-18 (18 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release ppc64el 
(20160420.3)
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 XDG_RUNTIME_DIR=<set>
ProcLoadAvg: 0.01 0.14 0.22 1/1290 5320
ProcLocks:
 1: POSIX  ADVISORY  WRITE 3190 00:14:724 0 0
 2: FLOCK  ADVISORY  WRITE 2275 00:17:5 0 EOF
 3: FLOCK  ADVISORY  WRITE 2072 00:14:681 0 EOF
ProcSwaps:
 Filename                               Type            Size    Used    Priority
 /dev/sde3                               partition      367552  0       -1
ProcVersion: Linux version 4.4.0-21-generic (buildd@bos01-ppc64el-017) (gcc 
version 5.3.1 20160413 (Ubuntu/IBM 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 
18:30:22 UTC 2016
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT is off
modified.conffile..etc.libvirt.qemu.networks.default.xml: [modified]
mtime.conffile..etc.libvirt.qemu.networks.default.xml: 
2016-08-03T15:57:33.560358

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug ppc64el xenial

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

Title:
  Virtualized guest hotplug disk fail

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to