Re: [ovirt-users] Question about manual pools and statefulness

2015-07-29 Thread Omer Frenkel


- Original Message -
 From: Cristian Mammoli c.mamm...@apra.it
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, July 28, 2015 9:07:08 PM
 Subject: Re: [ovirt-users] Question about manual pools and statefulness
 
 
 
 Il 26/07/2015 08:14, Omer Frenkel ha scritto:
start it becomes stateful...
  no, there is a bug in 3.5 regarding manual pools loosing the stateless
  snapshot on shutdown:
  Bug 1239153 - Stateless VM snapshot gets deleted when user shuts down VM in
  a Manual Pool type
  it is fixed for 3.6, we're considering backporting the fix to 3.5.5
 
 Is this bug in rhev too? 

yes

 Any workaround?

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


Re: [ovirt-users] Question about manual pools and statefulness

2015-07-28 Thread Cristian Mammoli



Il 26/07/2015 08:14, Omer Frenkel ha scritto:

  start it becomes stateful...
no, there is a bug in 3.5 regarding manual pools loosing the stateless snapshot 
on shutdown:
Bug 1239153 - Stateless VM snapshot gets deleted when user shuts down VM in a 
Manual Pool type
it is fixed for 3.6, we're considering backporting the fix to 3.5.5


Is this bug in rhev too? Any workaround?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Question about manual pools and statefulness

2015-07-26 Thread Omer Frenkel


- Original Message -
 From: Cristian Mammoli c.mamm...@apra.it
 To: users@ovirt.org
 Sent: Friday, July 24, 2015 10:58:01 AM
 Subject: [ovirt-users] Question about manual pools and statefulness
 
 Hi, as far as I understand Manual Pools should be stateful as long as
 the admin does not return the vm to the pool (removing the permissions).

above is correct

 In my test lab I did the following:
 Created Windows template
 Sysprep and Shutdown
 Configured a manual pool with the above template
 Configure Initial run with domain membership and so on
 Assigned permissions to the pool
 
 Logged in in the user portal and launched my pool
 The vm starts up but in the admin portal I see the vm has a Stateless
 snapshot (read-only)
 VM TestPoolMan-1 was restarted on Host kvm02 as stateless
 
 Then in the user portal I shut down the vm and the stateless snapshot is
 removed
 VM TestPoolMan-1 is down. Exit message: User shut down from within the
 guest
 
 I powered up it again and now it is stateful (no snapshot)
 VM TestPoolMan-1 was started by c.mamm...@apra.it (Host: kvm02).
 
 So it's like the first time a user starts a vm in a manual pool it is
 stateless and from the second start it becomes stateful...

no, there is a bug in 3.5 regarding manual pools loosing the stateless snapshot 
on shutdown:
Bug 1239153 - Stateless VM snapshot gets deleted when user shuts down VM in a 
Manual Pool type
it is fixed for 3.6, we're considering backporting the fix to 3.5.5

in addition, important to understand that if vm is started from admin portal,
regardless to pool-type (auto/manual), it is started as statefull (no snapshot) 
and any change (including sysprep) is saved.
note also that when starting pool vm from admin, it doesnt assigned with 
permission to any user..
only when vm started from user portal (or pre-started) it will be stateless, 
and the user that started the vm will get the permission to this vm.

 ___
 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] Question about manual pools and statefulness

2015-07-25 Thread Cristian Mammoli
Hi, as far as I understand Manual Pools should be stateful as long as 
the admin does not return the vm to the pool (removing the permissions).

In my test lab I did the following:
Created Windows template
Sysprep and Shutdown
Configured a manual pool with the above template
Configure Initial run with domain membership and so on
Assigned permissions to the pool

Logged in in the user portal and launched my pool
The vm starts up but in the admin portal I see the vm has a Stateless 
snapshot (read-only)

VM TestPoolMan-1 was restarted on Host kvm02 as stateless

Then in the user portal I shut down the vm and the stateless snapshot is 
removed
VM TestPoolMan-1 is down. Exit message: User shut down from within the 
guest


I powered up it again and now it is stateful (no snapshot)
VM TestPoolMan-1 was started by c.mamm...@apra.it (Host: kvm02).

So it's like the first time a user starts a vm in a manual pool it is 
stateless and from the second start it becomes stateful...

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


[ovirt-users] Question about manual pools and statefulness

2015-07-24 Thread Cristian Mammoli
Hi, as far as I understand Manual Pools should be stateful as long as 
the admin does not return the vm to the pool (removing the permissions).

In my test lab I did the following:
Created Windows template
Sysprep and Shutdown
Configured a manual pool with the above template
Configure Initial run with domain membership and so on
Assigned permissions to the pool

Logged in in the user portal and launched my pool
The vm starts up but in the admin portal I see the vm has a Stateless 
snapshot (read-only)

VM TestPoolMan-1 was restarted on Host kvm02 as stateless

Then in the user portal I shut down the vm and the stateless snapshot is 
removed
VM TestPoolMan-1 is down. Exit message: User shut down from within the 
guest


I powered up it again and now it is stateful (no snapshot)
VM TestPoolMan-1 was started by c.mamm...@apra.it (Host: kvm02).

So it's like the first time a user starts a vm in a manual pool it is 
stateless and from the second start it becomes stateful...

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