[libvirt-users] old, deleted LUN still showing up after a virsh pool-refresh
by Tom Georgoulias
Today I upgraded one of our KVM physical host servers to Centos 5.6.
The other server remains on Centos 5.5. I've configured a storage pool
in libvirt to use LUNs from an iscsi storage system as the volumes for
each VM.
After the upgrade, I decommisioned one of the VMs and removed the LUN
from the storage system. Normally after this kind of operation, I
simply need to run this command and the server will see that the LUN no
longer exists and remove the volume.
# virsh pool-refresh --pool=dev-kvm-storage
Pool dev-kvm-storage refreshed
This works fine on the centos 5.5 host, but the centos 5.6 still lists
the old lun in the vol-list and displays zeros for the capacity.
# virsh vol-info 7.0.0.26 --pool=dev-kvm-storage
Name: 7.0.0.26
Type: block
Capacity: 0.00
Allocation: 0.00
Do I need to do something different now for the newer version of libvirt
that is included with centos 5.6?
Here are the kernel and libvirt versions I'm using:
Centos 5.6:
kernel-2.6.18-238.9.1.el5
libvirt-0.8.2-15.el5_6.4
Centos 5.5:
kernel-2.6.18-194.26.1.el5
libvirt-0.6.3-33.el5_5.3
Any help is greatly appreciated.
13 years, 5 months
[libvirt-users] ANNOUNCE: oz 0.4.0 release
by Chris Lalancette
All,
I'm pleased to announce release 0.4.0 of Oz. Oz is a program for doing
automated installation of guest operating systems with limited input from the
user.
Release 0.4.0 is a bugfix and feature release for Oz. Some of the
highlights between Oz 0.3.0 and 0.4.0 are:
- Automatic detection/use of cached JEOS images (the previous method required
the user of the oz libraries to detect whether the image was cached or not)
- Fixes to make Debian installs work for both x86_64 and i386
- Honor user-provided automatic installation files better, by not doing
modifications
- Use pyparted to generate partitions on newly created disks (if necessary)
- Add support for Fedora 15
- Add the ability to supply an initial root/Administrator password to the
diskimage
- Abort installs after 5 minutes of disk inactivity
- Use M2Crypto to generate SSH keys (if necessary)
- Some pydoc documentation (more of this to come in the future)
- Support for Ubuntu 11.04
- Support for RHEL-6.1
More documentation on Oz (including links on how to obtain it) is available
here: http://aeolusproject.org/oz.html
For this release, Fedora 14 and RHEL-6 packages are available. Note that I
have stopped providing Fedora 13 packages, since that distribution is (or
will be) out of support. Also note that to install the RHEL-6
packages, you must be running RHEL-6.1 or later.
If you have any questions or comments about Oz, please feel free to contact
aeolus-devel(a)lists.fedorahosted.org or me (clalance(a)redhat.com) directly.
Thanks,
--
Chris Lalancette
13 years, 5 months
Re: [libvirt-users] libvirt-users Digest, Vol 18, Issue 7(libvirt-bin MOSTLY fails to create default virtual network)
by m m
I have attached all the logs (/var/log/dmesg, /var/log/libvirtd.log,
/var/log/messages, /var/log/syslog, /var/log/boot.log and info about loaded
modules /proc/modules) regarding scenatios1,2,3 (please see the README file
for simple explanation what is there). By the way, I have installed only
dnsmasq-bin (and not dnsmasq).
Have a nice day
2011/6/6 <libvirt-users-request(a)redhat.com>
> Send libvirt-users mailing list submissions to
> libvirt-users(a)redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/libvirt-users
> or, via email, send a message with subject or body 'help' to
> libvirt-users-request(a)redhat.com
>
> You can reach the person managing the list at
> libvirt-users-owner(a)redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of libvirt-users digest..."
>
>
> Today's Topics:
>
> 1. libvirt-bin MOSTLY fails to create default virtual network (m
> m)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 6 Jun 2011 14:24:04 -0500
> From: m m <bk.praca(a)gmail.com>
> To: libvirt-users(a)redhat.com
> Subject: [libvirt-users] libvirt-bin MOSTLY fails to create default
> virtual network
> Message-ID: <BANLkTinrE80HURSwJUUv28_v9HB9mRxNNw(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I have observed 3 scenarios after I reboot the host with 2 guests (which
> are
> supposed to autostart after boot/reboot of the host):
> 1. Default network is created but I can not ping guests. Gests don't have
> assigned IP address or they both have IP address 192.168.122.100.
> 2. Default network is not created.
> 3. Default netork is properly created and everything works fine.
> In each case guests are started and they work properly. Cases 1. and 2.
> happen a lot more often then case 3.
>
> My solutions:
> - When I restart libvirt-bin then everything is fine.
> - When I set 'sleep 40' in 'pre-start' section of
> /etc/init/libvirt-bin.conf
> and modify 'start on' section in the following way:
>
> start on (runlevel [2345] and net-device-up IFACE=br0)
>
> then everything works fine.
>
>
> However, none of the above solutions indeed solves the problem. Please, let
> me know if there is solution to this problem or what are your suggestions
> regarding this issue.
>
> ****
> HOST$ uname -a
> Linux ras 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011
> x86_64 GNU/Linux
>
> GUEST1 and GUEST2
> $ uname -a
> Linux server1-desktop 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21
> UTC 2011 i686 GNU/Linux
>
> HOST$ libvirtd --version
> libvirtd (libvirt) 0.7.5
>
> My idea was that some kernel modules sometimes are loaded before
> libvirt-bin
> starts, and sometimes libvirt-bin starts earlier, or in the middle of
> loading of these modules, that is why 3 scenarios can be observed.
> That is why I have added:
> cp /proc/modules /home/wsadmin2/modules1
> cp /proc/modules /home/wsadmin2/modules2
> to 'pre-start' and 'post-start' parts respectively of
> /etc/init/libvirt-bin.conf.
>
> Of course, beween execution of
> - pre-start part
> - exec /usr/sbin/libvirtd -d
> - post-start part
> other kernel modules can be loaded, so we can not be sure which additional
> modules in file 'modules2' were indeed loaded before libvirtd was actually
> started.
>
> Here are my observations:
> Scenatio 1.
> 33 (fixed) modules were logged - call them BASE MODULES.
>
> Scenatio 2.
> Beside BASE MODULES + the following modules were loaded:
>
> > iptable_filter 1841 0 - Live 0xffffffffa007c000
> > ip_tables 18201 1 iptable_filter, Live 0xffffffffa0172000
> > x_tables 22361 1 ip_tables, Live 0xffffffffa0164000
>
> Scenatio 3.
> Beside BASE MODULES + the following modules were loaded:
>
> $ diff modules1 modules2
> 1c1,6
> < iptable_filter 1841 0 - Live 0xffffffffa008b000
> ---
> > xt_state 1490 14 - Live 0xffffffffa01ab000
> > xt_tcpudp 2667 12 - Live 0xffffffffa01a5000
> > nf_conntrack_ipv4 12742 14 - Live 0xffffffffa019b000
> > nf_conntrack 73326 2 xt_state,nf_conntrack_ipv4, Live 0xffffffffa017d000
> > nf_defrag_ipv4 1481 1 nf_conntrack_ipv4, Live 0xffffffffa0177000
> > iptable_filter 1841 1 - Live 0xffffffffa008b000
> 3c8
> < x_tables 22361 1 ip_tables, Live 0xffffffffa0162000
> ---
> > x_tables 22361 3 xt_state,xt_tcpudp,ip_tables, Live 0xffffffffa0162000
>
> Other observations:
> Scenatio 1.
> No errors in libvirtd.log
> Scenario 2.
>
> 10:06:06.980: error : networkAddIptablesRules:750 : failed to add iptables
> rule to allow DHCP requests from 'virbr0': Invalid argument
> (...)
> 10:06:08.630: error : qemudNetworkIfaceConnect:1445 : Failed to add tap
> interface to bridge 'virbr0': No such device
> 10:06:08.630: error : qemuAutostartDomain:584 : Failed to autostart VM
> 'cluster_server1': Failed to add tap interface to bridge 'virbr0': No such
> device
>
> 10:06:08.921: info : qemudDispatchSignalEvent:390 : Received unexpected
> signal 17
> 10:06:08.927: debug : virExecWithHook:617 : LC_ALL=C /usr/bin/kvm -help
> 10:06:08.938: info : qemudDispatchSignalEvent:390 : Received unexpected
> signal 17
> 10:06:09.000: error : qemudNetworkIfaceConnect:1445 : Failed to add tap
> interface to bridge 'virbr0': No such device
> 10:06:09.000: error : qemuAutostartDomain:584 : Failed to autostart VM
> 'cluster_server2': Failed to add tap interface to bridge 'virbr0': No such
> device
> (...)
> Scenatio 3.
> No errors in libvirtd.log
>
>
> I didn't see any valuable logs in /var/log/boot.log, /var/log/messages,
> /var/log/syslog. Please let me know if you want to see them anyway or have
> any suggestions right away.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.redhat.com/archives/libvirt-users/attachments/20110606/54a07a...
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: scenario1
> Type: application/octet-stream
> Size: 19317 bytes
> Desc: not available
> URL: <
> https://www.redhat.com/archives/libvirt-users/attachments/20110606/54a07a...
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: scenario2
> Type: application/octet-stream
> Size: 8294 bytes
> Desc: not available
> URL: <
> https://www.redhat.com/archives/libvirt-users/attachments/20110606/54a07a...
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: scenario3
> Type: application/octet-stream
> Size: 2366 bytes
> Desc: not available
> URL: <
> https://www.redhat.com/archives/libvirt-users/attachments/20110606/54a07a...
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: libvirt-bin.conf
> Type: application/octet-stream
> Size: 924 bytes
> Desc: not available
> URL: <
> https://www.redhat.com/archives/libvirt-users/attachments/20110606/54a07a...
> >
>
> ------------------------------
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users(a)redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
> End of libvirt-users Digest, Vol 18, Issue 7
> ********************************************
>
13 years, 5 months
[libvirt-users] Resizing ext4 fedora qemu guest
by Alex
Hi,
I have a fedora14 host with a fedora15 guest and I'm trying to resize
the /home partition from 200GB to 240GB. I'm relatively new to the
virsh/guestfish commands, as well as LVM, although I think I have a
reasonable understanding. I have followed the virt-resize directions
(http://libguestfs.org/virt-resize.1.html), but it still shows 200GB:
# fdisk -l /dev/mapper/vg_custserv-lv_home
Disk /dev/mapper/vg_custserv-lv_home: 197.2 GB, 197165842432 bytes
255 heads, 63 sectors/track, 23970 cylinders, total 385089536 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 identifier: 0x00000000
Outside of the guest, I see this:
# virt-filesystems --long --parts --lvs -h -a newdisk.img
Name Type Size Parent
/dev/vg_custserv/lv_home lv 184G /dev/vg_custserv
/dev/vg_custserv/lv_root lv 50G /dev/vg_custserv
/dev/vg_custserv/lv_swap lv 5.9G /dev/vg_custserv
/dev/sda1 partition 500M /dev/sda
/dev/sda2 partition 240G /dev/sda
The partition is the correct size, but it appears the volume group(?)
is not the correct size. fdisk from within the guest also shows the
correct size for the device. I've tried resize2fs from within the
guest. Does virt-resize understand the ext4 filesystem and how to
properly resize it? Is that my problem?
I've also tried using guestfish with lvresize-free without success:
<fs> lvresize-free /dev/mapper/vg_custserv-lv_home 100
libguestfs: error: lvresize_free: New size (5876 extents) matches
existing size (5876 extents)
Run `lvresize --help' for more information.
I'm really not sure what to do next. Any ideas greatly appreciated.
Thanks,
Alex
13 years, 5 months
[libvirt-users] Release of libvirt-0.9.2
by Daniel Veillard
As planned the new release is available at:
ftp://libvirt.org/libvirt/
It is a rather large release with near 400 commits included. From
an user point of view the main improvement is likely to be when
using migration as various work has been done to extend the protocol
and to avoid having the migration command stop other concurrent
operations (like virsh list). See below for a number of new features,
improvement and bug fixes:
Features:
- Framework for lock manager plugins (Daniel P. Berrange)
- API for network config change transactions (Michal Privoznik)
- flags for setting memory parameters (Hu Tao)
- virDomainGetState public API (Jiri Denemark)
- qemu: allow blkstat/blkinfo calls during migration (Federico Simoncelli)
- Introduce migration v3 API (Daniel P. Berrange)
- Defining the Screenshot public API (Michal Privoznik)
- public API for NMI injection (Lai Jiangshan)
Documentation:
- esx: Fix driver method version annotations (Matthias Bolte)
- vbox: Fix typo in error message (Matthias Bolte)
- virsh: Document nodeinfo output (Jiri Denemark)
- Correct 'cputune' documentation example. (Neil Wilson)
- document iface-* commands (Eric Blake)
- Add initial docs about the lock managers (Daniel P. Berrange)
- maint: use consistent file name for threading notes (Eric Blake)
- Fix virTypedParameter alias comments (Matthias Bolte)
- Fix error syntax of vcpupin example XML (Osier Yang)
- Automatically generate the hvsupport.html.in file from source files (Daniel P. Berrange)
- Fix documentation for cputune parameters (Osier Yang)
- avoid double 'the' (Eric Blake)
- Add documentation about test suites (Daniel Veillard)
- updates to CA cert and client cert/key info (Doug Goldstein)
- node filesystem attr is 'accessmode', not 'mode' (Cole Robinson)
Portability:
- vbox: Fix version extraction on Windows for newer VirtualBox versions (Matthias Bolte)
- Make dlopen usage in lock manager conditional (Matthias Bolte)
- build: fix VPATH build break from previous patch (Eric Blake)
- Remove call to deprecated gnutls_certificate_type_set_priority (Daniel P. Berrange)
- Fix sysinfo/virsh build problems on Win32 (Daniel P. Berrange)
- Fix build with --with-driver-modules enabled (Matthias Bolte)
- build: fix 'make dist' for ./configure --without-remote (Eric Blake)
- virsh: time_t is not a long on FreeBSD (Matthias Bolte)
- time_t is not a long on FreeBSD, switch internal type to long long (Matthias Bolte)
- build: avoid strerror_r pitfalls (Eric Blake)
- build: fix VIR_DEBUG on mingw (Eric Blake)
- build: generate files when building without libvirtd (Wen Congyang)
- build: drop unused sys/syslimits.h header (Eric Blake)
- Fix prototype of virRun for Win32 targets (Daniel P. Berrange)
- build: tolerate unlimited group size (Eric Blake)
- Disable virCommandExec on Win32 (Daniel P. Berrange)
- command: Fix compilation on FreeBSD (Matthias Bolte)
- apparmor: Fix compilation by removing remains from virCommand conversion (Matthias Bolte)
- configure: Fix mpath check on non-Linux systems (Matthias Bolte)
- fix xdr detection and use with recent glibc (Christophe Fergeau)
- build: avoid gcc preprocessor extensions (Eric Blake)
- build: fix VPATH build with distributed generated files (Eric Blake)
- build: fix VPATH builds (Eric Blake)
Bug fixes:
- Fix QEMU p2p v2 migration when run from a v3 client (Daniel P. Berrange)
- Don't raise an error if the migration cookie is NULL (Daniel P. Berrange)
- Fix check of virKillProcess return status (Daniel P. Berrange)
- qemu: Avoid use after free in qemuCaps parsing (Jiri Denemark)
- security driver: ignore EINVAL when chowning an image file (Laine Stump)
- migrate: detect xml incompatibility (Eric Blake)
- event: avoid memory leak on cleanup (Eric Blake)
- qemu: avoid memory leak on vcpupin (Eric Blake)
- remote: avoid leak on failure (Eric Blake)
- lock: avoid leak on failure (Eric Blake)
- storage: avoid memory leak on stat failure (Eric Blake)
- storage: avoid memory leak (Eric Blake)
- libvirtd: avoid leak on failure (Eric Blake)
- command: avoid leak on failure (Eric Blake)
- Explicitly set VM state to paused after migration completes (Daniel P. Berrange)
- Fix regressions BlockStats/Info APIs in QEMU driver (Daniel P. Berrange)
- Fix minor issues in libxenlight managed save (Jim Fehlig)
- Fix auditing of disk hotunplug operations (Daniel P. Berrange)
- Avoid crash on NULL pointer in lock driver impls during hotplug (Daniel P. Berrange)
- Fix return value in lock manager hotplug methods (Daniel P. Berrange)
- Make sure virDomainSave/virDomainManagedSave reset id to -1 (Daniel P. Berrange)
- Fix handling of VIR_EVENT_HANDLE_ERROR in QEMU monitor (Daniel P. Berrange)
- security: plug regression introduced in disk probe logic (Eric Blake)
- Fix order of disks and controllers (Jiri Denemark)
- util: Fix incorrect error in PCI functions (Osier Yang)
- openvz: Restore original EOF handling in openvzGetProcessInfo (Matthias Bolte)
- openvz: Handle getline failures in openvzReadConfigParam properly (Matthias Bolte)
- conf: Fix incorrect spice graphic XML format on compression options (Michal Privoznik)
- nwfilter: reorder locks (Stefan Berger)
- openvz: Fix regression in openvzGetVPSUUID (Matthias Bolte)
- esx: Fix regression in absolute file name handling (Matthias Bolte)
- openvz: Fix regression in config file parsing (Taisuke Yamada)
- audit: fix minor off-by-one (Eric Blake)
- Fix libxl vm def handling on domU cleanup (Markus Groß)
- Fix modifying disk devices in qemu driver (Markus Groß)
- json: Avoid passing large positive 64 bit integers to QMP. (Richard W.M. Jones)
- Fix initialization of current vcpus in libxl driver (Jim Fehlig)
- qemu: Don't change ownership of file when appending to it (Michal Privoznik)
- qemu: fix typo in name - should be VHOST_NET, not VNET_HOST (Laine Stump)
- Fix QEMU -vnc arg generation with raw IPv6 addresses (Daniel P. Berrange)
- Fix peer2peer migration with transient VMs (Daniel P. Berrange)
- python: Don't free must-not-free variables (Michal Privoznik)
- python: Fix typo in bindings (Michal Privoznik)
- libvirt.spec: /var/cache/libvirt should be 0711. (Richard W.M. Jones)
- remote: remove bogus virDomainFree. (Richard W.M. Jones)
- qemudDomainMemoryPeek: change ownership/selinux label on temporary file. (Richard W.M. Jones)
- Fix QEMU migration cookie crash for guests with no graphics (Daniel P. Berrange)
- Blank out the 'listenAddr' parameter if empty string (Daniel P. Berrange)
- Improve invalid argument checks for the public API (Matthias Bolte)
- qemu: fix typo in spice migration code (Michal Privoznik)
- openvz: fix logic bug in previous patch (Eric Blake)
- Fix error reporting in stream creation code (Matthias Bolte)
- virsh: Correctly initialize libvirt (Jiri Denemark)
- Fix leak of mime type string in screenshot dispatcher (Daniel P. Berrange)
- Fix remote dispatcher for screenshot command (Daniel P. Berrange)
- Add missing initialization to 'ret' in qemu migration (Daniel P. Berrange)
- Close all sockets before cancelling QEMU migration (Daniel P. Berrange)
- Ensure we always read a full buffer in tunnelled migration (Daniel P. Berrange)
- phyp: avoid a crash (Eric Blake)
- stream: avoid use-after-free (Eric Blake)
- virsh: Fix uninitialized variable warning (Matthias Bolte)
- libxl: fix typos in previous patch (Eric Blake)
- node_device: avoid null dereference on error (Eric Blake)
- tests: avoid crash when run under gcov (Eric Blake)
- Fix two uninitialized variable warnings (Matthias Bolte)
- apparmor: Fix uninitalized variable warning in virt-aa-helper (Matthias Bolte)
- Fix qemuMigrationToFile nonull annotation (Daniel P. Berrange)
Improvements:
- API: consolidate common unreleased enums (Eric Blake)
- uml: correct command line networking parameters (Heath Petersen)
- Add call to sanlock_restrict() in QEMU lock driver (Daniel P. Berrange)
- screenshot: Expose the new API in virsh (Michal Privoznik)
- libxl: adds managed save and restore support (Markus Groß)
- libxl: get maximum memory of running domain (Markus Groß)
- Add a plugin for the 'sanlock' project (Daniel P. Berrange)
- Allow leases to be hotpluged with QEMU guests (Daniel P. Berrange)
- Support passing QEMU lock state to dest during migration (Daniel P. Berrange)
- Integrate the QEMU driver with the lock manager infrastructure (Daniel P. Berrange)
- Add higher level lock API for domain objects (Daniel P. Berrange)
- Add a 'nop' lock driver implementation. (Daniel P. Berrange)
- Support leases in guest XML and lock manager (Daniel P. Berrange)
- Allow handshake with child process during startup (Daniel P. Berrange)
- tests: really fix QEMU XML-2-ARGV graphics-spice-timeout test (Eric Blake)
- build: avoid corrupting / in RHEL 5 (Eric Blake)
- tests: Add a test for correct disk device ordering (Jiri Denemark)
- Fix QEMU XML-2-ARGV graphics-spice-timeout test (Matthias Bolte)
- remote generator: Handle some virTypedParameterPtr using functions (Matthias Bolte)
- apibuild: Restrict long usage to existing functions and structs (Matthias Bolte)
- remote generator: Legacy support for hyper to long mappings (Matthias Bolte)
- Use common parameter order for remote(De)SerializeTypedParameters (Matthias Bolte)
- openvz: Add simple test for openvzReadNetworkConf (Matthias Bolte)
- openvz: Set virtType to openvz in openvzLoadDomains (Matthias Bolte)
- storage: List directory volumes for dir/fs/netfs pools (Cole Robinson)
- tests: Add more complex domain scheme test data (Michal Privoznik)
- tests: Test for SPICE compression options (Michal Privoznik)
- Ignore backward compatibility macros in apibuild.py (Matthias Bolte)
- openvz: fix bridge devices parsing in openvzReadNetworkConf() (Jean-Baptiste Rouault)
- Allow custom XML to be passed in during migration (Daniel P. Berrange)
- Allow virsh to pass in a custom XML document for migration (Daniel P. Berrange)
- Add an API for comparing the ABI of two guest configurations (Daniel P. Berrange)
- Remove unused 'target' field in virDomainHostdevDef (Daniel P. Berrange)
- lxc: Seperate domain config loading (Osier Yang)
- openvz: Automatically disable on non-Linux systems (Matthias Bolte)
- Support maximum and current memory flags in libxl driver (Markus Groß)
- Add domainSave/Restore to libxl driver (Markus Groß)
- Add domainCoreDump to libxl driver (Markus Groß)
- Populate domid field of devices for libxenlight (Markus Groß)
- Issue full error messages when processing QEMU monitor I/O (Daniel P. Berrange)
- Don't kill QEMU process when a monitor I/O parsing error occurs (Daniel P. Berrange)
- Introduce a new event emitted when a virtualization failure occurs (Daniel P. Berrange)
- sched: provide new API shims for remaining drivers (Eric Blake)
- virsh: improve schedinfo querying ability (Eric Blake)
- remote: introduce remoteGetSchedulerParametersFlags (Eric Blake)
- qemu: introduce qemuGetSchedulerParametersFlags (Eric Blake)
- sched: introduce virDomainGetSchedulerParametersFlags (Eric Blake)
- remote: consolidate typed parameter handling (Eric Blake)
- maint: prefer newer API names internally (Eric Blake)
- libvirt.h: avoid regression, and document preferred name (Eric Blake)
- Fix virExecWithHook Prototype (Richard Laager)
- interface: reformat error logs (Laine Stump)
- interface: implement a test driver for network config transaction API. (Michal Privoznik)
- interface: Implement driver methods for network config transaction API (Michal Privoznik)
- interface: expose network config transaction API to virsh (Michal Privoznik)
- interface: implement remote protocol for network config transaction API (Michal Privoznik)
- interface: implement public APIs for libvirt transactional network changes (Michal Privoznik)
- interface: define internal driver API for network config transactions (Michal Privoznik)
- sexpr: Improve serialization error reporting (Matthias Bolte)
- qemu: implement the new flags for setting memory parameters (Hu Tao)
- qemu: implement the new flags for getting memory parameters (Hu Tao)
- qemu : support persistent add/delete network interface (KAMEZAWA Hiroyuki)
- openvz: Add simple testcase for config file parsing function (Matthias Bolte)
- Add disk attach/detach support to libxl driver (Markus Groß)
- Refactored libxl datastructure instantiation (Markus Groß)
- schema: Add graphics element passwdValidTo attribute to schema (Michal Privoznik)
- Fix sign mismatches between public API, driver API and XDR protocol (Matthias Bolte)
- remote generator: Fix XDR sign mismatch for virNodeGet(Cells)FreeMemory (Matthias Bolte)
- remote generator: Handle stream-using functions (Matthias Bolte)
- remote generator: Make call-by-reference handling stricter (Matthias Bolte)
- remote generator: Rename virNodeGetCellsFreeMemory parameters to common pattern (Matthias Bolte)
- remote generator: Handle virDomainCreateWithFlags (Matthias Bolte)
- Allow to explicitly disable the secrets a directory storage driver (Matthias Bolte)
- Fix the signature of virDomainMigrateFinish3 for error reporting (Daniel P. Berrange)
- Fix preservation of errors across migration steps (Daniel P. Berrange)
- Improve debug logging of migration APIs (Daniel P. Berrange)
- Fix error propagation in finish method for v3 migration (Daniel P. Berrange)
- Fix SPICE seamless migration hostname (Daniel P. Berrange)
- Fix resume on destination when doing non-live tunnelled migration (Daniel P. Berrange)
- Introduce two method migration APIs (Daniel P. Berrange)
- Add a second URI parameter to virDomainMigratePerform3 method (Daniel P. Berrange)
- Extend v3 migration protocol to allow app supplied XML for target (Daniel P. Berrange)
- esx: Report an error when auth pointer is missing instead of declining (Matthias Bolte)
- Perform feature flag compat checking in QEMU migration cookies (Daniel P. Berrange)
- Replace all remaining setgid/setuid calls with virSetUIDGID (Jiri Denemark)
- util: Keep errno set to the root error after when returning from virSetUIDGID (Jiri Denemark)
- storage: Add comment to picking return value of qemu-img (Michal Privoznik)
- spice: support streaming-video parameter (Alon Levy)
- nwfilter: enable filtering of gratuitous ARP packets (Stefan Berger)
- qemu: don't require is_kvm for vhost-net support (Laine Stump)
- Use per-user TLS certificates when possible (Doug Goldstein)
- storage: pick return value of qemu-img (Michal Privoznik)
- remote generator: Add special case for virConnectGetType (Matthias Bolte)
- remote generator: Don't rely on $_ being stable over a large function (Matthias Bolte)
- build: require newer gettext (Eric Blake)
- virsh: Use Env variables for debug level and logfile (Supriya Kannery)
- Don't generate cookies with v2 migration protocol. (Daniel P. Berrange)
- Ensure p2p and direct migration use the new v3 protocol if available (Daniel P. Berrange)
- remote: remove special case for getting version (Eric Blake)
- virsh: optimize creation of default connection (Eric Blake)
- Clarify that virDomainGet(Memory|Blkio)Parameters doesn't support subsets (Matthias Bolte)
- Clarify that virDomainSet(Memory|Blkio)Parameters can take parameter subsets (Matthias Bolte)
- Clarify that virDomainSetSchedulerParameters(Flags) can take subsets (Matthias Bolte)
- Clarify the semantic of virDomainGetSchedulerParameters arguments (Matthias Bolte)
- Clarify semantic of nparams argument of virDomainGetSchedulerType (Matthias Bolte)
- Fix messages using VIR_ERR_XML_ERROR (Cole Robinson)
- libvirt.h: consolidate typed parameter handling (Eric Blake)
- build: update to latest gnulib (Eric Blake)
- Add support for 'passthru' mode for direct network interfaces (Dirk Herrendorefer)
- virsh: add parameters --live, --config and --current to cmd schedinfo (Hu Tao)
- remote: introduce remoteSetSchedulerParametersFlags (Hu Tao)
- qemu: introduce qemuSetSchedulerParametersFlags (Hu Tao)
- sched: adjust parameter values to make current = 0 (Eric Blake)
- introduce virDomainSetSchedulerParametersFlags (Hu Tao)
- storage_backend: Convert virRunWithHook usage to virCommand (Cole Robinson)
- storage_backend: Fix error reporting with regex helper (Cole Robinson)
- storage: Covert regex helpers to virCommand (Cole Robinson)
- openvz: Convert virExec usage to virCommand (Cole Robinson)
- storage: iscsi: Convert virExec to virCommand (Cole Robinson)
- remote generator, client: Add more special case handling (Matthias Bolte)
- remote generator, client: Handle functions that return an optional string (Matthias Bolte)
- esx: Simplify some esxVI_Boolean to bool (Matthias Bolte)
- esx: Convert autoAnswer from esxVI_Boolean to a simple bool (Matthias Bolte)
- esx: Fix race condition in esxVI_EnsureSession (Matthias Bolte)
- esx: Whitespace cleanup in the generator (Matthias Bolte)
- esx: Change some alignments in the input file (Matthias Bolte)
- esx: Change generated method parameter autobinding (Matthias Bolte)
- virsh: Report an error when virGetUserDirectory fails (Matthias Bolte)
- maint: mark more perl scripts executable (Eric Blake)
- maint: mark perl script executable (Eric Blake)
- maint: ignore generated file (Eric Blake)
- Improve error message when XDR marshalling fails (Daniel P. Berrange)
- Run tunnelled migration IO in separate thread (Daniel P. Berrange)
- Don't overwrite error when stream send fails (Daniel P. Berrange)
- Make tunnelled migration honour resource restriction (Daniel P. Berrange)
- Refactor migration completion loop to allow code reuse (Daniel P. Berrange)
- Implement migration v3 protocol in QEMU driver (Daniel P. Berrange)
- Merge tunnel and non-tunnel migration impl into one (Daniel P. Berrange)
- Fix VM teardown if prepare returns invalid URI in v2 migration (Daniel P. Berrange)
- Refactor tunnelled migration methods (Daniel P. Berrange)
- Wire up SPICE client relocation with QEMU migration (Daniel P. Berrange)
- Pass graphics setup from dst back to src via migration cookies (Daniel P. Berrange)
- Introduce migration cookies to QEMU driver (Daniel P. Berrange)
- Fix locking with qemuMigrationPrepareTunnel method (Daniel P. Berrange)
- Remote driver implementation of new migration API (Daniel P. Berrange)
- Add many version number annotations to drivers (Daniel P. Berrange)
- Convert all driver struct intializers to C99 style (Daniel P. Berrange)
- Tweak driver naming for consistency with public API (Daniel P. Berrange)
- qemu: Update domain state when reconnecting monitor (Jiri Denemark)
- Implement domain state reason (Jiri Denemark)
- Implement basic virDomainGetState in all drivers (Jiri Denemark)
- virsh: Prefer virDomainGetState over virDomainGetInfo (Jiri Denemark)
- Wire protocol format and remote driver for virDomainGetState (Jiri Denemark)
- virDomainGetState public API implementation (Jiri Denemark)
- Internal driver API for virDomainGetState (Jiri Denemark)
- esx: Refactor common code in the generator (Matthias Bolte)
- esx: Improve dynamic cast detection in the generator (Matthias Bolte)
- esx: Improve list usage detection in the generator (Matthias Bolte)
- esx: Remove 1000 lines of generated but unused code (Matthias Bolte)
- esx: Generate implicit _this macros (Matthias Bolte)
- esx: Move the Event type from the VI generator to manually written code (Matthias Bolte)
- test: all test_scripts should be part of tarball when building without libvirtd (Wen Congyang)
- build: probes.d and libvirtd.stp should be part of tarball (Wen Congyang)
- remote: Convert SSH tunnel to virCommand (Cole Robinson)
- storage: Convert qemu-img -help parsing to virCommand (Cole Robinson)
- apparmor: Convert virExec usage to virCommand (Cole Robinson)
- util: Combine __virExec and virExecWithHook (Cole Robinson)
- remote_driver: Convert virExecDaemonize usage to virCommand (Cole Robinson)
- remote: Use virDomainEventState helpers (Cole Robinson)
- libxl: Convert to virDomainEventState (Cole Robinson)
- test: Use virDomainEventState helpers (Cole Robinson)
- lxc: Use virDomainEventState helpers (Cole Robinson)
- qemu: Use virDomainEventState helpers (Cole Robinson)
- domain_event: Add common domain event queue/flush helpers (Cole Robinson)
- domain_event: Add virDomainEventState structure (Cole Robinson)
- xml: Use virXMLParse* helpers everywhere (Cole Robinson)
- domain: Require init node for container guests (Cole Robinson)
- xml: Make sure virXpathNodeSet always sets an error (Cole Robinson)
- vbox: Implement the Screenshot driver methods (Michal Privoznik)
- qemu: Implement the Screenshot driver methods (Michal Privoznik)
- virFDStream: Add option for delete file after it's opening (Michal Privoznik)
- Implementing the Screenshot remote protocol (Michal Privoznik)
- Implementing the Screenshot public API (Michal Privoznik)
- Defining the Screenshot internal API (Michal Privoznik)
- remote generator: Add skipgen/autogen flags to .x files (Matthias Bolte)
- nwfilter: drop unused flag argument (Eric Blake)
- maint: omit translation for all VIR_INFO (Eric Blake)
- build: wrap macro body in one-shot do-while loop (Eric Blake)
- build: drop need for VIR_DOMAIN_DEBUG0() (Eric Blake)
- libvirt,logging: cleanup VIR_XXX0() (Lai Jiangshan)
- maint: avoid a couple of gnulib regressions (Eric Blake)
- build: remove some dead assignments (Eric Blake)
- Allow destroying QEMU VM even if a job is active (Daniel P. Berrange)
- Add support for YAJL version 2 API/ABI (Daniel P. Berrange)
- libxl: support enabling the HPET (Paolo Bonzini)
- libxl: support enabling the HPET (Paolo Bonzini)
- xen: parse and generate hpet item in sxpr (Paolo Bonzini)
- virsh: flexibility in CA cert and user cert/key (Doug Goldstein)
- remote generator: Make parsing stricter (Matthias Bolte)
- remote generator: Unify unsigned int notation in .x files (Matthias Bolte)
- remote generator: Fix comment ignoring regex (Matthias Bolte)
- Rename internal DumpXML functions to GetXMLDesc (Matthias Bolte)
- qemu,inject-nmi: Implement the driver methods (Lai Jiangshan)
- inject-nmi: Expose the new API in virsh (Lai Jiangshan)
- inject-nmi: Implementing the remote protocol (Lai Jiangshan)
- inject-nmi: Implementing the public API (Lai Jiangshan)
- inject-nmi: Defining the internal API (Lai Jiangshan)
- lxc: container: Build init cmd before we close stdout (Cole Robinson)
- lxc: container: Convert init node exec to virCommand (Cole Robinson)
- command: Add virCommandExec helper (Cole Robinson)
- lxc: driver: Improve logging when launching emulator (Cole Robinson)
- lxc: driver: Convert emulator launching to virCommand (Cole Robinson)
- command: Add virCommandEnvAddFormat (Cole Robinson)
- build: translate generated strings (Eric Blake)
- Pull in gnulib fnmatch module (Daniel P. Berrange)
- json: Fix *GetBoolean functions (Jiri Denemark)
- build: rebuild generated files after rpcgen_fix.pl tweak (Eric Blake)
- Re-add libvirt.spec to tarball to allwo "make rpm" (Daniel Veillard)
- build: Remove all generated RPC files from GIT (Daniel P. Berrange)
- build: refactor generated RPC files (Daniel P. Berrange)
- build: rename generated files to .h, for automake's sake (Eric Blake)
- remote generator, client: Handle arguments with limited length (Matthias Bolte)
- remote generator, client: Handle functions that return lists (Matthias Bolte)
- remote: Refactor remote*Open and remote*Close functions (Matthias Bolte)
- remote generator, client: Handle functions with optional return values (Matthias Bolte)
- remote generator, client: Handle functions with multiple return values (Matthias Bolte)
- remote generator, client: Handle functions with wrapped return values (Matthias Bolte)
- remote generator, client: Handle functions with simple return values (Matthias Bolte)
- remote generator, client: Handle simple remote driver functions (Matthias Bolte)
- remote generator: Reorder into prepare and print section (Matthias Bolte)
- remote generator, daemon: Handle functions with multiple return values (Matthias Bolte)
- remote generator, daemon: Combine multiple ifs in the generated code (Matthias Bolte)
- remote generator, daemon: Handle the CPU functions (Matthias Bolte)
- remote generator: Refactor duplicate code (Matthias Bolte)
- remote generator, daemon: Handle functions that return lists (Matthias Bolte)
- remote: Rename 'nameslen' to the common 'maxnames' (Matthias Bolte)
- remote generator, daemon: Handle functions with optional arguments (Matthias Bolte)
- remote generator, daemon: Handle more functions (Matthias Bolte)
- remote generator, daemon: Handle simple-return-value functions (Matthias Bolte)
- remote generator, daemon: Change capitalization of some words (Matthias Bolte)
- remote: Replace 'domain' with 'dom' in the XDR protocol (Matthias Bolte)
- remote generator, daemon: Output function bodies too (Matthias Bolte)
- remote generator: Replace tabs with spaces and rename file (Matthias Bolte)
- Balloon dom0 in libxl driver (Markus Groß)
- remote: check actual access to the cert (Doug Goldstein)
- maint: avoid comparisons to bool constants (Eric Blake)
- Add warning message to XML definition files stored on disk (Michal Privoznik)
- Fix security driver handling of FIFOs with QEMU (Daniel P. Berrange)
- Make taint warnings also go into the domain logfile (Daniel P. Berrange)
- Add a qemuDomainAppendLog method for writing to the domain logfile (Daniel P. Berrange)
- Move qemuProcessLogReadFD and qemuProcessLogFD methods (Daniel P. Berrange)
- Log taint warnings in QEMU driver (Daniel P. Berrange)
- Add field to virDomainObjPtr to track "tainting" (Daniel P. Berrange)
- virsh: improve TLS certificate error messages (Doug Goldstein)
- virsh: use new method for easier log to file (Eric Blake)
- buf: add virBufferVasprintf (Eric Blake)
- maint: rename virBufferVSprintf to virBufferAsprintf (Eric Blake)
- Make QEMU migration use cached qemu capabilities data (Daniel P. Berrange)
- Make QEMU hotplug use cached qemu capabilities data (Daniel P. Berrange)
- Persist qemu capabilities in the domain status file (Daniel P. Berrange)
Cleanups:
- build: silence coverity false positive (Eric Blake)
- build: silence coverity false positive (Eric Blake)
- .gitignore: Exempt a new test binary. (Eric Blake)
- Ensure hvsupport.html.in is built before HTML validation (Daniel P. Berrange)
- Fix a make check error (Daniel Veillard)
- Add sexpr.c to the list of file with translatable messages (Matthias Bolte)
- don't check flags in virDomainSetSchedulerParametersFlags (Hu Tao)
- build: silence clang false positive (Eric Blake)
- Remove obsolete remoteDispatchOOMError method (Daniel P. Berrange)
- remote: keep 'make check' happy (Eric Blake)
- build: avoid compiler warning during configure (Wen Congyang)
- Remove bogus assert() from migration code (Daniel P. Berrange)
- build: drop files generated by config.status from tarball (Eric Blake)
Thanks everybody for contributing to the release, with documentation,
ideas, feedback or patches !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
13 years, 5 months
[libvirt-users] Unable to migrate a vm
by PREETHI RAMESH
Hi!
I've attached my code
The error I got was:
run:
Domain:hda2 id 11 running hvm
libvir: Domain error : operation virDomainMigrate forbidden for read only
access
exception FOUR caught:org.libvirt.LibvirtException: operation
virDomainMigrate forbidden for read only access
level:VIR_ERR_ERROR
code:VIR_ERR_OPERATION_DENIED
domain:VIR_FROM_DOM
hasConn:false
hasDom:false
hasNet:false
message:operation virDomainMigrate forbidden for read only access
str1:operation %s forbidden for read only access
str2:virDomainMigrate
str3:null
int1:-1
int2:-1
BUILD SUCCESSFUL (total time: 9 seconds)
PLEASE help me. I've been stuck with it for three days!
13 years, 5 months
[libvirt-users] libvirtError: internal error Domain mytest didn't show up
by Chun Tat David Chu
Hi All,
I am new using libvirt.
I kept on getting the following error when I try to start my VM. Can anyone
give me any suggestion on what could went wrong?
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 498, in
run_domain
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup
self.vm.create()
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error Domain mytest didn't show up
Thanks,
David
13 years, 5 months
[libvirt-users] io=native
by Troels Arvin
Hello,
Regarding KVM - in particular RHEL 6.1 x86_64:
I just did a set of benchmarks comparing the effect of
<driver name='qemu' type='raw' cache='none' io='native'/>
versus
<driver name='qemu' type='raw' cache='none'/>
Using Oracle's "orion" tool with an XIV backend, I got:
With io='native':
Maximum Large MBPS=964.41
Maximum Small IOPS=11797
Minimum Small Latency=7.57
WithOUT io='native':
Maximum Large MBPS=727.42
Maximum Small IOPS=7793
Minimum Small Latency=7.56
In other words, setting the io-attribute to 'native' yields a significant
performance improvement.
I wonder why KVM doesn't simply default to using io='native'. If that
can't happen, then I wonder why libvirt doesn't set io='native' for
storage attached to a guest after creation. (virt-manager sets io='native'
for the first storage, attached during guest setup, but seems to forget
for subsequent block-device additions).
--
Regards,
Troels Arvin <troels(a)arvin.dk>
http://troels.arvin.dk/
13 years, 5 months