Re: [ovirt-users] Delete disk references without deleting the disk

2015-11-23 Thread Karli Sjöberg
mån 2015-11-23 klockan 08:56 +0100 skrev Johan Kooijman:
> Hi Nir,
> 
> 
> I wonder if it can be made any more efficient, I think this method is
> clear enough. The only thing not clear to me was that while deleting
> the storage domain, it doesn't touch it's contents.

Perhaps another wording? "Delete" vs. "Remove"?

/K
> 
> On Sun, Nov 22, 2015 at 9:00 PM, Nir Soffer 
> wrote:
> On Sun, Nov 22, 2015 at 6:14 PM, Johan Kooijman
>  wrote:
> > Hi all,
> >
> > I have about 100 old VM's in my cluster. They're powered
> down, ready for
> > deletion. What I want to do is delete the VM's including
> disks without
> > actually deleting the disk images from the storage array
> itself. Is that
> > possible?
> 
> Select the vm, click "remove", in the confirmation dialog,
> uncheck the
> "Delete disks"
> checkbox, confirm.
> 
> > At the end I want to be able to delete the storage domain
> (which
> > then should not hold any data, as far as ovirt is
> concerned).
> 
> Ovirt deleted the vms, but is keeping the disks, so the
> storage domain
> does hold all
> the disks.
> 
> >
> > Reason for this: it's a ZFS pool with dedup enabled,
> deleting the images one
> > by one will kill the array with 100% iowa for some time.
> 
> So what do you need is to destroy the storage domain, which
> will
> remove all the entities
> associated with it, but will keep  the storage without any
> change.
> 
> Do this:
> 1. Select the storage tab
> 2. select the domain
> 3. In the data center sub tab, click "maintenance"
> 4. When domain is in maintenance, click "detach"
> 5. Right click the domain and choose "destroy"
> 
> This will remove the storage domain from engine database,
> leaving
> the contents of the domain.
> 
> You can now delete the contents using favorite system tools.
> 
> Now, if we want to add support for this in ovirt, how would
> you delete
> the entire domain in a more efficient way?
> 
> Nir
> 
> 
> 
> 
> -- 
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.0 wishlist: oVirt Node

2015-11-23 Thread Sandro Bonazzola
On Fri, Nov 20, 2015 at 1:54 PM, Giuseppe Ragusa <
giuseppe.rag...@hotmail.com> wrote:

> Hi all,
> I'm trying to organize my wishes/hopes for oVirt 4.0
>
> These items derive from both solitary mumblings and community talks at the
> the first Italian oVirt Meetup.
>

Thanks Giuseppe!




>
> I offer to help in coding (work/family schedules permitting) but keep in
> mind that I'm a sysadmin with mainly C and bash-scripting skills (but
> hoping to improve my less-than-newbie Python too...)
>
> Since I have related interests/wishes also for Engine and VDSM, I'll send
> a separate message for each one.
>
> Let's start from the oVirt Node:
>
> *) oVirt Node complete convergence with Atomic Host: start from Project
> Atomic tools and define an ISO-installable Atomic Host variant [1] to
> include gluster, qemu, libvirt, vdsm and all the packages/configurations
> that an oVirt Node would need (remove unneeded parts)
>
> *) add Samba, CTDB and Ganesha to oVirt Node to allow it to be used as a
> full storage appliance (specifically, I'm thinking of the GlusterFS
> integration); there are related wishlist items on configuring/managing
> Samba/CTDB/Ganesha on the Engine and on VDSM
>
> *) add oVirt Node ability to host containers (independent of the above
> mentioned convergence with Atomic); note that Atomic Host has
> Docker/Kubernetes, but libvirt already has a LXC driver [2] and the Engine
> could benefit from some added smartness in managing groups of guests etc.
> in the vm case too; there are related wishlist items on
> configuring/managing containers on the Engine and on VDSM
>
> *) add Open vSwitch direct support (not Neutron-mediated); there are
> related wishlist items on configuring/managing Open vSwitch on the Engine
> and on VDSM
>
> *) add DRBD9 as a supported Storage Domain type, maybe for HC and HE too;
> there are related wishlist items on configuring/managing DRBD9 on the
> Engine and on VDSM
>
> *) add oVirt Node ability to fully perform as a stand-alone hypervisor: I
> hear that Cockpit is coming, so why not Kimchi too? ;)
>
> Regards,
> Giuseppe
>
> [1] product.json, I suppose, but I'm starting to learn Atomic now...
>
> [2] barring a pending deprecation in RHEL7, but I suppose that a
> community/Centos-Virt-SIG libvirt build could restore it and maybe RedHat
> too could support it on a special libvirt build for RHEV (just to remove
> those support costs from the base RHEL OS offering)
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Delete disk references without deleting the disk

2015-11-23 Thread Johan Kooijman
One weird thing though: when I try to remove the VM itself, it won't let me
uncheck the "Remove disks" checkbox.


On Sun, Nov 22, 2015 at 9:00 PM, Nir Soffer  wrote:

> On Sun, Nov 22, 2015 at 6:14 PM, Johan Kooijman 
> wrote:
> > Hi all,
> >
> > I have about 100 old VM's in my cluster. They're powered down, ready for
> > deletion. What I want to do is delete the VM's including disks without
> > actually deleting the disk images from the storage array itself. Is that
> > possible?
>
> Select the vm, click "remove", in the confirmation dialog, uncheck the
> "Delete disks"
> checkbox, confirm.
>
> > At the end I want to be able to delete the storage domain (which
> > then should not hold any data, as far as ovirt is concerned).
>
> Ovirt deleted the vms, but is keeping the disks, so the storage domain
> does hold all
> the disks.
>
> >
> > Reason for this: it's a ZFS pool with dedup enabled, deleting the images
> one
> > by one will kill the array with 100% iowa for some time.
>
> So what do you need is to destroy the storage domain, which will
> remove all the entities
> associated with it, but will keep  the storage without any change.
>
> Do this:
> 1. Select the storage tab
> 2. select the domain
> 3. In the data center sub tab, click "maintenance"
> 4. When domain is in maintenance, click "detach"
> 5. Right click the domain and choose "destroy"
>
> This will remove the storage domain from engine database, leaving
> the contents of the domain.
>
> You can now delete the contents using favorite system tools.
>
> Now, if we want to add support for this in ovirt, how would you delete
> the entire domain in a more efficient way?
>
> Nir
>



-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-23 Thread Maksim Naumov
CPU pinning topology is also not used in this template. And even there is
no settings in the user interface to change it.

So, currently no one user is able to create new VM.

On Mon, Nov 23, 2015 at 8:54 AM, Maksim Naumov 
wrote:

> As I was able to understand this error mean that user tried to rewrite the
> destination host of VM. But the problem is that there is no setting like
> this in the user interface. User can't change the destination 100%. It is
> not hardcoded in the template settings because he was trying to run Base
> template (which is not attached to any host).
>
> On Mon, Nov 23, 2015 at 8:36 AM, Maksim Naumov <
> maksim.nau...@hitmeister.de> wrote:
>
>> Hello
>>
>> I faced with the problem. The user can;t create a VM. The user has
>> PowerUserRole on Cluster. He tried to create a VM with a base template and
>> had no success.
>>
>> Here some lines from log. Have no idea why it wants
>> for EDIT_ADMIN_VM_PROPERTIES permission for user?
>>
>> 2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
>> (default task-160) [2f0eb905] Checking whether user
>> 'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
>> of, have the following permissions:  ID:
>> a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group CREATE_VM
>> with role type USER,  ID: ---- Type:
>> VmTemplateAction group CREATE_VM with role type USER,  ID:
>> a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group
>> EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
>> 2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
>> (default task-160) [2f0eb905] Found permission
>> '129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
>> 'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
>> 2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
>> (default task-160) [2f0eb905] Found permission
>> '0004-0004-0004-0004-0355' for user when running 'AddVm', on
>> 'Template' with id '----'
>> 2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
>> (default task-160) [2f0eb905] No permission found for user when running
>> action 'AddVm', on object 'Cluster' for action group
>> 'EDIT_ADMIN_VM_PROPERTIES' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
>> 2015-11-20 16:42:10,894 WARN  [org.ovirt.engine.core.bll.AddVmCommand]
>> (default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for user
>> vincent.en...@hitmeister.de@hitmeister.de. Reasons:
>> VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
>>
>> --
>> Maksim Naumov
>> Hitmeister GmbH
>> Softwareentwickler
>>
>> Habsburgerring 2
>> 50674 Köln
>>
>> E: maksim.nau...@hitmeister.de
>> www.hitmeister.de
>>
>> HRB 59046, Amtsgericht Köln
>> Geschäftsführer: Dr. Gerald Schönbucher
>>
>
>
>
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
>
> Habsburgerring 2
> 50674 Köln
>
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
>
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-engine-sdk-python too slow

2015-11-23 Thread John Hunter
Hi guys,

I am using the ovirt-engine-sdk-python to communicate with the ovirt-engine,
I am ok to list the vms but the processing time is too long, like 4.5
seconds,
and this line:
from ovirtsdk.api import API
take almost 3 seconds.

This seems a little bit longer than I expected it to be, so I am asking is
there
a quicker way to communicate with the ovirt-engine?

-- 
Best regards
Junwang Zhao
Department of Computer Science &Technology
Peking University
Beijing, 100871, PRC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-23 Thread Eli Mesika


- Original Message -
> From: "Maksim Naumov" 
> To: "users" 
> Sent: Monday, November 23, 2015 11:18:09 AM
> Subject: Re: [ovirt-users] [3.6] User can't create a VM. No permission for
> EDIT_ADMIN_VM_PROPERTIES
> 
> CPU pinning topology is also not used in this template. And even there is no
> settings in the user interface to change it.
> 
> So, currently no one user is able to create new VM.

Seems to me as a bug 
Can you please open a bug, attach all relevant logs and also fully describe the 
template that you attempt to use to create the VM?

> 
> On Mon, Nov 23, 2015 at 8:54 AM, Maksim Naumov < maksim.nau...@hitmeister.de
> > wrote:
> 
> 
> 
> As I was able to understand this error mean that user tried to rewrite the
> destination host of VM. But the problem is that there is no setting like
> this in the user interface. User can't change the destination 100%. It is
> not hardcoded in the template settings because he was trying to run Base
> template (which is not attached to any host).
> 
> On Mon, Nov 23, 2015 at 8:36 AM, Maksim Naumov < maksim.nau...@hitmeister.de
> > wrote:
> 
> 
> 
> Hello
> 
> I faced with the problem. The user can;t create a VM. The user has
> PowerUserRole on Cluster. He tried to create a VM with a base template and
> had no success.
> 
> Here some lines from log. Have no idea why it wants for
> EDIT_ADMIN_VM_PROPERTIES permission for user?
> 
> 2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Checking whether user
> 'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member of,
> have the following permissions: ID: a303bbca-af20-4de5-9eff-01c52d3bf615
> Type: VdsGroupsAction group CREATE_VM with role type USER, ID:
> ---- Type: VmTemplateAction group CREATE_VM
> with role type USER, ID: a303bbca-af20-4de5-9eff-01c52d3bf615 Type:
> VdsGroupsAction group EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
> 2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Found permission
> '129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
> 'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
> 2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Found permission
> '0004-0004-0004-0004-0355' for user when running 'AddVm', on
> 'Template' with id '----'
> 2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] No permission found for user when running
> action 'AddVm', on object 'Cluster' for action group
> 'EDIT_ADMIN_VM_PROPERTIES' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
> 2015-11-20 16:42:10,894 WARN [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for user
> vincent.en...@hitmeister.de@ hitmeister.de . Reasons:
> VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
> 
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
> 
> Habsburgerring 2
> 50674 Köln
> 
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
> 
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
> 
> 
> 
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
> 
> Habsburgerring 2
> 50674 Köln
> 
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
> 
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
> 
> 
> 
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
> 
> Habsburgerring 2
> 50674 Köln
> 
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
> 
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ZFS record size for oVirt

2015-11-23 Thread Johan Kooijman
Hi all,

I'm using an NFS storage domain, backed by a ZFS cluster. I need to deploy
a new storage domain, what would the recommended record size be in this?

-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Delete disk references without deleting the disk

2015-11-23 Thread Liron Aravot


- Original Message -
> From: "Johan Kooijman" 
> To: "Nir Soffer" 
> Cc: "users" 
> Sent: Monday, November 23, 2015 10:10:27 AM
> Subject: Re: [ovirt-users] Delete disk references without deleting the disk
> 
> One weird thing though: when I try to remove the VM itself, it won't let me
> uncheck the "Remove disks" checkbox.
> 

That is because that there are snapshots for the disks, you can remove the 
snapshots and then you could
leave your disks. Currently oVirt doesn't support snapshots for floating disks.
> 
> On Sun, Nov 22, 2015 at 9:00 PM, Nir Soffer < nsof...@redhat.com > wrote:
> 
> 
> On Sun, Nov 22, 2015 at 6:14 PM, Johan Kooijman < m...@johankooijman.com >
> wrote:
> > Hi all,
> > 
> > I have about 100 old VM's in my cluster. They're powered down, ready for
> > deletion. What I want to do is delete the VM's including disks without
> > actually deleting the disk images from the storage array itself. Is that
> > possible?
> 
> Select the vm, click "remove", in the confirmation dialog, uncheck the
> "Delete disks"
> checkbox, confirm.
> 
> > At the end I want to be able to delete the storage domain (which
> > then should not hold any data, as far as ovirt is concerned).
> 
> Ovirt deleted the vms, but is keeping the disks, so the storage domain
> does hold all
> the disks.
> 
> > 
> > Reason for this: it's a ZFS pool with dedup enabled, deleting the images
> > one
> > by one will kill the array with 100% iowa for some time.
> 
> So what do you need is to destroy the storage domain, which will
> remove all the entities
> associated with it, but will keep the storage without any change.
> 
> Do this:
> 1. Select the storage tab
> 2. select the domain
> 3. In the data center sub tab, click "maintenance"
> 4. When domain is in maintenance, click "detach"
> 5. Right click the domain and choose "destroy"
> 
> This will remove the storage domain from engine database, leaving
> the contents of the domain.
> 
> You can now delete the contents using favorite system tools.
> 
> Now, if we want to add support for this in ovirt, how would you delete
> the entire domain in a more efficient way?
> 
> Nir
> 
> 
> 
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Delete disk references without deleting the disk

2015-11-23 Thread Johan Kooijman
Ok. Any way to do it without? Because with snapshot deletion I end up with
the same issue - I can't remove images form my storage.

On Mon, Nov 23, 2015 at 12:18 PM, Liron Aravot  wrote:

>
>
> - Original Message -
> > From: "Johan Kooijman" 
> > To: "Nir Soffer" 
> > Cc: "users" 
> > Sent: Monday, November 23, 2015 10:10:27 AM
> > Subject: Re: [ovirt-users] Delete disk references without deleting the
> disk
> >
> > One weird thing though: when I try to remove the VM itself, it won't let
> me
> > uncheck the "Remove disks" checkbox.
> >
>
> That is because that there are snapshots for the disks, you can remove the
> snapshots and then you could
> leave your disks. Currently oVirt doesn't support snapshots for floating
> disks.
> >
> > On Sun, Nov 22, 2015 at 9:00 PM, Nir Soffer < nsof...@redhat.com >
> wrote:
> >
> >
> > On Sun, Nov 22, 2015 at 6:14 PM, Johan Kooijman < m...@johankooijman.com
> >
> > wrote:
> > > Hi all,
> > >
> > > I have about 100 old VM's in my cluster. They're powered down, ready
> for
> > > deletion. What I want to do is delete the VM's including disks without
> > > actually deleting the disk images from the storage array itself. Is
> that
> > > possible?
> >
> > Select the vm, click "remove", in the confirmation dialog, uncheck the
> > "Delete disks"
> > checkbox, confirm.
> >
> > > At the end I want to be able to delete the storage domain (which
> > > then should not hold any data, as far as ovirt is concerned).
> >
> > Ovirt deleted the vms, but is keeping the disks, so the storage domain
> > does hold all
> > the disks.
> >
> > >
> > > Reason for this: it's a ZFS pool with dedup enabled, deleting the
> images
> > > one
> > > by one will kill the array with 100% iowa for some time.
> >
> > So what do you need is to destroy the storage domain, which will
> > remove all the entities
> > associated with it, but will keep the storage without any change.
> >
> > Do this:
> > 1. Select the storage tab
> > 2. select the domain
> > 3. In the data center sub tab, click "maintenance"
> > 4. When domain is in maintenance, click "detach"
> > 5. Right click the domain and choose "destroy"
> >
> > This will remove the storage domain from engine database, leaving
> > the contents of the domain.
> >
> > You can now delete the contents using favorite system tools.
> >
> > Now, if we want to add support for this in ovirt, how would you delete
> > the entire domain in a more efficient way?
> >
> > Nir
> >
> >
> >
> > --
> > Met vriendelijke groeten / With kind regards,
> > Johan Kooijman
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ZFS record size for oVirt

2015-11-23 Thread Alexandr Krivulya
23.11.15 12:32, Johan Kooijman пишет:
> Hi all,
>
> I'm using an NFS storage domain, backed by a ZFS cluster. I need to
> deploy a new storage domain, what would the recommended record size be
> in this?
>
>
I don't think you need care about it, because its real value calculates
via internal algorithms. Generally it depends on your workload. if you
have VM's that do a lot of random writes try to set recsize to equal or
greater value of guest file system block size.

Did you read this white paper? It might help you.
http://www.oracle.com/technetwork/server-storage/sun-unified-storage/documentation/bestprac-zfssa-vsphere5-1940129.pdf
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Allowing a user to manage all machines in a pool

2015-11-23 Thread Nicolás
Any hints to this, please?

 Mensaje original 
De: Nicolás  
Fecha:20/11/2015  18:39  (GMT+00:00) 
Para: users@ovirt.org 
Asunto: [ovirt-users] Allowing a user to manage all machines in a pool 

Hi,

We're running oVirt 3.5.3.1-1, and we're currently deploying some Pools 
for students and teachers, so each has access to one machine in the 
pool. Thus, each of them is granted the UserRole in the pool. Now the 
teacher is asking us to allow him access to all students' VMs via the 
Web GUI to evaluate their work.

Is there a permission to accomplish that? In worst of cases I will 
detach the VMs from the pool and grant the teacher the UserRole on each 
of them, but I'd like to know if there's a "cleaner" way.

Thanks.

Regards,

Nicolás
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-23 Thread Maksim Naumov
I've created one https://bugzilla.redhat.com/show_bug.cgi?id=1284472

On Mon, Nov 23, 2015 at 11:14 AM, Eli Mesika  wrote:

>
>
> - Original Message -
> > From: "Maksim Naumov" 
> > To: "users" 
> > Sent: Monday, November 23, 2015 11:18:09 AM
> > Subject: Re: [ovirt-users] [3.6] User can't create a VM. No permission
> forEDIT_ADMIN_VM_PROPERTIES
> >
> > CPU pinning topology is also not used in this template. And even there
> is no
> > settings in the user interface to change it.
> >
> > So, currently no one user is able to create new VM.
>
> Seems to me as a bug
> Can you please open a bug, attach all relevant logs and also fully
> describe the template that you attempt to use to create the VM?
>
> >
> > On Mon, Nov 23, 2015 at 8:54 AM, Maksim Naumov <
> maksim.nau...@hitmeister.de
> > > wrote:
> >
> >
> >
> > As I was able to understand this error mean that user tried to rewrite
> the
> > destination host of VM. But the problem is that there is no setting like
> > this in the user interface. User can't change the destination 100%. It is
> > not hardcoded in the template settings because he was trying to run Base
> > template (which is not attached to any host).
> >
> > On Mon, Nov 23, 2015 at 8:36 AM, Maksim Naumov <
> maksim.nau...@hitmeister.de
> > > wrote:
> >
> >
> >
> > Hello
> >
> > I faced with the problem. The user can;t create a VM. The user has
> > PowerUserRole on Cluster. He tried to create a VM with a base template
> and
> > had no success.
> >
> > Here some lines from log. Have no idea why it wants for
> > EDIT_ADMIN_VM_PROPERTIES permission for user?
> >
> > 2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Checking whether user
> > 'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
> of,
> > have the following permissions: ID: a303bbca-af20-4de5-9eff-01c52d3bf615
> > Type: VdsGroupsAction group CREATE_VM with role type USER, ID:
> > ---- Type: VmTemplateAction group
> CREATE_VM
> > with role type USER, ID: a303bbca-af20-4de5-9eff-01c52d3bf615 Type:
> > VdsGroupsAction group EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
> > 2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Found permission
> > '129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
> > 'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
> > 2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Found permission
> > '0004-0004-0004-0004-0355' for user when running 'AddVm', on
> > 'Template' with id '----'
> > 2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] No permission found for user when running
> > action 'AddVm', on object 'Cluster' for action group
> > 'EDIT_ADMIN_VM_PROPERTIES' with id
> 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
> > 2015-11-20 16:42:10,894 WARN [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for
> user
> > vincent.en...@hitmeister.de@ hitmeister.de . Reasons:
> > VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> >
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> >
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot setup Networks. The address of the network 'NFS' cannot be modified

2015-11-23 Thread Ihor Piddubnyak
Actually  trying to change from none to static. I can change to DHCP but
static! 


On Mon, 2015-11-16 at 15:10 +0100, Ihor Piddubnyak wrote:

> Trying to change IP for VLAN interface attached to hypervisor,
> getting 
> 
> vhi2:
> Cannot setup Networks. The address of the network 'NFS' cannot be
> modified without reinstalling the host, since this address was used to
> create the host's certification.
> 
> 
> Host reinstall does not help. Any clue how to do it?
> 
> 

-- 
Ihor Piddubnyak 
surftown a/s
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Highly Available in 3.6 and USB support

2015-11-23 Thread jaumotte, styve
Hi everybody,

After testing some features on 3.5, we are planning to finaly go to 3.6. Some 
problems still exist.

A major problem still remain on the < Highly Available > option on vm wich 
doesn't work. I had a cluster with 4 engines and a simple vm. When I start a 
poweroff from the node where this vm is living, the node is shutting down but 
my vm doesn't restart on another node of the cluster. The power managment of 
all the node are correctly configure. The HA feature of then hosted-engine is 
working well (except it is very long).

Another problem consist of passing usb host device to the virtual machine. 
We've got some specials usb keys for activating old application and we need to 
attach this key to vm. At first, I try with standard usb mass storage key to 
test this approach. I can't start virtual machine when I add usb device, I 
always have the message < The host ... did not satisfy internal filter 
HostDevice because it does not support host device passthrough >. Have any idea 
where I can find an HowTo to help me ?

Tanks for your help,

SJ

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Highly Available in 3.6 and USB support

2015-11-23 Thread Simone Tiraboschi
On Mon, Nov 23, 2015 at 3:10 PM, jaumotte, styve <
s.jaumo...@maine-et-loire.fr> wrote:

> Hi everybody,
>
>
>
> After testing some features on 3.5, we are planning to finaly go to 3.6.
> Some problems still exist.
>
>
>
> A major problem still remain on the « Highly Available » option on vm wich
> doesn’t work. I had a cluster with 4 engines and a simple vm. When I start
> a poweroff from the node where this vm is living, the node is shutting down
> but my vm doesn’t restart on another node of the cluster. The power
> managment of all the node are correctly configure. The HA feature of then
> hosted-engine is working well (except it is very long).
>

HA capability for the engine is provided by the HA agents running on each
hosted-engine host. HA capability for other VMs is provided by the engine
only if specifically enabled.
Can you please attach engine logs relative to that issue?


>
>
> Another problem consist of passing usb host device to the virtual machine.
> We’ve got some specials usb keys for activating old application and we need
> to attach this key to vm. At first, I try with standard usb mass storage
> key to test this approach. I can’t start virtual machine when I add usb
> device, I always have the message « The host … did not satisfy internal
> filter HostDevice because it does not support host device passthrough ».
> Have any idea where I can find an HowTo to help me ?
>
>
>
did you tried with the hostusb vdsm hook?


Tanks for your help,
>
>
>
> SJ
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Highly Available in 3.6 and USB support

2015-11-23 Thread Roman Mohr
Hi Styve,

On Mon, Nov 23, 2015 at 3:10 PM, jaumotte, styve <
s.jaumo...@maine-et-loire.fr> wrote:

> Hi everybody,
>
>
>
> After testing some features on 3.5, we are planning to finaly go to 3.6.
> Some problems still exist.
>
>
>
> A major problem still remain on the « Highly Available » option on vm wich
> doesn’t work. I had a cluster with 4 engines and a simple vm. When I start
> a poweroff from the node where this vm is living, the node is shutting down
> but my vm doesn’t restart on another node of the cluster.
>

Do you have a fencing agent configured for your host? It is configureable
under 'Edit Host'->'Power Management'. If there is no fencing agent
configured, the engine can not make sure that the host is really off when
it is non responsive. To avoid disk corruptions without a fencing agent, it
does nothing. You can find more about HA here [1]. About fencing here [2].

The power managment of all the node are correctly configure. The HA feature
> of then hosted-engine is working well (except it is very long).
>
>
Glad to hear that this is working. Regarding the (sometimes long)
downtimes, you can find some numbers here [3].



>
>
> Another problem consist of passing usb host device to the virtual machine.
> We’ve got some specials usb keys for activating old application and we need
> to attach this key to vm. At first, I try with standard usb mass storage
> key to test this approach. I can’t start virtual machine when I add usb
> device, I always have the message « The host … did not satisfy internal
> filter HostDevice because it does not support host device passthrough ».
> Have any idea where I can find an HowTo to help me ?
>
>
>
> Tanks for your help,
>
>
>
> SJ
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
Best regards,
Roman

[1]
http://www.ovirt.org/OVirt_Administration_Guide#.E2.81.A0Improving_Uptime_with_Virtual_Machine_High_Availability

[2]
http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience
[3]
http://www.ovirt.org/Hosted_Engine_Howto#What_is_the_expected_downtime_in_case_of_Datacenter_.2F_Host_.2F_VM_failure.3F
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Highly Available in 3.6 and USB support

2015-11-23 Thread Roman Mohr
On Mon, Nov 23, 2015 at 5:12 PM, Roman Mohr  wrote:

> Hi Styve,
>
> On Mon, Nov 23, 2015 at 3:10 PM, jaumotte, styve <
> s.jaumo...@maine-et-loire.fr> wrote:
>
>> Hi everybody,
>>
>>
>>
>> After testing some features on 3.5, we are planning to finaly go to 3.6.
>> Some problems still exist.
>>
>>
>>
>> A major problem still remain on the « Highly Available » option on vm
>> wich doesn’t work. I had a cluster with 4 engines and a simple vm. When I
>> start a poweroff from the node where this vm is living, the node is
>> shutting down but my vm doesn’t restart on another node of the cluster.
>>
>
> Do you have a fencing agent configured for your host? It is configureable
> under 'Edit Host'->'Power Management'. If there is no fencing agent
> configured, the engine can not make sure that the host is really off when
> it is non responsive. To avoid disk corruptions without a fencing agent, it
> does nothing. You can find more about HA here [1]. About fencing here [2].
>
> The power managment of all the node are correctly configure.
>>
>
Oh I missed that. When that is configured correctly, as @Simone already
said, the logs would be great.


> The HA feature of then hosted-engine is working well (except it is very
>> long).
>>
>>
> Glad to hear that this is working. Regarding the (sometimes long)
> downtimes, you can find some numbers here [3].
>
>
>
>>
>>
>> Another problem consist of passing usb host device to the virtual
>> machine. We’ve got some specials usb keys for activating old application
>> and we need to attach this key to vm. At first, I try with standard usb
>> mass storage key to test this approach. I can’t start virtual machine when
>> I add usb device, I always have the message « The host … did not satisfy
>> internal filter HostDevice because it does not support host device
>> passthrough ». Have any idea where I can find an HowTo to help me ?
>>
>>
>>
>> Tanks for your help,
>>
>>
>>
>> SJ
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> Best regards,
> Roman
>
> [1]
> http://www.ovirt.org/OVirt_Administration_Guide#.E2.81.A0Improving_Uptime_with_Virtual_Machine_High_Availability
> 
>
> [2]
> http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience
> [3]
> http://www.ovirt.org/Hosted_Engine_Howto#What_is_the_expected_downtime_in_case_of_Datacenter_.2F_Host_.2F_VM_failure.3F
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Failed to create live snapshot

2015-11-23 Thread mots
Hello,

I'm getting the following error when I try to create a snapshot of one VM. 
Snapshots of all other VMs work as expected. I'm using oVirt 3.5 on Centos 7.

>Failed to create live snapshot 'fsbu3' for VM 'Odoo'. VM restart is 
>recommended. Note that using the created snapshot might cause data 
>inconsistency.

I think this is the relevant part of vdsm.log, what strikes me as odd is the 
line:
>Thread-1192052::ERROR::2015-11-23 17:18:20,532::vm::4355::vm.Vm::(snapshot) 
>vmId=`581cebb3-7729-4c29-b98c-f9e04aa2fdd0`::The base volume doesn't exist: 
>{'device': 'disk', 'domainID': 'b4e7425a-53c7-40d4-befc-ea36ed7891fc', 
>'volumeID': '9a7fc7e0-60fc-4f67-9f97-2de4bc08f0a7', 'imageID': 
>'dfa1d0bf-a1f6-45bb-9574-ab020c0e8c9d'}
The part "The base volume doesn't exist" seems interesting.

Also interesting is that it does create a snapshot, though I don't know if that 
snapshot is missing data.

Thread-1192048::DEBUG::2015-11-23 
17:18:20,421::taskManager::103::Storage.TaskManager::(getTaskStatus) Entry. 
taskID: 21a1c403-f306-40b1-bad8-377d0265ebca
Thread-1192048::DEBUG::2015-11-23 
17:18:20,421::taskManager::106::Storage.TaskManager::(getTaskStatus) Return. 
Response: {'code': 0, 'message': '1 jobs completed successfully', 'taskState': 
'finished', 'taskResult': 'success', 'taskID': 
'21a1c403-f306-40b1-bad8-377d0265ebca'}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::taskManager::123::Storage.TaskManager::(getAllTasksStatuses) 
Return: {'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}
Thread-1192048::INFO::2015-11-23 
17:18:20,422::logUtils::47::dispatcher::(wrapper) Run and protect: 
getAllTasksStatuses, Return response: {'allTasksStatus': 
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::task::1191::Storage.TaskManager.Task::(prepare) 
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::finished: {'allTasksStatus': 
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::task::595::Storage.TaskManager.Task::(_updateState) 
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::moving from state preparing -> 
state finished
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::task::993::Storage.TaskManager.Task::(_decref) 
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::ref 0 aborting False
Thread-1192048::DEBUG::2015-11-23 
17:18:20,422::__init__::500::jsonrpc.JsonRpcServer::(_serveRequest) Return 
'Host.getAllTasksStatuses' in bridge with 
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}
Thread-1192048::DEBUG::2015-11-23 
17:18:20,423::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-11-23 
17:18:20,423::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-11-23 
17:18:20,424::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1192049::DEBUG::2015-11-23 
17:18:20,426::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-11-23 
17:18:20,438::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-11-23 
17:18:20,439::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1192050::DEBUG::2015-11-23 
17:18:20,441::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-11-23 
17:18:20,442::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-11-23 
17:18:20,443::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1192051::DEBUG::2015-11-23 
17:18:20,445::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-11-23 
17:18:20,529::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
Thread-1192052::DEBUG::2015-11-23 
17:18:20,530::__init__::469::jsonrpc.JsonRpcServer::(_serveRequest) Calling 
'VM.snapshot' in bridge with {'vmID': '581cebb3-7729-4c29-b98c-f9e04aa2fdd0', 
'snapDrives': [{'baseVolumeID': '9a7fc7e0-60f

[ovirt-users] FOSDEM16 Virt & IaaS Devroom CFP Extension, Speaker Mentoring, CoC

2015-11-23 Thread Mikey Ariel
The CFP for the Virtualization & IaaS devroom at FOSDEM 2016 is in full 
swing, and we'd like to share a few updates with you:


-
Speaker Mentoring Program
-

As a part of the rising efforts to grow our communities and encourage a 
diverse and inclusive conference ecosystem, we're happy to announce that 
we'll be offering mentoring for newcomer speakers. Our mentors can help 
you with tasks such as reviewing your abstract, reviewing your 
presentation outline or slides, or practicing your talk with you.


You may apply to the mentoring program as a newcomer speaker if you:

* Never presented before or
* Presented only lightning talks or
* Presented full-length talks at small meetups (<50 ppl)

Submission guidelines:

* Mentored presentations will have 25-minute slots, where 20 minutes 
will include the presentation and 5 minutes will be reserved for questions.


* The number of newcomer session slots is limited, so we will probably 
not be able to accept all applications.


* You must submit your talk and abstract to apply for the mentoring 
program, our mentors are volunteering their time and will happily 
provide feedback but won't write your presentation for you! If you are 
experiencing problems with Pentabarf, the proposal submission interface, 
or have other questions, you can email iaas-virt-devroom at 
lists.fosdem.org and we will try to help you.


How to apply:

* Follow the same procedure to submit an abstract in Pentabarf as 
standard sessions. Instructions can be found in our original CFP 
announcement: 
http://community.redhat.com/blog/2015/10/call-for-proposals-fosdem16-virtualization-iaas-devroom/


* In addition to agreeing to video recording and confirming that you can 
attend FOSDEM in case your session is accepted, please write "speaker 
mentoring program application" in the "Submission notes" field, and list 
any prior speaking experience or other relevant information for your 
application.


Call for mentors!

Interested in mentoring newcomer speakers? We'd love to have your help! 
Please email iaas-virt-devroom at lists.fosdem.org with a short speaker 
bio and any specific fields of expertise (for example, KVM, OpenStack, 
storage, etc) so that we can match you with a newcomer speaker from a 
similar field. Estimated time investment can be as low as a 5-10 hours 
in total, usually distributed weekly or bi-weekly.


Never mentored a newcomer speaker but interested to try? Our mentoring 
program coordinator will be happy to answer your questions and give you 
tips on how to optimize the mentoring process. Email us and we'll be 
happy to answer your questions!


-
CFP Deadline Extension
-

To help accommodate the newcomer speaker proposals, we have decided to 
extend the deadline for submitting proposals by one week.


The new deadline is **TUESDAY, DECEMBER 8 @ midnight CET**.

-
Code of Conduct
-

Following the release of the updated code of conduct for FOSDEM[1], we'd 
like to remind all speakers and attendees that all of the presentations 
and discussions in our devroom are held under the guidelines set in the 
CoC and we expect attendees, speakers, and volunteers to follow the CoC 
at all times.


If you submit a proposal and it is accepted, you will be required to 
confirm that you accept the FOSDEM CoC. If you have any questions about 
the CoC or wish to have one of the devroom organizers review your 
presentation slides or any other content for CoC compliance, please 
email iaas-virt-devroom at lists.fosdem.org and we will do our best to 
help you out.


[1] https://www.fosdem.org/2016/practical/conduct/

--
Mikey Ariel
Community Lead, oVirt
www.ovirt.org

"To be is to do" (Socrates)
"To do is to be" (Jean-Paul Sartre)
"Do be do be do" (Frank Sinatra)

Mobile: +420-702-131-141
IRC: mariel / thatdocslady
Twitter: @ThatDocsLady
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to add faster NIC to oVirt cluser / host?

2015-11-23 Thread Christophe TREFOIS
Dear all,

I have currently a data center with two clusters and each cluster had 1 host.

On one of the hosts, I now enabled 10 GbE NIC called p4p1. Currently everything 
is going over a 1 GbE NIC called em1 (ovirtmgmt).

My question now is, how I could add my 10 GbE NIC to the setup for instance to 
use for transferring data during transmissions to export domain or to simply 
replace the 1 GbE?

I prefer little downtime (eg only temp network loss), but a full downtime 
(shutting down) could be acceptable.

Thank you for any pointers or starting points you could provide,

Kind regards,

—
Christophe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] What is a data center with local storage?

2015-11-23 Thread Christophe TREFOIS
Hi,

When creating a new data center, in oVirt 3.5 there is the options to have 
“local” or “shared” storage types.

Is there any resource out there that explains the difference between the two? 
The official doc does not really help there.

My current understanding is as follows:

In shared mode, I can create data domains that are shared between hosts in a 
same data center, eg NFS, iSCSI etc.
In lcoal mode, I can only create data domains locally, but I can “import” an 
existing iSCSI or Export domain to move VMs (with downtime) between data 
centers.

1. Is this correct or am I missing something here?
2. What would be the reason to go for a “local” storage type cluster? 

Thank you very much for helping out a newcomer :)
Kind regards,

—
Christophe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] One RHEV Virtual Machine does not Automatically Resume following Compellent SAN Controller Failover

2015-11-23 Thread Duckworth, Douglas C
Hello --

Not sure if y'all can help with this issue we've been seeing with RHEV...

On 11/13/2015, during Code Upgrade of Compellent SAN at our Disaster
Recovery Site, we Failed Over to Secondary SAN Controller.  Most Virtual
Machines in our DR Cluster Resumed automatically after Pausing except VM
"BADVM" on Host "BADHOST."

In Engine.log you can see that BADVM was sent into "VM_PAUSED_EIO" state
at 10:47:57:

"VM BADVM has paused due to storage I/O problem."

On this Red Hat Enterprise Virtualization Hypervisor 6.6
(20150512.0.el6ev) Host, two other VMs paused but then automatically
resumed without System Administrator intervention...

In our DR Cluster, 22 VMs also resumed automatically...

None of these Guest VMs are engaged in high I/O as these are DR site VMs
not currently doing anything.

We sent this information to Dell.  Their response:

"The root cause may reside within your virtualization solution, not the
parent OS (RHEV-Hypervisor disc) or Storage (Dell Compellent.)"

We are doing this Failover again on Sunday November 29th so we would
like to know how to mitigate this issue, given we have to manually
resume paused VMs that don't resume automatically.

Before we initiated SAN Controller Failover, all iSCSI paths to Targets
were present on Host tulhv2p03.

VM logs on Host show in /var/log/libvirt/qemu/badhost.log that Storage
error was reported:

block I/O error in device 'drive-virtio-disk0': Input/output error (5)
block I/O error in device 'drive-virtio-disk0': Input/output error (5)
block I/O error in device 'drive-virtio-disk0': Input/output error (5)
block I/O error in device 'drive-virtio-disk0': Input/output error (5)

All disks used by this Guest VM are provided by single Storage Domain
COM_3TB4_DR with serial "270."  In syslog we do see that all paths for
that Storage Domain Failed:

Nov 13 16:47:40 multipathd: 36000d310005caf000270: remaining
active paths: 0

Though these recovered later:

Nov 13 16:59:17 multipathd: 36000d310005caf000270: sdbg -
tur checker reports path is up
Nov 13 16:59:17 multipathd: 36000d310005caf000270: remaining
active paths: 8

Does anyone have an idea of why the VM would fail to automatically
resume if the iSCSI paths used by its Storage Domain recovered?

Thanks
Doug

-- 
Thanks

Douglas Charles Duckworth
Unix Administrator
Tulane University
Technology Services
1555 Poydras Ave
NOLA -- 70112

E: du...@tulane.edu
O: 504-988-9341
F: 504-988-8505
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-23 Thread Johan Vermeulen
Hello All,

after configuring a first setup, based on the quick start guide, I'm now
looking
at the hosted-engine setup.
My question is: after I do the hosted-engine-setup, how do I setup vm's on
the same
machine that hosts the now-virtualized engine?

Greetings, J.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.0 wishlist: VDSM

2015-11-23 Thread Giuseppe Ragusa
On Sat, Nov 21, 2015, at 13:59, Dan Kenigsberg wrote:
> On Fri, Nov 20, 2015 at 01:54:35PM +0100, Giuseppe Ragusa wrote:
> > Hi all,
> > I go on with my wishlist, derived from both solitary mumblings and 
> > community talks at the the first Italian oVirt Meetup.
> > 
> > I offer to help in coding (work/family schedules permitting) but keep in 
> > mind that I'm a sysadmin with mainly C and bash-scripting skills (but 
> > hoping to improve my less-than-newbie Python too...)
> > 
> > I've sent separate wishlist messages for oVirt Node and Engine.
> > 
> > VDSM:
> > 
> > *) allow VDSM to configure/manage Samba, CTDB and Ganesha (specifically, 
> > I'm thinking of the GlusterFS integration); there are related wishlist 
> > items on configuring/managing Samba/CTDB/Ganesha on the Engine and on oVirt 
> > Node
> 
> I'd apreciate a more detailed feature definition. Vdsm (and ovirt) try
> to configure only thing that are needed for their own usage. What do you
> want to control? When? You're welcome to draf a feature page prior to
> coding the fix ;-)

I was thinking of adding CIFS/NFSv4 functionality to an hyperconverged cluster 
(GlusterFS/oVirt) which would have separate volumes for virtual machines 
storage (one volume for the Engine and one for other vms, with no CIFS/NFSv4 
capabilities offered) and for data shares (directly accessible by clients on 
LAN and obviously from local vms too).

Think of it as a 3-node HA NetApp+VMware killer ;-)

The UI idea (but that would be the Engine part, I understand) was along the 
lines of single-check enabling CIFS and/or NFSv4 sharing for a GlusterFS data 
volume, then optionally adding any further specific options (hosts allowed, 
users/groups for read/write access, network recycle_bin etc.); global Samba 
(domain/workgroup membership etc.) and CTDB (IPs/interfaces) configuration 
parameters would be needed too.

I have no experience on a GaneshaNFS clustered/HA configuration with GlusterFS, 
but (from superficial skimming through docs) it seems that it was not possible 
at all before 2.2 and now it needs a full Pacemaker/Corosync setup too 
(contrary to the IBM-GPFS-backed case), so that could be a problem.

This VDSM wishlist item was driven by the idea that all actions (and so future 
GlusterFS/Samba/CTDB too) performed by the Engine through the hosts/nodes were 
somehow "mediated" by VDSM and its API, but if this is not the case, then I 
retire my suggestion here and I will try to pursue it only on the Engine/Node 
side ;)

Many thanks for your attention.

Regards,
Giuseppe

> > *) add Open vSwitch direct support (not Neutron-mediated); there are 
> > related wishlist items on configuring/managing Open vSwitch on oVirt Node 
> > and on the Engine
> 
> That's on our immediate roadmap. Soon, vdsm-hook-ovs would be ready for
> testing.
> 
> > 
> > *) add DRBD9 as a supported Storage Domain type; there are related wishlist 
> > items on configuring/managing DRBD9 on the Engine and on oVirt Node
> > 
> > *) allow VDSM to configure/manage containers (maybe extend it by use of the 
> > LXC libvirt driver, similarly to the experimental work that has been put up 
> > to allow Xen vm management); there are related wishlist items on 
> > configuring/managing containers on the Engine and on oVirt Node
> > 
> > *) add a VDSM_remote mode (for lack of a better name, but mainly inspired 
> > by pacemaker_remote) to be used inside a guest by the above mentioned 
> > container support (giving to the Engine the required visibility on the 
> > managed containers, but excluding the "virtual node" from power management 
> > and other unsuitable actions)
> > 
> > Regards,
> > Giuseppe
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt 4.0 wishlist: oVirt Self Hosted Engine Setup

2015-11-23 Thread Giuseppe Ragusa
Hi all,
I go on with my wishlist, derived from both solitary mumblings and community 
talks at the the first Italian oVirt Meetup.

I offer to help in coding (work/family schedules permitting) but keep in mind 
that I'm a sysadmin with mainly C and bash-scripting skills (but hoping to 
improve my less-than-newbie Python too...)

I've sent separate wishlist messages for oVirt Node, oVirt Engine and VDSM.

oVirt Self Hosted Engine Setup:

*) allow virtual hardware customizations for locally-created Engine vm, 
specifically: allow to add an arbitrary number of NICs (asking for MAC address 
and local bridge to connect to) and maybe also an arbitrary number of disks 
(asking for size) as these seem to be the only/most_useful items missing; maybe 
the prebuilt appliance image too may be inspected by setup to detect a 
customized one and connect any further NICs to custom local bridges (which the 
user should be asked for)

Regards,
Giuseppe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [SOLVED] Re: Trying to make ovirt-hosted-engine-setup create a customized Engine-vm on 3.6 HC HE

2015-11-23 Thread Giuseppe Ragusa
On Tue, Oct 27, 2015, at 00:10, Giuseppe Ragusa wrote:
> On Mon, Oct 26, 2015, at 09:48, Simone Tiraboschi wrote:
> > 
> > 
> > On Mon, Oct 26, 2015 at 12:14 AM, Giuseppe Ragusa 
> >  wrote:
> >> Hi all,
> >> I'm experiencing some difficulties using oVirt 3.6 latest snapshot.
> >> 
> >> I'm trying to trick the self-hosted-engine setup to create a custom engine 
> >> vm with 3 nics (with fixed MACs/UUIDs).
> >> 
> >> The GlusterFS volume (3.7.5 hyperconverged, replica 3, for the engine vm) 
> >> and the network bridges (ovirtmgmt and other two bridges, called nfs and 
> >> lan, for the engine vm) have been preconfigured on the initial 
> >> fully-patched CentOS 7.1 host (plus other two identical hosts which are 
> >> awaiting to be added).
> >> 
> >> I'm stuck at a point with the engine vm successfully starting but with 
> >> only one nic present (connected to the ovirtmgmt bridge).
> >> 
> >> I'm trying to obtain the modified engine vm by means of a trick which used 
> >> to work in a previous (aborted because of lacking GlusterFS-by-libgfapi 
> >> support) oVirt 3.5 test setup (about a year ago, maybe more): I'm 
> >> substituting the standard 
> >> /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in with the 
> >> following:
> >> 
> >> vmId=@VM_UUID@
> >> memSize=@MEM_SIZE@
> >> display=@CONSOLE_TYPE@
> >> devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1, 
> >> type:drive},specParams:{},readonly:true,deviceId:@CDROM_UUID@,path:@CDROM@,device:cdrom,shared:false,type:disk@BOOT_CDROM@}
> >> devices={index:0,iface:virtio,format:raw,poolID:@SP_UUID@,volumeID:@VOL_UUID@,imageID:@IMG_UUID@,specParams:{},readonly:false,domainID:@SD_UUID@,optional:false,deviceId:@IMG_UUID@,address:{bus:0x00,
> >>  slot:0x06, domain:0x, type:pci, 
> >> function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk@BOOT_DISK@}
> >> devices={device:scsi,model:virtio-scsi,type:controller}
> >> devices={index:4,nicModel:pv,macAddr:02:50:56:3f:c4:b0,linkActive:true,network:@BRIDGE@,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:@NIC_UUID@,address:{bus:0x00,
> >>  slot:0x03, domain:0x, type:pci, 
> >> function:0x0},device:bridge,type:interface@BOOT_PXE@}
> >> devices={index:8,nicModel:pv,macAddr:02:50:56:3f:c4:a0,linkActive:true,network:lan,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:6c467650-1837-47ea-89bc-1113f4bfefee,address:{bus:0x00,
> >>  slot:0x09, domain:0x, type:pci, 
> >> function:0x0},device:bridge,type:interface@BOOT_PXE@}
> >> devices={index:16,nicModel:pv,macAddr:02:50:56:3f:c4:c0,linkActive:true,network:nfs,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:4d8e0705-8cb4-45b7-b960-7f98bb59858d,address:{bus:0x00,
> >>  slot:0x0c, domain:0x, type:pci, 
> >> function:0x0},device:bridge,type:interface@BOOT_PXE@}
> >> devices={device:console,specParams:{},type:console,deviceId:@CONSOLE_UUID@,alias:console0}
> >> vmName=@NAME@
> >> spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
> >> smp=@VCPUS@
> >> cpuType=@CPU_TYPE@
> >> emulatedMachine=@EMULATED_MACHINE@
> >> 
> >> but unfortunately the vm gets created like this (output from "ps"; note 
> >> that I'm attaching a CentOS7.1 Netinstall ISO with an embedded kickstart: 
> >> the installation should proceed by HTTP on the lan network but obviously 
> >> fails):
> >> 
> >> /usr/libexec/qemu-kvm -name HostedEngine -S -machine 
> >> pc-i440fx-rhel7.1.0,accel=kvm,usb=off -cpu Westmere -m 4096 -realtime 
> >> mlock=off 
> >> -smp 2,sockets=2,cores=1,threads=1 -uuid 
> >> f49da721-8aa6-4422-8b91-e91a0e38aa4a -s
> >> mbios type=1,manufacturer=oVirt,product=oVirt 
> >> Node,version=7-1.1503.el7.centos.2
> >> .8,serial=2a1855a9-18fb-4d7a-b8b8-6fc898a8e827,uuid=f49da721-8aa6-4422-8b91-e91a
> >> 0e38aa4a -no-user-config -nodefaults -chardev 
> >> socket,id=charmonitor,path=/var/li
> >> b/libvirt/qemu/HostedEngine.monitor,server,nowait -mon 
> >> chardev=charmonitor,id=mo
> >> nitor,mode=control -rtc base=2015-10-25T11:22:22,driftfix=slew -global 
> >> kvm-pit.l
> >> ost_tick_policy=discard -no-hpet -no-reboot -boot strict=on -device 
> >> piix3-usb-uh
> >> ci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
> >> virtio-scsi-pci,id=scsi0,bus=pci.0,addr
> >> =0x4 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive 
> >> file=
> >> /var/tmp/engine.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=
> >>  -device 
> >> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 
> >> -drive 
> >> file=/var/run/vdsm/storage/be4434bf-a5fd-44d7-8011-d5e4ac9cf523/b3abc1cb-8a78-4b56-a9b0-e5f41fea0fdc/8d075a8d-730a-4925-8779-e0ca2b3dbcf4,if=none,id=drive-virtio-disk0,format=raw,serial=b3abc1cb-8a78-4b56-a9b0-e5f41fea0fdc,cache=none,werror=stop,rerror=stop,aio=threads
> >>  -device 
> >> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0
> >>  -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device 
> >> virtio-net-pci,netdev=hostnet

Re: [ovirt-users] Manually preconfigured network interfaces/bridges on oVirt 3.6 HC HE

2015-11-23 Thread Giuseppe Ragusa
On Mon, Nov 9, 2015, at 08:16, Sandro Bonazzola wrote:
> On Sun, Nov 8, 2015 at 9:57 PM, Giuseppe Ragusa  
> wrote:
>> On Tue, Nov 3, 2015, at 23:17, Giuseppe Ragusa wrote:
> On Tue, Nov 3, 2015, at 15:27, Simone Tiraboschi wrote:
> > On Mon, Nov 2, 2015 at 11:55 PM, Giuseppe Ragusa 
> >  wrote:
> >> On Mon, Nov 2, 2015, at 09:52, Simone Tiraboschi wrote:
> >>> On Mon, Nov 2, 2015 at 1:48 AM, Giuseppe Ragusa 
> >>>  wrote:
>  Hi all,
>  I'm stuck with the following error during the final phase of 
>  ovirt-hosted-engine-setup:
> 
>            The host hosted_engine_1 is in non-operational state.
>            Please try to activate it via the engine webadmin UI.
> 
>  If I login on the engine administration web UI I find the corresponding 
>  message (inside NonOperational first host hosted_engine_1 Events tab):
> 
>  Host hosted_engine_1 does not comply with the cluster Default networks, 
>  the following networks are missing on host: 'ovirtmgmt'
> 
>  I'm installing with an oVirt snapshot from October the 27th on a 
>  fully-patched CentOS 7.1 host with a GlusterFS volume (3.7.5 
>  hyperconverged, replica 3, for the engine-vm) pre-created and network 
>  interfaces/bridges (ovirtmgmt and other two bridges, called nfs and lan, 
>  on underlying 802.3ad bonds or plain interfaces) manually pre-configured 
>  in /etc/sysconfig/network-interfaces/ifcfg-* (using "classic" network 
>  service; NetworkManager disabled).
> 
> >>>
> >>> If you manually created the network bridges, the match between them and 
> >>> the logical network should happen on name bases.
> >>
> >> Hi Simone,
> >> many thanks fpr your help (again) :)
> >>
> >> As you may note from the above comment, the name should actually match 
> >> (it's exactly ovirtmgmt) but it doesn't get recognized.
> >>
> >>
> >>> If it doesn't for any reasons (please report if you find any evidence), 
> >>> you can manually bind logical network and network interfaces editing the 
> >>> host properties from the web-ui. At that point the host should become 
> >>> active in a few seconds.
> >>
> >>
> >> Well, the most immediate evidence are the error messages already reported 
> >> (given that the bridge is actually present, with the right name and 
> >> actually working).
> >> Apart from that, I find the following past logs (I don't know whether they 
> >> are relevant or not):
> >>
> >> From /var/log/vdsm/connectivity.log:
> >
> >
> > Can you please add also host-deploy logs?
>
> Please find a gzipped tar archive of the whole directory 
> /var/log/ovirt-engine/host-deploy/ at:
>
> https://onedrive.live.com/redir?resid=74BDE216CAA3E26F!110&authkey=!AIQUc6i-n5blQO0&ithint=file%2cgz
>>  
>> Since I suppose that there's nothing relevant on those logs, I'm planning to 
>> specify "net_persistence = ifcfg" in /etc/vdsm/vdsm.conf and restart VDSM on 
>> the host, then making the (still blocked) setup re-check.
>>  
>> 
Is there anything I should pay attention to before proceeding? (in particular 
while restarting VDSM)
> 
> 
> ^^ Dan?

I went on and unfortunately "net_persistence = ifcfg" in /etc/vdsm/vdsm.conf 
and restarting VDSM on the host did not solve it (same error as before).

While trying (always without success) all other steps suggested by Simone 
(binding logical network and synchronizing networks from host) I found an 
interesting-looking libvirt network definition (autostart too) for 
vdsm-ovirtmgmt and this recalled some memories from past mailing list messages 
(that I still cannot find...) ;)

Long story short: aborting setup, cleaning up all and creating a libvirt 
network for each pre-provisioned bridge worked! ("net_persistence = ifcfg" has 
been kept for other, client-specific, reasons so I don't know if it's needed 
too)
Here it is, in BASH form:

for my_bridge in ovirtmgmt bridge1 bridge2; do
cat <<- EOM > /root/my-${my_bridge}.xml

  vdsm-${my_bridge}
  
  

EOM
virsh -c qemu:///system net-define /root/my-${my_bridge}.xml
virsh -c qemu:///system net-autostart vdsm-${my_bridge}
rm -f /root/my-${my_bridge}.xml
done

I was able to connect (with the "virsh" commands above) to libvirtd (which must 
be running for the above to work) by removing the VDSM-added config fragment, 
allowing tcp connections and denying TLS-only connections in 
/etc/libvirt/libvirtd.conf and finally by removing /etc/sasl2/libvirt.conf (all 
these modifications must be reverted after configuring networks then stopping 
libvirtd and before relaunching setup).

Many thanks again for suggestions, hints etc.

Regards,
Giuseppe

>> 
I will report back here on the results.
>>  
>> 
Regards,
>> 
Giuseppe
>> 
>> 
> Many thanks again for your kind assistance.
>> 
>
>> 
> Regards,
>> 
> Giuseppe
>> 
>
>> 
> >> 2015-11-01 21:37:21,029:DEBUG:recent_client:True
>> 
> >> 2015-11-01 21:37:51,088:DEBUG:recent_client:False
>> 
> >> 20

Re: [ovirt-users] [Need help] Want to write my graduate thesis related to ovirt

2015-11-23 Thread John Hunter
Doron,
Can you please tell more about the options?

Thanks,
John

On Mon, Nov 23, 2015 at 9:37 AM, John Hunter  wrote:

> Hi Doron,
> I  write C the most, but I have write a little bit of Java(when I try to
> write an android app),
> so I think I can learn it quickly.
>
> Cheers,
> John
>
> On Sun, Nov 22, 2015 at 11:46 PM, Doron Fediuck 
> wrote:
>
>>
>>
>> On Tue, Nov 3, 2015 at 2:24 PM, John Hunter  wrote:
>>
>>> ping, anybody help?
>>>
>>> On Tue, Nov 3, 2015 at 10:54 AM, John Hunter  wrote:
>>>
 Hi guys,

 I am college student who is going to graduate next year, major in CS, I
 want to
 work on my graduate thesis related to ovirt.

 For now I need a project which I can work on for the next 6 month, so I
 need
 an idealist which I can reference to write a proposal.

 I have contributed to #dri-devel during my Google Summer of Code
 project, so I
 know how opensource groups works, though workflow are kind of different.

 I am appreciate if anyone could help, and I hope some one could be my
 mentor.

 BR,
 Zhao Junwang

 --
 Best regards
 Junwang Zhao
 Department of Computer Science &Technology
 Peking University
 Beijing, 100871, PRC

>>>
>>>
>>>
>>> --
>>> Best regards
>>> Junwang Zhao
>>> Department of Computer Science &Technology
>>> Peking University
>>> Beijing, 100871, PRC
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>> Hi John,
>> sorry for the delay.
>>
>> We have several options.
>> How are you with writing Java code?
>>
>> Doron
>>
>
>
>
> --
> Best regards
> Junwang Zhao
> Department of Computer Science &Technology
> Peking University
> Beijing, 100871, PRC
>



-- 
Best regards
Junwang Zhao
Department of Computer Science &Technology
Peking University
Beijing, 100871, PRC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 3.6 | After upgrade host can not connect to storage domains | returned by VDSM was: 480

2015-11-23 Thread Punit Dambiwal
Hi Sahina,

Either after make the changes in the vdsm.conf,still not able to connect to
the replica=2 storage..

Thanks,
Punit

On Mon, Nov 23, 2015 at 4:15 PM, Punit Dambiwal  wrote:

> Hi Sahina,
>
> Thanks for the update...would you mind to let me know the correct syntax
> to add the line in the vdsm.conf ??
>
> Thanks,
> Punit
>
> On Mon, Nov 23, 2015 at 3:48 PM, Sahina Bose  wrote:
>
>> You can change the allowed_replica_count to 2 in vdsm.conf - though this
>> is not recommended in production. Supported replica count is 3.
>>
>> thanks
>> sahina
>>
>>
>> On 11/23/2015 07:58 AM, Punit Dambiwal wrote:
>>
>> Hi Sahina,
>>
>> Is there any workaround to solve this issue ?
>>
>> Thanks,
>> Punit
>>
>> On Wed, Nov 11, 2015 at 9:36 AM, Sahina Bose  wrote:
>>
>>> Hi,
>>>
>>> Thanks for your email. I will be back on 16th Nov and will get back to
>>> you then.
>>>
>>> thanks
>>> sahina
>>>
>>
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] import ova/ovf

2015-11-23 Thread alireza sadeh seighalan
hi everyone

how can i  import an ovf file from a server  to my  ovirt. thanks in advance
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to create live snapshot

2015-11-23 Thread Arman Khalatyan
What kind of storage are you using??
I had similar trouble with iscsi storage.
The workaround was to delete some bad symlinks in /rvem/data-center
The following steps are used to fix missing devices on the hosts:
Host->maintenance
On host rm -rf /rvem/data-center
yum reinstall vdsm
It will generate folder structure in /rvem
Before this backup your data. Maybe you hit another bug.
Good luck,
Arman
Hello,

I'm getting the following error when I try to create a snapshot of one VM.
Snapshots of all other VMs work as expected. I'm using oVirt 3.5 on Centos
7.

>Failed to create live snapshot 'fsbu3' for VM 'Odoo'. VM restart is
recommended. Note that using the created snapshot might cause data
inconsistency.

I think this is the relevant part of vdsm.log, what strikes me as odd is
the line:
>Thread-1192052::ERROR::2015-11-23
17:18:20,532::vm::4355::vm.Vm::(snapshot)
vmId=`581cebb3-7729-4c29-b98c-f9e04aa2fdd0`::The base volume doesn't exist:
{'device': 'disk', 'domainID': 'b4e7425a-53c7-40d4-befc-ea36ed7891fc',
'volumeID': '9a7fc7e0-60fc-4f67-9f97-2de4bc08f0a7', 'imageID':
'dfa1d0bf-a1f6-45bb-9574-ab020c0e8c9d'}
The part "The base volume doesn't exist" seems interesting.

Also interesting is that it does create a snapshot, though I don't know if
that snapshot is missing data.

Thread-1192048::DEBUG::2015-11-23
17:18:20,421::taskManager::103::Storage.TaskManager::(getTaskStatus) Entry.
taskID: 21a1c403-f306-40b1-bad8-377d0265ebca
Thread-1192048::DEBUG::2015-11-23
17:18:20,421::taskManager::106::Storage.TaskManager::(getTaskStatus)
Return. Response: {'code': 0, 'message': '1 jobs completed successfully',
'taskState': 'finished', 'taskResult': 'success', 'taskID':
'21a1c403-f306-40b1-bad8-377d0265ebca'}
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::taskManager::123::Storage.TaskManager::(getAllTasksStatuses)
Return: {'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1
jobs completed successfully', 'taskState': 'finished', 'taskResult':
'success', 'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}
Thread-1192048::INFO::2015-11-23
17:18:20,422::logUtils::47::dispatcher::(wrapper) Run and protect:
getAllTasksStatuses, Return response: {'allTasksStatus':
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs
completed successfully', 'taskState': 'finished', 'taskResult': 'success',
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}}
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::task::1191::Storage.TaskManager.Task::(prepare)
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::finished: {'allTasksStatus':
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs
completed successfully', 'taskState': 'finished', 'taskResult': 'success',
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}}
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::task::595::Storage.TaskManager.Task::(_updateState)
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::moving from state preparing ->
state finished
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::task::993::Storage.TaskManager.Task::(_decref)
Task=`ce3d857c-45d3-4acc-95a5-79484e457fc6`::ref 0 aborting False
Thread-1192048::DEBUG::2015-11-23
17:18:20,422::__init__::500::jsonrpc.JsonRpcServer::(_serveRequest) Return
'Host.getAllTasksStatuses' in bridge with
{'21a1c403-f306-40b1-bad8-377d0265ebca': {'code': 0, 'message': '1 jobs
completed successfully', 'taskState': 'finished', 'taskResult': 'success',
'taskID': '21a1c403-f306-40b1-bad8-377d0265ebca'}}
Thread-1192048::DEBUG::2015-11-23
17:18:20,423::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
JsonRpc (StompReactor)::DEBUG::2015-11-23
17:18:20,423::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message 
JsonRpcServer::DEBUG::2015-11-23
17:18:20,424::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-1192049::DEBUG::2015-11-23
17:18:20,426::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
JsonRpc (StompReactor)::DEBUG::2015-11-23
17:18:20,438::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message 
JsonRpcServer::DEBUG::2015-11-23
17:18:20,439::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-1192050::DEBUG::2015-11-23
17:18:20,441::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
JsonRpc (StompReactor)::DEBUG::2015-11-23
17:18:20,442::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message 
JsonRpcServer::DEBUG::2015-11-23
17:18:20,443::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-1192051::DEBUG::2015-11-23
17:18:20,445::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
JsonRpc (StompReactor)::DEBUG::