similar to: problem cloning storage pool volume

Displaying 20 results from an estimated 600 matches similar to: "problem cloning storage pool volume"

2016 Feb 19
2
Re: problem cloning storage pool volume
On Fri, Feb 19, 2016 at 12:12 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Fri, Feb 19, 2016 at 11:12:32AM +0000, Andrei Perietanu wrote: > >> I'm trying to clone a volume in a storage pool and I'm following the steps >> described here: >> >>
2016 Feb 19
0
Re: problem cloning storage pool volume
On Fri, Feb 19, 2016 at 11:12:32AM +0000, Andrei Perietanu wrote: >I'm trying to clone a volume in a storage pool and I'm following the steps >described here: >http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html > >My code looks like: > > destXML = """ >
2016 Feb 22
0
Re: problem cloning storage pool volume
On Fri, Feb 19, 2016 at 12:33:10PM +0000, Andrei Perietanu wrote: >On Fri, Feb 19, 2016 at 12:12 PM, Martin Kletzander <mkletzan@redhat.com> >wrote: > >> On Fri, Feb 19, 2016 at 11:12:32AM +0000, Andrei Perietanu wrote: >> >>> I'm trying to clone a volume in a storage pool and I'm following the steps >>> described here: >>> >>>
2016 Oct 05
2
problem with disk virtio driver
I just ran into a problem I can't make heads or tails of, so I'm hoping to get some help here. I have a custom built Embedded Linux running qemu-kvm 1.1.2 and libvirt 1.2.20 I'm creating a domain with the following config: <domain type='kvm'> <name>myVM</name> <memory unit='KiB'>2097152</memory> <vcpu
2016 Jan 08
2
remove cdrom after installing os on a guest
Hi all, I have the following issue, and I hope someone know a way to handle it. I need to grammatically need to create/install a guest OS using the libvirt API. Currently what I do: 1. create a xml with the vm configuration (this will include a path to the iso image) 2. connection.defineXML(<my_config>) 3. vm = connection.lookupByName(<domain_name>) 4. vm.create() This will
2016 Mar 09
2
removing virbr0
I am building a custom Linux image which includes KVM and will be installed on multiple machines. By default when installing libvirt you get a 'default network' which adds a 'vrbr0'. I found several tutorials online about removing this 'virbr0' but I would like to not have it in the first place. I am compiling libvirt from source so I would think there is some compile time
2015 Dec 02
1
create a directory storage pool in a random location
Hi all, I am trying to figure out if you can store the definition of a directory storage pool in a custom location. This is how I create the storage pool: xmlDesc = """ <pool type='dir'> <name>guest_images_storage_pool</name> <uuid>8c79f996-cb2a-d24d-9822-ac7547ab2d01</uuid> <capacity unit='bytes'>4306780815</capacity>
2016 Jan 21
2
executing libvirt commands as a different user
I am using the libvirt API to manage VMs on the system, using a python wrapper to execute commands. I need to allow a webserver to access these commands and mostly read information about the VMs. The problem is that when using the web interface you use are basically running the commands as different user. Since libvirtd is run as root by default you get permission errors. Is there any way of
2016 Jan 29
2
generate interface MAC addresses in a particular order
Hi all, I am using libvirt to manage VM on my system; after creating a VM (default no NICs are present in the configuration) you can add any number of interfaces to it (as long as they exist on the host). To do that, I edit the configuration xlm: vmXml = self.domain.XMLDesc() root = ET.fromstring(vmXml) devices = root.find('./devices') intf =
2016 Oct 05
3
Re: problem with disk virtio driver
Hi Andrea, Thanks for the reply; To shed some more light on the matter I performed a few more tests; each time doing a clean install. I installed ubuntu14.04 as the guest OS, keeping everything else the same. On my custom Linux I've created ubuntu VMs before (using ide drivers) and it all works file. This time I created the VM using virtio disk drivers and the installation didn't
2015 Dec 11
2
libvirt domain configuration xml
I am trying to change a domain configuration from a python script. More specific, I want to edit the VNC settings. You can't do this using the libvirt API so you have to edit the domain configuration: Fo exmple, to disable VNC for a domain 'test1': vmXml = vm.XMLDesc(0) root = ET.fromstring(vmXml) devices = root.find('./devices') graphics = devices.find('graphics')
2015 Dec 17
2
migrate a guest from VMware to KVM
I am trying to migrate a VMware guest to KVM. I have the .vmdk file which I convert to qcow2 format using qemu-img convert. The next step is to import the new img file. If I use virt-install --import <guest config options> it all works fine. But when I try the same think using the libvirt API I get the "no boot disk found" message when starting the vm. When importing the VM
2016 Jan 26
2
starting a domain only when you have enough resources
Hi all, I am running KVM on a 3.18 kernel. The system runs and Atom processor with 2Gb RAM. Using KVM you obviously can over allocate your resources: say you have 4 guests each configured with 1GB ram. Running all four at the same time, depending on the workload, can crash the system - I get a kernel trace when this happens. But let's consider a simpler case: one guest with 1.5 Gb RAM,
2016 Mar 09
4
Re: removing virbr0
On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani <abologna@redhat.com> wrote: > On Wed, 2016-03-09 at 14:15 +0000, Andrei Perietanu wrote: > > I am building a custom Linux image which includes KVM and will be > installed on multiple machines. By default when > > installing libvirt you get a 'default network' which adds a 'vrbr0'. > > I found several
2016 Oct 05
2
Re: problem with disk virtio driver
On Wed, Oct 5, 2016 at 4:18 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Wed, Oct 05, 2016 at 03:00:40PM +0100, Andrei Perietanu wrote: > >> Hi Andrea, >> Thanks for the reply; >> To shed some more light on the matter I performed a few more tests; each >> time doing a clean install. I installed ubuntu14.04 as the guest OS, >> keeping
2016 Jan 26
2
Re: starting a domain only when you have enough resources
On Tue, Jan 26, 2016 at 12:39 PM, Michal Privoznik <mprivozn@redhat.com> wrote: > On 26.01.2016 12:30, Andrei Perietanu wrote: > > Hi all, > > > > I am running KVM on a 3.18 kernel. The system runs and Atom processor > with > > 2Gb RAM. > > > > Using KVM you obviously can over allocate your resources: say you have 4 > > guests each configured
2016 Jan 26
2
Re: starting a domain only when you have enough resources
On Tue, Jan 26, 2016 at 1:51 PM, Michal Privoznik <mprivozn@redhat.com> wrote: > On 26.01.2016 14:35, Andrei Perietanu wrote: > > On Tue, Jan 26, 2016 at 12:39 PM, Michal Privoznik <mprivozn@redhat.com> > > wrote: > > > >> On 26.01.2016 12:30, Andrei Perietanu wrote: > >>> Hi all, > >>> > >>> I am running KVM on a 3.18
2012 May 08
2
creation of storage volume fails
hi, i am getting this error below when i try to create a storage volume: ? ? libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0) AttributeError: class virStoragePool has no attribute 'CreateXML' my code is: xmldesc="xml description of storage volume which i got from sudo virsh vol-dumpxml" #get a storage pool object to use in creating a volume
2003 May 21
3
How to create EXT3 file system image from directories?
Hi there, Is there a utility to create an EXT3 file system image from directories? Just like the mkfs.jffs2 which creates a JFFS2 file system image from directories? The "mke2fs -j" only creates the bare bone file system, what I want is to build an image with pre-built content. Thanks, Debbie
2016 Mar 11
2
/etc/msg.sock folder questions regarding nvram/wear leveling.
Hi, i try to create a openWRT Samba 4.3 package and stumbled across the fact that samba 4.3 will create those message socks inside the private-dir. That results in creating entries inside /etc/samba/msg.sock. On openWRT /var is a tempFS in ram, so anything there is not a problem regarding nvram and wear leveling. Yet the root uses a jffs2 overlay. So while those message socks have no size, jffs2