Re: [libvirt-users] [libvirt] Guide to view the libvirt source.

2013-10-14 Thread Osier Yang
On 04/10/13 21:04, cooldharma06 wrote: hi all, i am new to this libvirt. Any guide or reference is available to know more things libvirt (individual programs). because it will give me some idea to get about the libvirt and its corresponding programs. If there is available means please guide

Re: [libvirt-users] problem with sheepdog backend when creating a pool

2013-09-24 Thread Osier Yang
On 18/09/13 23:03, Giovanni Bellac wrote: Hello all, I am getting a error, when creating a sheepdog pool via libvirt. libvirt is compiled as: ./configure --prefix=/opt/libvirt --without-xen --with-yajl --with-storage-sheepdog=/opt/sheepdog The options "--with-somthing" generally accept 3 val

Re: [libvirt-users] Expanding an LVM Storage Pool

2013-09-23 Thread Osier Yang
On 21/09/13 02:15, McEvoy, James wrote: I looked around but could not find any info on how to expand a libvirt managed LVM storage pool. I do not see any virsh command to do it but I was successful using the vgexpand command to add some more storage once I destroyed the pools and then restarte

Re: [libvirt-users] Specify mount option for Storage-Pool

2013-09-23 Thread Osier Yang
On 20/09/13 23:30, Jorge Fábregas wrote: Hi, I've changed the "default" storage-pool from "directory-based" to a "pre-formatted block-device" since my /var/lib/libvirt/images is on a partition of its own. I would like to use the "discard" option as well as other (noatime etc) on this filesystem

Re: [libvirt-users] [libvirt] Doc v2: How to use NPIV in libvirt

2013-09-18 Thread Osier Yang
On 18/09/13 18:39, Osier Yang wrote: Thanks for John Ferlan's lots of internal feedbacks, I believe it's more readable, and better orgnized now. Should we create a page for it under http://libvirt.org/deployment.html or add it in WIKI? ==

[libvirt-users] Doc v2: How to use NPIV in libvirt

2013-09-18 Thread Osier Yang
Thanks for John Ferlan's lots of internal feedbacks, I believe it's more readable, and better orgnized now. Should we create a page for it under http://libvirt.org/deployment.html or add it in WIKI? == NPIV in libvirt NPIV (N_Port ID Virtualization) is a

[libvirt-users] Doc: How to use NPIV in libvirt

2013-09-13 Thread Osier Yang
Before posting it to WIKI or somewhere, I want to see if there is any suggestions on it, or if I missed something. How to use NPIV in libvirt I planned to wrote a document about how to use NPIV in libvirt after more features are

Re: [libvirt-users] LVM Thin Volumes & Storage Pools

2013-09-09 Thread Osier Yang
On 09/09/13 18:48, Jorge Fábregas wrote: On 09/09/2013 02:42 AM, Osier Yang wrote: And we have the bug to support the thin pool, sorry you won't be able to use it until the bug is fixed. Could you share the bug number so I can follow it? I mean libvirt has bug which need to be

Re: [libvirt-users] Error Attaching Seventh VirtIO-SCSI Device to Guest

2013-09-09 Thread Osier Yang
On 08/09/13 04:19, McEvoy, James wrote: -Original Message- From: Osier Yang [mailto:jy...@redhat.com] Sent: Friday, September 06, 2013 10:54 PM To: McEvoy, James Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Error Attaching Seventh VirtIO-SCSI Device to Guest On 04/09/13 09

Re: [libvirt-users] LVM Thin Volumes & Storage Pools

2013-09-08 Thread Osier Yang
On 09/09/13 11:14, Jorge Fábregas wrote: On 09/08/2013 10:19 PM, Osier Yang wrote: Could you paste the bug number? https://bugzilla.redhat.com/show_bug.cgi?id=924672 The error pasted by Cole in the bug should be the real reason, which is overridden by the later pool stopping. And we have

Re: [libvirt-users] LVM Thin Volumes & Storage Pools

2013-09-08 Thread Osier Yang
On 09/09/13 03:53, Jorge Fábregas wrote: Hi, Is it possible to create a storage pool based on an LVM thin pool? I read a recent bugzilla but the problem there was that the storage-pool became unusable AFTER creating a thinpool which is a different case. Could you paste the bug number? Tha

Re: [libvirt-users] Cannot create a volume

2013-09-06 Thread Osier Yang
On 06/09/13 00:18, Daniele wrote: Hi all, I'm trying to create a new volume in a netfs pool. The pool works correctly and it is active. If I try to create the volume from the virt-manager GUI nothing happens. Then virt-manager has a bug, it should report error, by an error dialog or something

Re: [libvirt-users] Error Attaching Seventh VirtIO-SCSI Device to Guest

2013-09-06 Thread Osier Yang
On 04/09/13 09:34, McEvoy, James wrote: I have run into a problem attempting to attach the seventh virtio-scsi device to a RHEL 6.4 Guest from a RHEL 6.4 host running libvirt version 0.10.2-18. I have a guest that is running RHEL6.4 where I can attach disks sda(boot), sdb, sdc, sdd, sde and sdf

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-30 Thread Osier Yang
[ CC Peter ] On 2013年01月31日 06:01, Doug Goldstein wrote: On Wed, Jan 30, 2013 at 1:21 AM, Wayne Sun wrote: On 01/30/2013 01:25 PM, Doug Goldstein wrote: On Mon, Jan 28, 2013 at 10:23 AM, Osier Yang wrote: On 2013年01月29日 00:17, Doug Goldstein wrote: On Sun, Jan 27, 2013 at 10:46 PM

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-28 Thread Osier Yang
On 2013年01月29日 00:17, Doug Goldstein wrote: On Sun, Jan 27, 2013 at 10:46 PM, Osier Yang wrote: On 2013年01月28日 11:47, Osier Yang wrote: On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yang wrote: On 2013年01月24

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-27 Thread Osier Yang
On 2013年01月28日 11:47, Osier Yang wrote: On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yang wrote: On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yang wrote: On 2013年01月24日 12

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-27 Thread Osier Yang
On 2013年01月28日 11:44, Osier Yang wrote: On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yang wrote: On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yang wrote: On 2013年01月24日 12:11, Doug Goldstein wrote: On Wed, Jan

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-27 Thread Osier Yang
On 2013年01月26日 01:07, Doug Goldstein wrote: On Thu, Jan 24, 2013 at 12:58 AM, Osier Yang wrote: On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yang wrote: On 2013年01月24日 12:11, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 3:45 PM, Doug Goldstein

Re: [libvirt-users] [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread Osier Yang
On 2013年01月24日 17:46, 韩诚 wrote: > Thank you~ > > I'd like to know when it is supported? Is it on schedule? Right, it's not supported yet, it's on my TODO list (yes, on schedule), but it will be after the patches for "Migration with NPIV". Even might be after (or before) integration of ivshmem ser

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-23 Thread Osier Yang
On 2013年01月24日 14:26, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 11:02 PM, Osier Yang wrote: On 2013年01月24日 12:11, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 3:45 PM, Doug Goldstein wrote: I am using libvirt 0.10.2.2 and qemu-kvm 1.2.2 (qemu-kvm 1.2.0 + qemu 1.2.2 applied on top

Re: [libvirt-users] VMs fail to start with NUMA configuration

2013-01-23 Thread Osier Yang
On 2013年01月24日 12:11, Doug Goldstein wrote: On Wed, Jan 23, 2013 at 3:45 PM, Doug Goldstein wrote: I am using libvirt 0.10.2.2 and qemu-kvm 1.2.2 (qemu-kvm 1.2.0 + qemu 1.2.2 applied on top plus a number of stability patches). Having issue where my VMs fail to start with the following message:

Re: [libvirt-users] Error installing VM: "Process exited while reading console log output"

2012-12-27 Thread Osier Yang
On 2012年12月28日 05:28, Patrick 'P. J.' McDermott wrote: On 2012-12-26 10:28, Gao Yongwei wrote: you could change the log level of libvirt daemon by edit /etc/libvirt/libvirtd.log, and see more information On 2012-12-26 09:49, Osier Yang wrote: Generally, this means qemu crashe

Re: [libvirt-users] Error installing VM: "Process exited while reading console log output"

2012-12-27 Thread Osier Yang
On 2012年12月28日 13:14, Osier Yang wrote: On 2012年12月28日 05:28, Patrick 'P. J.' McDermott wrote: On 2012-12-26 10:28, Gao Yongwei wrote: you could change the log level of libvirt daemon by edit /etc/libvirt/libvirtd.log, and see more information On 2012-12-26 09:49, Osier

Re: [libvirt-users] Error installing VM: "Process exited while reading console log output"

2012-12-26 Thread Osier Yang
On 2012年12月20日 14:29, Patrick 'P. J.' McDermott wrote: Hi, I'm trying to install a qemu-kvm virtual machine on a Debian GNU/Linux squeeze amd64 host, using virtinst 0.500.3 and libvirt 0.8.3. First I tried this command as a normal user (in groups kvm and libvirt): $ virt-install --connect

Re: [libvirt-users] Error using virt-convert

2012-12-04 Thread Osier Yang
[CC to virt-tools list] On 2012年12月05日 06:13, Chandana De Silva wrote: All, I am trying to use virt-convert to convert a KVM/libvirt guest to VMWare ESX 4, and getting an error. Any help would be greatly appreciated. I have created a virt-image image file as shown at http://people.redhat.com/d

Re: [libvirt-users] error: unsupported configuration: block I/O throttling not supported with this QEMU binary

2012-12-03 Thread Osier Yang
On 2012年12月03日 17:19, hzguanqiang wrote: On 2012-12-03 16:53, Osier wrote: >On 2012年12月03日 11:39, hzguanqiang wrote: >> On 2012-12-03 10:33, Osier wrote: >> >On 2012年11月28日 16:34, hzguanqiang wrote: >> >> Hi, guys. >> >> I want to change block I/O throttle using 'virsh blkdeviotune' with vm

Re: [libvirt-users] error: unsupported configuration: block I/O throttling not supported with this QEMU binary

2012-12-03 Thread Osier Yang
On 2012年12月03日 11:39, hzguanqiang wrote: On 2012-12-03 10:33, Osier wrote: >On 2012年11月28日 16:34, hzguanqiang wrote: >> Hi, guys. >> I want to change block I/O throttle using 'virsh blkdeviotune' with vm >> not running, it reported an error: >> # virsh blkdeviotune instance-00dc /dev/loo

Re: [libvirt-users] error: unsupported configuration: block I/O throttling not supported with this QEMU binary

2012-12-02 Thread Osier Yang
On 2012年11月28日 16:34, hzguanqiang wrote: Hi, guys. I want to change block I/O throttle using 'virsh blkdeviotune' with vm not running, it reported an error: # virsh blkdeviotune instance-00dc /dev/loop0 --total-bytes-sec 2000 --total-iops-sec 20 --config error: Unable to change block I/O

Re: [libvirt-users] iSCSI storage pool autostart

2012-12-02 Thread Osier Yang
On 2012年12月03日 07:47, mdeche...@comcast.net wrote: > Anyway I found this thread from a couple years ago and it talks about it being an ARP issue ( https://www.redhat.com/archives/libvirt-users/2010-March/msg00038.html). I enabled portfast on my switch ports that connects to my hosts and this

Re: [libvirt-users] error: internal error lxc state driver is not active

2012-10-22 Thread Osier Yang
On 2012年10月22日 15:55, #█er wrote: hi: I want to use libvirt with LXC, but when I use virsh -c lxc:/// to connect to lxc, it just print these errors: error: internal error lxc state driver is not active error: failed to connect to the hypervisor I searched these error message , but it seems that t

Re: [libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

2012-09-13 Thread Osier Yang
On 2012年09月13日 16:04, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 03:54:30PM +0800, Osier Yang wrote: On 2012年09月13日 15:50, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 03:17:14PM +0800, Osier Yang wrote: On 2012年09月13日 14:55, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 01:04:58PM +0800

Re: [libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

2012-09-13 Thread Osier Yang
On 2012年09月13日 15:50, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 03:17:14PM +0800, Osier Yang wrote: On 2012年09月13日 14:55, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 01:04:58PM +0800, Osier Yang wrote: On 2012年09月13日 11:23, Marwan Tanager wrote: No, to disable the autostarting of

Re: [libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

2012-09-13 Thread Osier Yang
On 2012年09月13日 14:55, Marwan Tanager wrote: On Thu, Sep 13, 2012 at 01:04:58PM +0800, Osier Yang wrote: On 2012年09月13日 11:23, Marwan Tanager wrote: No, to disable the autostarting of dnsmasq, you need to disable the autostart of network which drives dnsmasq (named 'default'

Re: [libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

2012-09-12 Thread Osier Yang
On 2012年09月13日 11:23, Marwan Tanager wrote: Hi. I have a machine with a local DHCP server and a couple of virtual networks and I've configured the server for each virtual interface, so that I would be able to install VMs on the corresponding subnets using PXE. The problem is that the two DHCP s

Re: [libvirt-users] [PATCH] docs: mention another iaas app built on libvirt

2012-09-11 Thread Osier Yang
On 2012年09月12日 05:28, Eric Blake wrote: Reported on the libvirt-users list. * docs/apps.html.in: Add Eucalyptus. Reported by Eric Choi. --- Any objections to this patch, turning your email into the needed doc markup? docs/apps.html.in | 8 1 file changed, 8 insertions(+) diff --gi

Re: [libvirt-users] Addition of Eucalyptus to IaaS section

2012-09-11 Thread Osier Yang
On 2012年09月10日 00:08, Eric Choi wrote: Hello there, I’m not sure if this is the right mailing list, but I’d like to see if we can add Eucalyptus to the IaaS page here: http://libvirt.org/apps.html#iaas Sure. Please let me know what is required in order to add us? Patch is welcomed, but al

Re: [libvirt-users] INTERNAL ERROR:can not attach network interface for vm

2012-07-23 Thread Osier Yang
On 2012年07月23日 17:24, Gao Yongwei wrote: hello,i got a error message when use virsh attach-interface for a vm: first, list the vm's interface,there's no interface now. virsh # domiflist ubuntum-124 Interface Type Source Model MAC -

Re: [libvirt-users] [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 17:34, Navin P wrote: +++ Osier Yang [18/07/12 16:13 +0800]: On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up

Re: [libvirt-users] [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE ,

Re: [libvirt-users] Starting a program inside VM through libvirt

2012-07-12 Thread Osier Yang
On 2012年07月12日 14:43, Jørgen Nordmoen wrote: Hi again. I was just wondering if there are any support for running programs inside a VM through libvirt. From what I can see in the API the only solution I found was connecting to the VM with openConsole and running the program I want. This however s

Re: [libvirt-users] compiling docs from git

2012-07-11 Thread Osier Yang
On 2012年07月11日 23:19, Arindam Choudhury wrote: Hi, I am unable to compile documents obtained from the git source. You get libvirt-publican? I am getting this error: Brand 'libvirt' had no content to copy. at /usr/bin/publican line 763 It works fine on my FC17. Thanks ___

Re: [libvirt-users] Issue with getCPUStats and getMemoryStats

2012-07-10 Thread Osier Yang
On 2012年07月10日 15:07, Ananth wrote: Hi, I am facing issue with the calls getCPUStats and getMemoryStats. Please find the error below. AttributeError: 'module' object has no attribute 'VIR_NODE_CPU_STATS_ALL_CPUS' >>> print con.getCPUStats(2, None, 0, 0) Traceback (most recent call last): Fi

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-09 Thread Osier Yang
On 2012年07月09日 18:04, Ananth wrote: Hi, Thanks for the inputs. I was able to resolve all dependencies and compile libvirt-0.9.8 successfully. I am able to see the newly built virsh tool inside /opt/libvirt/bin/virsh. But I am unable to start the newly compiled service. My service is available in

Re: [libvirt-users] [libvirt] numa query

2012-07-09 Thread Osier Yang
On 2012年07月05日 21:50, kapil jain wrote: Hi, I have a host machine which contains 4 numa nodes each with 2 GB memory and 4 cpus. I am using qem-kvm hypervisor. I am trying to create a guest with the similar topology (4 numa nodes, with only 2 vcpus and 1 GB memory) as host. Each vcpu is 1-1 pi

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-04 Thread Osier Yang
On 2012年07月03日 00:42, Ananth wrote: Thank you. Can you give pointers on how to compile libvirt code? and documentation available for the same? Sorry for the late response, I'm in vacation. Yes, there is documentation. http://libvirt.org/compiling.html Regards, Osier _

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-02 Thread Osier Yang
On 2012年07月02日 20:06, Ananth wrote: Hi Thanks for the response. I installed using apt-get on ubuntu 12 04, should i be compiling libvirt myself with --with-netcf option instead of using any package manager? Yeah, if your destro packager didn't do that. Regards, Osier _

Re: [libvirt-users] virsh iface-list () - function is not supported

2012-07-02 Thread Osier Yang
On 2012年07月02日 17:24, Ananth wrote: Hi, I am using KVM hypervisor on Ubuntu 12.04 (libvirt-0.9.8). The call to list the interfaces seem to be failing on this version of libvirt as seen below. virsh # iface-list error: Failed to list active interfaces error: this function is not supported by the

Re: [libvirt-users] How to start a storage pool using libvirt?

2012-06-28 Thread Osier Yang
On 2012年06月28日 22:20, Ananth wrote: I figured out that poolObject.create(0) can start the storage pool. Is there a way to automatically create the folder, if the folder does not exist while defining a pool? for example, if i do pool-define myPool.xml, how can I make it create the folder if the ta

Re: [libvirt-users] Storage Pools & nodedev-create specific scsi_host#?

2012-06-28 Thread Osier Yang
On 2012年06月29日 08:16, mdeche...@comcast.net wrote: Hello everyone, Current host build is RHEL 6.2, soon to be upgrading. I'm in the process of mapping out a KVM/RHEV topology. I have questions about the landscape of storage pools and the instantiation of specific scsi_host IDs using virsh no

Re: [libvirt-users] editing pools

2012-06-25 Thread Osier Yang
On 2012年06月23日 01:30, Dave Allan wrote: On Fedora 17 I used virsh pool-edit to change the directory of the default pool that virt-manager creates, and I noticed that my changes were discarded unless I made the changes with the pool stopped. Is that expected behavior? Actually not discarded, p

Re: [libvirt-users] unsupported configuration: Reboot is not supported with this QEMU binary

2012-06-18 Thread Osier Yang
On 2012年06月17日 08:34, Xing.x.Gao wrote: 2012/6/17 Doug Goldstein: On Jun 15, 2012, at 10:35 PM, "Xing.x.Gao" wrote: 2012/6/15 Xing.x.Gao: 2012/6/15 Anthony Bourguignon: Le vendredi 15 juin 2012 à 14:29 +0800, Xing.x.Gao a écrit : Hello, when i use virsh to reboot a guest,it report a "unsu

Re: [libvirt-users] How to set cpu limits to xen domU in libvirt

2012-06-18 Thread Osier Yang
On 2012年06月18日 09:58, Xing.x.Gao wrote: perhaps cgroup? Qemu driver uses the very cgroup to set the 'period' and 'quota'. You can uses write script to do it outside of libvirt (though it's not supported by libvirt officially), , or patch to XEN driver is welcomed. :-) 2012/6/18 Tony Huang:

Re: [libvirt-users] A RFE for libvirt

2012-06-07 Thread Osier Yang
[ CC to libvir-list for further discussing ] On 2012年06月07日 20:20, Eric Blake wrote: On 06/07/2012 03:04 AM, Osier Yang wrote: I once thought the RFE is not a valid request from a command p.o.v (if we provide too much options for the various config tags, it's just duplicate work of tools

Re: [libvirt-users] A RFE for libvirt

2012-06-07 Thread Osier Yang
On 2012年06月07日 06:38, Eric Blake wrote: On 06/05/2012 12:23 AM, whuang wrote: Hi, I am a libvirt user , there is a requirement about libvirt : I need a virsh cmd like "#virsh *create-as* --disk --net " to create a very sample guest I have not xml file and I think it's a little hard for me to cr

Re: [libvirt-users] list storage pools and volumes using python api calls

2012-05-07 Thread Osier Yang
On 2012年05月07日 13:26, Syed A. Ali wrote: how do i list storage pools and volumes using the python bindings? basically the python api calls for virsh pool-list and virsh vol-list thanks # python >>> import libvirt >>> help(libvirt) You will find "listStoragePools" in class "virConnect", and "

Re: [libvirt-users] Snooze energy-efficient cloud manager is available as open-source!

2012-05-02 Thread Osier Yang
On 2012年05月02日 19:56, Eugen Feller wrote: Dear all, herewith we proudly announce the first public release of Snooze. Snooze is an open-source scalable, autonomic, and energy-efficient virtual machine (VM) management framework for private clouds based on libvirt. Similarly to other VM management

Re: [libvirt-users] question of iSCSI pool on the same iSCSI target

2012-04-28 Thread Osier Yang
On 2012年04月27日 11:06, david_zhu wrote: Hi, all, I have 3 XMLs for defining iSCSI pools. i1.xml and i3.xml are configured to the same iSCSI target, and i2.xml uses another. virsh will report error if I define pool "i3" after I have defined the pool "i1", but it is OK after defining the pool "i2"

Re: [libvirt-users] vzctl 3.1 not supported in virsh ?

2012-03-30 Thread Osier Yang
On 2012年03月31日 08:03, Osier Yang wrote: On 2012年03月30日 23:04, Jamshaid wrote: Hello If i use virsh with vzctl 3.1 i get below error virsh -c openvz:///system error: /Could not extract vzctl version It works ok with vzctl 3.0.x Is there any way i can use virsh with vzctl 3.1 ? IIR, it&#

Re: [libvirt-users] vzctl 3.1 not supported in virsh ?

2012-03-30 Thread Osier Yang
On 2012年03月30日 23:04, Jamshaid wrote: Hello If i use virsh with vzctl 3.1 i get below error virsh -c openvz:///system error: /Could not extract vzctl version It works ok with vzctl 3.0.x Is there any way i can use virsh with vzctl 3.1 ? IIR, it's somehing we need to improve for the version p

Re: [libvirt-users] virsh create failed: cannot set CPU affinity on process 0

2012-03-29 Thread Osier Yang
On 03/30/2012 02:35 AM, 杨镭 wrote: Hello Everyone: We can't create vm on a physical server with 64 CPU(as reported by /proc/cpuinfo). The error message is: "cannot set CPU affinity on process 0" The following is the capabilities detected by libvirt: x86_64 Westmere Intel The cpu affinity is

Re: [libvirt-users] [API reference] confused by CPU time term

2012-03-28 Thread Osier Yang
On 03/28/2012 01:44 PM, Zhihua Che wrote: Hi, everyone I'm writing a virtual machine monitor based on libvirt. As I read the api reference, I found I'm confused by some terms. 1, What is cumulative I/O wait CPU time? API reference says that VIR_NODE_CPU_STATS_IOWAIT indicate cumulative

Re: [libvirt-users] Error when executing virsh command to ESX

2012-03-23 Thread Osier Yang
On 2012年03月22日 15:36, li_fuqiong wrote: Osier, Thank you very much for your helpful reply. I think I missed some info: 1. I execute nodeinfo, dumpxml command in windows client throw out of memory error, but can get right result in linux client, use the same VMware ESX 4.0 server, and virsh versio

Re: [libvirt-users] 转发: Error when executing virsh command to ESX

2012-03-21 Thread Osier Yang
On 2012年03月21日 15:49, li_fuqiong wrote: To Whom It May concern: I found that the following error is caused by adding a scsi disk to install the os, I remove the scsi disk and the error remove but still report 'out of memory': When trying to ask for help, it's better to tell which hypervisor dri

Re: [libvirt-users] run virsh as non-root user

2012-03-10 Thread Osier Yang
On 2012年03月09日 11:40, Qu, John (IS) wrote: virsh worked after I created .libvirt dir in user eucalyptus home dir. $HOME/.libvirt is created automatically, wondering why you have to create manually. Osier ___ libvirt-users mailing list libvirt-users@

Re: [libvirt-users] where is the libvirt.xml ?

2012-03-08 Thread Osier Yang
On 03/08/2012 11:47 AM, suyi wang wrote: Hi all: My OS is now Fedora16 , and the spice server is installed on it by rpms. Then I run 'qemu-kvm -hda /root/vaddsoft.img -m 512 -vga qxl -spice port=5930,disable-ticketing' , I want to find out where is the libvirt.xml for the command . Well

Re: [libvirt-users] 回复: Re: virsh create error : monitor socket did not show up

2012-03-07 Thread Osier Yang
error ,this is my error part: > > > xxx > > xxx > > > > > > Althroug i had handled this error ,bug i didnot quite understand . > ---

Re: [libvirt-users] virsh create error : monitor socket did not show up

2012-03-07 Thread Osier Yang
On 03/07/2012 06:22 PM, 张光鹏 wrote: > Hi,all > i get a problem as below when i create a vm: > virsh create deployment.0 > error: Failed to create domain from deployment.0 > error: monitor socket did not show up.: No such file or directory Generally it tells the qemu failed to start, could you check

Re: [libvirt-users] libvirt for spice

2012-03-06 Thread Osier Yang
On 03/07/2012 11:28 AM, suyi wang wrote: As you can see, I just change to, But it called the error as follows: libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/12 TRACE: do_spice_init: starting 0.8.1

Re: [libvirt-users] libvirtd restore error?

2012-02-13 Thread Osier Yang
On 02/13/2012 04:13 PM, lee wrote: Hi qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64 qemu-kvm-tools-0.12.1.2-2.160.el6_1.2.x86_64 libvirt-java-javadoc-0.4.7-1.el6.noarch libvirt-client-0.8.7-18.el6.x86_64 fence-virtd-libvirt-qpid-0.2.1-8.el6.x86_64 ocaml-libvirt-0.6.1.0-6.2.el6.x86_64 libvirt-devel-0.8

Re: [libvirt-users] serial console with virt-install

2012-02-08 Thread Osier Yang
On 2012年02月08日 05:08, Felix Blanke wrote: Hello, sorry for bother you again. I'm new to kvm and libvirt, that's why my next question is maybe some sort of noob question :) I have a headless server (no X at all, just ssh) and want to run some virtual machines on it. I have kvm etc. all set up.

Re: [libvirt-users] redirect ports from user network

2011-12-29 Thread Osier Yang
On 2011年12月29日 16:38, Алексей Беляев wrote: Hello. I would like to redirect some ports from user network to host system. In console i can do it: /usr/libexec/qemu-kvm -drive file=/home/libvirt/qemu-fedora.img -vnc 10.200.1.1:1 -net user -redir tcp:22000::4 -redir tcp:22001::22 How can i do

Re: [libvirt-users] libvirt uninstall @ install problem??

2011-11-17 Thread Osier Yang
于 2011年11月17日 17:30, 张光鹏 写道: Hi: I have a rhel6.1 system, before I installed libvirt0.9.6.tar.gz, it already have installed libvirt-0.8.7-xxx.rpm. Can someone tell me how to uninstall the libvirt-0.8.7XXX.rpm ,and then i can install libvirt0.9.6.tar.gz and use it . Per you installed 0.8.7 as

Re: [libvirt-users] libvirt0.8.7.tar.gz installation failure

2011-11-14 Thread Osier Yang
于 2011年11月14日 17:35, 张光鹏 写道: Hi: I get a very strange problem when I installing libvirt0.8.7.tar.gz. Here is my infomaton: compute with RHELD6.0 systerm; the systerm comes with libvirt0.8.7,bu I uninstalled it and its dependencies . And then i download the libvirt0.8.7.tar.gz , untar it ,configu

Re: [libvirt-users] CPU and RAM utilization

2011-11-13 Thread Osier Yang
? 2011?11?13? 17:03, Jatin Kumar ??: Hello, I have a few vms running on a blade server and i want to log the actual RAM and CPU utilization by these vms. dom.info (), libvirt API call is not giving correct results. It is always showing the max allocated resources. I have tried

Re: [libvirt-users] virt-manager: create lxc app container hangs

2011-11-06 Thread Osier Yang
On 11/05/2011 10:11 PM, sean darcy wrote: On 11/04/2011 09:55 PM, sean darcy wrote: libvirt-0.9.6-2.fc15.x86_64 virt-manager-0.9.0-7.fc15.noarch I'm trying to use virt-manager create a simple lxc app container just to see how it works. App is /bin/sh, 128 megs, 1 cpu. All seems to go well, but

Re: [libvirt-users] VM with transient disk

2011-10-30 Thread Osier Yang
On 10/31/2011 03:18 AM, Till Mossakowski wrote: I want to use transient disks with libvirt. According to [1], the transient disk feature has been supported since 0.9.5. Hence, I have installed libvirt 0.9.6 for Ubuntu Lucid from [2] and used the following disk configuration: However, I

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
chardev' > In the destiantion host: (from the vm.log) >> Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting. > > > > Can you help me ? I google the error on the www . But I can not find > the proper solutions or the same questions. > > Thanks very much. > B

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
? 2011?10?26? 22:22, Luengffy XUE ??: Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host co

Re: [libvirt-users] VirtualBox 4.1 support

2011-10-23 Thread Osier Yang
于 2011年10月23日 23:45, Stefano Facchini 写道: Il giorno dom, 23/10/2011 alle 16.13 +0200, Matthias Bolte ha scritto: 2011/10/23 Stefano Facchini: Is version 4.1 (and later) of VirtualBox supported by libvirt? Currently libvirt supports up to VirtualBox 4.0. Here's a patch for 4.1 support https://

Re: [libvirt-users] high-privileges

2011-10-23 Thread Osier Yang
于 2011年10月23日 13:03, Face 写道: Anyone On Fri, Oct 21, 2011 at 11:31 PM, Face wrote: hello all, my vm (windows server 2008) keep crashing? 2011-09-21 15:00:45.924: 1355: info : libvirt version: 0.9.6 2011-09-21 15:00:45.924: 1355: error : virSysinfoRead:465 : internal error Failed to find pat

Re: [libvirt-users] virsh modified option... alternative..

2011-10-23 Thread Osier Yang
? 2011?10?21? 17:32, vmnode guy ??: Hi All, I am new to libvirt, i wander how we can achieve below objective, i read through a lot fromlibvirt.org but couldn'tfound any thing solid somethingequivalent to this:- virsh dumpxml dom> /tmp/dom.xml $EDITOR /tmp/dom.xml&

Re: [libvirt-users] Libvirt Live Migrat error

2011-10-20 Thread Osier Yang
? 2011?10?21? 10:25, Luengffy XUE ??: Dear , Today, i use the libvirt-manager to migrate the live VM . Problem comes ad the picture. How did it happen? Please help me. Thanks very much. Leungffy XUE Looks like your guest storage is not shared, generally you should mount the fs contains the g

Re: [libvirt-users] random "monitor socket did not show up"

2011-09-21 Thread Osier Yang
于 2011年09月21日 22:38, Gian Uberto Lauri 写道: Hello gentlemen! I just experienced this weird thing: I have 2 machines (one is a Dell Pe1950 with 2 Xeon 5130, the other is a Fujitsu RX200S6 with 2 Xeon E5645), both run CentoOS 5.6, the DELL has the2.6.18-238.9.1.el5 whilethe Fujitsu

Re: [libvirt-users] Config Errro when Creating a virtual device attachment to backend

2011-09-15 Thread Osier Yang
? 2011?09?15? 15:30, huachao yao ??: Hi, buddy, I want to create a virtual device attachment to backend. The domain is running, and my code phase is as below: xmlConfiguration= ""; virDomainAttachDevice(dom,xmlConfiguration); Try with tag removed. But the exception "libvir: Domain Con

Re: [libvirt-users] VMs do not start randomically during host boot

2011-08-29 Thread Osier Yang
? 2011?08?26? 03:39, Josir Cardoso Gomes ??: Hi Folks, Host: Ubuntu 10.04 64bits 3 Guests with Ubuntu 10.04 64bits Every monday, when I turn the host on, some guests starts automatically and others don´t. Every week libvirt "elects" a different guest and don´t start it. Interesting, :-) Pe

Re: [libvirt-users] hello, I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox, I can not attach a device to a domain

2011-08-29 Thread Osier Yang
? 2011?08?26? 20:27, bin liu ??: hello,I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox,I can not attach a device to a domain. It reports the error that can't get device from device.xml Hi, What's the exact error? here is my xml file for device(device.xml): and

Re: [libvirt-users] Help!

2011-08-29 Thread Osier Yang
? 2011?08?26? 11:16, huachao yao ??: Buddy, I am a noob in libvirt develop. When I want to create a domain by using virDomainDefineXML and displays a window on the host desktop. But when I add the line " " into the config xml file, the error as below will happen. libvir: QEMU error : internal e

Re: [libvirt-users] Snapshot error "command savevm not found"

2011-08-02 Thread Osier Yang
? 2011?08?02? 08:15, Trey Dockendorf ??: Attempting to take snapshots of VM using virsh with the following command, # virsh -c qemu:///system snapshot-create CentOS6-x86-001 Results in the following error, error: internal error unable to execute QEMU command 'savevm': The command savevm has

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-26 Thread Osier Yang
于 2011年07月27日 08:04, Whit Blauvelt 写道: Okay, just installed libvirt from today's git on two Ubuntu systems. The first one went fine (except for continuation of the problem that virsh and virt-manager cannot connect to 0.8.3 systems that's been there in the 0.9.x libvirts) ... but on the second, a

Re: [libvirt-users] python-libvirt for 0.9.3 leaking file descriptors

2011-07-26 Thread Osier Yang
于 2011年07月26日 14:25, Igor Serebryany 写道: > i've reported this issue before, so i guess this is a regression. looks > like the python bindings for 0.9.3 are leaking file descriptors: > > root@cloud1:~# python > Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) > [GCC 4.4.5] on linux2 > Type "help",

Re: [libvirt-users] Migrate KVM Guest OS failed

2011-07-18 Thread Osier Yang
于 2011年07月18日 08:54, zhang xintao 写道: Dear All I used Virsh live Migrate KVM Guest OS failed error: unable to set user and group to '104:106' on '/mnt/run2/N2-WINDOWS-XP-1':Invalid argument /mnt/run2/ is a directory of local nfs server another host using

Re: [libvirt-users] cannot perform tunnelled migration without using peer2peer flag

2011-07-18 Thread Osier Yang
于 2011年07月18日 10:07, zhang xintao 写道: Dear All I try to migration a kvm guest os to another host failed server: ubuntu 11.04 server virsh:migrate --live --tunnelled vm1 qemu+ssh://192.168.10.3/system error:Requested operation is not valid:cannot perform t

Re: [libvirt-users] libvirtError: internal error Domain mytest didn't show up

2011-06-01 Thread Osier Yang
On 06/02/2011 07:17 AM, Chun Tat David Chu wrote: 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

Re: [libvirt-users] Problem after restarting libvirt

2011-05-15 Thread Osier Yang
15:50, Nikita A Menkovich wrote: It is really bad. Ok, I will write a script, that will set up cgroups for every domain. On 9 May 2011 10:44, Osier Yang wrote: 于 2011年05月05日 21:32, Nikita A Menkovich 写道: After restarting libvirt cgroups for VMs are not recovered. Is there available to

Re: [libvirt-users] Problem after restarting libvirt

2011-05-08 Thread Osier Yang
于 2011年05月05日 21:32, Nikita A Menkovich 写道: After restarting libvirt cgroups for VMs are not recovered. Is there available to restore cgroup state after restart? except "cpu.shares" (Since 0.9.0), all other cgroup related stuffs have no persistent XML yet, so they can't be recovered. Regards

Re: [libvirt-users] Objective: run commands in the domain. Trouble: setting up a console

2011-05-08 Thread Osier Yang
于 2011年05月06日 22:39, Guilherme Santos 写道: I've installed libvirt and also Virtual Box OSE hypervisor, in order to see if I could properly manage it through virsh. I could easily set up, start, pause, resume, shutdown and destroy the newly created domains, from a XML file. Then I was wondering ho

Re: [libvirt-users] can't up the eth in the vm and access to network

2011-05-04 Thread Osier Yang
nux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM> > ( > *1. Modifying kernel config > **2. build kernel > **3. reboot and verify that your system has IOMMU support* > ), > I use "virsh create vt_d.xml" instead of the ubind/bind and assign >

Re: [libvirt-users] can't up the eth in the vm and access to network

2011-05-03 Thread Osier Yang
于 2011年05月03日 15:38, guan qin 写道: > Thanks a lot for your reply sincerely! > Actually ,if I do as what > http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM said,: > " > # echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id > # echo :01:00.0 > /sys/bus/pci/devices/:01:

Re: [libvirt-users] problem installing libvirt from source

2011-04-27 Thread Osier Yang
于 2011年04月26日 23:05, Lars Nordin 写道: -Original Message- From: Matthias Bolte [mailto:matthias.bo...@googlemail.com] Without looking further into it, did you install the python-dev package? ./configure will disable the Python bindings if it cannot find the required files. But actually whe

Re: [libvirt-users] virt-clone: clone not bootable

2011-04-26 Thread Osier Yang
于 2011年04月27日 06:19, David Brown 写道: It says: booting from hard disk Booting failed device not bootable FATAL: failed to boot from device. This means you have succeeded in defining the guest, however, it failed to startup. Perhaps having a look at the domain xml will help. And are you sure the

  1   2   >