Re: [libvirt] libvirt: How to boot VM in esx?

2013-09-29 Thread varun bhatnagar
Can anyone please reply. I am really very curious to know...and I am
trying everything to boot my node but it is not getting booted. :(

B.R.
Varun


On Sat, Sep 28, 2013 at 3:10 PM, varun bhatnagar varun292...@gmail.comwrote:

 Hi,

 Im not able to boot my VM on esx hypervisor using libvirt. It says NO
 Operating System found. Can anyone help?

 Regards,
 Varun

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] libvirt: How to boot VM in esx?

2013-09-28 Thread varun bhatnagar
Hi,

Im not able to boot my VM on esx hypervisor using libvirt. It says NO
Operating System found. Can anyone help?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Is it possible to attach a harddisk to an ESX node

2013-09-26 Thread varun bhatnagar
Thanks a ton Michal for the reply. I tried your suggestion but a message
popped out when was trying to save the xml file which said: Editing of
already existing domain is not supported... :(
Why I want this is because the node which is getting created is creating
empty vmdk image and if I try to boot with it, it says No Operating System
found, which is quite valid. I want to attach my vmdk which has the OS in
it.

I am just wondering how others are creating VMs and using it with
libvirt...!!

Is there any suggestion how I can boot my node?

Regards,
Varun



On Thu, Sep 26, 2013 at 12:57 PM, Michal Privoznik mpriv...@redhat.comwrote:

 On 26.09.2013 05:50, varun bhatnagar wrote:
  Hi,
 
  Is it possible to attach a harddisk to an ESX node later after
  creating/defining it?
  If yes, can anyone tell me how to do it?
 
  Regards,
  Varun
 

 Unfortunately, this piece of functionality is not implemented yet.
 However, if you want to do a cold plug (that is disk will be visible at
 next start of the domain), you can 'virsh edit $dom' and write the
 appropriate XML snippet by hand.

 Michal

 P.S.: Patches are welcome :)


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Is it possible to attach a harddisk to an ESX node

2013-09-25 Thread varun bhatnagar
Hi,

Is it possible to attach a harddisk to an ESX node later after
creating/defining it?
If yes, can anyone tell me how to do it?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Libvirt ESX: Image file not getting copied to ESX server

2013-09-23 Thread varun bhatnagar
Hi,

I am trying to start a node using libvirt on ESX hypervisor. Before
starting I am performing the following steps:

1) vol-create datastore1 /local/new_volume.xml (Creating a volume in pool)
2) define /local/esxdomain.xml (Defining a node)
3) start MyNode (Starting a node)

I tried to get the status of my node and it is showing *running *but I am
not able to ping my node (as it is in network). I later got the console of
my node and found out that my node is not even getting started. It says
Operating System Not Found. I guess this is because my vmdk image file is
not getting copied and the first command is just placing two files .vmdk
and *-flat.vmdk (these are dummy files I guess). But it is not placing my
original .vmdk files. How to place the original vmdk file in datastore. If
I place it using scp command then libvirt pops out a message saying Could
not start domain: GenericVmConfigFault. How to resolve this error. I am
pasting my xml files below.

Any help is appreciated... :)

*new_volume.xml:*

*volume
  nametest/MyNode.vmdk/name
  allocation0/allocation
  capacity unit='G'3/capacity
  target
 path/local/vmdk/MyNode.vmdk/path
 format type='vmdk'/
  /target
/volume*

*esxdomain.xml:
*
*domain type='vmware'
  nametest/name
  memory1048576/memory
  currentMemory1048576/currentMemory
  vcpu1/vcpu
  console/dev/console/console
  os
type arch='x86_64'hvm/type
  /os
  devices
disk type='file' device='disk'
  source file='[datastore1] test/MyNode.vmdk'/
  target dev='sda' bus='scsi'/
  address type='drive' controller='0' bus='0' unit='0'/
/disk
controller type='scsi' index='0' model='lsilogic'/
!--controller type='scsi' index='0'/--
interface type='bridge'
  mac address='00:50:56:0f:01:01'/
  source bridge='VM Network'/
 /interface
 interface type='bridge'
  mac address='00:50:56:0f:01:02'/
  source bridge='dummyPortGroup1'/
 /interface
 interface type='bridge'
  mac address='00:50:56:0f:01:03'/
  source bridge='dummyPortGroup2'/
 /interface
  /devices
/domain*

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Libvirt not able to attach console to VM on ESX hypervisor

2013-09-19 Thread varun bhatnagar
Hi,

I have started a virtual machine on my ESXi server. I was trying to attach
a console to it but when I executed the command I got a message saying that
*Attaching a console is not supported in the current hypervisor. *Is
there any way (patch or something) through which I can attach a console to
my VM.
The ESX version is 5.1 and I am using latest version of libvirt.

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Create ESXi vmknic using libvirt xml

2013-09-04 Thread varun bhatnagar
Hi,

I am using libvirt on ESX hypervisor. Iam trying to create vmknic using
virsh but all my attempts are failing. Can anyone help me in achieving this?
Where can I find the xml template for this? or is there any wiki link which
I can follow to achieve this?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] How to add uplink in esx virtual switch using libvirt

2013-09-02 Thread varun bhatnagar
Hi,

I have an ESXi server, on top of it I have created one VM whose IP address
is 192.168.79.1.
I want to connect to the VM on ESXi server from my host machine but I am
not able to do it.
I have created a network networkforSC and I have pasted my xml file
content below but I am not able to add any uplink (how to add it?) .
Below is the xml file of my node as well as the network which I am creating
on my ESXi server

*domain type='vmware'*
*nametestNode/name*
*uuid50115e16-9bdc-49d7-f171-53c4d7f91710/uuid*
*memory1048576/memory*
*currentMemory1048576/currentMemory*
*vcpu1/vcpu*
*console/dev/console/console*
*os*
*type arch='x86_64'hvm/type*
*/os*
*devices*
*disk type='file' device='disk'*
*source file='[datastore1] testNode/testNode.vmdk'/*
*target dev='sda' bus='scsi'/*
*address type='drive' controller='0' bus='0' unit='0'/*
*/disk*
*controller type='scsi' index='0' model='lsilogic'/*
*!--controller type='scsi' index='0'/--*
*interface type='bridge'*
*mac address='00:50:56:25:48:c7'/*
*source bridge='VM Network'/*
*/interface*
*interface type='bridge'*
*source bridge='test'/*
*/interface*
*/devices*
*/domain*

##

Network File:

*network*
*namenetworkforSC/name*
*portgroup name='test'*
*/portgroup*
*/network*

I have checked the network which got created on the server.
As I have not attached any uplink (vmnic0) I can not see it (I want to
attach it).

#esxcli network vswitch standard list
*
*
*networkforSC*
*Name: networkforSC*
*Class: etherswitch*
*Num Ports: 128*
*Used Ports: 2*
*Configured Ports: 128*
*MTU: 1500*
*CDP Status: listen*
*Beacon Enabled: false*
*Beacon Threshold: 3*
*Beacon Required By:*
*Uplinks:*
*Portgroups: test*


Can anyone please help me out in adding the uplink and also can anyone tell
me whether I am going in a right direction so that I could ping my virtual
machine created on ESXi server.


Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Adding network interfaces to VMs created on ESX hypervisor

2013-08-19 Thread varun bhatnagar
Hi,

I want to create/attach two internal and one host-only interface to my
node created by libvirt on ESX hypervisor.  Is it possible to do so?
If yes can anyone send a template of xml file?
If it is not possible then is there any alternative for this?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Error while adding volume through virsh

2013-08-15 Thread varun bhatnagar
Hi,

I was trying to add volume...I got one xml snippet and I modified it
according to my node configuration:

 volume
nametestNode/cluster.vmdk /name
allocation0 /allocation
capacity unit='G'2capacity
/volume

Now when I executed virsh vol-create datastore1 /local/new_volume.xml one
error message came saying:

Error: Failed to create volume from /local/new_volume.xml
Error: internal error: Creation of raw volumes is not supported

Can anyone tell me what is going wrong here?


Regards,

Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Error while starting the node on ESXi hypervisor

2013-08-12 Thread varun bhatnagar
Hi,

Today I was trying to start a node using libvirt on ESX (esxi-5.1)
hypervisor and I got the following error message:

*virsh # define /local/myNode/esxdomain.xml*
*Domain testNode defined from /local/myNode/esxdomain.xml*
*virsh # start testNode*
*error: Failed to start domain testNode*
*error: internal error: Could not start domain: GenericVmConfigFault -
Cannot open the disk
/vmfs/volues/5208f99d-760cf4a2-000c29520788/testNode.vmdk or one of the
snapshot disks it depends on.*
*
*
*
*
I checked the datastore of my ESX server and found out that instead of file
one directory is getting created with the name* cluster.vmdk *and inside it
there are few more files but cluster.vmdk file is not there.
*
*
/vmfs/volumes # cd datastore1
 /vmfs/volues/5208f99d-760cf4a2-000c29520788 # ls
cluster.vmdk
 /vmfs/volues/5208f99d-760cf4a2-000c29520788 # cd cluster.vmdk
 /vmfs/volues/5208f99d-760cf4a2-000c29520788/cluster.vmdk # ls -ltr
*-rw-r--r--   1  rootroot   261 Aug 12 17:30 cluster.vmdk*
*-rw-r--r--   1  rootroot   674 Aug 12 17:30 cluster.vmx*
*-rw-r--r--   1  rootroot   0 Aug 12 17:30 cluster.vmsd*
 /vmfs/volues/5208f99d-760cf4a2-000c29520788/cluster.vmdk #

Can anyone tell me how to start a node and why I am getting that error
message.
Below is my xml file.

*domain type='vmware'*
*  nametestNode/name*
*  uuid50115e16-9bdc-49d7-f171-53c4d7f91710/uuid*
*  memory1048576/memory*
*  currentMemory1048576/currentMemory*
*  vcpu1/vcpu*
*  os*
*type arch='x86_64'hvm/type*
*  /os*
*  devices*
*disk type='file' device='disk'*
*  source file='[datastore1] cluster.vmdk'/*
*  target dev='sda' bus='scsi'/*
*  address type='drive' controller='0' bus='0' unit='0'/*
*/disk*
*controller type='scsi' index='0'/*
*interface type='bridge'*
*  mac address='00:50:56:25:48:c7'/*
*  source bridge='VM Network'/*
*/interface*
*  /devices*
*/domain*
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Libvirt not getting connected to ESX server

2013-08-01 Thread varun bhatnagar
Hi,

I was trying to connect to ESX server using libvirt's virsh console but I
am getting the following error:

*virsh# connect esx://172.16.73.14*
*Enter username for 172.16.73.14 [root]: root*
*Enter root's password for 172.16.73.14:*
*error: Failed to connect to the hypervisor*
*error: internal error curl_easy_perform() returned an error: Peer
certificate cannot be authenticated with known CA certificates (60) : SSL
certificate problem, verify that the CA cert is OK. Details:*
*error: 14090086:SSL routine:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed.*
*
*
Can anyone please help me out with this one and tell me how to resolve this
error?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt: xen error

2013-06-22 Thread varun bhatnagar
Thank you so much for the reply... :)
I am trying to build this on OpenSUSE-11.4.

And you said that I can get distro provided packages. I just want to ask
whether installing those packages will work?
Where can I get those packages? Can you please provide the link. I am
scared of playing with the kernel as I am doing these things on a server
that is why I am asking these things.

//
Varun


On Fri, Jun 21, 2013 at 9:05 PM, Dario Faggioli raist...@linux.it wrote:

 On dom, 2013-06-16 at 22:09 +0530, varun bhatnagar wrote:
  Hi,
 
 Hi,

  I am trying to install xen and provide libvrit support to it but while
  installing at some point of time it tries to connect to GIT repository
  and creates a clone but I am behind firewall and it is getting timed
  out :(
 
 Ok, so you're trying building Xen from the sources, right? On what
 distribution? Also, if I can ask, is there a reason why you need to
 build it instead of using the distro provided packages? (only asking
 because that's usually a lot easier :-) ).

  I am pasting a screenshot below. Can anyone of you please help me out
  with this one.
 
 Can't see it. Actually, in general, I think cutting--pasting the
 textual output is going to be much better than a screenshot! :-P

 Anyway, yes, for now, Xen needs to fetch some external
 sources/repositories during the building process. We're working of
 improving this (i.e., getting rid of it), for instance, by making it
 possible to use what the user already have in his system (e.g., provided
 by the proper distro packages), but we're not there yet.

 What you can do, for now, it get the external code yourself, from
 somewhere outside the firewall that blocks your `git clone' and then
 copy them next to the Xen sources, in the local filesystem, and point
 the build process to them.

 For achieving the latter, you can create a file called .config in Xen
 source's root directory, where you define specific variables, pointing o
 the sources. So, for example for upstream and traditional QEMU, you want
 to clone the repository from some place where that is possible, copy
 them in /foo/bar/qemu-xen-traditional and /foo/bar/qemu-xen-upstream and
 write the following in the .config file:

 CONFIG_QEMU=/foo/bar/qemu-xen-traditiona
 QEMU_UPSTREAM_URL=/foo/bar/qemu-xen-upstream

 That would at least help, I think. :-)

 Allow me to add that, since this is still a ver Xen specific issue, you
 may be more lucky in finding help on some other mailing lists (and also
 avoid disturbing people in this very one :-D).

 For general questions about using Xen, see here:
 http://lists.xenproject.org/cgi-bin/mailman/listinfo/xen-users

 If, by any chance, you're on Fedora, see here:
 https://lists.fedoraproject.org/mailman/listinfo/xen

 Regards,
 Dario

 --
 This happens because I choose it to happen! (Raistlin Majere)
 -
 Dario Faggioli, Ph.D, http://about.me/dario.faggioli
 Senior Software Engineer, Citrix Systems RD Ltd., Cambridge (UK)


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [libvirt-users] Not able to open Xen Connection using libvirt

2013-06-19 Thread varun bhatnagar
No it was not booted with xen kernel. Actually I tried booting it with xen
kernel but I am getting a message saying Error No 15 : File not found.
I tried editing the grub entry and noticed that there are 3 entries:
1) kernel /boot/xen.gz vga= mode-0x345
2) module /boot/vmlinuz-3.0.13-0.27-xen...
3) module /boot/initrd-3.0.13-0.27-xen

And in /boot i listed down the files, only xen.gz is there. Rest of the 2
files are not there (pasted the screenshot below).

Even at one site it was given to remove /boot from the path but that also
din't work.
How shall I solve this one?



//
Varun



On Wed, Jun 19, 2013 at 1:07 AM, Prasad pra...@mukhedkar.com wrote:

  On 06/18/2013 10:03 PM, varun bhatnagar wrote:

 Hi,

  I am trying to create virtual machine through libvirt using xen
 hypervisor. I was able to install xen successfully but when I tried
 connecting to the hypervisor it gave an error. And while installing libvirt
 (libvirt-1.0.1) I installed it with xen support.
 I am pasting the snapshot of the error below:

  [image: Inline image 1]

  Can anyone tell me why I am getting this error?

  //
 Varun


 ___
 libvirt-users mailing 
 listlibvirt-users@redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users

  Is this system booted with xen kernel? xen virtualization required
 special kernel it doesn't work with standard kernel.


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Not able to open Xen Connection using libvirt

2013-06-18 Thread varun bhatnagar
Hi,

I am trying to create virtual machine through libvirt using xen hypervisor.
I was able to install xen successfully but when I tried connecting to the
hypervisor it gave an error. And while installing libvirt (libvirt-1.0.1) I
installed it with xen support.
I am pasting the snapshot of the error below:

[image: Inline image 1]

Can anyone tell me why I am getting this error?

//
Varun
image.png--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] libvirt: xen error

2013-06-16 Thread varun bhatnagar
Hi,

I am trying to install xen and provide libvrit support to it but while
installing at some point of time it tries to connect to GIT repository and
creates a clone but I am behind firewall and it is getting timed out :(
I am pasting a screenshot below. Can anyone of you please help me out with
this one.


//
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Out of Memory Error

2013-02-15 Thread varun bhatnagar
Hi,
The mentioned changes worked for adding a shared folder but while adding
usb it gave an error saying:

*error: Failed to attach device from /root/test/addingusb.xml
error: An error occurred, but the cause is unknown*

The xml file is given below:

hostdev mode='subsystem' type='usb'
  source
vendor id='0x4321'/
product id='0xfeeb'/
  /source
/hostdev

Can you tell me what shall I do remove this error?


On Fri, Feb 15, 2013 at 12:28 AM, varun bhatnagar varun292...@gmail.comwrote:

 Thank you so much for the reply and for sharing the patch...I will try
 this tomorrow and then let you know whether it works or not.And i'll
 try removing the device tag too.
 Thank you again for the help :)


 On Thu, Feb 14, 2013 at 2:11 PM, Jiri Denemark jdene...@redhat.comwrote:

 On Thu, Feb 14, 2013 at 01:24:32 +0530, varun bhatnagar wrote:
  Hi,
 
  Today I noticed one strange thing. I* *removed the contents of
  *usbSharedFolder.xml
  *and kept it blank. Then I again tried both ways i.e. calling
 attachDevice
  method using code as well as virsh but again it gave libvir: VirtualBox
  Driver error : out of memory but I was expecting some syntactical
 error. Is
  this a bug??

 Yes, it's a bug. See

 http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2e5d7798df56621986bddd588b53827e6557687a
 for the patch that is now in libvirt git repository.

   I am trying to attach a usb device to my virtualbox node using
 libvirt. My
   node is already running, I stop my node and then I am trying to add
 this
   usb device.
   I have a separate xml file defined for usb. It looks like this:
  
   *device
   hostdev mode='subsystem' type='usb'
 source
   vendor id='0x4321'/
   product id='0xfeeb'/
 /source
   /hostdev
   /device *

 Btw, this XML is not correct. It should contain just the hostdev
 element.

 Jirka



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Out of Memory Error

2013-02-14 Thread varun bhatnagar
Thank you so much for the reply and for sharing the patch...I will try this
tomorrow and then let you know whether it works or not.And i'll try
removing the device tag too.
Thank you again for the help :)


On Thu, Feb 14, 2013 at 2:11 PM, Jiri Denemark jdene...@redhat.com wrote:

 On Thu, Feb 14, 2013 at 01:24:32 +0530, varun bhatnagar wrote:
  Hi,
 
  Today I noticed one strange thing. I* *removed the contents of
  *usbSharedFolder.xml
  *and kept it blank. Then I again tried both ways i.e. calling
 attachDevice
  method using code as well as virsh but again it gave libvir: VirtualBox
  Driver error : out of memory but I was expecting some syntactical error.
 Is
  this a bug??

 Yes, it's a bug. See

 http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2e5d7798df56621986bddd588b53827e6557687a
 for the patch that is now in libvirt git repository.

   I am trying to attach a usb device to my virtualbox node using
 libvirt. My
   node is already running, I stop my node and then I am trying to add
 this
   usb device.
   I have a separate xml file defined for usb. It looks like this:
  
   *device
   hostdev mode='subsystem' type='usb'
 source
   vendor id='0x4321'/
   product id='0xfeeb'/
 /source
   /hostdev
   /device *

 Btw, this XML is not correct. It should contain just the hostdev
 element.

 Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Out of Memory Error

2013-02-13 Thread varun bhatnagar
Hi,

Today I noticed one strange thing. I* *removed the contents of
*usbSharedFolder.xml
*and kept it blank. Then I again tried both ways i.e. calling attachDevice
method using code as well as virsh but again it gave libvir: VirtualBox
Driver error : out of memory but I was expecting some syntactical error. Is
this a bug??
And if it is a bug can anyone release a patch for this??


On Tue, Feb 12, 2013 at 9:17 PM, varun bhatnagar varun292...@gmail.comwrote:

 Hi,

 I am trying to attach a usb device to my virtualbox node using libvirt. My
 node is already running, I stop my node and then I am trying to add this
 usb device.
 I have a separate xml file defined for usb. It looks like this:

 *device
 hostdev mode='subsystem' type='usb'
   source
 vendor id='0x4321'/
 product id='0xfeeb'/
   /source
 /hostdev
 /device *
 *
 *
 I am trying to attach it using code:

 *conn = libvirt.open(vbox:///session)
 if conn ==None:
 print 'Failed to open connection to the hypervisor'
 sys.exit(1)
 print 'connected to vbox hypervisor driver'
 domainInstance = conn.lookupByName('SampleNode')
 filed = open('/root/testFolder/usbSharedFolder.xml', 'r')
 config_str = filed.read()
 libvirt.virDomain.attachDevice(domainInstance, config_str)*

 When it is executed I am getting an error message saying:
 *libvir: VirtualBox Driver error : out of memory *
 *
 *
 Even with virsh it is giving the same error. I am using the below command:
 *attach-device SampleNode /root/testFolder/usbSharedFolder.xml*

 Can anyone tell me what is going wrong. It is really very important.
 Please do reply.
 Thanks in advance.

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] not able to stop vmware player node through libvirt API

2013-01-24 Thread varun bhatnagar
Hi,

I have started one node through libvirt API using its start method. I am
trying to stop that node using the *destroy *method provided by the API but
I am not able to do so. Instead, I am getting one message saying:

*libvir: error: internal error Child process (vmrun -T player stop
/root/test_folder/myImage.vmx soft) unexpected exit status 255*

Can anybody tell me why I am not able to stop the node.

Thanks in advance. :)
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Libvirt daemon not getting started

2013-01-16 Thread Varun Bhatnagar
Hi,

Earlier I was having libvirt-0.7.5 but now I have installed 0.9.8 version 
of libvirt now.
I am trying to start libvirt daemon using the command below but daemon it 
is not getting started and the PID file is not getting created. Tried 
/usr/loval/sbin/libvirtd -d option too. In that case I am not getting any 
error but PID file is not getting created in this case too.

/usr/local/sbin/libvirtd

2013-01-16 16:43:53.399+: 4070: info : libvirt version: 0.9.8
2013-01-16 16:43:53.399+: 4070: error : virCommandWait:2192 : internal 
error Child process (/usr/sbin/iptables --table mangle --delete 
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 
--jump CHECKSUM --checksum-fill) status unexpected: exit status 2
2013-01-16 16:43:53.406+: 4070: error : virCommandWait:2192 : internal 
error Child process (/usr/sbin/iptables --table mangle --insert 
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 
--jump CHECKSUM --checksum-fill) status unexpected: exit status 2
2013-01-16 16:43:53.406+: 4070: warning : 
networkAddGeneralIptablesRules:1259 : Could not add rule to fixup DHCP 
response checksums on network 'default'.
2013-01-16 16:43:53.406+: 4070: warning : 
networkAddGeneralIptablesRules:1260 : May need to update iptables package 
 kernel to support CHECKSUM rule.
2013-01-16 16:43:54.704+: 4070: error : umlStartup:471 : cannot 
initialize inotify
2013-01-16 16:43:54.704+: 4070: error : virStateInitialize:854 : 
Initialization of UML state driver failed
2013-01-16 16:43:54.704+: 4070: error : daemonRunStateInit:1157 : 
Driver state initialization failed

and I am also trying to connect to VMPlayer with the following URL but it 
is giving the following error message: 

virsh # connect vmplayer:///session
error: Failed to connect to the hypervisor
error: Failed to connect socket to 
'/usr/local/var/run/libvirt/libvirt-sock': No such file or directory

Is this because of the daemon, as it is not getting started or because of 
some other reason?

Can anybody suggest any solution for this. I am stuck from past few days 
and not able to find solution. Any help will be appreciated.
Thanks in advance.

Regards,
Varun
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Attaching an Internal Address

2013-01-09 Thread Varun Bhatnagar
Hi,

I am trying to attach an internal address to my domain. So for that I am 
defining the following syntax in my xml file:




but it is giving the following error:



Tried giving interface type as network but that is adding Host-only type 
interface.
Can anyone please suggest what can be the possible solution. I think it is 
some problem with the source network. Do I have to define any internal 
network before in any interface?
If yes then how?

Any help will be appreciated.
Thanks in advance.

Regards,
Varun
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


image/gifimage/gif--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Reg: Libvirt multiple sessions

2012-12-05 Thread Varun Bhatnagar
Hi,

I am working on a requirement where in I need to implement multiple 
session management and multiple workspaces. I trying to implement it 
using libvirt. 
So is it possible to do these two things using libvirt. Does libvirt 
support multiple session management and multiple workspaces?
If yes, how can I achieve that, I din't find anything on internet 
regarding this. 
Can you please help me out with this one.

Thanks  Regards,
Varun Bhatnagar
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list