[libvirt] Finding Primary or Bootable disk

2013-11-14 Thread Umar Draz
Hi I am working with php-libvirt, How I can find the primary or bootable disk device of a virtual machine? Br. Umar -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Finding Primary or Bootable disk

2013-11-18 Thread Umar Draz
Umar On Mon, Nov 18, 2013 at 7:15 PM, Daniel P. Berrange wrote: > On Fri, Nov 15, 2013 at 01:02:10AM +0500, Umar Draz wrote: > > Hi > > > > I am working with php-libvirt, > > > > How I can find the primary or bootable disk device of a virtual machine? > >

[libvirt] GlusterFS with libvirt

2013-11-28 Thread Umar Draz
Hi All, Is any body help me how I can integrate libvirt with glusterfs on Ubuntu 13.10 Server. I tried the following, but its not working. qemu-img: Unknown protocol 'gluster://localhost/gv1/test.img' Br. Umar -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/l

Re: [libvirt] GlusterFS with libvirt

2013-11-28 Thread Umar Draz
untu > 13.10 Server. > > Glusterfs is a solution for cloud storage. > I don't get your point about integrating libvirt with Glusterfs. > Are you want to build guest in the storage pool that consist of Glusterfs > Volume? > > Regards > Weiqing > 在 2013-11-28,20:55,U

Re: [libvirt] GlusterFS with libvirt

2013-11-29 Thread Umar Draz
Berteaud < dan...@firewall-services.com> wrote: > Le 28/11/2013 13:55, Umar Draz a écrit : > > Hi All, >> >> Is any body help me how I can integrate libvirt with glusterfs on Ubuntu >> 13.10 Server. >> >> I tried the following, but its not working. >>

[libvirt] Glusterfs Libvirt issue

2013-12-10 Thread Umar Draz
Hi, I am trying to create glusterfs pool with libvirt but its working, and following is the error *libvirt_storagepool_define_xml(): internal error unknown storage pool type gluster* the Qemu has enabled glusterfs backend support. I can create the glusterfs image using this *qemu-img create gl

Re: [libvirt] Glusterfs Libvirt issue

2013-12-11 Thread Umar Draz
; 2 [libvirt.minor] => 10 [libvirt.major] => 0 [connector.version] => 0.4.8 [connector.major] => 0 [connector.minor] => 4 [connector.release] => 8 ) Br. Umar On Thu, Dec 12, 2013 at 12:51 AM, Eric Blake wrote: > On 12/10/2013 10:34 PM, Umar Draz wrote: >

Re: [libvirt] Glusterfs Libvirt issue

2013-12-11 Thread Umar Draz
Hi Eric Thanks Br. Umar On Thu, Dec 12, 2013 at 1:23 AM, Eric Blake wrote: > On 12/11/2013 01:18 PM, Umar Draz wrote: > > Hi Eric > > [please don't top-post on technical lists] > > > > > Here is the output of rpm > > > > [root@centos ~]# rpm

[libvirt] libvirt glusterfs problem

2013-12-13 Thread Umar Draz
Hi I am running libvirt 1.2.0 on ubuntu. The main purpose of this libvirt 1.2.0 is for glusterfs, now I can define glusterfs storage pool using virsh command, but when I tried to create the volume under the gluster storage pool, I got error. error: Failed to create vol from tt.xml error: this fun

Re: [libvirt] libvirt glusterfs problem

2013-12-13 Thread Umar Draz
Hi Eric, Thanks for this quick reply, well I don't have much experience of writing patches. But I will be very happy if I can do something for this. Br. Umar On Sat, Dec 14, 2013 at 12:39 AM, Eric Blake wrote: > On 12/13/2013 12:33 PM, Umar Draz wrote: > > Hi > > >

[libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
Hi Can we modify a Virtual machine while its running, I want to update the and Br. Umar -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
Hi Peter, Thanks for the response, Would you please help how I can use *virDomainSetMetadata* with PHP or any url for help? Br. Umar On Wed, Dec 18, 2013 at 4:11 PM, Peter Krempa wrote: > On 12/18/13 11:41, Umar Draz wrote: > > Hi > > > > Can we modify a Virtual machine

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
supported and it's done in the spare time > mainly). > > I'd just like to ask you whether there are some more APIs you'd like me > to implement when I'll be implementing it. Are there any other APIs > you'd like? > > Thanks, > Michal > > On 12/1

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
t-libvirt.html#virDomainSetMetadata > > Would you like any other APIs? > > Thanks, > Michal > > On 12/18/2013 01:15 PM, Umar Draz wrote: > > HI Michal, > > > > Ok , I will wait. I hope you will get sometime to do this. > > > > Br. > > > >

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
r, > please see commit > > http://libvirt.org/git/?p=libvirt-php.git;a=commit;h=e3e783413d8f001ee0a266edbac949c78616fde0 > . > > The functions mentioned below have been implemented. > > Michal > > On 12/18/2013 01:29 PM, Umar Draz wrote: > > Hi Michal, > > >

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
you have to restart your Apache webserver. > > For example how to use it, see the test in > test-domain-create-get-metadata.phpt file (it's normal PHP script, > however I use phpt extension as PHP test but it's standard PHP code). > > Michal > > On 12/18/2013 03:45 PM

Re: [libvirt] libvirt live modify

2013-12-18 Thread Umar Draz
now. > > Thanks for understanding, > Michal > > On 12/18/2013 04:21 PM, Umar Draz wrote: > > Hi Michal > > > > I tried > > > > but on autogen.sh is failed > > > > automake: error: global options already processed > > automake: Please co

[libvirt] lvm storage pool destroy problem

2013-12-18 Thread Umar Draz
Hi I am trying to stop the storage pool through php-libvirt api which is a LVM volume group. when I tried to stop it I got error error: internal error Child process (/sbin/vgchange -aln mylvmgrp) unexpected exit status 5: Can't deactivate volume group "mylvmgrp" with 4 open logical volume(s) T

Re: [libvirt] lvm storage pool destroy problem

2013-12-19 Thread Umar Draz
Hi Daniel, my Virtual machines are running, so how I can stop the volumes? Br. Umar On Thu, Dec 19, 2013 at 9:21 PM, Daniel P. Berrange wrote: > On Thu, Dec 19, 2013 at 01:54:19AM +0500, Umar Draz wrote: > > Hi I am trying to stop the storage pool through php-libvirt api which is &g

[libvirt] python api list

2013-12-23 Thread Umar Draz
Hi All, http://libvirt.org/php/api-reference.html The above link has a complete list of the functions regarding php api for libvrt. Where I can find the same kind of page for python? Br. Umar -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] python setMetadata issue

2013-12-24 Thread Umar Draz
Hi I am trying to set Metada of running virtual machine, but its giving me an error. Here is my code import libvirt conn = libvirt.open('qemu+tcp://10.0.128.12/system') dom = conn.lookupByName('virtspace') type = 'VIR_DOMAIN_METADATA_DESCRIPTION' key = '' uri = '' dom.setMetadata(conn, type, '

[libvirt] Migration issue php-libvirt

2013-10-13 Thread Umar Draz
Hi All I am trying to migrate offline domain on other URI but its not working due to this error Failure!Libvirt last error: Requested operation is not valid: domain is not running I tried to use this option but not working VIR_MIGRATE_OFFLINE Please anybody help me? Br. Umar -- libvir-list

Re: [libvirt] Migration issue php-libvirt

2013-10-16 Thread Umar Draz
HI, I am using KVM Br. Umar On Tue, Oct 15, 2013 at 4:11 PM, Daniel P. Berrange wrote: > On Sun, Oct 13, 2013 at 03:20:31PM +0500, Umar Draz wrote: > > Hi All > > > > I am trying to migrate offline domain on other URI but its not working > > > > due to this e

Re: [libvirt] Migration issue php-libvirt

2013-10-17 Thread Umar Draz
space/inc/mig.php on line 21* According to above php_notices, both VIR_OFFLINE AND VIR_UNSAFE options are not available. *My libvirt version on kvm hosts is (102), and php-libvirt version is (0.4.8)* Br. Umar On Thu, Oct 17, 2013 at 11:14 AM, Claudio Bley wrote: > [Please, don&#x

Re: [libvirt] Migration issue php-libvirt

2013-10-17 Thread Umar Draz
Hi Claudio, Thanks, its working. Br. Umar On Thu, Oct 17, 2013 at 2:45 PM, Claudio Bley wrote: > [Repeat: please, don't top post on technical lists.] > > At Thu, 17 Oct 2013 14:26:33 +0500, > Umar Draz wrote: > > > > Here is the php_error_logs > >

Re: [libvirt] Migration issue php-libvirt

2013-10-17 Thread Umar Draz
t; > At Thu, 17 Oct 2013 14:26:33 +0500, > Umar Draz wrote: > > > > Here is the php_error_logs > > -- > > *[17-Oct-2013 05:17:42 America/New_York] PHP Notice: Use of undefined > > constant VIR_MIGRATE_UNSAFE - assumed 'VIR_MIGRATE_UNSAF

[libvirt] qemu-guest-agent windows

2016-08-28 Thread Umar Draz
Hello All, I have install qemu guest agent on windows 10, but unable to get the ip address using this command virsh qemu-agent-command myvm '{ "execute": "guest-network-get-interfaces" }' I am getting the following error on above command. ibvirt: QEMU Driver error : internal error: unable to ex

Re: [libvirt] qemu-guest-agent windows

2016-08-28 Thread Umar Draz
Hi Michal Thanks for your reply, how I can upgrade my guest agent on windows? right now this is running on windows ("version":"0.12.1") Br. Umar On Mon, Aug 29, 2016 at 11:22 AM, Michal Privoznik wrote: > On 28.08.2016 16:53, Umar Draz wrote: > > Hello All, >

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
Hi Michal well no luck :( br. Umar On Mon, Aug 29, 2016 at 11:55 AM, Michal Privoznik wrote: > On 29.08.2016 08:32, Umar Draz wrote: > > Hi Michal > > > > Thanks for your reply, how I can upgrade my guest agent on windows? > > I think if you download msi corresp

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
-file-write"},{"enabled":true,"name":"guest-file-read"},{"enabled":true,"name":"guest-file-close"},{"enabled":true,"name":"guest-file-open"},{"enabled":true,"name":"guest-shutdow

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
Ok then I will check that as well, Ok I have some FereeBSD vms as well, now I want qemu-guest-agent on them as well, is it possible? Br. Umar On Mon, Aug 29, 2016 at 2:54 PM, Michal Privoznik wrote: > On 29.08.2016 11:48, Umar Draz wrote: > > Hi Michal, > > > > well a

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
Hi Michal, Thanks, I have installed qemu-ga on FreeBSD. Now I just need a help regarding what will be the xml for my this FreeBSD ? Br. Umar On Mon, Aug 29, 2016 at 3:30 PM, Michal Privoznik wrote: > On 29.08.2016 12:11, Umar Draz wrote: > > Ok then I will check that as well, >

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
Well here is the xml of my linux virtual machines for qemu-guest-agent now what will be for freebsd ? Br. Umar On Mon, Aug 29, 2016 at 6:06 PM, Michal Privoznik wrote: > On 29.08.2016 13:59, Umar Draz wrote: > > Hi Michal, > > > > Thanks, I have install

Re: [libvirt] qemu-guest-agent windows

2016-08-29 Thread Umar Draz
HI Thanks Got it. On Mon, Aug 29, 2016 at 6:36 PM, Vasiliy Tolstov wrote: > 2016-08-29 16:20 GMT+03:00 Umar Draz : > > Well here is the xml of my linux virtual machines for qemu-guest-agent > > > > > > > > > > > > now what will be for freebsd

[libvirt] vms hung

2017-01-16 Thread Umar Draz
Hello, I am running libvirt-2.0.0-10.el7_3.2.x86_64 on CentOS 7.3, I have few vms of CentOS and Windows 2012 servers. Randomly they are hung, but the status of virtual machine keep running, vnc and network not responding. I have checked all /var/log/messages and /var/log/libvirt/qemu/vm.log but

Re: [libvirt] vms hung

2017-01-17 Thread Umar Draz
;:"running","singlestep":false,"running":true},"id":"libvirt-17597"} -- Umar On Tue, Jan 17, 2017 at 8:10 PM, Michal Privoznik wrote: > On 01/16/2017 04:13 PM, Umar Draz wrote: > > Hello, > > > > I am running libvirt-2.0.0-10.e

Re: [libvirt] vms hung

2017-01-18 Thread Umar Draz
No that output was the running vm, I will do this again whenever vm hung, and will share the result with you. -- Umar On Wed, Jan 18, 2017 at 1:13 PM, Michal Privoznik wrote: > On 01/18/2017 07:03 AM, Umar Draz wrote: > > Hi Michal, > > > > Well right now all the vms runn