Re: [ovirt-users] [ovirt 3.5.4] cannot clone vm after updating to 3.5.4

2015-09-21 Thread Omer Frenkel
On Mon, Sep 21, 2015 at 1:58 PM, wodel youchi 
wrote:

> Hi all,
>
> We have o hosted-engine deployment with two hypervisors and iscsi for VMS
> and NFS4 for the VM engine + ISO + Export.
>
>
> Yesterday we did an update from ovirt 3.5.3 to 3.5.4 along with OS updates
> for the hypervisors and the VM engine.
>
> After that we are unable to clone VMs, the task does not finish.
>
> We have this in vdsmd log
>
> Thread-38::DEBUG::2015-09-21
> 11:50:42,374::libvirtconnection::143::root::(wrapper) Unknown libvirterror:
> ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata
> element is not present
> Thread-66::DEBUG::2015-09-21
> 11:50:43,721::libvirtconnection::143::root::(wrapper) Unknown libvirterror:
> ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata
> element is not present
> Thread-67::DEBUG::2015-09-21
> 11:50:44,189::libvirtconnection::143::root::(wrapper) Unknown libvirterror:
> ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata
> element is not present
>
>
>
> vdsm-python-4.16.26-0.el7.centos.noarch
> vdsm-4.16.26-0.el7.centos.x86_64
> vdsm-xmlrpc-4.16.26-0.el7.centos.noarch
> vdsm-yajsonrpc-4.16.26-0.el7.centos.noarch
> vdsm-jsonrpc-4.16.26-0.el7.centos.noarch
> vdsm-cli-4.16.26-0.el7.centos.noarch
> vdsm-python-zombiereaper-4.16.26-0.el7.centos.noarch
>
>
> libvirt-daemon-driver-qemu-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-kvm-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-1.2.8-16.el7_1.4.x86_64
> libvirt-python-1.2.8-7.el7_1.1.x86_64
> libvirt-daemon-driver-secret-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-driver-network-1.2.8-16.el7_1.4.x86_64
> libvirt-lock-sanlock-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-driver-interface-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.4.x86_64
> libvirt-daemon-driver-storage-1.2.8-16.el7_1.4.x86_64
> libvirt-client-1.2.8-16.el7_1.4.x86_64
>
>
>
> Thanks in advance
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
​please share engine log of the clone operaion​
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 3.5.3.1 - Clone_VM Process deleted Source-VM and the the Clone-VM does not contain any disk anymore

2015-08-30 Thread Omer Frenkel
On Fri, Aug 28, 2015 at 3:07 PM, Christian Rebel christian.re...@gmx.at
wrote:

 Dear all,



 I have started a Clone_VM over the GUI, but now the Source-VM has been
 deleted and the Target-VM does not contain any disk!

 The Task is displaying that “Copying Image” and “ Finalize” has been
 failed, I hope there is a way to restore the VM somehow – please help me…




​this bug was fixed in 3.5.4:
​*Bug 1236608* https://bugzilla.redhat.com/show_bug.cgi?id=1236608 - Source
VM is deleted after failed cloning attempt

unfortunately there is no easy way to recover this vm, first check if the
disk are somehow still in the storage (maybe the copy went through and the
dest disk is there):
disk 1:
src -
/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/6281b597-020d-4ea7-a954-bb798a0ca4f1/

dst -
/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/e64d7be5-7643-4ba1-b347-80c923f130e6


​disk 2:
src -
​/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/e7e99288-ad83-406e-9cb6-7a5aa443de9b

dst -
/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/7f5dd048-048f-49c1-9589-c935fcdccfdd

​if the disks are there, maybe it would be possible to recover them
manually using the image uploader ​
​


From the Logfile:



 2015-08-28 12:47:20,950 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (DefaultQuartzScheduler_Worker-7) Correlation ID: null, Call Stack: null,
 Custom Event ID: -1, Message: VM Katello is down. Exit message: User shut
 down from within the guest

 2015-08-28 12:47:20,955 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-7) VM Katello
 (9013e3c2-3cd7-4eae-a3e6-f5e83a64db87) is running in db and not running in
 VDS itsatltovirtaio.domain.local

 2015-08-28 12:47:20,957 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
 (DefaultQuartzScheduler_Worker-7) START, FullListVdsCommand(HostName =
 itsatltovirtaio.domain.local, HostId =
 b783a2ee-4a63-46ca-9afc-b3b74f0e10ce,
 vds=Host[itsatltovirtaio.domain.local,b783a2ee-4a63-46ca-9afc-b3b74f0e10ce],
 vmIds=[9013e3c2-3cd7-4eae-a3e6-f5e83a64db87]), log id: 39590448

 2015-08-28 12:47:20,966 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
 (DefaultQuartzScheduler_Worker-7) FINISH, FullListVdsCommand, return: [],
 log id: 39590448

 2015-08-28 12:47:21,046 INFO
 [org.ovirt.engine.core.bll.ProcessDownVmCommand]
 (org.ovirt.thread.pool-8-thread-17) [82bee5d] Running command:
 ProcessDownVmCommand internal: true.

 2015-08-28 12:47:24,589 INFO
 [org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
 (DefaultQuartzScheduler_Worker-3) Polling and updating Async Tasks: 2
 tasks, 2 tasks to poll now

 2015-08-28 12:47:24,600 INFO
 [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
 (DefaultQuartzScheduler_Worker-3) SPMAsyncTask::PollTask: Polling task
 037b2c85-68d2-4159-8310-91c472038b5b (Parent Command
 ProcessOvfUpdateForStorageDomain, Parameters Type
 org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned
 status finished, result 'success'.

 2015-08-28 12:47:24,603 INFO
 [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
 (DefaultQuartzScheduler_Worker-3) BaseAsyncTask::onTaskEndSuccess: Task
 037b2c85-68d2-4159-8310-91c472038b5b (Parent Command
 ProcessOvfUpdateForStorageDomain, Parameters Type
 org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
 successfully.

 2015-08-28 12:47:24,604 INFO
 [org.ovirt.engine.core.bll.CommandMultiAsyncTasks]
 (DefaultQuartzScheduler_Worker-3) Task with DB Task ID
 0e6a6d72-0cea-41aa-8fe9-9262bc53d558 and VDSM Task ID
 cd125365-3344-4f45-b67a-39c2fa5112ab is in state Polling. End action for
 command e9edfed0-915a-4534-b774-c07682bafa59 will proceed when all the
 entitys tasks are completed.

 2015-08-28 12:47:24,605 INFO
 [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
 (DefaultQuartzScheduler_Worker-3) SPMAsyncTask::PollTask: Polling task
 cd125365-3344-4f45-b67a-39c2fa5112ab (Parent Command
 ProcessOvfUpdateForStorageDomain, Parameters Type
 org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned
 status finished, result 'success'.

 2015-08-28 12:47:24,606 INFO
 [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
 (DefaultQuartzScheduler_Worker-3) BaseAsyncTask::onTaskEndSuccess: Task
 cd125365-3344-4f45-b67a-39c2fa5112ab (Parent Command
 ProcessOvfUpdateForStorageDomain, Parameters Type
 org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
 successfully.

 2015-08-28 12:47:24,606 INFO
 [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
 (DefaultQuartzScheduler_Worker-3) CommandAsyncTask::endActionIfNecessary:
 All tasks of command e9edfed0-915a-4534-b774-c07682bafa59 has ended -
 executing endAction

 2015-08-28 12:47:24,607 INFO
 [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
 (DefaultQuartzScheduler_Worker-3) 

Re: [ovirt-users] Feature request: add stateless option in VM pool configuration

2015-08-26 Thread Omer Frenkel
maybe can you explain more about your use-case?
in general vms in vm-pool are all stateless,
they are meant to be used by users from user portal,
that 'take a vm from pool', use it for anything, and when 'returned to pool'
the state is wiped.

currently there is no way for admin to take vms from the web admin

On Sat, Aug 22, 2015 at 2:12 AM, Steve Dainard sdain...@spd1.com wrote:

 I should also mention that I can't start multiple pool VM's at the
 same time with run-once from the admin portal, so I'd have to
 individually run once each VM which is a member of the pool.


​vm-pool has option for 'pre-started' vms, you can set amount of vms that
will be running and ready to be taken by users, this helps?​



 On Fri, Aug 21, 2015 at 3:57 PM, Steve Dainard sdain...@spd1.com wrote:
  I'd like to request a setting in VM pools which forces the VM to be
 stateless.
 
  I see from the docs this will occur if selected under run once, or
  started from the user portal, but it would be nice to set this for a
  normal admin start of the VM(s) as well.
 ___
 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] vm status

2015-08-26 Thread Omer Frenkel
On Tue, Aug 25, 2015 at 8:33 AM, Michael Wagenknecht wagenkne...@fuh-e.de
wrote:

 Hi all,
 how can I mark a VM as shut down when the status of the VM is ??
 There is no qemu-kvm process for this VM on the node.
 But I can't set the node to maintenance mode, because there is a very
 important VM running.

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



​usually vms are in 'unknown' state when the host is 'non-responsive' and
the engine cannot determine the real status of the vm.

what is the current status of the host?​
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] live migration

2015-08-17 Thread Omer Frenkel
On Sun, Aug 16, 2015 at 10:31 PM, Demeter Tibor tdeme...@itsmart.hu wrote:

 Hi,

 I reinstalled one of my nodes (node1) because I have to replace my hdds.
 I installed centos 6.6 minimal, but on node re-adding procecure it
 installed newer qemu-kvm-rhev packages.
 Since reinstall I can run VMs on this node and I can do live migrate from
 this node to other, but not backwards.
 I remember, maybe one years ago it was required to install redhat's
 version of qemu-kvm-rhve package for this feature.
 Is it necessary yet?
 my versions:

 node0 KVM: 0.12.1.2 - 2.415.el6_5.14, LIBVIRT: libvirt-0.10.2-46.el6_6.1
 node1 KVM: 0.12.1.2 - 2.448.el6_6.4, LIBVIRT: libvirt-0.10.2-54.el6
 node2 KVM: 0.12.1.2 - 2.448.el6_6.4, LIBVIRT: libvirt-0.10.2-46.el6_6.1

 Can I upgrade manual these hosts?
 I haven't restart my hosts because node0 and node2 is gluster replicate.


 Thanks in advance,
 Tibor
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users



​not sure about the versions,
but what is the error you see in source host vdsm.log when migration fails?​
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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] Pool with latest template does not sysprep when rebased

2015-07-27 Thread Omer Frenkel


- Original Message -
 From: Cristian Mammoli c.mamm...@apra.it
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, July 27, 2015 1:28:42 PM
 Subject: Re: [ovirt-users] Pool with latest template does not sysprep when 
 rebased
 
  the new template has the sysprep fields filled correctly?
 Well, for the first template I used the initial run section in the
 pool options, not in the template ones. Anyway I tried to fill the new
 template options with the correct settings but it did not sysprep.
 I can use run once as admin to make the rebased vm sysprep but that
 would mean to run them one by one...
  do you see any error in the log?
  can you attach the engine.log for the time user takes vm from pool?
 
 Here it is
 
 2015-07-27 12:15:16,807 INFO
 [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] Lock Acquired to object EngineLock
 [exclusiveLocks= key: d69d8d20-68b7-4fed-9c08-5c2ecb257583 value:
 USER_VM_POOL
 , sharedLocks= ]
 2015-07-27 12:15:16,893 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] START,
 IsVmDuringInitiatingVDSCommand( vmId =
 bc628809-6018-48d9-a0d0-793d8e2ae60b), log id: 3c0ac499
 2015-07-27 12:15:16,895 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] FINISH,
 IsVmDuringInitiatingVDSCommand, return: false, log id: 3c0ac499
 2015-07-27 12:15:16,948 INFO
 [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] Running command:
 AttachUserToVmFromPoolAndRunCommand internal: false. Entities affected
 :  ID: e4c8cd94-a75d-4838-80ff-f311e611aad5 Type: VmPoolAction group
 VM_POOL_BASIC_OPERATIONS with role type USER
 2015-07-27 12:15:16,989 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] START,
 IsVmDuringInitiatingVDSCommand( vmId =
 bc628809-6018-48d9-a0d0-793d8e2ae60b), log id: 62940db1
 2015-07-27 12:15:16,990 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [4ae1c9cd] FINISH,
 IsVmDuringInitiatingVDSCommand, return: false, log id: 62940db1
 2015-07-27 12:15:17,020 INFO
 [org.ovirt.engine.core.bll.AddPermissionCommand]
 (ajp--127.0.0.1-8702-10) [37aaec5a] Running command:
 AddPermissionCommand internal: true. Entities affected :  ID:
 bc628809-6018-48d9-a0d0-793d8e2ae60b Type: VMAction group
 MANIPULATE_PERMISSIONS with role type USER
 2015-07-27 12:15:17,032 INFO
 [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand]
 (ajp--127.0.0.1-8702-10) [37aaec5a] Succceeded giving user
 d69d8d20-68b7-4fed-9c08-5c2ecb257583 permission to Vm
 bc628809-6018-48d9-a0d0-793d8e2ae60b
 2015-07-27 12:15:17,052 INFO [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-10) [65308fd0] Lock Acquired to object EngineLock
 [exclusiveLocks= key: bc628809-6018-48d9-a0d0-793d8e2ae60b value: VM
 , sharedLocks= ]
 2015-07-27 12:15:17,124 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [65308fd0] START,
 IsVmDuringInitiatingVDSCommand( vmId =
 bc628809-6018-48d9-a0d0-793d8e2ae60b), log id: 6d6561c
 2015-07-27 12:15:17,126 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-10) [65308fd0] FINISH,
 IsVmDuringInitiatingVDSCommand, return: false, log id: 6d6561c
 2015-07-27 12:15:17,177 INFO [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-10) [65308fd0] Running command: RunVmCommand
 internal: true. Entities affected :  ID:
 bc628809-6018-48d9-a0d0-793d8e2ae60b Type: VMAction group
 VM_BASIC_OPERATIONS with role type USER
 2015-07-27 12:15:17,185 INFO [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-10) [65308fd0] Creating stateless snapshot for VM
 TestPoolAuto-1 (bc628809-6018-48d9-a0d0-793d8e2ae60b)
 2015-07-27 12:15:17,245 INFO
 [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
 (ajp--127.0.0.1-8702-10) Command 01824f40-86e8-4116-a8c3-f67f20e2e351
 persisting async task placeholder for child command
 1359dec2-5257-466d-a612-fb78b424d1b5
 2015-07-27 12:15:17,280 INFO
 [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
 (ajp--127.0.0.1-8702-10) Running command:
 CreateAllSnapshotsFromVmCommand internal: true. Entities affected : ID:
 bc628809-6018-48d9-a0d0-793d8e2ae60b Type: VMAction group
 MANIPULATE_VM_SNAPSHOTS with role type USER
 2015-07-27 12:15:17,316 INFO
 [org.ovirt.engine.core.bll.CreateSnapshotCommand]
 (ajp--127.0.0.1-8702-10) [44c90b11] Running command:
 CreateSnapshotCommand internal: true. Entities affected :  ID:
 ---- Type: Storage
 2015-07-27 12:15:17,320 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand]
 (ajp--127.0.0.1-8702-10) [44c90b11] START, CreateSnapshotVDSCommand(
 storagePoolId = 0002-0002-0002-0002-005e

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


Re: [ovirt-users] Pool with latest template does not sysprep when rebased

2015-07-26 Thread Omer Frenkel


- Original Message -
 From: Cristian Mammoli c.mamm...@apra.it
 To: users@ovirt.org
 Sent: Friday, July 24, 2015 11:09:55 AM
 Subject: [ovirt-users] Pool with latest template does not sysprep when  
 rebased
 
 Hi again
 I created an automatic pool with a Win 7 template and Template sub
 version set to latest
 In the Pool I configured sysprep with domain membership and such
 I started the vms from the admin portal to make them sysprep then shutdown
 
 Then I created another template and set it to be a subversion of the
 above template.
 The vms in the pool get rebased but If I go in the pool options the
 sysprep configuration is gone (unflagged) and there is no way to
 re-enable it.
 If I login as a user and start one of the vms in the pool it does not
 sysprep and does not join the vm to the domain...
 
 What am I missing??

the new template has the sysprep fields filled correctly?
do you see any error in the log?
can you attach the engine.log for the time user takes vm from pool?
please note that if vm was started from admin before it was started from user 
portal,
it was started in stateful mode and sysprep will be marked as done, and will 
not happen again..

 ___
 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] Cannot run specific VM in one node

2015-07-21 Thread Omer Frenkel


- Original Message -
 From: Diego Remolina dijur...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Users@ovirt.org
 Sent: Tuesday, July 21, 2015 12:48:31 AM
 Subject: Re: [ovirt-users] Cannot run specific VM in one node
 
 Well... never mind..., after leaving the VM running in the other host
 for a few days, today I shut it down today, then attempted to start it
 back in ysmha02 and it booted up just fine. I was gonna collect more
 logs, but seems like the issue cleared itself so I guess no point in
 looking at this issue anymore.
 
 Diego

sorry for the slow response, i was out for couple of days..

im happy it is fixed for you, i did look at the logs anyway, i can see that:
first vm was migrating for a long time and during this time it jumped between 
not-responding/paused/migrating-from  statuses
after 7 mins, there was an attempt to cancel the migration that failed with 
Timed out during operation: cannot acquire state change lock, code = -32603
then multiple attempts to stop the vm that also fails ( in vdsm log i can see 
one is: 
libvirtError: Failed to terminate process 12479 with SIGTERM: Device or 
resource busy
also an attempt to resume the vm (when it was paused for some time) also fails 
with 
Timed out during operation: cannot acquire state change lock, code = -32603

then vdsm restarted and the vm was finally down, but somehow libvirt still 
thinks the vm is running on this host,
because on start we get:
libvirtError: Requested operation is not valid: domain 'ysmad02' is already 
active

i assume that restarting vdsm+libvirt cleared this funky state so now it works
i wonder about the error that started all this (cannot acquire state change 
lock) not sure if related to any storage issue maybe?
i cannot see this in the vdsm log because it starts after the issue.


 
 On Mon, Jul 20, 2015 at 7:58 AM, Diego Remolina dijur...@gmail.com wrote:
  Omer et all,
 
  I had uploaded the logs to:
 
  https://www.dropbox.com/s/yziky6f9nk3e8aw/engine.log.xz?dl=0
  https://www.dropbox.com/s/qsweiizwxk37qzg/vdsm.log.4.xz?dl=0
 
  Do you have any recommendations for me or need me to provide more info?
 
  I will be able to re-run and experiment with this in the evening, so I
  can collect specific logs with times, etc if you have something in
  particular you want me to try.
 
  Diego
 
  On Thu, Jul 16, 2015 at 8:20 AM, Diego Remolina dijur...@gmail.com wrote:
  These are the links to the files, if there is other better/preffered
  way to post them, let me know:
 
  https://www.dropbox.com/s/yziky6f9nk3e8aw/engine.log.xz?dl=0
  https://www.dropbox.com/s/qsweiizwxk37qzg/vdsm.log.4.xz?dl=0
 
  A bit more of an explanation on the infrastructure:
 
  I have two virtualization/storage servers, ysmha01 and ysmha02 running
  Ovirt hosted engine on top of glusterfs storage. I have two Windows
  server vms called ysmad01 and ysmad02. The current problem is that
  ysmad02 will *not* start on ysmha02 any more.
 
 
  Timeline
 
  My problems started at around 8:30PM 7/15/2015 when migrating
  everything to ysmha01 after having patched and rebooted the server.
 
  I got things back up at around 10:30PM after rebooting servers, etc.
  The hosted engine running on ysmha02. I got ysmad01 running on
  ysmha01, but ysmad02 just would not start at all on ysmha02. I did a
  run once and set ysmad02 to start on ysmha01 and that works.
 
  When attempting to start or migrate ysmad02 on ysmha02, if I do a
  virsh -r list on ysmha02, I just see the state as: Shut off and the
  VM just does not run on that hypervisor.
 
  Diego
 
 
 
  On Thu, Jul 16, 2015 at 3:01 AM, Omer Frenkel ofren...@redhat.com wrote:
 
 
  - Original Message -
  From: Diego Remolina dijur...@gmail.com
  To: Users@ovirt.org
  Sent: Thursday, July 16, 2015 7:45:43 AM
  Subject: [ovirt-users] Cannot run specific VM in one node
 
  Hi,
 
  Was wondering if I can get some help with this particular situation. I
  have two ovirt cluster nodes. I had a VM running in node2 and tried to
  move it to node1. The move failed and the machine was created and
  paused in both nodes. I tried stopping migration, shutting down the
  machine, etc but none of that worked.
 
  So I decided to simply look for the process number and I killed it for
  that VM. After that, I was not able to get the VM to run in any of the
  nodes, so I rebooted them both.
 
  At this point, the vm will *not* start in node2 at all. When I try to
  start it, it just sits there and if I do:
 
  virsh -r list
 
  from the command line, the output says the vm state is shut off.
 
  I am able to user Run Once to fire up the VM in node 1, but I cannot
  migrate it to node2.
 
  How can I clear this problematic state for node 2?
 
  please attach engine + vdsm logs for the time of the failure
 
 
  Thanks,
 
  Diego
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users

Re: [ovirt-users] Cannot run specific VM in one node

2015-07-16 Thread Omer Frenkel


- Original Message -
 From: Diego Remolina dijur...@gmail.com
 To: Users@ovirt.org
 Sent: Thursday, July 16, 2015 7:45:43 AM
 Subject: [ovirt-users] Cannot run specific VM in one node
 
 Hi,
 
 Was wondering if I can get some help with this particular situation. I
 have two ovirt cluster nodes. I had a VM running in node2 and tried to
 move it to node1. The move failed and the machine was created and
 paused in both nodes. I tried stopping migration, shutting down the
 machine, etc but none of that worked.
 
 So I decided to simply look for the process number and I killed it for
 that VM. After that, I was not able to get the VM to run in any of the
 nodes, so I rebooted them both.
 
 At this point, the vm will *not* start in node2 at all. When I try to
 start it, it just sits there and if I do:
 
 virsh -r list
 
 from the command line, the output says the vm state is shut off.
 
 I am able to user Run Once to fire up the VM in node 1, but I cannot
 migrate it to node2.
 
 How can I clear this problematic state for node 2?

please attach engine + vdsm logs for the time of the failure

 
 Thanks,
 
 Diego
 ___
 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] Problem to start VMs on ovirt

2015-07-16 Thread Omer Frenkel


- Original Message -
 From: Miguel Angel Costas migacos2...@gmail.com
 To: users@ovirt.org
 Sent: Monday, July 13, 2015 3:00:33 PM
 Subject: [ovirt-users] Problem to start VMs on ovirt
 
 Dear,
 
 I have implemented the lastest version of Ovirt (Centos 6), and every time I
 want to start a VM appear this message VM lalala is down with error. Exit
 message: internal error Cannot parse sensitivity level in s0.
 
 I tried to find the error on Internet and Blogs but I can't find the
 solutions. Could you help me to solve the problem???
 

please attach engine + vdsm logs for the time of the failure

 Best Regards
 
 ___
 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] Concerns with increasing vdsTimeout value on engine?

2015-07-12 Thread Omer Frenkel


- Original Message -
 From: Liron Aravot lara...@redhat.com
 To: Ryan Groten ryan.gro...@stantec.com
 Cc: users@ovirt.org
 Sent: Sunday, July 12, 2015 5:44:28 PM
 Subject: Re: [ovirt-users] Concerns with increasing vdsTimeout value on 
 engine?
 
 
 
 - Original Message -
  From: Ryan Groten ryan.gro...@stantec.com
  To: users@ovirt.org
  Sent: Friday, July 10, 2015 10:45:11 PM
  Subject: [ovirt-users] Concerns with increasing vdsTimeout value on engine?
  
  
  
  When I try to attach new direct lun disks, the scan takes a very long time
  to
  complete because of the number of pvs presented to my hosts (there is
  already a bug on this, related to the pvcreate command taking a very long
  time - https://bugzilla.redhat.com/show_bug.cgi?id=1217401 )
  
  
  
  I discovered a workaround by setting the vdsTimeout value higher (it is 180
  seconds by default). I changed it to 300 seconds and now the direct lun
  scan
  returns properly, but I’m hoping someone can warn me if this workaround is
  safe or if it’ll cause other potential issues? I made this change yesterday
  and so far so good.
  
 
 Hi, no serious issue can be caused by that.
 Keep in mind though that any other operation will have that amount of time to
 complete before failing on timeout - which will
 cause delays before failing (as the timeout was increased for all executions)
 when not everything is operational and up as expected (as in most of the
 time).
 I'd guess that a RFE could be opened to allow increasing the timeout of
 specific operations if a user want to do that.
 
 thanks,
 Liron.
  

if you have HA vms and use power management (fencing),
this might cause longer downtime for HA vms if host has network timeouts:
the engine will wait for 3 network failures before trying to fence the host,
so in case of timeouts, and increasing it to 5mins, 
you should expect 15mins before engine will decide host is non-responsive and 
fence,
so if you have HA vm on this host, this will be the vm downtime as well,
as the engine will restart HA vms only after fencing.

you can read more on
http://www.ovirt.org/Automatic_Fencing

  
  Thanks,
  
  Ryan
  
  ___
  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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] macspoof custom property lost after restore from snapshot

2015-07-06 Thread Omer Frenkel


- Original Message -
 From: Yedidyah Bar David d...@redhat.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Monday, July 6, 2015 4:26:31 PM
 Subject: [ovirt-users] macspoof custom property lost after restore from   
 snapshot
 
 Hi all,
 
 Using current nightly build of the 3.5 branch:
 
 * Had a vm
 * Powered it off
 * Edited and set macspoof=true
 * Created a snapshot
 * Previewed that snapshot
 * Committed
 * Checked custom properties - macspoof is not set
 
 Known issue?
 

yes, should be fixed in 3.6 by
Bug 1218973 - [SAP] Adding a custom property to a running vm causes all 
previously defined properties to be removed
https://bugzilla.redhat.com/show_bug.cgi?id=1218973

 Should I open a bug?
 
 What logs/etc should I attach?
 
 Thanks,
 --
 Didi
 ___
 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] Lower CPU for specific VMs

2015-06-24 Thread Omer Frenkel


- Original Message -
 From: Joop jvdw...@xs4all.nl
 To: users@ovirt.org
 Sent: Wednesday, June 24, 2015 10:40:04 AM
 Subject: Re: [ovirt-users] Lower CPU for specific VMs
 
 On 24-6-2015 9:35, Ian Fraser wrote:
  Hi,
 
  How do I set the CPU for a particular VM to be a lower family than the
  cluster is set to?
 

using ovirt 3.6 you can do it from the UI,
just edit vm and select the cpu model you like
(in edit vm dialog - under 'System' subtab, 'Advanced Parameters'

http://www.ovirt.org/Features/Cluster_parameters_override

 You'll need to write a vdsm-hook script which manipulates the xml that
 is used to set a lower cpu.
 
 Regards,
 
 Joop
 
 ___
 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] Remove default cluster

2015-06-07 Thread Omer Frenkel


- Original Message -
 From: Nicolas Ecarnot nico...@ecarnot.net
 To: Users@ovirt.org
 Sent: Friday, June 5, 2015 3:48:11 PM
 Subject: [ovirt-users] Remove default cluster
 
 Hello,
 
 I finished upgrading a 3.5.1 DC that contained some CentOS 6.6 hosts.
 For that, I added a second cluster in which I progressively moved my
 upgraded hosts into CentOS 7.
 
 Now my old cluster is empty, and the new one contains my CentOS 7 hosts.
 
 I'd like to get rid of the old empty cluster, but when trying to delete
 it, oVirt explains that some template are still used in this cluster.
 Actually, I have only the default blank template and another custom one.
 Once the custom one has easily been moved, I have no way to move the
 blank one because every action is greyd out.
 
 I guess no one will tell me to play with psql... :)
 

no.. just wait for 3.6 :)

in 3.6 the blank template is not associated with a cluster:
Bug 1145002 - When Default datacenter deleted, cannot remove Default cluster or 
associated template


 --
 Nicolas ECARNOT
 ___
 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] how to delete the default cluster?

2015-05-11 Thread Omer Frenkel


- Original Message -
 From: Nathanaël Blanchet blanc...@abes.fr
 To: users@ovirt.org
 Cc: Michaël Couren cou...@abes.fr
 Sent: Monday, May 11, 2015 11:07:35 AM
 Subject: [ovirt-users] how to delete the default cluster?
 
 Hello,
 I'd like to remove the default cluster, but engine refuses telling me
 that the blank template is associated to it. The problem is that all my
 vms (nearly 200) are created on the base of that template, so I can't
 first remove it.
 Is there a workaround to do this?

in 3.6 the blank template is not associated with a cluster:
Bug 1145002 - When Default datacenter deleted, cannot remove Default cluster or 
associated template

 
 --
 Nathanaël Blanchet
 
 Supervision réseau
 Pôle Infrastrutures Informatiques
 227 avenue Professeur-Jean-Louis-Viala
 34193 MONTPELLIER CEDEX 5
 Tél. 33 (0)4 67 54 84 55
 Fax  33 (0)4 67 54 84 14
 blanc...@abes.fr
 
 ___
 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 fails to import Windows 8 2012 VM's using virt-v2v-1.28.1-1.28

2015-05-11 Thread Omer Frenkel


- Original Message -
 From: Tim Macy mac...@gmail.com
 To: users users@ovirt.org
 Sent: Monday, May 11, 2015 4:21:16 PM
 Subject: [ovirt-users] Ovirt fails to import Windows 8  2012 VM's using  
 virt-v2v-1.28.1-1.28
 
 I am unable to import VM's migrated with virt-v2v-1.28.1-1.28.el7.x86_64 /
 libguestfs-1.28.1-1.28.el7.x86_64. There is a virt-v2v bug on this, but it
 is identified as a oVirt issue -
 https://bugzilla.redhat.com/show_bug.cgi?id=1213701
 
 Is there a scheduled release/fix for this issue?

as stated in that bug, ovirt will allow spice for win8 and above in 3.6
Bug 1211231 - [RFE] enable SPICE/QXL support for Windows 8/2012 even without 
the QXL drivers

then import should succeed

as a workaround, you can add the support manually
http://www.ovirt.org/OS_info#value_overriding

 
 Thank you,
 Tim Macy
 
 ___
 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] Maximum VM memory

2015-05-10 Thread Omer Frenkel


- Original Message -
 From: Christophe TREFOIS christophe.tref...@uni.lu
 To: users@ovirt.org
 Sent: Sunday, May 10, 2015 3:17:12 PM
 Subject: [ovirt-users] Maximum VM memory
 
 Dear ovirt users,
 
 We have a special machine which has 1 TB RAM.
 
 The idea is to have 3-4 VMs on there which should be split like 85/5/5/5 % of
 total RAM.
 
 I have three questions:
 
 1. Is there any reason not to put up a VM with so much RAM
 

i don't think there is a problem with that

 2. How can I increase the maximum RAM size for 64 bit VMs?
 

i dont think you need to increase the maximum,
max ram for 64bit os should be ok for your case with any cluster with 
compatibility of 3.1 and above (2TiB):
$ engine-config --get VM64BitMaxMemorySizeInMB
VM64BitMaxMemorySizeInMB: 524288 version: 3.0
VM64BitMaxMemorySizeInMB: 2097152 version: 3.1
VM64BitMaxMemorySizeInMB: 2097152 version: 3.2
VM64BitMaxMemorySizeInMB: 2097152 version: 3.3
VM64BitMaxMemorySizeInMB: 4096000 version: 3.4
VM64BitMaxMemorySizeInMB: 4096000 version: 3.5
VM64BitMaxMemorySizeInMB: 4194304 version: 3.6

 3. How can I create a new OS for the VM creation that supports  16 GB ?
 (Right now i have to choose RHEL 64 bits even for Debian systems)
 

please see [1] for customizing guest os information.
please note this bug [2]:
Bug 1218531 - Setting Other OS is default 32bit instead of 64bit and causes 
incorrect RAM size limit of 16GB for 64bit OS. 

should be part of ovirt 3.5.3 where the we change most OS to be 64bit by default
so most linux distros will be considered 64bit (Linux, debian 7, suse, ubuntu..)

[1] http://www.ovirt.org/OS_info#value_overriding
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1218531
 
 Thank you for your help,
 
 —
 Christophe
 
 
 
 
 
 ___
 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] Can't export template with 3.5.1

2015-04-06 Thread Omer Frenkel


- Original Message -
 From: Bob Doolittle b...@doolittle.us.com
 To: users-ovirt users@ovirt.org
 Sent: Monday, April 6, 2015 2:05:10 AM
 Subject: Re: [ovirt-users] Can't export template with 3.5.1
 
 No suggestions? This seems pretty basic. Any input would be appreciated.
 
 Thanks,
 Bob

the cause is that for some reason vdsm thinks the image doesn't exist,
i think it looks for it on the dest storage before the copy started..?
maybe someone from the storage could help here...


call for getVolumeInfo with the same image id, on src storage just before the 
copy request
Thread-24222::DEBUG::2015-03-26 
13:06:51,189::__init__::500::jsonrpc.JsonRpcServer::(_serveRequest) Return 
'Volume.getInfo' in bridge with {'status': 'OK', 'domain': 
'81d75e8f-dcac-439b-9107-110eb4392425', 'volt
ype': 'SHARED', 'description': 'Active VM', 'parent': 
'----', 'format': 'RAW', 'image': 
'8dabd35a-1bf0-4445-9182-19b9e90dcd84', 'ctime': '1427389373', 'disktype': '2', 
'legality':
 'LEGAL', 'allocType': 'SPARSE', 'mtime': '0', 'apparentsize': '21474836480', 
'children': [], 'pool': '', 'capacity': '21474836480', 'uuid': 
u'036800fe-220b-46b8-a30e-ef3302fcf257', 'truesize': '7800082432', 'ty
pe': 'SPARSE'}

call for copy with the right src/dst storage
Thread-24225::DEBUG::2015-03-26 
13:06:51,580::__init__::469::jsonrpc.JsonRpcServer::(_serveRequest) Calling 
'Volume.copy' in bridge with {u'preallocate': 2, u'volFormat': 5, u'volType': 
6, u'dstImgUUID': u'8dabd35a-1bf0-4445-9182-19b9e90dcd84', u'dstVolUUID': 
u'036800fe-220b-46b8-a30e-ef3302fcf257', u'dstSdUUID': 
u'b20fd7d9-0e75-43b0-9203-df3dd7630738', u'volumeID': 
u'036800fe-220b-46b8-a30e-ef3302fcf257', u'imageID': 
u'8dabd35a-1bf0-4445-9182-19b9e90dcd84', u'postZero': u'false', 
u'storagepoolID': u'0002-0002-0002-0002-0270', u'storagedomainID': 
u'81d75e8f-dcac-439b-9107-110eb4392425', u'force': u'false', u'desc': u''}


then the image is not found on the dst sd:
c50cc0bb-5ec7-445f-99e6-e413e3e2ee34::ERROR::2015-03-26 
13:06:51,933::image::748::Storage.Image::(copyCollapsed) Unexpected error
Traceback (most recent call last):
  File /usr/share/vdsm/storage/image.py, line 730, in copyCollapsed
srcVolUUID=volume.BLANK_UUID)
  File /usr/share/vdsm/storage/sd.py, line 430, in createVolume
preallocate, diskType, volUUID, desc, srcImgUUID, srcVolUUID)
  File /usr/share/vdsm/storage/volume.py, line 375, in create
imgPath = image.Image(repoPath).create(sdUUID, imgUUID)
  File /usr/share/vdsm/storage/image.py, line 126, in create
os.mkdir(imageDir)
OSError: [Errno 2] No such file or directory: 
'/rhev/data-center/0002-0002-0002-0002-0270/b20fd7d9-0e75-43b0-9203-df3dd7630738/images/8dabd35a-1bf0-4445-9182-19b9e90dcd84'



 
 On 03/26/2015 01:19 PM, Bob Doolittle wrote:
 
 
 I created template from a VM, which completed successfully.
 
 Now I am trying to export that template, and I get an error: Failed to
 complete copy of Template Centos6 to Domain xion2-tmpexport.
 
 Any suggestions? There is plenty of free space on disk.
 
 I have attached my VDSM log and my engine and server logs.
 
 I am using Fedora 20 for the (single) host and the self-hosted engine, oVirt
 3.5.1.1-1
 
 Thanks,
 Bob
 
 I've linked 2 files to this email:
 vdsm.log (20.6 MB) Dropbox https://db.tt/MEbYnz2Z
 engine.log (2.4 MB) Dropbox https://db.tt/13hMN54l
 Mozilla Thunderbird makes it easy to share large files over email.
 
 
 
 
 ___
 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] unable to remove cluster because of blank template

2015-04-05 Thread Omer Frenkel


- Original Message -
 From: Jorick Astrego j.astr...@netbulae.eu
 To: users@ovirt.org
 Sent: Friday, April 3, 2015 12:55:45 PM
 Subject: [ovirt-users] unable to remove cluster because of blank template
 
 Testing today ;-)
 
 How do I move/reassign the blank template.
 
 I have two clusters and wish to remove the first one that used to be the
 default cluster.
 
 I get the following message: Error while executing action: Cannot remove
 Cluster. One or more Template(s) are still associated with it
 
 When I check, I see the Blank template assigned but I'm unable to remove or
 edit this.
 
 

this is a known issue, fixed for 3.6
please see
Bug 1145002 - When Default datacenter deleted, cannot remove Default cluster or 
associated template
 https://bugzilla.redhat.com/show_bug.cgi?id=1145002

 
 
   
 Blank
   
   
   
 2008-Mar-31, 23:00
   
 OK
   
 Storage
   
 TEST
   
 Blank template
 
 
 
 Met vriendelijke groet, With kind regards,
 
 Jorick Astrego
 
 Netbulae Virtualization Experts
 
 Tel: 053 20 30 270i...@netbulae.euStaalsteden 4-3AKvK 
 08198180
   Fax: 053 20 30 271  www.netbulae.eu 7547 TA Enschede
 BTW NL821234584B01
 
 
 
 ___
 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] virtual machine does not boot from its hard disk

2015-04-05 Thread Omer Frenkel


- Original Message -
 From: Jason Keltz j...@cse.yorku.ca
 To: users@ovirt.org
 Sent: Thursday, April 2, 2015 9:41:45 PM
 Subject: Re: [ovirt-users] virtual machine does not boot from its hard disk
 
 This is not the problem because I can hit F12, choose the disk, and the
 machine boots fine.
 I *had* set the machine to PXE boot before hard disk, but after undoing that,
 the configuration seems to have held.
 
 Jason.
 On 04/02/2015 02:05 PM, shimano wrote:


is the disk marked as 'bootable'?
 
 
 
 Make sure that KickStart installed correct boot sector (on correct
 partition). For example boot Hiren's CD on VM and check that Grub trying to
 boot correct /boot partition and your /boot partition is active (bootable).
 
 
 2015-04-02 18:28 GMT+02:00 Jason Keltz  j...@cse.yorku.ca  :
 
 
 I have kickstarted my first CentOS 6 host under ovirt. When it boots, the VM
 tries to PXE boot again rather than going to the hard disk.
 
 If I look under Boot Options in my VM, there's only:
 
 * First Device: Hard Disk
 * Second Device: [None]
 
 If I Enable boot menu then I can Hit F12 when the machine boots and select
 the disk.
 
 I suspect this is a bug, or am I missing something?
 
 In addition, can you configure which of the network interface does PXE boot?
 or ovirt will always try all of them until it finds one that works? It would
 seem natural to me to have another column under Network Interfaces
 labelled PXE where you decide which of the interfaces have PXE enabled.
 
 Jason.
 
 
 ___
 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
 
 
 ___
 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] Snapshot issue

2015-04-01 Thread Omer Frenkel


- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
 Sent: Wednesday, April 1, 2015 7:53:03 AM
 Subject: Re: [ovirt-users] Snapshot issue
 
 Worked perfectly!!! BIG thanks Omer!!! All my VM's are back up. Nothing
 lost!
 
 SOLVED!!!

excellent :)

 
 2015-03-31 9:53 GMT+02:00 Omer Frenkel ofren...@redhat.com:
 
 
 
  - Original Message -
   From: Koen Vanoppen vanoppen.k...@gmail.com
   To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
   Sent: Tuesday, March 31, 2015 7:35:57 AM
   Subject: Re: [ovirt-users] Snapshot issue
  
   I just wanted to remove the snapshots in ovirt... That's all... And now
   they are locked. Without the possibility to remove, reboot the vm or
  cancel
   the snapshots...
   So I'm stuck... How can I change the status of the snapshot in the db, so
   that at least I can remove the VM? And what could be the impact , worst
   case?
  
 
  i thought you want to save the vm, then the worst case might be data
  corruption,
  in case something is really wrong with the snapshots and you try to run
  the vm.
 
  more optimistic, in case snapshot is missing in storage but not deleted in
  db,
  vm would fail to start, then you might be able to just delete the snapshot
  (again probably only manually in db)
  and recover completely.
 
  if you just want to delete the vm, worst case would be that you have to
  clear manually stuff from the db/storage
 
  if you decide to change the db, better to have a backup :)
  also, i would recommend making it when the engine is down.
 
  ok, so, first to get the info in the db:
  select snapshot_id,description,status from snapshots where status =
  'LOCKED' and vm_id in (select vm_guid from vm_static where vm_name='vm
  name here');
 
  just update it to be 'OK' :
  update snapshots set status = 'OK' where snapshot_id = 'snapshot id from
  previous query';
 
  also, check there are locked images related to this snapshot:
  select image_guid,imagestatus from images where vm_snapshot_id =
  'snapshot id from previous query' and imagestatus != 1;
 
  if so, need to unlock it as well:
  updates images set imagestatus = 1 where image_guid = 'id of images from
  previous query';
 
 
  let me know how it went
 
   Kind regards,
  
   2015-03-30 13:46 GMT+02:00 Omer Frenkel ofren...@redhat.com:
  
   
   
- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
 Sent: Monday, March 30, 2015 7:44:10 AM
 Subject: Re: [ovirt-users] Snapshot issue

 I can't even remove them... Something needs to be done... Any ideas?

   
not sure i understand what you tried?
the 'broken' snapshots are locked, so you can't remove them.
as i said, there is no easy and safe way to fix this...
you can try to change the status of the snapshot in the db - but i am
  not
sure what will happen!
   
 2015-03-25 8:45 GMT+01:00 Koen Vanoppen vanoppen.k...@gmail.com:

  Hi Omer,
 
  Thanks for your reply.
  I was cleaning our snapshots on oVirt. So I started deleting
  snapshots
one
  by one. In total in deleted 10 snapshots. 5 VM's came back up,
  without
the
  error message, the rest of them are still down with this error
  message.
 
  2015-03-25 7:36 GMT+01:00 Omer Frenkel ofren...@redhat.com:
 
 
 
  - Original Message -
   From: Koen Vanoppen vanoppen.k...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, March 25, 2015 8:09:17 AM
   Subject: Re: [ovirt-users] Snapshot issue
  
   I'm still not able to start my VM's:
   Cannot run VM. The VM is performing an operation on a Snapshot.
Please
  wait
   for the operation to finish, and try again...
  
   I already restarted the vdsm deamons on the hypervisors and
restarted
  the
   engine too... Does anybody has any clue how I can solve this
  state?
  
   Kind regards,
  
   Koen
  
   2015-03-24 7:45 GMT+01:00 Koen Vanoppen 
  vanoppen.k...@gmail.com
 :
  
  
  
   This is in the logs:
   2015-03-24 07:41:50,436 WARN
[org.ovirt.engine.core.bll.RunVmCommand]
   (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm
failed
  for
   user Reasons:
  
VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
  
   Can't I clear all this? Because I Still have several machines
  down
due
  the
   reason he is still in the cannot run VM... state...
  
 
  this happens because you have a snapshot in status locked,
  probably you did some operation on snapshot and something went
  wrong
(it
  might have failed without clearing the state..)
  there is no easy and safe way to fix this (you can change the
  status
of
  the snapshot in the db but i am

Re: [ovirt-users] Snapshot issue

2015-03-31 Thread Omer Frenkel


- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
 Sent: Tuesday, March 31, 2015 7:35:57 AM
 Subject: Re: [ovirt-users] Snapshot issue
 
 I just wanted to remove the snapshots in ovirt... That's all... And now
 they are locked. Without the possibility to remove, reboot the vm or cancel
 the snapshots...
 So I'm stuck... How can I change the status of the snapshot in the db, so
 that at least I can remove the VM? And what could be the impact , worst
 case?
 

i thought you want to save the vm, then the worst case might be data corruption,
in case something is really wrong with the snapshots and you try to run the vm.

more optimistic, in case snapshot is missing in storage but not deleted in db,
vm would fail to start, then you might be able to just delete the snapshot 
(again probably only manually in db)
and recover completely.

if you just want to delete the vm, worst case would be that you have to clear 
manually stuff from the db/storage

if you decide to change the db, better to have a backup :)
also, i would recommend making it when the engine is down.

ok, so, first to get the info in the db:
select snapshot_id,description,status from snapshots where status = 'LOCKED' 
and vm_id in (select vm_guid from vm_static where vm_name='vm name here');

just update it to be 'OK' :
update snapshots set status = 'OK' where snapshot_id = 'snapshot id from 
previous query';

also, check there are locked images related to this snapshot:
select image_guid,imagestatus from images where vm_snapshot_id = 'snapshot id 
from previous query' and imagestatus != 1;

if so, need to unlock it as well:
updates images set imagestatus = 1 where image_guid = 'id of images from 
previous query';


let me know how it went

 Kind regards,
 
 2015-03-30 13:46 GMT+02:00 Omer Frenkel ofren...@redhat.com:
 
 
 
  - Original Message -
   From: Koen Vanoppen vanoppen.k...@gmail.com
   To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
   Sent: Monday, March 30, 2015 7:44:10 AM
   Subject: Re: [ovirt-users] Snapshot issue
  
   I can't even remove them... Something needs to be done... Any ideas?
  
 
  not sure i understand what you tried?
  the 'broken' snapshots are locked, so you can't remove them.
  as i said, there is no easy and safe way to fix this...
  you can try to change the status of the snapshot in the db - but i am not
  sure what will happen!
 
   2015-03-25 8:45 GMT+01:00 Koen Vanoppen vanoppen.k...@gmail.com:
  
Hi Omer,
   
Thanks for your reply.
I was cleaning our snapshots on oVirt. So I started deleting snapshots
  one
by one. In total in deleted 10 snapshots. 5 VM's came back up, without
  the
error message, the rest of them are still down with this error message.
   
2015-03-25 7:36 GMT+01:00 Omer Frenkel ofren...@redhat.com:
   
   
   
- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, March 25, 2015 8:09:17 AM
 Subject: Re: [ovirt-users] Snapshot issue

 I'm still not able to start my VM's:
 Cannot run VM. The VM is performing an operation on a Snapshot.
  Please
wait
 for the operation to finish, and try again...

 I already restarted the vdsm deamons on the hypervisors and
  restarted
the
 engine too... Does anybody has any clue how I can solve this state?

 Kind regards,

 Koen

 2015-03-24 7:45 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com
   :



 This is in the logs:
 2015-03-24 07:41:50,436 WARN
  [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm
  failed
for
 user Reasons:

  VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT

 Can't I clear all this? Because I Still have several machines down
  due
the
 reason he is still in the cannot run VM... state...

   
this happens because you have a snapshot in status locked,
probably you did some operation on snapshot and something went wrong
  (it
might have failed without clearing the state..)
there is no easy and safe way to fix this (you can change the status
  of
the snapshot in the db but i am not sure what will happen)
what action did you do with snapshots on this vm?
what was the result?
   


 2015-03-23 8:40 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com
   :



 Dear all,

 I have the following problem:

 Cannot run VM. The VM is performing an operation on a Snapshot.
  Please
wait
 for the operation to finish, and try again.

 It is like this since Friday... How can I resolve this? I really
  need
this vm
 to be up again...

 Kind regards,

 Koen



 ___
 Users mailing list
 Users

Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Omer Frenkel


- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, users@ovirt.org
 Sent: Monday, March 30, 2015 7:44:10 AM
 Subject: Re: [ovirt-users] Snapshot issue
 
 I can't even remove them... Something needs to be done... Any ideas?
 

not sure i understand what you tried?
the 'broken' snapshots are locked, so you can't remove them.
as i said, there is no easy and safe way to fix this...
you can try to change the status of the snapshot in the db - but i am not sure 
what will happen!

 2015-03-25 8:45 GMT+01:00 Koen Vanoppen vanoppen.k...@gmail.com:
 
  Hi Omer,
 
  Thanks for your reply.
  I was cleaning our snapshots on oVirt. So I started deleting snapshots one
  by one. In total in deleted 10 snapshots. 5 VM's came back up, without the
  error message, the rest of them are still down with this error message.
 
  2015-03-25 7:36 GMT+01:00 Omer Frenkel ofren...@redhat.com:
 
 
 
  - Original Message -
   From: Koen Vanoppen vanoppen.k...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, March 25, 2015 8:09:17 AM
   Subject: Re: [ovirt-users] Snapshot issue
  
   I'm still not able to start my VM's:
   Cannot run VM. The VM is performing an operation on a Snapshot. Please
  wait
   for the operation to finish, and try again...
  
   I already restarted the vdsm deamons on the hypervisors and restarted
  the
   engine too... Does anybody has any clue how I can solve this state?
  
   Kind regards,
  
   Koen
  
   2015-03-24 7:45 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com  :
  
  
  
   This is in the logs:
   2015-03-24 07:41:50,436 WARN [org.ovirt.engine.core.bll.RunVmCommand]
   (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm failed
  for
   user Reasons:
   VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
  
   Can't I clear all this? Because I Still have several machines down due
  the
   reason he is still in the cannot run VM... state...
  
 
  this happens because you have a snapshot in status locked,
  probably you did some operation on snapshot and something went wrong (it
  might have failed without clearing the state..)
  there is no easy and safe way to fix this (you can change the status of
  the snapshot in the db but i am not sure what will happen)
  what action did you do with snapshots on this vm?
  what was the result?
 
  
  
   2015-03-23 8:40 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com  :
  
  
  
   Dear all,
  
   I have the following problem:
  
   Cannot run VM. The VM is performing an operation on a Snapshot. Please
  wait
   for the operation to finish, and try again.
  
   It is like this since Friday... How can I resolve this? I really need
  this vm
   to be up again...
  
   Kind regards,
  
   Koen
  
  
  
   ___
   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] Snapshot issue

2015-03-25 Thread Omer Frenkel


- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, March 25, 2015 8:09:17 AM
 Subject: Re: [ovirt-users] Snapshot issue
 
 I'm still not able to start my VM's:
 Cannot run VM. The VM is performing an operation on a Snapshot. Please wait
 for the operation to finish, and try again...
 
 I already restarted the vdsm deamons on the hypervisors and restarted the
 engine too... Does anybody has any clue how I can solve this state?
 
 Kind regards,
 
 Koen
 
 2015-03-24 7:45 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com  :
 
 
 
 This is in the logs:
 2015-03-24 07:41:50,436 WARN [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm failed for
 user Reasons:
 VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
 
 Can't I clear all this? Because I Still have several machines down due the
 reason he is still in the cannot run VM... state...
 

this happens because you have a snapshot in status locked,
probably you did some operation on snapshot and something went wrong (it might 
have failed without clearing the state..)
there is no easy and safe way to fix this (you can change the status of the 
snapshot in the db but i am not sure what will happen)
what action did you do with snapshots on this vm?
what was the result?

 
 
 2015-03-23 8:40 GMT+01:00 Koen Vanoppen  vanoppen.k...@gmail.com  :
 
 
 
 Dear all,
 
 I have the following problem:
 
 Cannot run VM. The VM is performing an operation on a Snapshot. Please wait
 for the operation to finish, and try again.
 
 It is like this since Friday... How can I resolve this? I really need this vm
 to be up again...
 
 Kind regards,
 
 Koen
 
 
 
 ___
 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] Using sysprep on Win 2012

2015-03-24 Thread Omer Frenkel


- Original Message -
 From: Tim Macy mac...@gmail.com
 To: users users@ovirt.org
 Sent: Monday, March 23, 2015 11:49:38 PM
 Subject: [ovirt-users] Using sysprep on Win 2012
 
 Hello,
 
 I created a sealed Win 2012 template and I am trying to use Run Once with
 Boot Options - Attach Floppy [sysprep], along with defining numerous
 settings under initial run. This process fails to boot the server with the
 following errors:
 
 VM testtempl1a is down with error. Exit message: [Errno22] Invalid argument:
 '/tmp/tmpb9eQpf/'Unattend.xml'.
 
 

this looks like https://bugzilla.redhat.com/show_bug.cgi?id=1192495
please see comment 1 for workaround

 
 ___
 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 resilience policy / HA

2015-03-18 Thread Omer Frenkel


- Original Message -
 From: Guillaume Penin guilla...@onlineacid.com
 To: users@ovirt.org
 Sent: Monday, March 16, 2015 10:34:54 PM
 Subject: [ovirt-users] Ovirt resilience policy / HA
 
 Hi all,
 
 I'm building a test ovirt (3.5.1) infrastructure, based on 3 ovirt nodes
 and 1 ovirt engine.
 
 Everything runs (almost) fine, but i don't exactly understand the
 interaction between resilience policy (Cluster) and HA (VM).
 
 = What I understand, in case of host failure :
 
 - Setting resilience policy to :
 
  - Migrate Virtual Machines = All VMs (HA and non HA) will be
 started on another host.
  - Migrate only Highly Available Virtual Machines = HA VMs only will
 be started on another host.
  - Do Not Migrate Virtual Machines = HA and non HA VMs won't be
 started on another host.
 
 = In practice :
 
  - No matter what parameter i use in resilience policy, HA VMs only
 will be started on another host in case of a host failure.
 
 Is this the expected behaviour ? Am I misunderstanding the way it works
 ?


there are 2 types of host failure:
1 - power/network/vdsm service.. - these leads to a state where engine and host 
cannot communicate, host will move to 'non-responsive' and will be fenced 
(power mgmt action)
in this case, only HA vms will be restarted, once the engine is sure it is safe.

2 - software issues like storage connectivity - in this case, engine can 
communicate with the host, and decide it is not fulfilling the cluster/dc 
requirements
the host will move to 'not operational' then the engine will live-migrate (not 
restart) vms according to your choice of resilience policy 

so what did you do when you tested 'host failure'?
according to your question i assume number 1, and this is what you got

let me know if it helps
Omer.

 Kind regards,
 ___
 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] Running in db and not running in VDS

2015-03-01 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin Perina 
 mper...@redhat.com
 Sent: Thursday, February 26, 2015 6:18:36 AM
 Subject: Re: [ovirt-users] Running in db and not running in VDS
 
 Hi Omer,
 
 Please find the attached logs

looks like some communication issue with the spm,
is the vdsm.log attached is the log of the spm for that time?
i could not see the calls there..

2015-02-26 12:12:17,894 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(org.ovirt.thread.pool-8-thread-25) [180029b1] 
IrsBroker::Failed::DeleteImageGroupVDS due to: IRSErrorException: 
IRSGenericException: IRSErrorException: Failed to DeleteImageGroupVDS, error = 
Connection timed out, code = 100

 
 Vm name :- punit
 
 [image: Inline image 1]
 
 On Wed, Feb 25, 2015 at 5:20 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Punit Dambiwal hypu...@gmail.com
   To: Omer Frenkel ofren...@redhat.com
   Cc: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin
  Perina mper...@redhat.com
   Sent: Tuesday, February 24, 2015 8:24:07 PM
   Subject: Re: [ovirt-users] Running in db and not running in VDS
  
   Hi Omer,
  
   but when i destroy the vm...vm destroyed successfully but it's disk
  doesn't
   and when i try to manually remove the disk from ovirt...it's failed to
   remove also
  
 
  can you please attach engine.log and vdsm.log for the removeVm ?
 
   Thanks,
   Punit
  
   On Tue, Feb 24, 2015 at 4:07 PM, Omer Frenkel ofren...@redhat.com
  wrote:
  
   
   
- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin
Perina mper...@redhat.com
 Sent: Tuesday, February 24, 2015 6:11:03 AM
 Subject: [ovirt-users] Running in db and not running in VDS

 Hi,

 VM failed to create, failed to reboot and through the errors :-

 2015-02-23 17:27:11,879 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-64) [1546215a] VM
 8325d21f97888adff6bd6b70bfd6c13b
  (b74d945c-c9f8-4336-a91b-390a11f07650)
is
 running in db and not running in VDS compute11

   
this is ok, this means that the engine discovered vm that moved to down
look at the log for the reason it failed.
   
 and for delete VM :-



 2015-02-23 17:21:44,625 WARN

  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-57) [4534b0a2] Correlation ID: 6769, Job ID:
 76d135de-ef8d-41dc-9cc0-855134ededce, Call Stack: null, Custom Event
  ID:
-1,
 Message: VM 1feac62b8cd19fcc2ff296957adc8a4a has been removed, but
  the
 following disks could not be removed: Disk1. These disks will appear
  in
the
 main disks tab in illegal state, please remove manually when
  possible.




 Thanks,

 Punit

 ___
 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] Running in db and not running in VDS

2015-02-25 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin Perina 
 mper...@redhat.com
 Sent: Tuesday, February 24, 2015 8:24:07 PM
 Subject: Re: [ovirt-users] Running in db and not running in VDS
 
 Hi Omer,
 
 but when i destroy the vm...vm destroyed successfully but it's disk doesn't
 and when i try to manually remove the disk from ovirt...it's failed to
 remove also
 

can you please attach engine.log and vdsm.log for the removeVm ?

 Thanks,
 Punit
 
 On Tue, Feb 24, 2015 at 4:07 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Punit Dambiwal hypu...@gmail.com
   To: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin
  Perina mper...@redhat.com
   Sent: Tuesday, February 24, 2015 6:11:03 AM
   Subject: [ovirt-users] Running in db and not running in VDS
  
   Hi,
  
   VM failed to create, failed to reboot and through the errors :-
  
   2015-02-23 17:27:11,879 INFO
   [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
   (DefaultQuartzScheduler_Worker-64) [1546215a] VM
   8325d21f97888adff6bd6b70bfd6c13b (b74d945c-c9f8-4336-a91b-390a11f07650)
  is
   running in db and not running in VDS compute11
  
 
  this is ok, this means that the engine discovered vm that moved to down
  look at the log for the reason it failed.
 
   and for delete VM :-
  
  
  
   2015-02-23 17:21:44,625 WARN
   [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (ajp--127.0.0.1-8702-57) [4534b0a2] Correlation ID: 6769, Job ID:
   76d135de-ef8d-41dc-9cc0-855134ededce, Call Stack: null, Custom Event ID:
  -1,
   Message: VM 1feac62b8cd19fcc2ff296957adc8a4a has been removed, but the
   following disks could not be removed: Disk1. These disks will appear in
  the
   main disks tab in illegal state, please remove manually when possible.
  
  
  
  
   Thanks,
  
   Punit
  
   ___
   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] Running in db and not running in VDS

2015-02-24 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org, Martin Pavlik mpav...@redhat.com, Martin Perina 
 mper...@redhat.com
 Sent: Tuesday, February 24, 2015 6:11:03 AM
 Subject: [ovirt-users] Running in db and not running in VDS
 
 Hi,
 
 VM failed to create, failed to reboot and through the errors :-
 
 2015-02-23 17:27:11,879 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-64) [1546215a] VM
 8325d21f97888adff6bd6b70bfd6c13b (b74d945c-c9f8-4336-a91b-390a11f07650) is
 running in db and not running in VDS compute11
 

this is ok, this means that the engine discovered vm that moved to down 
look at the log for the reason it failed.

 and for delete VM :-
 
 
 
 2015-02-23 17:21:44,625 WARN
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-57) [4534b0a2] Correlation ID: 6769, Job ID:
 76d135de-ef8d-41dc-9cc0-855134ededce, Call Stack: null, Custom Event ID: -1,
 Message: VM 1feac62b8cd19fcc2ff296957adc8a4a has been removed, but the
 following disks could not be removed: Disk1. These disks will appear in the
 main disks tab in illegal state, please remove manually when possible.
 
 
 
 
 Thanks,
 
 Punit
 
 ___
 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] Cannot run VM. Memory size exceeds supported limit for given cluster version.

2015-02-17 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Martin Pavlík mpav...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, February 17, 2015 10:56:24 AM
 Subject: Re: [ovirt-users] Cannot run VM. Memory size exceeds supported limit 
 for given cluster version.
 
 Hi Martin,
 
 Sorryi am referring VM64BitMaxMemorySizeInMBand creating ubuntu 14.04
 LTS 64 Bit...
 

the problem is that if you choose any linux distribution (ubuntu/debian/sles..) 
in the 'OS' drop box for the vm (except ones specifically mentioned 64bit like 
freebsdx64/rhel_6x64..),
it will be considered as 32bit.. and thus the 32bit limit apply.
there is an open bug on that:
Bug 1133642 - [RFE] Change the default Other OS to be 64bit instead of 32, 
affecting the derived OSes like Ubuntu

you can work around it by:
1. select another 64bit os that is suitable for you, like freebsdx64
2. override the os-info file, adding your own 64 bit version os, or making 
existing one 64bit
here is how to do it:
http://www.ovirt.org/OS_info#value_overriding


let me know if it helps

 On Tue, Feb 17, 2015 at 3:31 PM, Martin Pavlík  mpav...@redhat.com  wrote:
 
 
 Hi Punit,
 
 one thing is confusing me. You refer to VM32BitMaxMemorySizeInMB, but you are
 working with 64bit VM/template. Shouldn’t it be VM64BitMaxMemorySizeInMB?
 Anyways both should allow for approx. 64GB of memory. If you create VM with
 63GB (or closest lower amount) it works?
 
 Could you provide relevant part of engine.log, vdsm.log, supervdsm.log and
 libvirt log? From the time when the error occurs?
 
 M.
 
 
  On 17 Feb 2015, at 03:00, Punit Dambiwal  hypu...@gmail.com  wrote:
  
  Hi,
  
  I am running Ovirt 3.5.1 and have the following settings in the engine
  config for VM memory :-
  
  -
  [root@ccr01 ~]# engine-config -g VM32BitMaxMemorySizeInMB
  VM32BitMaxMemorySizeInMB: 65536 version: general
  
  [root@ccr01 ~]# engine-config -g VM64BitMaxMemorySizeInMB
  VM64BitMaxMemorySizeInMB: 524288 version: 3.0
  VM64BitMaxMemorySizeInMB: 2097152 version: 3.1
  VM64BitMaxMemorySizeInMB: 2097152 version: 3.2
  VM64BitMaxMemorySizeInMB: 4096000 version: 3.4
  VM64BitMaxMemorySizeInMB: 4096000 version: 3.5
  VM64BitMaxMemorySizeInMB: 2097152 version: 3.3
  [root@ccr01 ~]#
  
  
  When i create a guest VM more than 64GB memory,VM is failed to start with
  following error:
  
  Cannot run VM. Memory size exceeds supported limit for given cluster
  version.
  
  Steps to Reproduce:
  1. Create new VM or edit existing VM Memory Size to 65536 MB from Ovirt
  GUI.
  2. Created the guest VM through template 64-bit... so it will support more
  than 16 GB memory.
  3. Now, Start the VM.
  
  Thanks,
  Punit
  
  
  
  
  
 
 
 
 ___
 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] Fenced hosts VM's never migrate

2015-02-11 Thread Omer Frenkel


- Original Message -
 From: Tim Macy mac...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, February 10, 2015 6:55:31 PM
 Subject: [ovirt-users] Fenced hosts VM's never migrate
 
 I have a 3 host cluster setup with HA enabled and fencing enabled and it
 appears to be working properly. Executing power management stop, start, and
 restart work along with host shutdown/restart following a simulated crash.
 When network is pulled a proxy is chosen and it powers off the downed host,
 and then restarts it. Since the network is still down it repeats the
 following in events:
 Host kvm01 is not responding. It will stay in Connecting state for a grace
 period of 162 seconds and after that an attempt to fence the host will be
 issued.
 
 The real problem here is that the VM's on the host that has failed never
 migrate to a new host and remain down until the network is reconnected.
 

once the host is powered off by the proxy, HA vms will be started (not 
migrated) on other host, 
if there are resources for it..
if you have HA vms that are not started although there is another host 
available for it,
it might be a bug, can you please attach engine.log from the time of the 
failure?

 We have tested this with back-end storage on gluster and NFS with the same
 result. This is on oVirt Engine Version: 3.5.1.1-1.el6. Hosts are on CentOS
 7 and the Engine is standalone on CentOS 6.6.
 
 
 
 ___
 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] Howto restart VMs on the Unknown state?

2015-02-10 Thread Omer Frenkel


- Original Message -
 From: Николаев Алексей alexeynikolaev.p...@yandex.ru
 To: users@ovirt.org
 Sent: Wednesday, January 28, 2015 1:04:54 PM
 Subject: [ovirt-users] Howto restart VMs on the Unknown state?
 
 Hi community!
 1. I have two VM on the Unknown state and cant reset them.
 2. Another problem that this vms on the host with the status Down. But the
 Confirm 'Host has been Rebooted' is not working for me.
 This host is fully functional, but ovirt-engine dont want change state to Up.
 How i can restart a VMs?
 

if host is running ok, and the engine as well,
sounds like some communication problem between the engine and the host.
please check network between engine and hosts..

what do you get when you try to run 'Confirm Host has been Rebooted' ?
please attach relevant log

 ___
 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] Issues with vm start up

2014-12-01 Thread Omer Frenkel


- Original Message -
 From: Shanil S xielessha...@gmail.com
 To: Shahar Havivi shah...@redhat.com
 Cc: users@ovirt.org, Juan Hernandez jhern...@redhat.com, Omer Frenkel 
 ofren...@redhat.com
 Sent: Thursday, November 27, 2014 10:32:54 AM
 Subject: Re: [ovirt-users] Issues with vm start up
 
 Hi Omer,
 
 I have attached the engine.log and vdsm.log. Please check it. The vm id is
 - 7c7aa9dedb57248f5da291117164f0d7
 

sorry Shanil for the delay,
it looks that in the vm settings, you have chosen to boot only from cd ?
this is why the vm doest boot, the cloud-init disk is a settings disk, not a 
boot disk
please go to update vm, change the boot order to use hard-disk, and boot the vm.

let me know if it helps,
Omer.

 --
 Regards
 Shanil
 
 On Thu, Nov 27, 2014 at 1:46 PM, Shahar Havivi shah...@redhat.com wrote:
 
  Try to remove content and run the vm,
  ie remove the runcmd: or some of it - try to use the xml with out CDATA
  maybe
  you can pinpoint the problem that way...
 
 
  On 27.11.14 10:03, Shanil S wrote:
   Hi All,
  
  
   I am using the ovirt version 3.5 and having some issues with the vm
  startup
   with cloud-init using api in run-once mode.
  
   Below is the steps i follow :-
  
   1. Create the VM by API from precreated Template..
   2. Start the VM in run-once mode and push the cloud-init data from API..
   3. VM stuck and from console it display the following :-
   Booting from DVD/CD.. ...
   Boot failed : could not read from CDROM (code 004)
  
   I am using the following xml for this operation :-
  
   action
   vm
os
 boot dev='cdrom'/
/os
initialization
 cloud_init
  host
   addresstest/address
  /host
  network_configuration
   nics
nic
 interfacevirtIO/interface
 nameeth0/name
 boot_protocolstatic/boot_protocol
 mac address=''/
 network
  ip address='' netmask='' gateway=''/
 /network
 on_boottrue/on_bootvnic_profile id='' /
/nic
nic
 interfacevirtIO/interface
 nameeth1/name
 boot_protocolstatic/boot_protocol
 mac address=''/
 network
  ip address='' netmask='255.255.255.0' gateway=''/
 /network
 on_boottrue/on_bootvnic_profile id='' /
/nic
   /nics
  /network_configuration
  files
   file
name/ignored/namecontent![CDATA[#cloud-config
   disable-ec2-metadata: true
   disable_root: false
   ssh_pwauth: true
   ssh_deletekeys: true
   chpasswd: { expire: False }
  
   users:
- name: root
  primary-group: root
  passwd: 8W7RQ5Bh
  lock-passwd: false
  
   runcmd:
- sed -i '/nameserver/d' /etc/resolv.conf
- echo 'nameserver 8.8.8.8'  /etc/resolv.conf
- echo 'nameserver 8.8.4.4'  /etc/resolv.conf
- echo 'root:8W7RQ5Bh' | chpasswd
- yum -y update
- yum -y install rdate
- rdate -s stdtime.gov.hk]]/content
typeplaintext/type
   /file
  /files
 /cloud_initcustom_script![CDATA[#cloud-config
   disable-ec2-metadata: true
   disable_root: false
   ssh_pwauth: true
   ssh_deletekeys: true
   chpasswd: { expire: False }
  
   users:
- name: root
  primary-group: root
  passwd: 8W7RQ5Bh
  lock-passwd: false
  
   runcmd:
- sed -i '/nameserver/d' /etc/resolv.conf
- echo 'nameserver 8.8.8.8'  /etc/resolv.conf
- echo 'nameserver 8.8.4.4'  /etc/resolv.conf
- echo 'root:8W7RQ5Bh' | chpasswd
- yum -y update
- yum -y install rdate
- rdate -s stdtime.gov.hk]]/custom_script
/initialization
   /vm
  /action
  
   I am also attaching the screen shot to this.
  
  
  
   --
   Regards
   Shanil
 
 
   ___
   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 3.5 rc2 unable to mount cd on running VM

2014-12-01 Thread Omer Frenkel


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, November 26, 2014 7:20:23 PM
 Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
 
 On Wed, Nov 26, 2014 at 6:03 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Gianluca Cecchi gianluca.cec...@gmail.com
   To: Omer Frenkel ofren...@redhat.com
   Cc: users users@ovirt.org
   Sent: Wednesday, November 26, 2014 2:13:29 AM
   Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
  
   On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel ofren...@redhat.com
  wrote:
  
   
   
There is an open bug on that
Bug 1145728 - change cd fail on 'Drive is not a vdsm image'
https://bugzilla.redhat.com/show_bug.cgi?id=1145728
   
  
   Hello,
   on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this
  problem
   attaching CD:
  
   Error while executing action Change CD: Drive image file could not be
  found
  
   How can I test the fix that makes the bugzilla entry in VERIFIED status
  now?
   Is the status to be considered for 3.5.1 or can we have the fix in 3.5
  too?
  
   Gianluca
  
 
  looking at git log the fix should be in the 3.5.0 GA
  so maybe its something else.. can you share the engine.log and vdsm.log
  for the time of the failure?
 
 
 
 Created a new CentOS 7 VM and indeed it doesn't show the problem at first
 sight.
 You are right that there was a problem with the ISO Domain going up and
 down (for the moment I stopped iptales on engine and this fixed the
 problem... going to check further)
 
 The pre-existing one instead (c65new) is ok too now.
 I presume there is nothing to run against db or similar to fix the problem
 for pre-existing VMs, correct?
 Gianluca
 

right, the fix was done in the engine code, nothing to do in the db.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues with vm start up

2014-12-01 Thread Omer Frenkel


- Original Message -
 From: Shanil S xielessha...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, users@ovirt.org, Juan Hernandez 
 jhern...@redhat.com
 Sent: Monday, December 1, 2014 12:39:12 PM
 Subject: Re: [ovirt-users] Issues with vm start up
 
 Hi Omer,
 
 Thanks for your reply.
 
 We are deploying those VM's through templates and all the templates has
 first boot from hard disk and second with cdrom. We are using cdrom in
 cloud-init section to insert the cloud-init data .Why we need this boot
 loader (VM boot order or in the cloud-init section) as in the template the
 first boot order is harddisk ?
 
 

if the template's boot order has hard-disk it should be ok,
not sure why it seems for this vm the boot order is only cd.
does this happen to any vm created from this template?
can you check the boot order is corrent in the edit vm dialog?

if the boot order is ok in the template,
and it happens to any new vm from this template,
you should open a bug so we could investigate this.

 
 --
 Regards
 Shanil
 
 On Mon, Dec 1, 2014 at 3:37 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Shanil S xielessha...@gmail.com
   To: Shahar Havivi shah...@redhat.com
   Cc: users@ovirt.org, Juan Hernandez jhern...@redhat.com, Omer
  Frenkel ofren...@redhat.com
   Sent: Thursday, November 27, 2014 10:32:54 AM
   Subject: Re: [ovirt-users] Issues with vm start up
  
   Hi Omer,
  
   I have attached the engine.log and vdsm.log. Please check it. The vm id
  is
   - 7c7aa9dedb57248f5da291117164f0d7
  
 
  sorry Shanil for the delay,
  it looks that in the vm settings, you have chosen to boot only from cd ?
  this is why the vm doest boot, the cloud-init disk is a settings disk, not
  a boot disk
  please go to update vm, change the boot order to use hard-disk, and boot
  the vm.
 
  let me know if it helps,
  Omer.
 
   --
   Regards
   Shanil
  
   On Thu, Nov 27, 2014 at 1:46 PM, Shahar Havivi shah...@redhat.com
  wrote:
  
Try to remove content and run the vm,
ie remove the runcmd: or some of it - try to use the xml with out CDATA
maybe
you can pinpoint the problem that way...
   
   
On 27.11.14 10:03, Shanil S wrote:
 Hi All,


 I am using the ovirt version 3.5 and having some issues with the vm
startup
 with cloud-init using api in run-once mode.

 Below is the steps i follow :-

 1. Create the VM by API from precreated Template..
 2. Start the VM in run-once mode and push the cloud-init data from
  API..
 3. VM stuck and from console it display the following :-
 Booting from DVD/CD.. ...
 Boot failed : could not read from CDROM (code 004)

 I am using the following xml for this operation :-

 action
 vm
  os
   boot dev='cdrom'/
  /os
  initialization
   cloud_init
host
 addresstest/address
/host
network_configuration
 nics
  nic
   interfacevirtIO/interface
   nameeth0/name
   boot_protocolstatic/boot_protocol
   mac address=''/
   network
ip address='' netmask='' gateway=''/
   /network
   on_boottrue/on_bootvnic_profile id='' /
  /nic
  nic
   interfacevirtIO/interface
   nameeth1/name
   boot_protocolstatic/boot_protocol
   mac address=''/
   network
ip address='' netmask='255.255.255.0' gateway=''/
   /network
   on_boottrue/on_bootvnic_profile id='' /
  /nic
 /nics
/network_configuration
files
 file
  name/ignored/namecontent![CDATA[#cloud-config
 disable-ec2-metadata: true
 disable_root: false
 ssh_pwauth: true
 ssh_deletekeys: true
 chpasswd: { expire: False }

 users:
  - name: root
primary-group: root
passwd: 8W7RQ5Bh
lock-passwd: false

 runcmd:
  - sed -i '/nameserver/d' /etc/resolv.conf
  - echo 'nameserver 8.8.8.8'  /etc/resolv.conf
  - echo 'nameserver 8.8.4.4'  /etc/resolv.conf
  - echo 'root:8W7RQ5Bh' | chpasswd
  - yum -y update
  - yum -y install rdate
  - rdate -s stdtime.gov.hk]]/content
  typeplaintext/type
 /file
/files
   /cloud_initcustom_script![CDATA[#cloud-config
 disable-ec2-metadata: true
 disable_root: false
 ssh_pwauth: true
 ssh_deletekeys: true
 chpasswd: { expire: False }

 users:
  - name: root
primary-group: root
passwd: 8W7RQ5Bh
lock-passwd: false

 runcmd:
  - sed -i '/nameserver/d' /etc/resolv.conf
  - echo 'nameserver 8.8.8.8'  /etc/resolv.conf
  - echo 'nameserver 8.8.4.4'  /etc/resolv.conf
  - echo 'root

Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM

2014-11-26 Thread Omer Frenkel


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, November 26, 2014 2:13:29 AM
 Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
 
 On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  There is an open bug on that
  Bug 1145728 - change cd fail on 'Drive is not a vdsm image'
  https://bugzilla.redhat.com/show_bug.cgi?id=1145728
 
 
 Hello,
 on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this problem
 attaching CD:
 
 Error while executing action Change CD: Drive image file could not be found
 
 How can I test the fix that makes the bugzilla entry in VERIFIED status now?
 Is the status to be considered for 3.5.1 or can we have the fix in 3.5 too?
 
 Gianluca
 

looking at git log the fix should be in the 3.5.0 GA
so maybe its something else.. can you share the engine.log and vdsm.log for the 
time of the failure?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues with vm start up

2014-11-26 Thread Omer Frenkel


- Original Message -
 From: Shanil S xielessha...@gmail.com
 To: users@ovirt.org, Juan Hernandez jhern...@redhat.com, Omer Frenkel 
 ofren...@redhat.com
 Sent: Thursday, November 27, 2014 6:33:04 AM
 Subject: Issues with vm start up
 
 Hi All,
 
 
 I am using the ovirt version 3.5 and having some issues with the vm startup
 with cloud-init using api in run-once mode.
 
 Below is the steps i follow :-
 
 1. Create the VM by API from precreated Template..
 2. Start the VM in run-once mode and push the cloud-init data from API..
 3. VM stuck and from console it display the following :-
 Booting from DVD/CD.. ...
 Boot failed : could not read from CDROM (code 004)
 
 I am using the following xml for this operation :-
 
 action
 vm
  os
   boot dev='cdrom'/
  /os
  initialization
   cloud_init
host
 addresstest/address
/host
network_configuration
 nics
  nic
   interfacevirtIO/interface
   nameeth0/name
   boot_protocolstatic/boot_protocol
   mac address=''/
   network
ip address='' netmask='' gateway=''/
   /network
   on_boottrue/on_bootvnic_profile id='' /
  /nic
  nic
   interfacevirtIO/interface
   nameeth1/name
   boot_protocolstatic/boot_protocol
   mac address=''/
   network
ip address='' netmask='255.255.255.0' gateway=''/
   /network
   on_boottrue/on_bootvnic_profile id='' /
  /nic
 /nics
/network_configuration
files
 file
  name/ignored/namecontent![CDATA[#cloud-config
 disable-ec2-metadata: true
 disable_root: false
 ssh_pwauth: true
 ssh_deletekeys: true
 chpasswd: { expire: False }
 
 users:
  - name: root
primary-group: root
passwd: 8W7RQ5Bh
lock-passwd: false
 
 runcmd:
  - sed -i '/nameserver/d' /etc/resolv.conf
  - echo 'nameserver 8.8.8.8'  /etc/resolv.conf
  - echo 'nameserver 8.8.4.4'  /etc/resolv.conf
  - echo 'root:8W7RQ5Bh' | chpasswd
  - yum -y update
  - yum -y install rdate
  - rdate -s stdtime.gov.hk]]/content
  typeplaintext/type
 /file
/files
   /cloud_initcustom_script![CDATA[#cloud-config
 disable-ec2-metadata: true
 disable_root: false
 ssh_pwauth: true
 ssh_deletekeys: true
 chpasswd: { expire: False }
 
 users:
  - name: root
primary-group: root
passwd: 8W7RQ5Bh
lock-passwd: false
 
 runcmd:
  - sed -i '/nameserver/d' /etc/resolv.conf
  - echo 'nameserver 8.8.8.8'  /etc/resolv.conf
  - echo 'nameserver 8.8.4.4'  /etc/resolv.conf
  - echo 'root:8W7RQ5Bh' | chpasswd
  - yum -y update
  - yum -y install rdate
  - rdate -s stdtime.gov.hk]]/custom_script
  /initialization
 /vm
/action
 
 I am also attaching the screen shot to this.
 
 
 
 --
 Regards
 Shanil
 


can you please attach engine.log and vdsm.log (of the host that runs the vm)
for the time you tried to run the vm?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migration Progress Bar not updating

2014-11-19 Thread Omer Frenkel


- Original Message -
 From: s k sokratis1...@outlook.com
 To: users@ovirt.org
 Sent: Wednesday, November 19, 2014 11:42:40 AM
 Subject: [ovirt-users] Migration Progress Bar not updating
 
 Hi,
 
 On oVirt 3.5.0, while doing a VM migration the progress bar always stays at
 0%. I tried it on different browsers (Chrome,IE,Firefox) and the behavior is
 the same.
 
 Any ideas about this?
 
 Thanks,
 
 Sokratis

how much time does the migration take?
you need to remember engine get statistics updates every 10sec from vdsm
and ui refresh every 5sec

 
 ___
 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] [Devel] Proposing Roy Golan as VDSM Fake maintainer

2014-11-06 Thread Omer Frenkel


- Original Message -
 From: Tomas Jelinek tjeli...@redhat.com
 To: infra in...@ovirt.org, engine-de...@ovirt.org de...@ovirt.org
 Cc: Liran Zelkha lzel...@redhat.com, users users@ovirt.org
 Sent: Thursday, November 6, 2014 10:33:07 AM
 Subject: [ovirt-users] [Devel] Proposing Roy Golan as VDSM Fake maintainer
 
 Hi,
 
 I would like to propose Roy Golan as VDSM Fake
 (http://www.ovirt.org/VDSM_Fake) co-maintainer.
 
 Your response would be appreciated.


+1
 
 Thanks in advance.
 Tomas
 ___
 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] webhook

2014-10-30 Thread Omer Frenkel
can't the event-notifications be used?
notify some email on delete operation (not sure there is a notification for 
this today..)
and hook on the email to run the script?

- Original Message -
 From: Oved Ourfali ov...@redhat.com
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, October 30, 2014 3:10:12 PM
 Subject: Re: [ovirt-users] webhook
 
 Hi
 
 CC-ing also Vojtech, the father of the UI plugins.
 
 Anyway, the only way to accomplish that via UI plugins at the moment is via
 adding a new action menu item, that in the background deleted the VM, and
 reports to Foreman.
 I would be nice to have a hook for different UI action items, but it isn't
 available at the moment.
 There are plenty code samples for UI plugins, most of them available at:
 http://www.ovirt.org/Features/UIPlugins
 
 I must say that I'm not sure webhooks are the right approach for that, as I
 guess it is relevant only in environments in which one doesn't use the
 API/CLI/SDK
 but.. it will be a cool feature!
 
 Regards,
 Oved
 
 - Original Message -
  From: Yair Zaslavsky yzasl...@redhat.com
  To: Koen Vanoppen vanoppen.k...@gmail.com
  Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org
  Sent: Thursday, October 30, 2014 1:44:38 PM
  Subject: Re: [ovirt-users] webhook
  
  Oved - can we implement something like this using ui-plugins?
  
  
  - Original Message -
   From: Koen Vanoppen vanoppen.k...@gmail.com
   To: users@ovirt.org
   Sent: Monday, October 27, 2014 4:06:40 PM
   Subject: [ovirt-users] webhook
   
   Hi all,
   
   Just a quick question. Is it possible to set a webhook on the removal and
   creation of a new vm? So we can send to foreman a delete action when the
   VM
   is deleted...
   
   Kind regards,
   
   Koen
   
   ___
   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
  
 ___
 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] Run once in a mode or not

2014-10-29 Thread Omer Frenkel


- Original Message -
 From: Shanil S xielessha...@gmail.com
 To: users@ovirt.org, Juan Hernandez jhern...@redhat.com
 Sent: Wednesday, October 29, 2014 7:16:50 AM
 Subject: [ovirt-users] Run once in a mode or not
 
 Hi,
 
 Is there any api function call to know whether a vm is in Run once in a mode
 or not ?
 

looks like this field is not mapped in the api,
so only in the ui..

 
 --
 Regards
 Shanil
 
 ___
 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] Custom VM template Over Cross Datacenter

2014-10-22 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Itamar Heim ih...@redhat.com
 Cc: Omer Frenkel ofren...@redhat.com, users@ovirt.org
 Sent: Wednesday, October 22, 2014 4:24:24 AM
 Subject: Re: [ovirt-users] Custom VM template Over Cross Datacenter
 
 Hi Omer,
 
 if its the same ovirt setup, i assume you will need to select the 'clone'
 option and give it a new name ??
  How i can clone it...??

in the import dialog, the first column on the left is 'clone' you need to check 
it.
i think that if the ui identify that the template already exists, this will be 
automatically selected.

 
 On Tue, Oct 21, 2014 at 9:27 PM, Itamar Heim ih...@redhat.com wrote:
 
  On 10/21/2014 06:55 AM, Omer Frenkel wrote:
 
 
 
  - Original Message -
 
  From: Punit Dambiwal hypu...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, October 21, 2014 12:46:55 PM
  Subject: [ovirt-users] Custom VM template Over Cross Datacenter
 
  Hi,
 
  I have some custom OS templates...how i can use my those OS template on
  my
  another Ovirt Datacenter ??
 
  I tried with export the template on another location and then try to add
  the
  same NFS to another datacenter ...but can not add because of the data
  domain
  already existsso i rename the nfs folder and create it and then move
  the
  data under images from previous folder to new folderbut it didn't
  workis there any way to copy or move the Templates and can use later
  on
  the same datacenter or another datacenter ???
 
  Thanks,
  Punit
 
 
  export the template to the export domain,
  then move the export domain to maintenance and detach it from the current
  data-center.
 
  now attach (import existing domain) the export domain to the new
  data-center, and activate (not sure if this happens automatically or not).
  now you can import the template to the new  data-center,
  if its the same ovirt setup, i assume you will need to select the 'clone'
  option and give it a new name
 
  let me know if it helps
 
   ___
  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
 
 
  or to glance?
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Custom VM template Over Cross Datacenter

2014-10-22 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Itamar Heim ih...@redhat.com, users@ovirt.org
 Sent: Wednesday, October 22, 2014 10:19:42 AM
 Subject: Re: [ovirt-users] Custom VM template Over Cross Datacenter
 
 Hi Omer,
 
 Sorry but still i don't find the in the import dialog, the first column on
 the left is 'clone' you need to check it would you mind to let me know
 with the screen shot...i am using the ovirt 3.5
 
 Thanks,
 Punit

attached, although its latest master, should be the same in 3.5, i think.

marked in red:
on the right - indication that the template already exists
on the left - the 'clone' checkbox i referred to.
bottom line, just import the template after attaching to the new dc, it should 
just work for you

 
 On Wed, Oct 22, 2014 at 2:45 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Punit Dambiwal hypu...@gmail.com
   To: Itamar Heim ih...@redhat.com
   Cc: Omer Frenkel ofren...@redhat.com, users@ovirt.org
   Sent: Wednesday, October 22, 2014 4:24:24 AM
   Subject: Re: [ovirt-users] Custom VM template Over Cross Datacenter
  
   Hi Omer,
  
   if its the same ovirt setup, i assume you will need to select the 'clone'
   option and give it a new name ??
How i can clone it...??
 
  in the import dialog, the first column on the left is 'clone' you need to
  check it.
  i think that if the ui identify that the template already exists, this
  will be automatically selected.
 
  
   On Tue, Oct 21, 2014 at 9:27 PM, Itamar Heim ih...@redhat.com wrote:
  
On 10/21/2014 06:55 AM, Omer Frenkel wrote:
   
   
   
- Original Message -
   
From: Punit Dambiwal hypu...@gmail.com
To: users@ovirt.org
Sent: Tuesday, October 21, 2014 12:46:55 PM
Subject: [ovirt-users] Custom VM template Over Cross Datacenter
   
Hi,
   
I have some custom OS templates...how i can use my those OS template
  on
my
another Ovirt Datacenter ??
   
I tried with export the template on another location and then try to
  add
the
same NFS to another datacenter ...but can not add because of the data
domain
already existsso i rename the nfs folder and create it and then
  move
the
data under images from previous folder to new folderbut it didn't
workis there any way to copy or move the Templates and can use
  later
on
the same datacenter or another datacenter ???
   
Thanks,
Punit
   
   
export the template to the export domain,
then move the export domain to maintenance and detach it from the
  current
data-center.
   
now attach (import existing domain) the export domain to the new
data-center, and activate (not sure if this happens automatically or
  not).
now you can import the template to the new  data-center,
if its the same ovirt setup, i assume you will need to select the
  'clone'
option and give it a new name
   
let me know if it helps
   
 ___
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
   
   
or to glance?
   
  
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cloud-init install

2014-10-22 Thread Omer Frenkel


- Original Message -
 From: Shahar Havivi shah...@redhat.com
 To: Phil Daws ux...@splatnix.net
 Cc: users@ovirt.org Users@ovirt.org
 Sent: Wednesday, October 22, 2014 2:09:49 PM
 Subject: Re: [ovirt-users] cloud-init install
 
 On 22.10.14 12:06, Phil Daws wrote:
  Hello:
  
  if one has already created a VM, with hostname, IP address etc, are you
  then able to switch it to use cloud-init so that it reports back the IP
  address and hostname to the engine manager ?
 You need to use run-once and select the initialization section (cloud-init
 under linux sysprep under Windows).
 The IP and the host name report back is not depended on cloud-init but on the
 ovirt-engine that is running in the guest os.

right, you need to install ovirt guest agent

http://www.ovirt.org/Category:Ovirt_guest_agent

  
  Thanks, Phil
  ___
  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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Custom VM template Over Cross Datacenter

2014-10-21 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, October 21, 2014 12:46:55 PM
 Subject: [ovirt-users] Custom VM template Over Cross Datacenter
 
 Hi,
 
 I have some custom OS templates...how i can use my those OS template on my
 another Ovirt Datacenter ??
 
 I tried with export the template on another location and then try to add the
 same NFS to another datacenter ...but can not add because of the data domain
 already existsso i rename the nfs folder and create it and then move the
 data under images from previous folder to new folderbut it didn't
 workis there any way to copy or move the Templates and can use later on
 the same datacenter or another datacenter ???
 
 Thanks,
 Punit
 

export the template to the export domain,
then move the export domain to maintenance and detach it from the current 
data-center.

now attach (import existing domain) the export domain to the new data-center, 
and activate (not sure if this happens automatically or not).
now you can import the template to the new  data-center, 
if its the same ovirt setup, i assume you will need to select the 'clone' 
option and give it a new name

let me know if it helps

 ___
 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] Custom Cloud-Init script only partially executing

2014-10-13 Thread Omer Frenkel


- Original Message -
 From: Chris Routh ro...@amateurwriting.net
 To: users@ovirt.org
 Sent: Monday, October 13, 2014 12:23:23 AM
 Subject: Re: [ovirt-users] Custom Cloud-Init script only partially executing
 
 On 2014-10-12 12:54, Chris Routh wrote:
  On 2014-10-12 09:17, Omer Frenkel wrote:
  - Original Message -
  From: Chris Routh ro...@amateurwriting.net
  To: users@ovirt.org
  Sent: Wednesday, October 8, 2014 1:42:53 PM
  Subject: [ovirt-users] Custom Cloud-Init script only partially
  executing
  
  I'm trying to get the custom cloud-init script section in my site to
  run. My goal is to have the VM run 'yum update', add the PuppetLabs
  repository, and then install the latest puppet agent, and join it to
  Puppet.
  
  Following the docs for oVirt and Cloud-Init I have this:
  
  BEGIN SCRIPT
  ===
  yum_repos:
   # The name of the repository
   puppetlabs-release:
   baseurl:
  http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
   enabled: true
   failovermethod: priority
   gpgcheck: true
   gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
   name: Puppet Labs repository for Enterprise Linux 6
  
  
  # Upgrade the instance on first boot
  package_upgrade: true
  
  
  # Install additional packages on first boot
  packages:
   - puppet
  
  # Automatically setup and run puppetd
  puppet:
  conf:
  agent:
  server: puppet.example.com
  certname: %f
  ca_cert: |
 -BEGIN CERTIFICATE-
  My Cert 
 -END CERTIFICATE-
  
  
  ===
  END SCRIPT
  
  However what I end up with from this is:
  
  - No Yum update
  - No added repository
  - Puppet gets installed from the default repos
  - No attempt to join
  
  
  According to the cloud-init docs my code is correct, however oVirt is
  not respecting anything, with the sole exception being the
  'packages:'
  argument. Can someone please explain?
  
  Also, I have combed the script and ensured that the indentation was 4
  spaces, and not tabs. I noted that previous users in this mailing
  list
  have had that issue before.
  
  
  the custom script should be sent as-is to the vm,
  you can check what is actually attached to the vm,
  just mount the config-2 cd rom and look for it under
  openstack/latest
  please update if it somehow sent wrong
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
  
  I have gotten much farther in troubleshooting this thanks to your
  help. I managed to find the config-2 cdrom by using 'blkid' and then
  mounted it. I see that my code is correct. I was then able to run the
  script manual with debug mode and being some trial and error
  troubleshooting.
  
  I managed to figure out that in order for my script to work, I needed
  two extra modules added to /etc/cloud/cloud.cfg:
  
  /etc/cloud/cloud.cfg
  ===
  
  cloud_config_modules:
   - yum-add-repo
   - package-update-upgrade-install
  
  ===
  
  Now, while that allows me to fix the issue with a manual run after the
  VM has been created, it doesn't really cure the root issue.
  
  How do I add these modules to the cdrom-2 so that this will work
  without intervention on the first run?
  
  I'm using the ovirt-image-repository CentOS-6.5 image as a template.
  Is the issue in the image? Or the cdrom? Will creating a custom
  template help?
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 After further investigation it appears the problem is in the config of
 the Glance image for CentOS in the ovirt-image-repository.
 
 Is there a way to load these modules with a setting in ovirt? Or can we
 request that these modules be enabled in the Glance image?

i'm not sure about editing the Glance image,
but creating a template, as you suggested should work:
create a vm from the image, edit the cloud.cfg as you like, and then create a 
template from this vm.

now when you will use the new template, you should have the correct cfg.

hope it helps

 ___
 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] Failed to change disk (CD) in VM

2014-10-12 Thread Omer Frenkel


- Original Message -
 From: Frantisek Kobzik fkob...@redhat.com
 To: Nathan Llaneza ntllaneza...@gmail.com
 Cc: users@ovirt.org
 Sent: Friday, October 10, 2014 5:45:43 PM
 Subject: Re: [ovirt-users] Failed to change disk (CD) in VM
 
 Hi Nathan,
 
 frontend messages are quite general, could you check engine.log? There should
 be something more interesting.
 
 Cheers,
 Franta.
 
 
 - Original Message -
 From: Nathan Llaneza ntllaneza...@gmail.com
 To: users@ovirt.org
 Sent: Friday, October 10, 2014 1:21:36 PM
 Subject: [ovirt-users] Failed to change disk (CD) in VM
 
 Hello All,
 
 I am testing out oVirt 3.5 rc5 and their appears to be a problem when I try
 to change CDs on a live VM. I get the error message Error while executing
 action Change CD: Internal Engine Error.. This is a very basic setup. I
 pushed through the engine install on a fully patched CentOS 6.5 machine; The
 hypervisor is CentOS 7. I have a remote ISO / NFS share. Everything else
 appears to be right; so I hope it is not something that I am doing...
 
 A little about the hypervisor:
 OS: RHEL - 7 - 0.1406.el7.centos.2.5
 Kernel : 3.10.0 - 123.8.1.el7.x86_64
 KVM: 1.5.3 - 60.el7_0.2
 Libvirt: libvirt-1.1.1-29.el7_0.3
 VDSM: vdsm-4.16.7-4.git34f961b.el7
 
 Thanks for everything. BTW I like the new look of 3.5.
 
 ___
 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
 

looks like you hit Bug 1145728 - change cd fail on 'Drive is not a vdsm image'
can you please verify that by trying to change cd without json-rpc?
(should be something like: move host to maintenance, edit, unmark json-rpc)

this might be another blocker for ovirt 3.5, if we use json-rpc by default
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Custom Cloud-Init script only partially executing

2014-10-12 Thread Omer Frenkel


- Original Message -
 From: Chris Routh ro...@amateurwriting.net
 To: users@ovirt.org
 Sent: Wednesday, October 8, 2014 1:42:53 PM
 Subject: [ovirt-users] Custom Cloud-Init script only partially executing
 
 I'm trying to get the custom cloud-init script section in my site to
 run. My goal is to have the VM run 'yum update', add the PuppetLabs
 repository, and then install the latest puppet agent, and join it to
 Puppet.
 
 Following the docs for oVirt and Cloud-Init I have this:
 
 BEGIN SCRIPT
 ===
 yum_repos:
  # The name of the repository
  puppetlabs-release:
  baseurl:
 http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
  enabled: true
  failovermethod: priority
  gpgcheck: true
  gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
  name: Puppet Labs repository for Enterprise Linux 6
 
 
 # Upgrade the instance on first boot
 package_upgrade: true
 
 
 # Install additional packages on first boot
 packages:
  - puppet
 
 # Automatically setup and run puppetd
 puppet:
 conf:
 agent:
 server: puppet.example.com
 certname: %f
 ca_cert: |
-BEGIN CERTIFICATE-
 My Cert 
-END CERTIFICATE-
 
 
 ===
 END SCRIPT
 
 However what I end up with from this is:
 
 - No Yum update
 - No added repository
 - Puppet gets installed from the default repos
 - No attempt to join
 
 
 According to the cloud-init docs my code is correct, however oVirt is
 not respecting anything, with the sole exception being the 'packages:'
 argument. Can someone please explain?
 
 Also, I have combed the script and ensured that the indentation was 4
 spaces, and not tabs. I noted that previous users in this mailing list
 have had that issue before.


the custom script should be sent as-is to the vm,
you can check what is actually attached to the vm,
just mount the config-2 cd rom and look for it under openstack/latest
please update if it somehow sent wrong 

 ___
 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] problems with win 2008_64 vm

2014-09-29 Thread Omer Frenkel


- Original Message -
 From: Grant Pasley gr...@xtranet.com.au
 To: Omer Frenkel ofren...@redhat.com
 Cc: Markus Stockhausen stockhau...@collogia.de, users@ovirt.org
 Sent: Monday, September 29, 2014 5:34:45 AM
 Subject: Re: [ovirt-users] problems with win 2008_64 vm
 
 good morning
 
 the events sub tab shows the server was started by admin, but nothing
 further, even when the vm pauses itself.
 please see attached the vdsm.log file for this host.
 
 thanks,
 
 grant.

thank you, i didnt see anything suspicious in the vdsm.log
next step is to check if you see any error/clue in the libvirt.log or even qemu 
log for the vm?

 
 On 9/28/2014 1:34 PM, Omer Frenkel wrote:
 
  - Original Message -
  From: Grant Pasley gr...@xtranet.com.au
  To: Markus Stockhausen stockhau...@collogia.de
  Cc: users@ovirt.org
  Sent: Sunday, September 28, 2014 6:22:15 AM
  Subject: Re: [ovirt-users] problems with win 2008_64 vm
 
  good morning
 
  sorry the server is centos 6.5: 2.6.32-431.29.2.el6.x86_64 #x86_64 x86_64
  x86_64 GNU/Linux
  the vm does not get as far as loading windows before pausing, so i cannot
  deactivate windows settings, although 2008 server does not by default
 
  thanks
 
  grant
  does it happen to all the vms or just this one?
  please look at the events sub tab for this vm, there should be the pause
  reason
  if not, please attach vdsm.log for the host that runs the vm
 
  On 9/27/2014 8:28 AM, Markus Stockhausen wrote:
 
 
 
 
  Are you running FC20 on the hypervisor host and if yes what kernel?
  Am 27.09.2014 02:39 schrieb Grant Pasley gr...@xtranet.com.au :
  good morning guys
 
  i have an issue with my 2008 vm going to pause within 5 secs of starting
  it
  up. new install of ovirt 3.4.4 on hp dl160, installed the windows vm and
  windows drivers etc and it was running fine. did a reboot last night and
  went to bed, i see this morning the server is not accessible and when i
  login to the web gui it is paused. stop vm and restart the server starts
  firing up and then goes to pause mode with the following message from the
  ovirt-engine log. i dont think it is a windows problem as the vm pauses
  before it even starts trying to load windows server:
 
  2014-09-27 10:28:58,738 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (org.ovirt.thread.pool-6-thread-49) [74bf3eb0] Correlation ID: 74bf3eb0,
  Job
  ID: 5584a4e6-7ce2-4c2f-8278-3b0cdbc48d19, Call Stack: null, Custom Event
  ID:
  -1, Message: VM 2008-server was started by admin (Host: local_host).
  2014-09-27 10:29:01,667 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-99) VM 2008-server
  067fcde9-99ea-46cd-a5b6-46396e0e6f62 moved from WaitForLaunch --
  PoweringUp
  2014-09-27 10:29:06,211 INFO
  [org.ovirt.engine.core.bll.SetVmTicketCommand]
  (ajp--127.0.0.1-8702-1) [1e9b8c1d] Running command: SetVmTicketCommand
  internal: false. Entities affected : ID:
  067fcde9-99ea-46cd-a5b6-46396e0e6f62 Type: VM
  2014-09-27 10:29:06,215 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
  (ajp--127.0.0.1-8702-1) [1e9b8c1d] START, SetVmTicketVDSCommand(HostName =
  local_host, HostId = 3e605ec1-a6dd-43c6-9425-cbc21ac63bf4,
  vmId=067fcde9-99ea-46cd-a5b6-46396e0e6f62, ticket=RzYGHR4OBS8F,
  validTime=120,m userName=admin,
  userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 45ae9369
  2014-09-27 10:29:06,384 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
  (ajp--127.0.0.1-8702-1) [1e9b8c1d] FINISH, SetVmTicketVDSCommand, log id:
  45ae9369
  2014-09-27 10:29:06,413 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (ajp--127.0.0.1-8702-1) [1e9b8c1d] Correlation ID: 1e9b8c1d, Call Stack:
  null, Custom Event ID: -1, Message: user admin initiated console session
  for
  VM 2008-server
  2014-09-27 10:29:07,854 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-48) VM 2008-server
  067fcde9-99ea-46cd-a5b6-46396e0e6f62 moved from PoweringUp -- Paused
 
  thanks
 
  grant.
 
 
 
 
 
 
 
  This email is free from viruses and malware because avast! Antivirus
  protection is active.
 
 
 
 
 
 
  This email is free from viruses and malware because avast! Antivirus
  protection is active.
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM

2014-09-28 Thread Omer Frenkel


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, September 24, 2014 8:58:37 PM
 Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
 
 On Wed, Sep 24, 2014 at 12:58 PM, Omer Frenkel ofren...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Gianluca Cecchi gianluca.cec...@gmail.com
   To: users users@ovirt.org
   Sent: Tuesday, September 23, 2014 1:56:07 AM
   Subject: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
 
   No errors in vdsm.log of host and in VM logfile under
  /var/log/libvirt/qemu
   on hypervisor.
  
 
  do you see the call for changeCD in vdsm?
  it looks like the call somehow failed
  does it happens all the time?
 
 
 Hello,
 I have only created a CentOS 6.5 VM and an ubuntu 14.04.1 VM both 64 bit.
 Both have the problem.
 See vdsm.log compressed here:
 https://drive.google.com/file/d/0BwoPbcrMv8mvRzlvcjdzd0Q5Q00/edit?usp=sharing
 
 mount attempt around 19:47 and I actually see this in vdsm.log; previously
 I searched for ERROR messages only, but it seems it is identified as a
 WARNING level message):
 
 Thread-837731::DEBUG::2014-09-24
 19:47:21,928::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling
 'VM.changeCD' in bridge with {u'driveSpec':
 u'/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso',
 u'vmID': u'168470b1-b7eb-4dab-8fa4-6b744e2ad738'}
 Thread-837731::INFO::2014-09-24
 19:47:21,931::clientIF::331::vds::(prepareVolumePath) prepared volume path:
 /rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso
 Thread-837731::WARNING::2014-09-24
 19:47:21,951::clientIF::361::vds::(teardownVolumePath) Drive is not a vdsm
 image: None
 Traceback (most recent call last):
   File /usr/share/vdsm/clientIF.py, line 354, in teardownVolumePath
 if vm.isVdsmImage(drive):
   File /usr/share/vdsm/virt/vm.py, line 112, in isVdsmImage
 return all(k in drive for k in required)
   File /usr/share/vdsm/virt/vm.py, line 112, in genexpr
 return all(k in drive for k in required)
 TypeError: argument of type 'NoneType' is not iterable
 

There is an open bug on that
Bug 1145728 - change cd fail on 'Drive is not a vdsm image'
https://bugzilla.redhat.com/show_bug.cgi?id=1145728

 
 I see also these kind of messages
 
 Thread-838408::WARNING::2014-09-24
 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type - deviceType
 Thread-838408::WARNING::2014-09-24
 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice
 Thread-838408::WARNING::2014-09-24
 19:57:20,587::Bridge::448::root::(fieldClone

Re: [ovirt-users] problems with win 2008_64 vm

2014-09-28 Thread Omer Frenkel


- Original Message -
 From: Grant Pasley gr...@xtranet.com.au
 To: Markus Stockhausen stockhau...@collogia.de
 Cc: users@ovirt.org
 Sent: Sunday, September 28, 2014 6:22:15 AM
 Subject: Re: [ovirt-users] problems with win 2008_64 vm
 
 good morning
 
 sorry the server is centos 6.5: 2.6.32-431.29.2.el6.x86_64 #x86_64 x86_64
 x86_64 GNU/Linux
 the vm does not get as far as loading windows before pausing, so i cannot
 deactivate windows settings, although 2008 server does not by default
 
 thanks
 
 grant

does it happen to all the vms or just this one?
please look at the events sub tab for this vm, there should be the pause reason
if not, please attach vdsm.log for the host that runs the vm 

 
 On 9/27/2014 8:28 AM, Markus Stockhausen wrote:
 
 
 
 
 Are you running FC20 on the hypervisor host and if yes what kernel?
 Am 27.09.2014 02:39 schrieb Grant Pasley gr...@xtranet.com.au :
 good morning guys
 
 i have an issue with my 2008 vm going to pause within 5 secs of starting it
 up. new install of ovirt 3.4.4 on hp dl160, installed the windows vm and
 windows drivers etc and it was running fine. did a reboot last night and
 went to bed, i see this morning the server is not accessible and when i
 login to the web gui it is paused. stop vm and restart the server starts
 firing up and then goes to pause mode with the following message from the
 ovirt-engine log. i dont think it is a windows problem as the vm pauses
 before it even starts trying to load windows server:
 
 2014-09-27 10:28:58,738 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (org.ovirt.thread.pool-6-thread-49) [74bf3eb0] Correlation ID: 74bf3eb0, Job
 ID: 5584a4e6-7ce2-4c2f-8278-3b0cdbc48d19, Call Stack: null, Custom Event ID:
 -1, Message: VM 2008-server was started by admin (Host: local_host).
 2014-09-27 10:29:01,667 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-99) VM 2008-server
 067fcde9-99ea-46cd-a5b6-46396e0e6f62 moved from WaitForLaunch -- PoweringUp
 2014-09-27 10:29:06,211 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand]
 (ajp--127.0.0.1-8702-1) [1e9b8c1d] Running command: SetVmTicketCommand
 internal: false. Entities affected : ID:
 067fcde9-99ea-46cd-a5b6-46396e0e6f62 Type: VM
 2014-09-27 10:29:06,215 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
 (ajp--127.0.0.1-8702-1) [1e9b8c1d] START, SetVmTicketVDSCommand(HostName =
 local_host, HostId = 3e605ec1-a6dd-43c6-9425-cbc21ac63bf4,
 vmId=067fcde9-99ea-46cd-a5b6-46396e0e6f62, ticket=RzYGHR4OBS8F,
 validTime=120,m userName=admin,
 userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 45ae9369
 2014-09-27 10:29:06,384 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
 (ajp--127.0.0.1-8702-1) [1e9b8c1d] FINISH, SetVmTicketVDSCommand, log id:
 45ae9369
 2014-09-27 10:29:06,413 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-1) [1e9b8c1d] Correlation ID: 1e9b8c1d, Call Stack:
 null, Custom Event ID: -1, Message: user admin initiated console session for
 VM 2008-server
 2014-09-27 10:29:07,854 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-48) VM 2008-server
 067fcde9-99ea-46cd-a5b6-46396e0e6f62 moved from PoweringUp -- Paused
 
 thanks
 
 grant.
 
 
 
 
 
   
 
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 
 
 
 
   
 
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 
 ___
 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] sysprep answers

2014-09-24 Thread Omer Frenkel


- Original Message -
 From: Bill Dossett bill.doss...@pb.com
 To: users@ovirt.org
 Sent: Wednesday, September 24, 2014 10:57:28 AM
 Subject: [ovirt-users] sysprep answers
 
 
 
 Hi,
 
 
 
 I’ve managed to get my first templates ready to go…. But I am lacking a
 document that explains how I can add the VMs to my domain. I have sealed the
 template but the ovirt docs seem to stop there and the redhat ones talk
 about using rhevm-config commands.
 
 
 
 I have found the place to set time zone and enter a domain if I edit the
 template, however to add a computer to our domain we need to use a special
 account and I don’t see any way of specifying this.
 
 
 
 Any help or further reading would be appreciated


the user that is used by default is the user that is set for the domain
you can see it with 
# engine-manage-domains list

or directly from the db

# su - postgres -c psql engine -c \select * from vdc_options where 
option_name = 'AdUserName';\
 
if you need to use different user, you can do that with 'run-once' option:
in the webadmin, select the vm, click run once, under 'boot options' mark 
floppy and select sysprep, under 'initial run' select go to sysprep, and select 
'alternate credentials'

in ovirt 3.5 you can also save a custom sysprep file containing any custom data:
Bug 1080002 - OVIRT35 - [RFE] Enable user defined Windows Sysprep file

 
 
 Thanks
 
 
 
 
   
 
 Bill Dossett
 
 Virtualisation Architect
   
 
 Pitney Bowes – Tech Central
 
 6 Hercules Way, 600 Leavesden Park
 
 Watford, WD25 7GS
   
 
 Phone (+44) (0)1923 279353 | VOIP: 54739353
 
 Mobile (+44) (0)7775 908612
   
 
 bill.doss...@pb.com
 
 www.pb.com
 
 
 
 In Engineering? Raise a ticket via Remedy Anywhere [ HERE ] takes less than a
 minute
 
 
 
 ManageIQ User Guide available [ HERE ]
 
 
 
 Check out the ManageIQ Blog for recent enhancements and information [HERE]
 
 
 
 
 
 
 
 
 ___
 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 3.5 rc2 unable to mount cd on running VM

2014-09-24 Thread Omer Frenkel


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: users users@ovirt.org
 Sent: Tuesday, September 23, 2014 1:56:07 AM
 Subject: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
 
 Hello,
 installed a CentOS 6.5 x86_64 vm from iso (create VM and then run once
 connecting CD iso).
 
 System reboot several times and power on from web admin gui and all seems ok.
 
 At a certain point I upload guest-tools iso to my engine for future windows
 VMs.
 Taken ovirt-guest-tools-3.5_5.iso and try to mount it
 
 In engine the downloaded file seems ok and I can loop mount it for test.
 [root@ovirtmgr ~]# mount -o loop ovirt-guest-tools-3.5_5.iso /media
 [root@ovirtmgr ~]# ll /media
 total 19382
 dr-xr-xr-x. 4 root root 2048 Jul 7 13:21 bin
 dr-xr-xr-x. 4 root root 2048 Jul 6 17:25 drivers
 -r--r--r--. 1 root root 19839504 Jul 17 12:49 ovirt-guest-tools-setup.exe
 -r--r--r--. 1 root root 88 Jul 7 13:18 version.txt
 -r--r--r--. 1 root root 2266 Jul 2 16:40 win-driver-license.txt
 [root@ovirtmgr ~]# umount /media
 
 [root@ovirtmgr ~]# md5sum ovirt-guest-tools-3.5_5.iso
 ad98fc5db09183acd1620b5effb5e151 ovirt-guest-tools-3.5_5.iso
 
 Also the uploaded file seems ok
 [root@ovirtmgr ovirt-engine]# md5sum
 /var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso
 ad98fc5db09183acd1620b5effb5e151
 /var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso
 
 If I try to connect cd to the running VM from web admin portal I get a window
 with the error:
 
 Error while executing action Change CD: Internal Engine Error
 
 In events:
 Failed to change disk in VM c65new (Host: ovnode04, User: admin).
 
 In engine.log
 2014-09-23 00:33:43,022 INFO [org.ovirt.engine.core.bll.ChangeDiskCommand]
 (ajp--127.0.0.1-8702-5) [22041
 702] Running command: ChangeDiskCommand internal: false. Entities affected :
 ID: 0ce8ebc0-8464-4e9a-b382-1836234b3560 Type: VMAction group CHANGE_VM_CD
 with role type USER
 2014-09-23 00:33:43,028 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] START, IsoPrefixVDSCommand(HostName =
 ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
 storagePoolId=4512e567-f94e-476a-a050-6cd0a15e260a), log id: 26c82fe2
 2014-09-23 00:33:43,028 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] FINISH, IsoPrefixVDSCommand, return:
 /rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----,
 log id: 26c82fe2
 2014-09-23 00:33:43,029 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] START, ChangeDiskVDSCommand(HostName =
 ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
 vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560,
 diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso),
 log id: 12ce4870
 2014-09-23 00:33:43,060 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] Failed in ChangeDiskVDS method, for vds:
 ovnode04; host: 192.168.1.74
 2014-09-23 00:33:43,061 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] Command ChangeDiskVDSCommand(HostName =
 ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
 vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560,
 diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso)
 execution failed. Exception: NullPointerException:
 2014-09-23 00:33:43,063 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
 (ajp--127.0.0.1-8702-5) [22041702] FINISH, ChangeDiskVDSCommand, log id:
 12ce4870
 2014-09-23 00:33:43,063 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand]
 (ajp--127.0.0.1-8702-5) [22041702] Command
 org.ovirt.engine.core.bll.ChangeDiskCommand throw Vdc Bll exception. With
 error message VdcBLLException: java.lang.NullPointerException (Failed with
 error ENGINE and code 5001)
 2014-09-23 00:33:43,069 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand]
 (ajp--127.0.0.1-8702-5) [22041702] Transaction rolled-back for command:
 org.ovirt.engine.core.bll.ChangeDiskCommand.
 2014-09-23 00:33:43,083 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-5) [22041702] Correlation ID: 22041702, Job ID:
 a6be11b2-bb67-49ec-b3fc-695e8eab36b2, Call Stack: null, Custom Event ID: -1,
 Message: Failed to change disk in VM c65new (Host: ovnode04, User: admin).
 
 No errors in vdsm.log of host and in VM logfile under 

Re: [ovirt-users] Can't understand Template Sub Version

2014-09-16 Thread Omer Frenkel


- Original Message -
 From: John Xue xgxj...@gmail.com
 To: users@ovirt.org
 Sent: Monday, September 15, 2014 10:43:49 AM
 Subject: [ovirt-users] Can't understand Template Sub Version
 
 Hi, All
 
 I'm using oVirt Engine Version: 3.4.3-1.el6, but I can't
 understand this function. I have 3 question:
 
 1 How to change a vm to use other template sub version?
  I don't want to build a new vm from new template version.
 2 How to update a pool to use other template sub version?
  I'm using non latest version, and shutdown all vm of this pool,
 but I still can't change template version.

there is a gap, user cannot update the template version of already created vm 
or pool
there is an open RFE for that:
Bug 1140569 - [RFE] Provide UI ability to change Template versioning policy 
for existing pools

regarding 1 - please note that template versions are only relevant for 
stateless vms, not all vms,
since upgrading to new version means re-creating the vm disks, according to new 
version.

 3 How to create a pool with disable stateless function?
  In the property of template vm, I'm sure I don't enable
 stateless. But in the testing, I found all the vm are stateless vm.
 How to disable it, or I'll lost all config and personal data.
 
  Thank you very much!
 

vm pools are stateless by definition, it creates you pool of vms that users can 
take from the pool, use it to do whatever they like,
and once returned to the pool, all the user specific changes are gone, hence 
stateless.

you can work with pools in 2 modes:
automatic - vm returned to the pool when user shut it down.
manual - admin need to manually return the vm to the pool, this way the state 
for the user is saved also between shut-downs, until the admin action.

 --
 Regards,
 John Xue
 ___
 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] Latest 3.5 - No Enable Gluster Service check box.

2014-09-14 Thread Omer Frenkel


- Original Message -
 From: Nathan Stratton nat...@robotics.net
 To: users users@ovirt.org
 Sent: Saturday, September 13, 2014 10:13:38 PM
 Subject: [ovirt-users] Latest 3.5 - No Enable Gluster Service check box.
 
 Latest 3.5 install as of today, I already have gluster up and running on all
 host and I am trying to import my gluster volume into ovirt. When I go to
 edit the cluster I have Enable Gluster Service but there is no check box
 next to it to check or uncheck.
 
 If I look at the host under Hosts, I do see:
 
 GlusterFS Version: glusterfs-3.5.2-1.el6
 

what browser version are you using?
you might have hit 
Bug 1138556 - Overlap of Enable Virt Service and Enable Gluster Service 
radio buttons

 
 nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
 www.broadsoft.com
 
 ___
 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] Migration failed due to Error: Fatal error during migration

2014-08-31 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Manfred Landauer manfred.landa...@fabasoft.com, users@ovirt.org
 Sent: Friday, August 29, 2014 4:30:38 AM
 Subject: Re: [ovirt-users] Migration failed due to Error: Fatal error during 
 migration
 
 Hi ,
 
 I am also facing the same issue...
 
 here is the engine logs :-
 
 2014-08-29 09:27:45,432 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateStatusVDSCommand, log
 id: 1f3e4161
 2014-08-29 09:27:45,439 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID:
 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID:
 -1, Message: Migration failed due to Error: Fatal error during migration.

please send vdsm and libvirt log from the src host for this vm

 Trying to migrate to another Host (VM: bc16391ac105b7e68cccb47803906d0b,
 Source: compute4, Destination: compute3).
 2014-08-29 09:27:45,536 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand]
 (org.ovirt.thread.pool-6-thread-24) Running command: MigrateVmCommand
 internal: false. Entities affected :  ID:
 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 Type: VM

i see this vm did migrate successfully, right?

 2014-08-29 09:27:45,610 INFO
  
 [org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit]
 (org.ovirt.thread.pool-6-thread-24) Started HA reservation scoring method
 2014-08-29 09:27:45,666 INFO
  [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) START, MigrateVDSCommand(HostName =
 compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37,
 vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com,
 dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost=
 compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false,
 migrationDowntime=0), log id: 640b0ccd
 2014-08-29 09:27:45,667 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) VdsBroker::migrate::Entered
 (vm_guid=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com,
 dstHost=compute2.3linux.com:54321,  method=online
 2014-08-29 09:27:45,684 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) START, MigrateBrokerVDSCommand(HostName
 = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37,
 vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com,
 dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost=
 compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false,
 migrationDowntime=0), log id: 1b3d3891
 2014-08-29 09:27:45,702 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateBrokerVDSCommand, log
 id: 1b3d3891
 2014-08-29 09:27:45,707 INFO
  [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
 (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateVDSCommand, return:
 MigratingFrom, log id: 640b0ccd
 2014-08-29 09:27:45,711 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID:
 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID:
 -1, Message: Migration started (VM: bc16391ac105b7e68cccb47803906d0b,
 Source: compute4, Destination: compute2, User: admin).
 2014-08-29 09:27:47,143 INFO
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
 (DefaultQuartzScheduler_Worker-28) START,
 GlusterVolumesListVDSCommand(HostName = compute4, HostId =
 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 9e34612
 2014-08-29 09:27:47,300 INFO
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
 (DefaultQuartzScheduler_Worker-28) FINISH, GlusterVolumesListVDSCommand,
 return:
 {e6117925-79b1-417b-9d07-cfc31f68bc51=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@b42f1b41},
 log id: 9e34612
 2014-08-29 09:27:48,306 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-51) RefreshVmList vm id
 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring
 it in the refresh until migration is done
 2014-08-29 09:27:51,349 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-52) RefreshVmList vm id
 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring
 it in the refresh until migration is done
 2014-08-29 09:27:52,470 INFO
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
 (DefaultQuartzScheduler_Worker-49) START,
 GlusterVolumesListVDSCommand(HostName = compute4, HostId =
 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 7cbb4cd
 2014-08-29 09:27:52,624 INFO

Re: [ovirt-users] Prestarted vms in a pool

2014-08-28 Thread Omer Frenkel


- Original Message -
 From: Michel Rode r...@b1-systems.de
 To: users@ovirt.org
 Sent: Wednesday, August 27, 2014 10:53:00 PM
 Subject: [ovirt-users] Prestarted vms in a pool
 
 Hi all,
 
 we have a little problem here...we created a new pool with 10 vms and 4
 of them as prestarted.
 
 During the sysprep (Windows vms) the vms getting rebooted and this is
 the problem:
 
 2014-08-27 17:22:47,759 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3
 c9-511416f69ae0 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,775 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0
 20-34e0f43307d4 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,785 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af
 e6-49b217b2598d moved from Up -- RebootInProgress
 2014-08-27 17:22:47,846 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93
 89-400f1af22e5f moved from Up -- RebootInProgress
 2014-08-27 17:22:57,027 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor]
 (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool
 4f5fe15b-123c-4beb-b596-528747f2
 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms
 
 And after 10mins all vms in the pool are started!
 
 Why is VmPoolMonitor attempting to prestart 4 Vms again?
 

the problem is that the monitor dont take into consideration this status 
(RebootInProgress)
only WaitForLaunch, PoweringUp or Up

could you please open a bug on this?

Thanks!

 Thanks!
 Michel
 
 --
 Michel Rode
 Linux / Unix Consultant  Trainer
 
 Mail: r...@b1-systems.de
 
 B1 Systems GmbH
 Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
 GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
 
 ___
 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] Prestarted vms in a pool

2014-08-28 Thread Omer Frenkel


- Original Message -
 From: Michal Skrivanek michal.skriva...@redhat.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Michel Rode r...@b1-systems.de, users@ovirt.org
 Sent: Thursday, August 28, 2014 10:59:16 AM
 Subject: Re: [ovirt-users] Prestarted vms in a pool
 
 
 On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote:
 
  
  
  - Original Message -
  From: Michel Rode r...@b1-systems.de
  To: users@ovirt.org
  Sent: Wednesday, August 27, 2014 10:53:00 PM
  Subject: [ovirt-users] Prestarted vms in a pool
  
  Hi all,
  
  we have a little problem here...we created a new pool with 10 vms and 4
  of them as prestarted.
  
  During the sysprep (Windows vms) the vms getting rebooted and this is
  the problem:
  
  2014-08-27 17:22:47,759 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3
  c9-511416f69ae0 moved from Up -- RebootInProgress
  2014-08-27 17:22:47,775 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0
  20-34e0f43307d4 moved from Up -- RebootInProgress
  2014-08-27 17:22:47,785 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af
  e6-49b217b2598d moved from Up -- RebootInProgress
  2014-08-27 17:22:47,846 INFO
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93
  89-400f1af22e5f moved from Up -- RebootInProgress
  2014-08-27 17:22:57,027 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor]
  (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool
  4f5fe15b-123c-4beb-b596-528747f2
  a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms
  
  And after 10mins all vms in the pool are started!
  
  Why is VmPoolMonitor attempting to prestart 4 Vms again?
  
  
  the problem is that the monitor dont take into consideration this status
  (RebootInProgress)
 
 hm, but RebootInProgress is used during the shutdown phase as well - and then
 during the actual boot its unchanged, all the way till VM is reported Up
 again.
 could it be a problem?
 

i think not, because even if the vm is shutting down now, its still a running 
vm,
if we dont want to exceed the user configuration,
we can count it as still running, and in the next cycle (5 mins)
it will not be counted and we will get a better decision.

what do you think?

 
 Thanks,
 michal
 
 
  only WaitForLaunch, PoweringUp or Up
  
  could you please open a bug on this?
  
  Thanks!
  
  Thanks!
  Michel
  
  --
  Michel Rode
  Linux / Unix Consultant  Trainer
  
  Mail: r...@b1-systems.de
  
  B1 Systems GmbH
  Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
  GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
  
  ___
  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
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migration failed due to Error: Fatal error during migration

2014-08-28 Thread Omer Frenkel


- Original Message -
 From: Manfred Landauer manfred.landa...@fabasoft.com
 To: users@ovirt.org
 Sent: Thursday, August 14, 2014 6:29:21 PM
 Subject: [ovirt-users] Migration failed due to Error: Fatal error during  
 migration
 
 
 
 Hi all
 
 
 
 When we try to migrate a VM on oVirt “Engine Version: 3.4.3-1.el6 ” form host
 A to host B we’ll get this Errormessage: “Migration failed due to Error:
 Fatal error during migration”.
 
 
 
 It looks like, this occurs only when thin provisioned HDD’s attached to the
 VM. VM’s with preallocated HDD’s attached, migrate without a problem.
 
 
 
 Hope someone can help us to solve this issue.
 
 

it looks more like a network error:
Thread-3810747::ERROR::2014-08-14 16:48:45,471::vm::337::vm.Vm::(run) 
vmId=`494f5edc-7edd-4300-a675-f0a8883265e4`::Failed to migrate
Traceback (most recent call last):
  File /usr/share/vdsm/vm.py, line 323, in run
self._startUnderlyingMigration()
  File /usr/share/vdsm/vm.py, line 400, in _startUnderlyingMigration
None, maxBandwidth)
  File /usr/share/vdsm/vm.py, line 838, in f
ret = attr(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line 76, 
in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 1178, in 
migrateToURI2
if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', 
dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer

could you attach the libvirt log?

 
 Best regards
 
 Manfred
 
 
 
 ___
 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] VM Snapshot Problem

2014-08-27 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, August 27, 2014 9:14:14 AM
 Subject: [ovirt-users] VM Snapshot Problem
 
 Hi All,
 
 I am facing one strange problem with the snapshot of the VM...let me explain
 
 
 
 
 I have one vm called “vm1”  i have created the following snapshots :-
 
 
 
 1) 2014-08-20 First Snapshot
 
 2) 2014-08-21 Second Snapshot
 
 3) 2014-08-22 Third Snapshot
 
 Now if i try to restore the VM(means commit) with Third Snapshot...other two
 snapshots will exists..
 
 
 
 But if I restore the VM with First Snapshot...VM will restore successfully
 but it destroy the other 2 snapshosts ( Second S napshot  Third S napshot
 )..that means both the other snapshots will be disappear
 
 
 
 Please let me know is this the limitation of Ovirt or it's any setting
 problem...
 
 

this is how snapshots works, third is based on second which based on first,
each snapshot contains only the diff from its base, so if you want to go and 
change the base, all snapshots that based on it are not valid anymore.


 
 
 
 Thank you.
 
 ___
 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] Migration failed, No available host found

2014-08-25 Thread Omer Frenkel


- Original Message -
 From: PaulCheung eq2...@msn.com
 To: users@ovirt.org
 Sent: Monday, August 25, 2014 2:03:22 PM
 Subject: [ovirt-users] Migration failed, No available host found
 
 Dear ALL,
 
 I have 3 servers, KVM01, KVM02, KVM03
 I want to migration some vms to KVM02 , there show a message:
 
 Migration failed, No available host found (VM: AL1-Paul, Source: KVM03).
 
 
 
 
 But I can migration from kvm01 to kvm03, or kvm03 to kvm01, but not kvm02.
 
 
 
 
 I check the firewall, they are all the same! Can somebody help me!
 
 

are you sure kvm02 has enough resources (cpu/mem) to host the new vm?
can you please attach engine.log


 
 
 
 ___
 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] vm install via iso - optical drive eject behaviour?

2014-08-20 Thread Omer Frenkel


- Original Message -
 From: Paul Jansen vla...@yahoo.com.au
 To: users users@ovirt.org
 Sent: Tuesday, August 19, 2014 2:25:41 PM
 Subject: [ovirt-users] vm install via iso - optical drive eject behaviour?
 
 Hello.
 I currently have oVirt 3.4.x set up.
 A colleague mentioned that he was having an issue where booting a VM with an
 attached iso and installing via cd/dvd does not allow the contents of the
 'drive' to eject after the install. Sure enough, I have tested this myself
 and observed the same behaviour.
 Installing an EL/fedora iso image with a kickstart that has a 'reboot
 --eject' line in will eject the 'drive' after the installing when doing the
 exact same thing on VMware ESXi (and 'real' hardware).
 A suggestion was made that VMware emulates a laptop style optical drive that
 once the disk ejects the system cannot close the drive bay upon reboot -
 this is a manual operation.
 Does oVirt emulate a destop style drive where even if the disk is ejected,
 when a reboot occurs the drive will close?
 
 The long an short of this that even though the 'reboot --eject' option is in
 the kickstart, the iso image seems be be reattached when the VM reboots and
 the installs process starts again. An infinite loop effectively.
 
 I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.
 
 Any suggestions as to how to solve this?
 I should point out that I cannot simply extract files and boot via PXE as
 this process is supposed to be testing an install process via generated
 media.
 
 Thanks.

there is an open RFE for detecting the reboot and eject the cd in run once.

until that, what i do is: (assuming the HD doesn't have anything bootable on it)
edit the vm, 
select in 'boot options':
 first device- hard disk,
 second device-CD and select the CD file you want to use.

start the vm regularly (not run once)

 
 
 ___
 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] vm install via iso - optical drive eject behaviour?

2014-08-20 Thread Omer Frenkel


- Original Message -
 From: Jorick Astrego j.astr...@netbulae.eu
 To: users@ovirt.org
 Sent: Wednesday, August 20, 2014 12:53:56 PM
 Subject: Re: [ovirt-users] vm install via iso - optical drive eject   
 behaviour?
 
 
 On 08/20/2014 11:21 AM, Omer Frenkel wrote:
 
 
 
 - Original Message -
 
 
 
 From: Paul Jansen vla...@yahoo.com.au To: users users@ovirt.org Sent:
 Tuesday, August 19, 2014 2:25:41 PM
 Subject: [ovirt-users] vm install via iso - optical drive eject behaviour?
 
 Hello.
 I currently have oVirt 3.4.x set up.
 A colleague mentioned that he was having an issue where booting a VM with an
 attached iso and installing via cd/dvd does not allow the contents of the
 'drive' to eject after the install. Sure enough, I have tested this myself
 and observed the same behaviour.
 Installing an EL/fedora iso image with a kickstart that has a 'reboot
 --eject' line in will eject the 'drive' after the installing when doing the
 exact same thing on VMware ESXi (and 'real' hardware).
 A suggestion was made that VMware emulates a laptop style optical drive that
 once the disk ejects the system cannot close the drive bay upon reboot -
 this is a manual operation.
 Does oVirt emulate a destop style drive where even if the disk is ejected,
 when a reboot occurs the drive will close?
 
 The long an short of this that even though the 'reboot --eject' option is in
 the kickstart, the iso image seems be be reattached when the VM reboots and
 the installs process starts again. An infinite loop effectively.
 
 I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.
 
 Any suggestions as to how to solve this?
 I should point out that I cannot simply extract files and boot via PXE as
 this process is supposed to be testing an install process via generated
 media.
 
 Thanks.
 there is an open RFE for detecting the reboot and eject the cd in run once.
 
 until that, what i do is: (assuming the HD doesn't have anything bootable on
 it)
 edit the vm,
 select in 'boot options':
  first device- hard disk,
  second device-CD and select the CD file you want to use.
 
 start the vm regularly (not run once)
 Does this work for you?
 

interesting, i just installed one vm and it worked for me yesterday,
and i tried again now couple of times (to be sure) and i see the same issue.

trying to investigate now what is the difference

 In 3.5rc1, I have the following issue:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1131018
 
 
 
 
 Description of problem:
 Installing a VM with the Second Boot device CDROM. After installation, I
 choose reboot in the VM and the installer of the CDROM appears again even
 though I have the HDD as first boot device.
 
 When I power down the VM, don't change anything, and power it up again. It
 does start from the local HDD
 Kind regards,
 
 Jorick Astrego
 Netbulae
 
 
 ___
 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] VM's remain listed after cleanup and reinstall

2014-08-20 Thread Omer Frenkel


- Original Message -
 From: Jorick Astrego j.astr...@netbulae.eu
 To: users@ovirt.org
 Sent: Wednesday, August 20, 2014 4:16:54 PM
 Subject: [ovirt-users] VM's remain listed after cleanup and reinstall
 
 Hi,
 
 Running ovirt 3.5rc1 All In One, there is something strange going on, where
 does ovirt store it's VM definitions?
 
 I did an engine-cleanup and removed everything from /var/lib/images, but
 after a reinstall there are still test VM's listed in ovirt
 
 
 history
 
 669 engine-cleanup
 672 rm -rf /var/lib/images-*
 673 rm -rf /var/lib/images/*
 674 rm -rf /var/lib/exports/iso/*
 676 engine-setup --jboss-home=/usr/share/ovirt-engine-jboss-as
 
 I go to the engine:
 
 Engine-cleanup drops the database, is there somewhere else they get stored?
 They are listed as external but there is nothing external hooked up to the
 ovirt (all in one)
 

external means the engine discovered these vms are actually running on your 
host, but its not in the db,
so the engine import the information from vdsm.

you can just stop the vms and remove them.

but for next time
before you do cleanup, stop the vms :)

 Kind regards,
 
 Jorick Astrego
 Netbulae
 
 ___
 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] vm install via iso - optical drive eject behaviour?

2014-08-20 Thread Omer Frenkel


- Original Message -
 From: Omer Frenkel ofren...@redhat.com
 To: Jorick Astrego j.astr...@netbulae.eu
 Cc: users@ovirt.org
 Sent: Wednesday, August 20, 2014 2:16:25 PM
 Subject: Re: [ovirt-users] vm install via iso - optical drive eject   
 behaviour?
 
 
 
 - Original Message -
  From: Jorick Astrego j.astr...@netbulae.eu
  To: users@ovirt.org
  Sent: Wednesday, August 20, 2014 12:53:56 PM
  Subject: Re: [ovirt-users] vm install via iso - optical drive eject
  behaviour?
  
  
  On 08/20/2014 11:21 AM, Omer Frenkel wrote:
  
  
  
  - Original Message -
  
  
  
  From: Paul Jansen vla...@yahoo.com.au To: users users@ovirt.org
  Sent:
  Tuesday, August 19, 2014 2:25:41 PM
  Subject: [ovirt-users] vm install via iso - optical drive eject behaviour?
  
  Hello.
  I currently have oVirt 3.4.x set up.
  A colleague mentioned that he was having an issue where booting a VM with
  an
  attached iso and installing via cd/dvd does not allow the contents of the
  'drive' to eject after the install. Sure enough, I have tested this myself
  and observed the same behaviour.
  Installing an EL/fedora iso image with a kickstart that has a 'reboot
  --eject' line in will eject the 'drive' after the installing when doing the
  exact same thing on VMware ESXi (and 'real' hardware).
  A suggestion was made that VMware emulates a laptop style optical drive
  that
  once the disk ejects the system cannot close the drive bay upon reboot -
  this is a manual operation.
  Does oVirt emulate a destop style drive where even if the disk is ejected,
  when a reboot occurs the drive will close?
  
  The long an short of this that even though the 'reboot --eject' option is
  in
  the kickstart, the iso image seems be be reattached when the VM reboots and
  the installs process starts again. An infinite loop effectively.
  
  I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.
  
  Any suggestions as to how to solve this?
  I should point out that I cannot simply extract files and boot via PXE as
  this process is supposed to be testing an install process via generated
  media.
  
  Thanks.
  there is an open RFE for detecting the reboot and eject the cd in run once.
  
  until that, what i do is: (assuming the HD doesn't have anything bootable
  on
  it)
  edit the vm,
  select in 'boot options':
   first device- hard disk,
   second device-CD and select the CD file you want to use.
  
  start the vm regularly (not run once)
  Does this work for you?
  
 
 interesting, i just installed one vm and it worked for me yesterday,
 and i tried again now couple of times (to be sure) and i see the same issue.
 
 trying to investigate now what is the difference
 

ok found the issue, there is a bug in add disk that cause the boot order to be 
wrong (order is calculated before the disk is added).
looks like this affects vms created from blank (or other diskless) template and 
the disk is added afterwards
while this is fixed, a workaround is to first create the vm and the disk,
and only after that, edit the vm and choose the wanted boot options, this will 
cause the boot order to be re-calculated, taking into account also the disk.

if your vm already created, you can edit the boot order to something and then 
return it to what you like.

  In 3.5rc1, I have the following issue:
  
  https://bugzilla.redhat.com/show_bug.cgi?id=1131018
  
  
  
  
  Description of problem:
  Installing a VM with the Second Boot device CDROM. After installation, I
  choose reboot in the VM and the installer of the CDROM appears again even
  though I have the HDD as first boot device.
  
  When I power down the VM, don't change anything, and power it up again. It
  does start from the local HDD
  Kind regards,
  
  Jorick Astrego
  Netbulae
  
  
  ___
  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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Force Fully Stop Stuck Process

2014-08-19 Thread Omer Frenkel


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org, aha...@redhat.com, Dan Kenigsberg dan...@redhat.com, 
 Antoni Segura Puimedon
 asegu...@redhat.com, Sven Kieske s.kie...@mittwald.de, Frantisek 
 Kobzik fkob...@redhat.com, Itamar Heim
 ih...@redhat.com, Michal Skrivanek michal.skriva...@redhat.com, 
 barum...@redhat.com, Simone Tiraboschi
 stira...@redhat.com, Alon Bar-Lev alo...@redhat.com
 Sent: Tuesday, August 19, 2014 6:39:57 AM
 Subject: [ovirt-users] Force Fully Stop Stuck Process
 
 Hi,
 
 I provision one VMbut it keep running from last 45 min...but still not
 completed yet...it seems it stuckis there any way to force fully kill
 this process...
 
 Thanks,
 Punit
 

what is the status of the vm?
is it running or image locked?
if its running, right click and select 'Power off'

if it doesn't work, or anything else,
please explain exactly what did you do, and if possible attach engine.log

 ___
 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] How to reset vm from unknown state?

2014-07-28 Thread Omer Frenkel


- Original Message -
 From: Arman Khalatyan arm2...@gmail.com
 To: users users@ovirt.org
 Sent: Friday, July 25, 2014 9:37:55 PM
 Subject: [ovirt-users] How to reset vm from unknown state?
 
 
 
 Hi. My nfs storage got problems and one of the vms went to unknown state.
 Other vms on the same storage were back to normal state.
 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5
 
 Thenks.
 Arman
 On Jul 25, 2014 7:47 PM, Brian Proffitt  bprof...@redhat.com  wrote:
 

vm in 'unknown' usually means the host it is running on is in 'non responsive' 
state.
i suggest to understand what is wrong with the host, why is it not responding? 
(vds stuck? connection issues?)
worst case you can try and restart the host, once it will return to UP the vm 
will be free again.
let me know if it does not help

Omer.

 ___
 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] How to return VM to Maunal Pool?

2014-07-23 Thread Omer Frenkel


- Original Message -
 From: xiec fnst xiec.f...@cn.fujitsu.com
 To: users@ovirt.org
 Sent: Wednesday, July 23, 2014 9:06:30 AM
 Subject: [ovirt-users] How to return VM to Maunal Pool?
 
 
 
 Hi All:
 
 
 
 Recently I am confused by how to take back the VMs in Maunal Pool assigned to
 User. In the admin guide manual there is only one sentense about it :
 
 
 
 --
 
 The administrator is responsible for explicitly returning the virtual machine
 to the pool
 
 --
 
 
 
 But I don't find how to return.
 
 Does anybody find some useful way to do it?
 

The admin need to remove the user permission from the vm:
in the webadmin, select the specific vm, go to the permissions sub-tab, remove 
the user permission.
i think vm needs to be down

 
 
 e.g.
 
 this is my test about Manual Pool:
 
 
 
 
 
 1. a Manual Pool with one VM
 
 2. User-A / User-B (they all have priority to get VM in Pool)
 
 
 
 when User-A get the VM, even User-A shutdown the VM after finish using,
 User-B still can't get 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


Re: [ovirt-users] need help

2014-07-14 Thread Omer Frenkel


- Original Message -
 From: Harold Kwabena Takyi h...@pitt.edu
 To: users@ovirt.org
 Sent: Wednesday, July 9, 2014 7:27:41 PM
 Subject: [ovirt-users] need help
 
 
 
 Hi,
 
 I have installed oVirt Engine Version: 3.4.2-1.el6 and created VMs. Anytime I
 try connecting to the console I get error “ cannot connect to graphics
 server”. I am connecting froma windows machine with firefox and I have
 installed virtviewer. Any ideas?
 
 Thanks,
 
 Harold.
 

what display type are you using (spice/vnc)?
did you check firewall settings on the host where the vm is running?

 
 
 ___
 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] video driver selection for VNC consoles

2014-07-14 Thread Omer Frenkel


- Original Message -
 From: Darrell Budic darrell.bu...@zenfire.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users users@ovirt.org, Roy Golan rgo...@redhat.com
 Sent: Wednesday, July 9, 2014 6:20:16 PM
 Subject: Re: [ovirt-users] video driver selection for VNC consoles
 
 Nice, I missed this somewhere along the line.
 
 Unfortunately, it’s not working for me. I created a 10-osinfo.properties in
 /usr/share/ovirt-engine/conf and symlinked it into
 /etc/ovirt-engine/osinfo.conf.d for good measure, restarted jboss-as and
 ovirt-engine, and started up a VM but it still got a -vga cirrus device.
 
 Contents of my 10-osinfo.properties:
 os.other.devices.display.protocols.value = vnc/vga,qxl/qxl
 
 I notice I didn’t have an os.other.devices.display.protocols in my existing
 00-defaults.properties. I’m running 3.3.4 on this cluster, is this fully
 supported in that version?
 

well i forgot to mention that this will only work for new vms, or if you edit 
the vm and switch the display type (to spice and after that again to vnc)
because this value is saved in the db the moment the display device is created 
(add vm or update of display type)

please pay attention that win8,win8x64,win2012x64 override this value also


 
 On Jul 9, 2014, at 4:42 AM, Omer Frenkel ofren...@redhat.com wrote:
 
  
  
  - Original Message -
  From: Darrell Budic darrell.bu...@zenfire.com
  To: users users@ovirt.org
  Sent: Wednesday, July 9, 2014 12:30:23 AM
  Subject: [ovirt-users] video driver selection for VNC consoles
  
  I’d like to use “-vga vga” for my VNC console VMs instead of “-vga
  cirrus”,
  any easy way to do this?
  
   -Darrell
  
  
  very easly, use os-info to change vnc/cirrus to vnc/vga for the OS you like
  you need to create 10-osinfo.properties under share/ovirt-engine/conf/ to
  override os configurations
  
  (look at osinfo-defaults.properties and in http://www.ovirt.org/OS_info for
  more info )
  
  ___
  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] VM Pools

2014-07-14 Thread Omer Frenkel


- Original Message -
 From: Maurice James mja...@media-node.com
 To: users users@ovirt.org
 Sent: Monday, July 14, 2014 3:48:09 PM
 Subject: [ovirt-users] VM Pools
 
 Are changes made to VMs in pools by the administrator persistent only for
 that VM or are they persistent across the pool? For example If I need to
 update the Pool OS via yum or windows update. I f I log on as the admin via
 the admin portal, spin up one of the VMs from the pool and run the updates
 then shut down again. Will those updates be persistent on only that 1 VM or
 the entire pool?
 

only this vm, to get what you want, you need to use template versions [1]
which require you: 
1. to select 'latest' when creating the pool
2. after updating the vm you like, create a version from it to the template the 
pool was create from.


[1] http://www.ovirt.org/index.php?title=Features/Template_Versions

 ___
 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] video driver selection for VNC consoles

2014-07-09 Thread Omer Frenkel


- Original Message -
 From: Darrell Budic darrell.bu...@zenfire.com
 To: users users@ovirt.org
 Sent: Wednesday, July 9, 2014 12:30:23 AM
 Subject: [ovirt-users] video driver selection for VNC consoles
 
 I’d like to use “-vga vga” for my VNC console VMs instead of “-vga cirrus”,
 any easy way to do this?
 
   -Darrell


very easly, use os-info to change vnc/cirrus to vnc/vga for the OS you like
you need to create 10-osinfo.properties under share/ovirt-engine/conf/ to 
override os configurations

(look at osinfo-defaults.properties and in http://www.ovirt.org/OS_info for 
more info )

 ___
 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] Tune HA timing,is it possible

2014-06-29 Thread Omer Frenkel


- Original Message -
 From: mad Engineer themadengin...@gmail.com
 To: users@ovirt.org
 Cc: de...@ovirt.org
 Sent: Friday, June 27, 2014 11:53:04 PM
 Subject: [ovirt-users] Tune HA timing,is it possible
 
 Hi,
 Is it possible to tune time required to reboot VM in case of host failures.
 
 in our test we powered off one of the Host.
 
 Manager was still showing both Guest and Host as UP for around 5 minutes
 and after that it took another 4-5 minutes to start VM.
 
 Is there any tunable parameter that can be modified to bring down the time
 required to recognize Host failures.
 
 Thanks
 

see if this helps
http://www.ovirt.org/Automatic_Fencing

most of relevant configurations should be explained there

 ___
 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] How to change a pool's template

2014-06-18 Thread Omer Frenkel


- Original Message -
 From: René Koch rk...@linuxland.at
 To: Omer Frenkel ofren...@redhat.com
 Cc: John Xue xgxj...@gmail.com, users@ovirt.org
 Sent: Thursday, June 12, 2014 4:33:09 PM
 Subject: Re: [ovirt-users] How to change a pool's template
 
 On 06/12/2014 08:58 AM, Omer Frenkel wrote:
 
 
  - Original Message -
  From: John Xue xgxj...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, June 12, 2014 7:03:22 AM
  Subject: [ovirt-users]  How to change a pool's template
 
  Hello
 
  I'm a new guy in ovirt 3.3.5, I try to change a pool's template. When
  I edit the pool, the option Based of Template is gay. How to do
  that? I don't want to delete and rebuild again.
 
 
  you cannot change pool's template, because it means replacing all the disks
  for all the vms in the pool,
  which is basically the same as removing the pool and creating a new one.
 
  but, you can do something similar in 3.4, using template versions:
  in 3.4, when you create the pool, you can select a template and LATEST as
  the version.
  when you create a new template, you can make it a version of the original
  template,
  and the pool will update to this template.
 
 I tried this features with oVirt 3.4.1, but it didn't work as expected.
 
 When selecting latest and a guest is shut down it will be deleted.
 The expected behavior would be that a new vm with the newest version of
 this template (latest subtemplate) would be started.
 
 The actual behavior is the following: VM will be deleted, pool is
 decreased by 1 vm and vm is started as a standalone (desktop) vm.
 
 So the whole pool features is broken when using latest template feature
 (in 3.4.1 - didn't test it with 3.4.2 yet).
 

thanks for reporting,
i've just merged a fix to master

http://gerrit.ovirt.org/#/c/28861/

 
 Regards,
 René
 
 
  you can read about it here
  http://www.ovirt.org/Features/Template_Versions
 
  Thank you!
 
  --
  Regards,
  John Xue
  ___
  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
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to change a pool's template

2014-06-12 Thread Omer Frenkel


- Original Message -
 From: John Xue xgxj...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, June 12, 2014 7:03:22 AM
 Subject: [ovirt-users]  How to change a pool's template
 
 Hello
 
 I'm a new guy in ovirt 3.3.5, I try to change a pool's template. When
 I edit the pool, the option Based of Template is gay. How to do
 that? I don't want to delete and rebuild again.
 

you cannot change pool's template, because it means replacing all the disks for 
all the vms in the pool,
which is basically the same as removing the pool and creating a new one.

but, you can do something similar in 3.4, using template versions:
in 3.4, when you create the pool, you can select a template and LATEST as the 
version.
when you create a new template, you can make it a version of the original 
template,
and the pool will update to this template.

you can read about it here
http://www.ovirt.org/Features/Template_Versions

 Thank you!
 
 --
 Regards,
 John Xue
 ___
 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] yaml cloud-init custom scripts

2014-06-01 Thread Omer Frenkel


- Original Message -
 From: Nathanaël Blanchet blanc...@abes.fr
 To: users users@ovirt.org
 Sent: Friday, May 30, 2014 6:49:34 PM
 Subject: [ovirt-users] yaml  cloud-init custom scripts
 
 Hello,
 
 I've been unsuccessfully trying to make work a custom yalm script with the
 cloud-init option in 3.4.1.
 All other native UI parameters are correctly configured (hostname...)
 
 My goal is to change the keyboard layout:
 write_files:
 - content: |
 # My new /etc/sysconfig/keyboard file
 KEYTABLE=fr
 MODEL=pc105
 LAYOUT=fr
 KEYBOARDTYPE=pc
 path: /etc/sysconfig/keyboard
 permissions: '0644'
 
 I can't see what is wrong and there is nothing into cloud-init logs on the
 guest (/var/log/clou-init-output.log).

isn't it in /var/log/cloud-init.log ?

 Is it possible to see the whole yalm file generated by the engine somewhere?
 

the cloud init data is attached to the vm as a cd-rom
you can mount it locally and look inside the drive name is config-2 (look for 
it with blkid)
for me on fedora 19 it always appear in /dev/sr1 

 --
 Nathanaël Blanchet
 
 Supervision réseau
 Pôle exploitation et maintenance
 Département des systèmes d'information
 227 avenue Professeur-Jean-Louis-Viala
 34193 MONTPELLIER CEDEX 5
 Tél. 33 (0)4 67 54 84 55
 Fax  33 (0)4 67 54 84 14 blanc...@abes.fr
 
 ___
 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] Help creating virtual machines in ovirt

2014-05-29 Thread Omer Frenkel


- Original Message -
 From: Grant Tailor therealwebg...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: vanoppen koen vanoppen.k...@gmail.com, Eli Mesika 
 emes...@redhat.com, users@ovirt.org
 Sent: Thursday, May 29, 2014 3:04:31 AM
 Subject: Re: [ovirt-users] Help creating virtual machines in ovirt
 
 Ok here is what i have
 
 #1. I did the maintenance thing and it then shows Emulated Machine:
 rhel6.5.0

great! the big issue is solved..

now it seems that the issue is that the vm has more memory than the host..
how much memory are you trying to use for the vm?
also if you want to have memory over-commit you need to set it on the cluster
(edit the cluster - Optimization - Memory Optimization - for desktops load)
the above setting will allow ~200% over commit of memory

 Please see the screenshot
 
 I then tried again to run once and also run
 
 
 
 
 
 
 
 
 #2 output of vdsClient -s 0 getVdsCaps on the host2 machine is below
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 *[root@host2 ~]# vdsClient -s 0 getVdsCapsHBAInventory = {'FC': [],
 'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:218fac3e62a7'}]}
 ISCSIInitiatorName = 'iqn.1994-05.com.redhat:218fac3e62a7'bondings
 = {'bond0': {'addr': '',  'cfg':
 {},  'hwaddr':
 '00:00:00:00:00:00',  'ipv6addrs':
 [],  'mtu':
 '1500',  'netmask':
 '',  'slaves': []},'bond1':
 {'addr': '',  'cfg':
 {},  'hwaddr':
 '00:00:00:00:00:00',  'ipv6addrs':
 [],  'mtu':
 '1500',  'netmask':
 '',  'slaves': []},'bond2':
 {'addr': '',  'cfg':
 {},  'hwaddr':
 '00:00:00:00:00:00',  'ipv6addrs':
 [],  'mtu':
 '1500',  'netmask':
 '',  'slaves': []},'bond3':
 {'addr': '',  'cfg':
 {},  'hwaddr':
 '00:00:00:00:00:00',  'ipv6addrs':
 [],  'mtu':
 '1500',  'netmask':
 '',  'slaves': []},'bond4':
 {'addr': '',  'cfg':
 {},  'hwaddr':
 '00:00:00:00:00:00',  'ipv6addrs':
 [],  'mtu':
 '1500',  'netmask':
 '',  'slaves': []}}bridges =
 {';vdsmdummy;': {'addr': '',   'cfg':
 {},   'gateway':
 '',   'ipv6addrs':
 [],   'ipv6gateway':
 '::',   'mtu':
 '1500',   'netmask':
 '',   'ports':
 [],   'stp': 'off'},
 'ovirtmgmt': {'addr': '192.168.1.26',
 'cfg': {'BOOTPROTO': 'none',
 'DEFROUTE': 'yes', 'DELAY':
 '0', 'DEVICE':
 'ovirtmgmt', 'GATEWAY':
 '192.168.1.1', 'IPADDR':
 '192.168.1.26', 'NETMASK':
 '255.255.255.0', 'NM_CONTROLLED':
 'no', 'ONBOOT':
 'yes', 'STP':
 'no', 'TYPE':
 'Bridge'}, 'gateway':
 '192.168.1.1', 'ipv6addrs':
 ['fe80::baca:3aff:feaa:4af3/64'],
 'ipv6gateway': '::', 'mtu':
 '1500', 'netmask':
 '255.255.255.0', 'ports':
 ['eth0'], 'stp': 'off'}}
 clusterLevels = ['3.0', '3.1', '3.2', '3.3', '3.4']cpuCores =
 '2'cpuFlags =
 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,xsave,lahf_lm,dts,tpr_shadow,vnmi,flexpriority

Re: [ovirt-users] Help creating virtual machines in ovirt

2014-05-28 Thread Omer Frenkel


- Original Message -
 From: Grant Tailor therealwebg...@gmail.com
 To: Omer Frenkel ofren...@redhat.com, vanoppen koen 
 vanoppen.k...@gmail.com
 Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
 Sent: Wednesday, May 28, 2014 3:59:33 AM
 Subject: Re: [ovirt-users] Help creating virtual machines in ovirt
 
 Ok here is what i have so far
 The PC i am using are 2 identical Dell Optiplex XE with Intel Core 2 Duo
 E8400
 and 16GB RAM
 
 Please see all screenshots...since you can see most things better
 
 Also i have no idea how to look at the vm_static database..so if you tell
 me the steps to take to get to it..will appreciate it.
 
 Thanks.
 

ok from 1ovirt.png you can clearly see that the 'Emulated Machine' is null for 
the cluster
you probably hit https://bugzilla.redhat.com/show_bug.cgi?id=1077300
you can try maintenance ALL hosts and activate them again.

if it doesnt work, need to see what Emulations your host support,
run this on one of them:
vdsClient -s 0 getVdsCaps

and please paste here what returned for 'emulatedMachines'
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help creating virtual machines in ovirt

2014-05-27 Thread Omer Frenkel


- Original Message -
 From: Grant Tailor therealwebg...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, May 27, 2014 4:11:55 AM
 Subject: [ovirt-users] Help creating virtual machines in ovirt
 
 Yes the host is up.
 Please see below
 

seems that the engine try to send null in the parameters to vdsm,
unfortunately your version (3.4) has a bug that cause the parameters not to be 
printed,
so i can't guess exactly what is null (fixed in 
http://gerrit.ovirt.org/#/c/25713/ )

the only thing i can advise is to start looking for the error:
first, select the cluster in the clusters tab, make sure in the sub tab you see 
a valid 'Cluster CPU Type' (should be the name of your hosts processor)
and 'Emulated Machine' (should be 'rhel6.4.0' or 'pc-1.0')

if so, is regular run (not run once) works?

can you try maybe trying on a new vm? (hopefully something is wrong only with 
this vm configuration..)

the only thing left is to look in the db (vm static table) and look for 
suspicious null values


 [root@host3 ~]# tail 50 /var/log/ovirt-engine/engine.log
 tail: cannot open `50' for reading: No such file or directory
 == /var/log/ovirt-engine/engine.log ==
 2014-05-26 12:29:18,886 INFO
 [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (ajp--127.0.0.1-8702-1)
 [1ffd0b64] START, CreateVmVDSCommand(HostName = HOST2.247CLUSTERS.COM ,
 HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
 vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]), log id: 302deca2
 2014-05-26 12:29:18,905 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] START, CreateVDSCommand(HostName =
 HOST2.247CLUSTERS.COM , HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
 vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]), log id: 4853232e
 2014-05-26 12:29:18,912 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] Command CreateVDSCommand(HostName =
 HOST2.247CLUSTERS.COM , HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
 vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]) execution failed.
 Exception: VDSNetworkException:
 org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
 supported, if isEnabledForExtensions() == false
 2014-05-26 12:29:18,914 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] FINISH, CreateVDSCommand, log id:
 4853232e
 2014-05-26 12:29:18,914 ERROR
 [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (ajp--127.0.0.1-8702-1)
 [1ffd0b64] VDS::create Failed creating vm VM1 in vds =
 905d89cd-158a-4b1b-bea5-c6c3180e71f1 : HOST2.247CLUSTERS.COM error =
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
 org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
 supported, if isEnabledForExtensions() == false
 2014-05-26 12:29:18,915 INFO
 [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (ajp--127.0.0.1-8702-1)
 [1ffd0b64] FINISH, CreateVmVDSCommand, return: Down, log id: 302deca2
 2014-05-26 12:29:18,915 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] Lock freed to object EngineLock
 [exclusiveLocks= key: aaca739d-dea0-4b17-a088-36bd3b8ab4a4 value: VM
 , sharedLocks= ]
 2014-05-26 12:29:18,916 ERROR [org.ovirt.engine.core.bll.RunVmOnceCommand]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] Command
 org.ovirt.engine.core.bll.RunVmOnceCommand throw Vdc Bll exception. With
 error message VdcBLLException:
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
 org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
 supported, if isEnabledForExtensions() == false (Failed with error
 VDS_NETWORK_ERROR and code 5022)
 2014-05-26 12:29:18,938 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-1) [1ffd0b64] Correlation ID: 1ffd0b64, Job ID:
 10b543cd-f174-46a3-9578-d7ed2ba88d3e, Call Stack: null, Custom Event ID: -1,
 Message: Failed to run VM VM1 (User: admin).
 
 ___
 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] Help creating virtual machines in ovirt

2014-05-27 Thread Omer Frenkel


- Original Message -
 From: Grant Tailor therealwebg...@gmail.com
 To: Eli Mesika emes...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, May 27, 2014 2:06:37 PM
 Subject: Re: [ovirt-users] Help creating virtual machines in ovirt
 
 So what do i do to fix it?
 

did you follow all i wrote below?
what did you find?

 
 On Tue, May 27, 2014 at 4:35 AM, Eli Mesika  emes...@redhat.com  wrote:
 
 
 
 
 
 - Original Message -
  From: Omer Frenkel  ofren...@redhat.com 
  To: Grant Tailor  therealwebg...@gmail.com 
  Cc: users@ovirt.org
  Sent: Tuesday, May 27, 2014 11:30:12 AM
  Subject: Re: [ovirt-users] Help creating virtual machines in ovirt
  
  
  
  - Original Message -
   From: Grant Tailor  therealwebg...@gmail.com 
   To: users@ovirt.org
   Sent: Tuesday, May 27, 2014 4:11:55 AM
   Subject: [ovirt-users] Help creating virtual machines in ovirt
   
   Yes the host is up.
   Please see below
   
  
  seems that the engine try to send null in the parameters to vdsm,
  unfortunately your version (3.4) has a bug that cause the parameters not to
  be printed,
  so i can't guess exactly what is null (fixed in
  http://gerrit.ovirt.org/#/c/25713/ )
  
  the only thing i can advise is to start looking for the error:
  first, select the cluster in the clusters tab, make sure in the sub tab you
  see a valid 'Cluster CPU Type' (should be the name of your hosts processor)
  and 'Emulated Machine' (should be 'rhel6.4.0' or 'pc-1.0')
  
  if so, is regular run (not run once) works?
  
  can you try maybe trying on a new vm? (hopefully something is wrong only
  with
  this vm configuration..)
  
  the only thing left is to look in the db (vm static table) and look for
  suspicious null values
 
 The table name is vm_static
 
  
  
   [root@host3 ~]# tail 50 /var/log/ovirt-engine/engine.log
   tail: cannot open `50' for reading: No such file or directory
   == /var/log/ovirt-engine/engine.log ==
   2014-05-26 12:29:18,886 INFO
   [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
   (ajp--127.0.0.1-8702-1)
   [1ffd0b64] START, CreateVmVDSCommand(HostName = HOST2.247CLUSTERS.COM ,
   HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
   vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]), log id: 302deca2
   2014-05-26 12:29:18,905 INFO
   [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] START, CreateVDSCommand(HostName =
   HOST2.247CLUSTERS.COM , HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
   vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]), log id: 4853232e
   2014-05-26 12:29:18,912 ERROR
   [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] Command CreateVDSCommand(HostName =
   HOST2.247CLUSTERS.COM , HostId = 905d89cd-158a-4b1b-bea5-c6c3180e71f1,
   vmId=aaca739d-dea0-4b17-a088-36bd3b8ab4a4, vm=VM [VM1]) execution failed.
   Exception: VDSNetworkException:
   org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
   supported, if isEnabledForExtensions() == false
   2014-05-26 12:29:18,914 INFO
   [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] FINISH, CreateVDSCommand, log id:
   4853232e
   2014-05-26 12:29:18,914 ERROR
   [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
   (ajp--127.0.0.1-8702-1)
   [1ffd0b64] VDS::create Failed creating vm VM1 in vds =
   905d89cd-158a-4b1b-bea5-c6c3180e71f1 : HOST2.247CLUSTERS.COM error =
   org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
   org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
   supported, if isEnabledForExtensions() == false
   2014-05-26 12:29:18,915 INFO
   [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
   (ajp--127.0.0.1-8702-1)
   [1ffd0b64] FINISH, CreateVmVDSCommand, return: Down, log id: 302deca2
   2014-05-26 12:29:18,915 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] Lock freed to object EngineLock
   [exclusiveLocks= key: aaca739d-dea0-4b17-a088-36bd3b8ab4a4 value: VM
   , sharedLocks= ]
   2014-05-26 12:29:18,916 ERROR
   [org.ovirt.engine.core.bll.RunVmOnceCommand]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] Command
   org.ovirt.engine.core.bll.RunVmOnceCommand throw Vdc Bll exception. With
   error message VdcBLLException:
   org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
   org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't
   supported, if isEnabledForExtensions() == false (Failed with error
   VDS_NETWORK_ERROR and code 5022)
   2014-05-26 12:29:18,938 INFO
   [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (ajp--127.0.0.1-8702-1) [1ffd0b64] Correlation ID: 1ffd0b64, Job ID:
   10b543cd-f174-46a3-9578-d7ed2ba88d3e, Call Stack: null, Custom Event ID:
   -1,
   Message: Failed to run VM VM1 (User: admin).
   
   ___
   Users mailing list
   Users@ovirt.org
   http

Re: [ovirt-users] Help creating virtual machines in ovirt

2014-05-26 Thread Omer Frenkel


- Original Message -
 From: Grant Tailor therealwebg...@gmail.com
 To: users@ovirt.org
 Sent: Monday, May 26, 2014 4:07:10 AM
 Subject: [ovirt-users] Help creating virtual machines in ovirt
 
 I have installed and configured ovirt but i am having issues creating virtual
 machine
 here is the error i am getting when i try to run once
 
 Error while executing action Run VM once: Network error during communication
 with the Host.
 

is the host UP? what is the oVirt engine version?
can you look in engine.log for any error at the time of the operation and share 
it?

 
 ___
 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] Creating a VM for Ubuntu 14 (Trusty Tahr)

2014-05-26 Thread Omer Frenkel


- Original Message -
 From: Bob Doolittle b...@doolittle.us.com
 To: users users@ovirt.org
 Sent: Sunday, May 25, 2014 9:45:13 PM
 Subject: [ovirt-users] Creating a VM for Ubuntu 14 (Trusty Tahr)
 
 Hi,
 
 I notice that when creating a new VM and selecting the OS there is no
 choice available for Ubuntu 14.04 Trusty Tahr at this time.
 How much difference does the OS selection make? Would I be safer
 choosing Ubuntu 13.10 Saucy Salamander or Other?
 

you can see the difference of OS settings in
share/ovirt-engine/conf/osinfo-defaults.properties

from a quick look, there is no big difference (in settings) between different 
versions of Ubuntu
so i think you can safely select the latest there

 Thanks,
  Bob
 
 ___
 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] emulated machine error

2014-05-22 Thread Omer Frenkel


- Original Message -
 From: Nathanaël Blanchet blanc...@abes.fr
 To: users@ovirt.org
 Sent: Wednesday, May 21, 2014 8:14:36 PM
 Subject: [ovirt-users] emulated machine error
 
 Hello
 I was used tout run ovirt 3.2.2 installed from the dreyou repo and it has
 worked like a charm until now. I succeeded to upgrade to 3.3.5 official
 repository but I didn't pay attention with the host vdsm upgrade and I
 installed 4.14. So the 3.3.5 web engine complained that it wasn't the
 appropriated vdsm. Then I decided to upgrade engine to 3.4.0 el6 bit this
 time none of my 6 hosts get successfully activated and the error message is
 that host emulated is not the good one. I updated all of them to 6.5 with or
 without the official qemu it is the same. I remember I changed the 3.3
 cluster compatibility for 3.4 but I can't rolling back to 3.3 compatibility
 (tells me it can't decrease) What can I do now? Fortunately I saved the
 initial 3.2 webadmin image so that I can revert back to my to my 3.2
 functionnal webadmin.
 Is there such reported issue like mine?
 Thank you for your help.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

what is the value of emulatedMachines when you run [1] on your vdsm hosts?
what does the webadmin show under 'Emulated Machine:' when you select the 
cluster? (you can see it in the General sub-tab below)

[1] vdsClient -s 0 getVdsCaps
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] update vm in a pool

2014-05-15 Thread Omer Frenkel


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: nicola gentile nicola.gentile...@gmail.com, Users@ovirt.org 
 users@ovirt.org, Omer Frenkel
 ofren...@redhat.com
 Sent: Thursday, May 15, 2014 1:29:41 PM
 Subject: Re: [ovirt-users] update vm in a pool
 
 On 05/15/2014 05:07 AM, nicola gentile wrote:
  Hi,
  in a pool the vm is not stateless only?
  I created a pool and I assigned users to it.
  I applied your solution and it works fine.
  I would like to tell you that after I upgrade the server, the firewall
  is always abilitated though I've disabled.
  After that I must disable the firewall.
 
  Thank you a lot for your help.
 
 
 VMs from a pool are stateless (return to base on shutdown) if:
 - started from admin portal as stateless (via runonce)
 - started from user portal (as-is) in an automatic pool
 
 VMs from a pool are statefull if:
 - started from admin portal
 - the pool is manual - until the VM is returned to pool.
 
 admin not being stateless allows to do the following;
 
 - create the pool
 - start the VMs from the admin portal (say, to have them sysprep)
 - shut them down, take a snapshot!
 - now use them as statless with the snapshot
 
 (Omer - was this use case checked with template versions - that all
 snapshots are deleted? does it delete the entire VM?)
 

yes, entire vm is deleted and re-created from the new version of the template.

  ng
 
 
  2014-05-14 1:42 GMT+02:00 Itamar Heim ih...@redhat.com:
  On 05/13/2014 11:00 AM, nicola gentile wrote:
 
  Good morning,
  I am new user, and I would ask you an information.
  I have installed ovirt 3.4.
  I created a pool with 3 vm, too.
 
  I should add software to 3 vm how I must proceed?
  1) I must delete the vm from pool, and than add the software and then
  recreate the pool?
  2) or there are other solution?
 
  Thank you a lot.
 
  ng
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
  do you want to use the VMs as stateless or statefull?
  did you use the pool to assign a single vm per user from user portal, or
  just to create a bunch of similar VMs?
 
  3.4 has template versions, so you can create a new version of the
  template, and next time you shutdown/start the VMs, they will rebase to
  latest version of the template if pool is so defined.
 
  you can also install the application on the VM after you start it as an
  admin (which doesn't create the stateless snapshot by default like when a
  user starts the pool'd vm from the user portal).
  ___
  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] is there a complete feature list for respective os template in the OS list when make a new vm

2014-05-12 Thread Omer Frenkel


- Original Message -
 From: Ricky Schneberger ri...@schneberger.se
 To: users@ovirt.org
 Sent: Friday, May 9, 2014 10:16:21 AM
 Subject: [ovirt-users] is there a complete feature list for respective os 
 template in the OS list when make a new vm
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 When I will make a new Windows 2012 vm and choose OS-type 2012 I am
 unable to connect with spice to the vm,but if I change this to type 2008
 R2 I can. Still I am not able to install spice-guest-tools to the vm as
 its not supported the installer told me.
 
 So what is the difference between these OS types in the selector?
 Is there a complete list (CPU features etc)to get where I can se the
 differences between the OS types?
 

most per-guest-os configuration is found under
/etc/ovirt-engine/osinfo.conf.d/

but i dont see a reason for spice to fail with one and not the other.


 regards
 
 - --
 Ricky Schneberger
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.14 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iEYEARECAAYFAlNsgMUACgkQOap81biMC2O10gCfeh6U+Z6taWGOnFiLDZfNXN+H
 iIQAnjRfOd3SEFukIxRSqGQOW0OK4fj3
 =2nk+
 -END PGP SIGNATURE-
 
 ___
 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: [Users] HA

2014-04-09 Thread Omer Frenkel
 are fine with the VMs restarted in short time on other host then power
 management/fencing will help here
 
 
 
 
 
 Thanks,
 
 
 michal
 
 
 
 
 
 
 )
 
 
 
 
 They only returned when we restored the fiber connection to the Hypervisor…
 
 
 
 
 
 yes, since 3.3 we have the autoresume feature
 
 
 
 
 
 Thanks,
 
 
 michal
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Kind Regards,
 
 Koen
 
 
 
 
 
 
 
 
 2014-04-04 13:52 GMT+02:00 Koen Vanoppen  vanoppen.k...@gmail.com :
 
 
 So... It is possible for a fully automatic migration of the VM to another
 hypervisor in case Storage connection fails?
 
 
 How can we make this happen? Because for the moment, when we tested the
 situation they stayed in pause state.
 
 
 (Test situation:
 
 * Unplug the 2 fibre cables from the hypervisor
 * VM's go in pause state
 * VM's stayed in pause state until the failure was solved
 
 
 )
 
 
 
 
 They only returned when we restored the fiber connection to the Hypervisor...
 
 
 Kind Regards,
 
 Koen
 
 
 
 
 
 2014-04-03 16:53 GMT+02:00 Koen Vanoppen  vanoppen.k...@gmail.com :
 
 
 
 
 
 
 
 -- Forwarded message --
 From: Doron Fediuck  dfedi...@redhat.com 
 Date: Apr 3, 2014 4:51 PM
 Subject: Re: [Users] HA
 
 
 To: Koen Vanoppen  vanoppen.k...@gmail.com 
 Cc: Omer Frenkel  ofren...@redhat.com ,  users@ovirt.org , Federico
 Simoncelli  fsimo...@redhat.com , Allon Mureinik  amure...@redhat.com
 
 
 
 
 - Original Message -
  From: Koen Vanoppen  vanoppen.k...@gmail.com 
  To: Omer Frenkel  ofren...@redhat.com , users@ovirt.org
  Sent: Wednesday, April 2, 2014 4:17:36 PM
  Subject: Re: [Users] HA
  
  Yes, indeed. I meant not-operational. Sorry.
  So, if I understand this correctly. When we ever come in a situation that
  we
  loose both storage connections on our hypervisor, we will have to manually
  restore the connections first?
  
  And thanx for the tip for speeding up thins :-).
  
  Kind regards,
  
  Koen
  
  
  2014-04-02 15:14 GMT+02:00 Omer Frenkel  ofren...@redhat.com  :
  
  
  
  
  
  - Original Message -
   From: Koen Vanoppen  vanoppen.k...@gmail.com 
   To: users@ovirt.org
   Sent: Wednesday, April 2, 2014 4:07:19 PM
   Subject: [Users] HA
   
   Dear All,
   
   Due our acceptance testing, we discovered something. (Document will
   follow).
   When we disable one fiber path, no problem multipath finds it way no
   pings
   are lost.
   BUT when we disabled both the fiber paths (so one of the storage domain
   is
   gone on this host, but still available on the other host), vms go in
   paused
   mode... He chooses a new SPM (can we speed this up?), put's the host in
   non-responsive (can we speed this up, more important) and the VM's stay
   on
   Paused mode... I would expect that they would be migrated (yes, HA is
  
  i guess you mean the host moves to not-operational (in contrast to
  non-responsive)?
  if so, the engine will not migrate vms that are paused to do io error,
  because of data corruption risk.
  
  to speed up you can look at the storage domain monitoring timeout:
  engine-config --get StorageDomainFalureTimeoutInMinutes
  
  
   enabled) to the other host and reboot there... Any solution? We are still
   using oVirt 3.3.1 , but we are planning a upgrade to 3.4 after the easter
   holiday.
   
   Kind Regards,
   
   Koen
   
 
 Hi Koen,
 Resuming from paused due to io issues is supported (adding relevant folks).
 Regardless, if you did not define power management, you should manually
 approve
 source host was rebooted in order for migration to proceed. Otherwise we risk
 split-brain scenario.
 
 Doron
 
 
 
 
 
 
 
 
 
 ___
 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
 
 
 
 
 
 
 
 
 
 ___
 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: [Users] Cloud-init for Windows

2014-04-08 Thread Omer Frenkel


- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: Itamar Heim ih...@redhat.com
 Cc: users@oVirt.org users@ovirt.org
 Sent: Monday, April 7, 2014 4:59:16 PM
 Subject: Re: [Users] Cloud-init for Windows
 
 Hi,
 
 I tried as you suggested, but floppy is not getting attached it seems. below
 is the code
 
 
 
 Steps followed:
 
 I. Create windows VM
 II. installed host agent
 III. To seal a Windows virtual machine with sysprep
 
 
 1. In the Windows virtual machine to be used as a template, open a
 command line terminal and type regedit .
 2. The Registry Editor window displays. On the left pane, expand
 HKEY_LOCAL_MACHINE → SYSTEM → SETUP .
 3. On the main window, right click to add a new string value using New →
 String Value . Right click on the string value file and select Modify .
 When the Edit String dialog box displays, fill in the provided text
 boxes:
 
 
 * Value name: UnattendFile
 * Value data: a:\sysprep.xml
 4. Launch sysprep from C:\Windows\System32\sysprep\sysprep.exe
 
 
 * Under System Cleanup Action , select Enter System
 Out-of-Box-Experience (OOBE) .
 * Tick the Generalize checkbox if you need to change the computer's
 system identification number (SID).
 * Under Shutdown Options , select Shutdown .
 
 
 Click OK . The virtual machine will now go through the sealing process and
 shut down automatically.
 
 
 
 
 
 
 
 IV.
 
 
 org.ovirt.engine.sdk.decorators.VM vm1 = api.getVMs().get(vmName);
 Payloads payloads = new Payloads();
 Payload payload = new Payload();
 payload.setType(floppy);
 Files payloadFiles = new Files();
 File payloadFile = new File();
 payloadFile.setName(sysprep.xml);
 payloadFile.setContent(?xml version=\1.0\ encoding=\utf-8\? unattend
 xmlns=\urn:schemas-microsoft-com:unattend\ FILE CONTENT /unattend);
 payloadFiles.getFiles().add(payloadFile);
 payload.setFiles(payloadFiles);
 vm1.setPayloads(payloads);
 Action action = new Action();
 vm1.start(action);
 
 

i guess you need to use CDATA tags in order to pass xml content.
im not sure about CLI, but if you use curl it should look like this:
(credit to James W. Mills for providing this info)

1)  Create a payload file - Mine looked like this (payload.dat):

vm
  payloads
payload type='floppy'
files
  file
namesysprep.inf/name
content![CDATA[
THE RAW SYSPREP XML
]]
/content
typeBASE64/type
  /file
  /files
/payload
  /payloads
/vm

Where I have THE RAW SYSPREP XML, I just dumped a full sysprep XML file.  
Just make sure it is in between the CDATA tags so it is escaped properly.

2) Upload the payload into the VM:

# curl -X PUT -H Accept: application/xml -H Content-Type: application/xml 
-k -u admin@internal:pass -d @payload.dat  https://server/api/vms/vm-id

The URL is simply the full path of the VM, which I obtained by parsing api/vms

3)  Boot the machine - Assuming the sysprep information is correct, all the 
sysprep settings will be applied.

 
 On Thu, Mar 27, 2014 at 3:52 PM, Itamar Heim  ih...@redhat.com  wrote:
 
 
 On 03/27/2014 06:18 AM, Tejesh M wrote:
 
 
 Can you guide me on sysprep with sample code  sysprep file?
 
 
 just launch a windows VM, look at the generated sysprep file we pass to the
 VM via the floppy disk.
 then pass it as a payload as-is.
 then try to change what you want.
 
 
 
 
 On Thu, Mar 27, 2014 at 3:16 PM, Itamar Heim  ih...@redhat.com
 mailto: ih...@redhat.com  wrote:
 
 On 03/27/2014 05:33 AM, Tejesh M wrote:
 
 Hi All,
 
 I was doing google to see if i can set Hostname,Password  IP
 details
 for Windows server from RHEV-M. I got to know that we can create VM
 Payload  send that to Windows VM (installed with Cloud-init)
 
 Refer this link
 http://www.cloudbase.it/cloud- __init-for-windows-instances/# __comment-9411
  http://www.cloudbase.it/ cloud-init-for-windows- instances/#comment-9411 
 
 Cloud-init expects Meta-data  User-Data file to be sent either via
 Config Drive or via HTTP. I'm trying to achive this via ConfigDrive
 (created using VM Payload).
 
 
 note you can also just pass the full sysprep file as a payload
 yourself via the API, and set all these items in it.
 
 
 But i'm wondering what should be the format of this two files
 (Meta-data
  User-data). Have any1 tried this? If yes, would request to share
 sample for both the files with setting Hostname, Password  IP
 details.
 
 
 just launch a linux VM and check the file we create?
 
 
 Java code:
 
 org.ovirt.engine.sdk.__ decorators.VM vm1 =
 api.getVMs().get(vmName);
 Payloads payloads = new Payloads();
 Payload payload = new Payload();
 payload.setType(cdrom);
 
 Files payloadFiles = new Files();
 File payloadFile = new File();
 payloadFile.setName(meta-__ data.txt);
 payloadFile.setContent(__ hostname:+vmName);
 payloadFiles.getFiles().add(__ payloadFile);
 payload.setFiles(payloadFiles) __;
 vm1.setPayloads(payloads);
 Action action = new Action();
 

Re: [Users] HA

2014-04-02 Thread Omer Frenkel


- Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, April 2, 2014 4:07:19 PM
 Subject: [Users] HA
 
 Dear All,
 
 Due our acceptance testing, we discovered something. (Document will follow).
 When we disable one fiber path, no problem multipath finds it way no pings
 are lost.
 BUT when we disabled both the fiber paths (so one of the storage domain is
 gone on this host, but still available on the other host), vms go in paused
 mode... He chooses a new SPM (can we speed this up?), put's the host in
 non-responsive (can we speed this up, more important) and the VM's stay on
 Paused mode... I would expect that they would be migrated (yes, HA is

i guess you mean the host moves to not-operational (in contrast to 
non-responsive)?
if so, the engine will not migrate vms that are paused to do io error, because 
of data corruption risk.

to speed up you can look at the storage domain monitoring timeout:
engine-config --get StorageDomainFalureTimeoutInMinutes 


 enabled) to the other host and reboot there... Any solution? We are still
 using oVirt 3.3.1 , but we are planning a upgrade to 3.4 after the easter
 holiday.
 
 Kind Regards,
 
 Koen
 
 ___
 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: [Users] VM satelit is down. Exit message: 'int' object has no attribute 'replace'.

2014-03-31 Thread Omer Frenkel


- Original Message -
 From: Gabi C gab...@gmail.com
 To: Dan Kenigsberg dan...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, March 31, 2014 1:58:26 PM
 Subject: Re: [Users] VM satelit is down. Exit message: 'int' object has no 
 attribute 'replace'.
 
 Thanks!
 
 Here it is:
 

thanks, but this is engine.log
we would find more information on /var/log/vdsm/vdsm.log the host that tried to 
run the vm (virtual6)

 
 2014-03-31 13:53:54,737 INFO [org.ovirt.engine.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-20) [787f133c] Lock Acquired to object EngineLock
 [exclusiveLocks= key: 92fbccc5-1c99-4020-822b-74d43ad214c3 value: VM
 , sharedLocks= ]
 2014-03-31 13:53:54,763 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-20) [787f133c] START, IsVmDuringInitiatingVDSCommand(
 vmId = 92fbccc5-1c99-4020-822b-74d43ad214c3), log id: 685abcbf
 2014-03-31 13:53:54,767 INFO
 [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
 (ajp--127.0.0.1-8702-20) [787f133c] FINISH, IsVmDuringInitiatingVDSCommand,
 return: false, log id: 685abcbf
 2014-03-31 13:53:54,811 INFO [org.ovirt.engine.core.bll.RunVmCommand]
 (org.ovirt.thread.pool-6-thread-4) [787f133c] Running command: RunVmCommand
 internal: false. Entities affected : ID:
 92fbccc5-1c99-4020-822b-74d43ad214c3 Type: VM
 2014-03-31 13:53:54,839 INFO
 [org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit]
 (org.ovirt.thread.pool-6-thread-4) [787f133c] Started HA reservation scoring
 method
 2014-03-31 13:53:54,855 INFO
 [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
 (org.ovirt.thread.pool-6-thread-4) [787f133c] START,
 CreateVmVDSCommand(HostName = virtual6, HostId =
 e11c37b0-d79d-417b-bd6f-6dc172f7921c,
 vmId=92fbccc5-1c99-4020-822b-74d43ad214c3, vm=VM [PRTG]), log id: 497b9920
 2014-03-31 13:53:54,863 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
 (org.ovirt.thread.pool-6-thread-4) [787f133c] START,
 CreateVDSCommand(HostName = virtual6, HostId =
 e11c37b0-d79d-417b-bd6f-6dc172f7921c,
 vmId=92fbccc5-1c99-4020-822b-74d43ad214c3, vm=VM [PRTG]), log id: 7b64d5f2
 2014-03-31 13:53:54,923 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
 (org.ovirt.thread.pool-6-thread-4) [787f133c]
 org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
 spiceSslCipherSuite=DEFAULT,memSize=2048,kvmEnable=true,smp=1,vmType=kvm,emulatedMachine=pc-1.0,keyboardLayout=en-us,memGuaranteedSize=1365,nice=0,display=qxl,smartcardEnable=false,smpCoresPerSocket=1,spiceSecureChannels=smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard,timeOffset=3600,transparentHugePages=true,vmId=92fbccc5-1c99-4020-822b-74d43ad214c3,devices=[{address={bus=0x00,
 domain=0x, slot=0x02, type=pci, function=0x0}, specParams={vram=32768,
 heads=1}, device=qxl, type=video,
 deviceId=e46018f8-fbfc-484d-891a-e7ade9f88c51}, {shared=false, bootOrder=2,
 iface=ide, index=2, address={unit=0, bus=1, target=0, controller=0,
 type=drive}, specParams={path=}, path=, device=cdrom, type=disk,
 readonly=true, deviceId=8eac07a3-d353-43db-b2e3-5f8fe414bdfe},
 {shared=false, index=0, volumeID=438299fb-0a72-4005-b0c8-5544eece6dba,
 propagateErrors=off, format=raw, type=disk, iface=virtio, bootOrder=1,
 address={bus=0x00, domain=0x, slot=0x06, type=pci, function=0x0},
 domainID=041e8dbe-f405-4aca-bb78-3bf3cc7dc190,
 imageID=68051a25-d3de-46b4-9e4b-686d824146bf, specParams={}, optional=false,
 device=disk, poolID=5849b030-626e-47cb-ad90-3ce782d831b3, readonly=false,
 deviceId=68051a25-d3de-46b4-9e4b-686d824146bf}, {nicModel=pv,
 address={bus=0x00, domain=0x, slot=0x03, type=pci, function=0x0},
 specParams={outbound={peak=26880, burst=256000, average=25600},
 inbound={peak=26880, burst=256000, average=25600}},
 macAddr=00:1a:4a:69:90:de, device=bridge, linkActive=true, type=interface,
 filter=vdsm-no-mac-spoofing, network=VPO_IPPROXY,
 deviceId=553de5f6-e108-4c45-84d2-7a292304211f}, {specParams={model=virtio},
 device=memballoon, type=balloon,
 deviceId=68c759aa-6266-432c-9b8b-7a4b215eee57}, {index=0, model=virtio-scsi,
 address={bus=0x00, domain=0x, slot=0x04, type=pci, function=0x0},
 specParams={}, device=scsi, type=controller,
 deviceId=fc27e446-7932-40e4-98bd-2d13237ed6f5}],acpiEnable=true,cpuShares=1024,vmName=PRTG,cpuType=Conroe,custom={device_ac3c9c1c-9d8d-4ced-ba59-977f54ccb9eedevice_804006d1-ed61-4c0e-9818-0d0f4f0e8e3cdevice_b6ac752a-13e2-4107-aa8e-ddc054551f15=VmDevice
 {vmId=92fbccc5-1c99-4020-822b-74d43ad214c3,
 deviceId=b6ac752a-13e2-4107-aa8e-ddc054551f15, device=unix, type=CHANNEL,
 bootOrder=0, specParams={}, address={port=1, bus=0, controller=0,
 type=virtio-serial}, managed=false, plugged=true, readOnly=false,
 deviceAlias=channel0, customProperties={}, snapshotId=null},
 device_ac3c9c1c-9d8d-4ced-ba59-977f54ccb9eedevice_804006d1-ed61-4c0e-9818-0d0f4f0e8e3cdevice_b6ac752a-13e2-4107-aa8e-ddc054551f15device_83ffb451-8ba0-4b56-8082-b243b793d83e=VmDevice
 

Re: [Users] VM Status Unknown

2014-03-26 Thread Omer Frenkel
- Original Message -

 From: Simon Barrett simon.barr...@tradingscreen.com
 To: Omer Frenkel ofren...@redhat.com, Meital Bourvine
 mbour...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 26, 2014 10:44:15 AM
 Subject: RE: [Users] VM Status Unknown

 Was this ever resolved? I have a similar situation where a node was reset
 while a VM was running on it. Now the VM is in an unknown state and I cannot
 stop/start etc. I also cannot put the node into maintenance mode as it
 thinks it still has running VM’s

 [oVirt shell (connected)]# list vms --query
 id=807593a5-8667-4265-a0ab-b3e37feb1fc1 --show-all | grep status

 status-state : unknown

 [oVirt shell (connected)]# action vm 807593a5-8667-4265-a0ab-b3e37feb1fc1
 stop

  ERROR 

 status: 409

 reason: Conflict

 detail: Cannot stop VM. VM is not running.

 ===

 [oVirt shell (connected)]# action host d3a555b1-b5dd-48d1-802c-03096bdf8b00
 deactivate

  ERROR 

 status: 409

 reason: Conflict

 detail: Cannot switch Host to Maintenance mode.

 Host still has running VMs on it and is in Non Responsive state.

 ===

 Thanks,

your host in non-responsive, means the engine cant verify its status and the 
vms status on it. 
if you dont have power management (i guess you dont) and you absolutely sure 
the vms are really not running there anymore 
you can mark the host as been rebooted, and clear the its state. 
in the UI - right click the host and choose confirm rebooted 
in rest i think its called manual fence 

 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
 Omer Frenkel
 Sent: 12 January 2014 08:47
 To: Meital Bourvine
 Cc: users@ovirt.org
 Subject: Re: [Users] VM Status Unknown

 - Original Message -

  From: Meital Bourvine  mbour...@redhat.com 
 
  To: Ryan Womer  ryan.wo...@cytechservices.com 
 
  Cc: users@ovirt.org
 
  Sent: Friday, January 10, 2014 11:54:51 AM
 
  Subject: Re: [Users] VM Status Unknown
 

  Can you please provide vdsm.log (of both hosts) and engine.log?
 

 also, what version are you using?

 we had some bugs around this solved for 3.3

  - Original Message -
 

   From: Ryan Womer  ryan.wo...@cytechservices.com 
  
 
   To: users@ovirt.org
  
 
   Sent: Thursday, January 9, 2014 10:43:37 PM
  
 
   Subject: [Users] VM Status Unknown
  
 

   During a migration, the destination host lost connectivity to the san and
   crashed.
  
 

   Once the server came back up, 3 VMs that didn’t finish migrating have
   been
   stuck in status “Unknown.” Vdsclient doesn’t list any of the vms on
   either
   host. Qemu doesn’t have them listed as mounted on either host. Action vm
   start and stop result in “Status: 409”.
  
 

   The disks for all 3 VMs are listed as green in the WebAdmin. I’ve tried
   “action vm name start” “action vm name stop” “update vm name
   --status-state down” no joy. They remain in “unknown.”
  
 

   ___
  
 
   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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-03-26 Thread Omer Frenkel
- Original Message -

 From: Simon Barrett simon.barr...@tradingscreen.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Meital Bourvine mbour...@redhat.com, users@ovirt.org
 Sent: Wednesday, March 26, 2014 11:26:51 AM
 Subject: RE: [Users] VM Status Unknown

 I tried that but it is the last node connected to the storage device and I
 get the following:

 Manual fence did not revoke the selected SPM (ln2-lvb-002.mgt) since the
 master storage domain was not

 active or could not use another host for the fence operation.

 I just wondered if there was a way to force VM and/or Host removal?

well you need at least one active host to use the system, 
i dont think you can clear this state without another host. 

 Thanks,

 Simon

 From: Omer Frenkel [mailto:ofren...@redhat.com]
 Sent: 26 March 2014 09:10
 To: Simon Barrett
 Cc: Meital Bourvine; users@ovirt.org
 Subject: Re: [Users] VM Status Unknown

 - Original Message -

  From: Simon Barrett  simon.barr...@tradingscreen.com 
 
  To: Omer Frenkel  ofren...@redhat.com , Meital Bourvine 
  mbour...@redhat.com 
 
  Cc: users@ovirt.org
 
  Sent: Wednesday, March 26, 2014 10:44:15 AM
 
  Subject: RE: [Users] VM Status Unknown
 

  Was this ever resolved? I have a similar situation where a node was reset
  while a VM was running on it. Now the VM is in an unknown state and I
  cannot
  stop/start etc. I also cannot put the node into maintenance mode as it
  thinks it still has running VM’s
 

  [oVirt shell (connected)]# list vms --query
  id=807593a5-8667-4265-a0ab-b3e37feb1fc1 --show-all | grep status
 

  status-state : unknown
 

  [oVirt shell (connected)]# action vm 807593a5-8667-4265-a0ab-b3e37feb1fc1
  stop
 

   ERROR 
 

  status: 409
 

  reason: Conflict
 

  detail: Cannot stop VM. VM is not running.
 

  ===
 

  [oVirt shell (connected)]# action host d3a555b1-b5dd-48d1-802c-03096bdf8b00
  deactivate
 

   ERROR 
 

  status: 409
 

  reason: Conflict
 

  detail: Cannot switch Host to Maintenance mode.
 

  Host still has running VMs on it and is in Non Responsive state.
 

  ===
 

  Thanks,
 

 your host in non-responsive, means the engine cant verify its status and the
 vms status on it.

 if you dont have power management (i guess you dont) and you absolutely sure
 the vms are really not running there anymore

 you can mark the host as been rebooted, and clear the its state.

 in the UI - right click the host and choose confirm rebooted

 in rest i think its called manual fence

  From: users-boun...@ovirt.org [ mailto:users-boun...@ovirt.org ] On Behalf
  Of
  Omer Frenkel
 
  Sent: 12 January 2014 08:47
 
  To: Meital Bourvine
 
  Cc: users@ovirt.org
 
  Subject: Re: [Users] VM Status Unknown
 

   From: Meital Bourvine  mbour...@redhat.com 
  
 
   To: Ryan Womer  ryan.wo...@cytechservices.com 
  
 
   Cc: users@ovirt.org
  
 
   Sent: Friday, January 10, 2014 11:54:51 AM
  
 
   Subject: Re: [Users] VM Status Unknown
  
 

   Can you please provide vdsm.log (of both hosts) and engine.log?
  
 

  also, what version are you using?
 

  we had some bugs around this solved for 3.3
 

From: Ryan Womer  ryan.wo...@cytechservices.com 
   
  
 
To: users@ovirt.org
   
  
 
Sent: Thursday, January 9, 2014 10:43:37 PM
   
  
 
Subject: [Users] VM Status Unknown
   
  
 

During a migration, the destination host lost connectivity to the san
and
crashed.
   
  
 

Once the server came back up, 3 VMs that didn’t finish migrating have
been
stuck in status “Unknown.” Vdsclient doesn’t list any of the vms on
either
host. Qemu doesn’t have them listed as mounted on either host. Action
vm
start and stop result in “Status: 409”.
   
  
 

The disks for all 3 VMs are listed as green in the WebAdmin. I’ve tried
“action vm name start” “action vm name stop” “update vm name
--status-state down” no joy. They remain in “unknown.”
   
  
 

___
   
  
 
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
  
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Vds broker

2014-03-25 Thread Omer Frenkel
- Original Message -

 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, March 25, 2014 1:41:16 PM
 Subject: [Users] Vds broker

 Hi Guys,

 I already send a issue with the vds for a specific host,
 but now my engine.log is spitting even more errors...

 Any Ideas whats happening?

looks like you are facing this bug, that you opened, and already solved in 
3.3.2 :) 
https://bugzilla.redhat.com/show_bug.cgi?id=1035297 

 ___
 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: [Users] Processor Type

2014-03-19 Thread Omer Frenkel
- Original Message -

 From: Maurice James midnightst...@msn.com
 To: users@ovirt.org
 Sent: Tuesday, March 18, 2014 4:52:01 PM
 Subject: [Users] Processor Type

 How do I assign a different processor type to an individual VM? (Sandy
 Bridge, Conroe, etc)

cpu name is cluster level, and usually the lowest common denominator of the 
hosts in cluster, 
to make sure migration works in the cluster. 

so you can change for cluster, which will affect all vms in the cluster, not 
individual 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


Re: [Users] Cannot set Compatibility Version to 3.3

2014-03-19 Thread Omer Frenkel
- Original Message -

 From: Eric Wong eric.w...@solvians.com
 To: users@ovirt.org
 Sent: Tuesday, March 18, 2014 1:03:29 PM
 Subject: [Users] Cannot set Compatibility Version to 3.3

 Hello oVirt gurus out there:

 I recently upgraded our oVirt 3.1 installation to 3.3.3. We have 2 clusters
 configuration. In the QA cluster, in which there is only one host, I can
 switch the cluster’s compatibility version from 3.1 to 3.3.

 However, on the production cluster, in which there are 10 hosts, I am not
 able to switch the cluster compatibility version at all. I opened up the
 Edit Cluster window. Select 3.3 from the Compatibility Version dropdown
 list. Click OK to save the change. But the Edit Cluster window just remain
 open.

 I checked all the logs in the ovirt-engine. Do not see anything obvious. All
 our hosts are running CentOS 6.5  vdsm-4.13.3-4.

 Can you guys provide some pointers as to where to check for failure?

there was another complaint like this recently, might be a bug in the UI 
check out debugging guidance and rest api alternative here: 
http://lists.ovirt.org/pipermail/users/2014-March/022534.html 

 Thanks in advance.

 Eric

 ___
 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: [Users] oVirt 3.5 planning

2014-03-18 Thread Omer Frenkel


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Ernest Beinrohr ernest.beinr...@axonpro.sk, users@ovirt.org, Omer 
 Frenkel ofren...@redhat.com
 Sent: Monday, March 17, 2014 3:48:11 PM
 Subject: Re: [Users] oVirt 3.5 planning
 
 On 03/17/2014 03:28 PM, Ernest Beinrohr wrote:
  Dňa 24.02.2014 17:59, Itamar Heim wrote / napísal(a):
  with oVirt 3.4 getting close to GA with many many great features, time
  to collect requests for 3.5...
 
 
  Please add the possibility to modify description and other minor info
  for VM, disk, storage even when they are running.
 
 omer - any reason these cannot be changed?
 
 

vm description is editable already,
no reason for disks not to allow as well.

please note that we are looking on making everything editable on the run,
even stuff that can be applied only on next run (like memory):

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


Re: [Users] affects of changing compatibility setting on running cluster

2014-03-16 Thread Omer Frenkel


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Charles Weber chawe...@gmail.com
 Cc: ybronhei ybron...@redhat.com, Dan Kenigsberg dan...@redhat.com, 
 users@ovirt.org, Eli Mesika
 emes...@redhat.com, Sven Kieske s.kie...@mittwald.de, Omer Frenkel 
 ofren...@redhat.com
 Sent: Friday, March 14, 2014 12:58:57 AM
 Subject: Re: [Users] affects of changing compatibility setting on running 
 cluster
 
 On 03/13/2014 05:33 PM, Charles Weber wrote:
 
  On Mar 12, 2014, at 5:14 PM, Itamar Heim ih...@redhat.com
  mailto:ih...@redhat.com wrote:
 
  On 03/12/2014 10:45 PM, ybronhei wrote:
  On 03/12/2014 04:33 PM, Itamar Heim wrote:
  On 03/12/2014 04:32 PM, ybronhei wrote:
  On 03/12/2014 04:25 PM, Dan Kenigsberg wrote:
  On Wed, Mar 12, 2014 at 10:15:21AM +0200, Itamar Heim wrote:
  On 03/12/2014 10:11 AM, Sven Kieske wrote:
 
 
  Am 11.03.2014 17:38, schrieb Itamar Heim:
 
  i understood this to you can't use 4.14 with 3.4.0.
 
  Well I examined BZ 1067096 again, this is what did not work:
 
  Steps to Reproduce:
  1.  Run Engine 3.3 Compatibility level 3.2 or 3.3
  2.  Add node (vdsm 4.14)
 
  Actual results:
  Host is installed with VDSM version (4.14) and cannot join cluster
  which
  is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10].
 
  Pay attention to the engine version, it states 3.3. not 3.4.0
 
  So my conclusion is, you can't install vdsm 4.14. when you want
  to use engine 3.3.
 
  Am I reading something wrong?
 
  Here's the link again:
  https://bugzilla.redhat.com/show_bug.cgi?id=1067096#c0
 
 
  this can be fixed via engine config, but is not supposed to be
  needed, as vdsm is supposed to have
  vdsm/dsaversion.py.in:'supportedENGINEs': ['3.0', '3.1', '3.2',
  '3.3', '3.4'],
 
  danken/eli - thoughts?
 
  I do not really understand why we have this recurrent Engine bug, of
  ignoring supportedENGINEs; I think Yaniv does.
 
 
  i recall asking for detailed explanation for why do we have 3 different
  restrictions , one for supportedEngines, one for the allowed vdsm
  versions, and one for the cluster level?
 
  if vdsm version is supported why isn't it in engine's capabilities yet?
 
  because its a vdsm version which was released after that engine was
  released, hence the vdsm package has to declare its supporting the old
  engine.
 
 
  so its an hack to allow users to add beta vdsm version to new engine
  release?.. sounds like that
 
  no. its to add the next release of vdsm to a previously released
  engine. but that's not supposed to be an issue, since its supposed to
  already report the previous version of engine (which it does)
 
 
  please reopen if it reproduced
 
 
  the issue was verified in
  https://bugzilla.redhat.com/show_bug.cgi?id=1016461, please reopen if
  it still appears
 
 
 
 
 
 
 
 
  I do have an issue still with this.
  When I try to change compatibility version at the datacenter level it
  behaves as expected, i.e. warns me to change the cluster level first. I
  see a matching log entry in the engine log. However when I try to change
  the compatibility version at the cluster level the edit cluster dialog
  box just hangs there. There are no log entries in the engine log. The
  dialog box goes away when I click cancel. If I select 3.2 or 3.3 and
  click OK nothing happens. This occurs either during normal running or
  with hosts in maintenance mode.
 
  I would like to change to 3.3. Can you direct me to the sql table or cmd
  line by any chance.
 
 do not hack the db for such a change, you may skip important upgrade
 logic/validation.
 
 
  Is this a known problem or something specific to my special setup.
Actually my setup is pretty plain, see below or original post in this
  thread.
 
 sounds like a bug, at least for not telling you what is the error.
 omer - thoughts?
 

if nothing happens when clicking ok it's usually some validation in the dialog,
can you check there is nothing highlighted in red (check also other tabs in the 
dialog)?

adding Tomas, might have a better idea.

you can try updating using rest api (change user/pass and cluster uuid):

curl -X PUT -H Accept: application/xml -H Content-Type: application/xml -u 
admin@internal:password 
http://localhost:8080/api/clusters/dd746d43-4bd1-46aa-b97b-b7bad3f2e498; -d 
clusterversion major=\3\ minor=\3\//cluster


 
  Engine 3.3.4-1.el6
  CO6.5
  Nodes are 3.0.4-1.0.201401291204.el6
  Storage is SAN
 
 
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Win8 on oVirt

2014-03-12 Thread Omer Frenkel


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Michael Wagenknecht wagenkne...@fuh-e.de, users@ovirt.org, Omer 
 Frenkel ofren...@redhat.com, Roy Golan
 rgo...@redhat.com
 Sent: Wednesday, March 12, 2014 11:12:07 AM
 Subject: Re: [Users] Win8 on oVirt
 
 On 03/12/2014 11:08 AM, Michael Wagenknecht wrote:
 
  Am 12.03.2014 10:04, schrieb Itamar Heim:
  On 03/12/2014 10:28 AM, Michael Wagenknecht wrote:
  I only get the parameter -m rhel6.4.0 in the qemu command line of the
  guest.
  The Host and the linux guest runs with CentOS 6.5.
  on the oVirt Engine I run:
 
  engine-config -s ClusterEmulatedMachines=rhel6.5.0,pc-1.0 --cver=3.3
 
  I assume cluster version is 3.3.
  did your restart engine post the engine-config command?
 
  Cluster Version is 3.3 and I restart the engine after running the
  engine-config command.
 
 right...
 just remembered this is preserved at cluster level on first host joining
 the cluster to support both fedora and .el6 without manual intervention.
 do you have at cluster level an emulation mode field?
 
 omer/roy - is there an easy way to change cluster level emulation mode?
 
it is set according to the host capabilities and engine config,
it is not exposed to the user, so can only be changed in the db.

by default, the config for 3.3 is rhel-6.4, so this is what we set for the 
cluster:
engine-config --get ClusterEmulatedMachines --cver 3.3
rhel6.4.0,pc-1.0,pseries

you can manually change in the db the emulation for a specific cluster:
update vds_groups set emulated_machine='rhel6.5.0' where name='cluster name';

 
 
  Am 12.03.2014 09:13, schrieb Itamar Heim:
  On 03/12/2014 10:06 AM, Sven Kieske wrote:
 
 
  Am 11.03.2014 17:33, schrieb Itamar Heim:
  engineconfig, change the EmaultedMachine for a 3.3 cluster version
  I am sorry, but previously you said:
 
  the guest is lanunched with -m rhel6.5.0 (which is the default for a
  3.3 cluster)
 
  and now you say you have to switch it by hand?
 
  Which statement is true?
  If it's the default, it should be set already and I would
  consider this a bug, wouldn't you?
 
 
 
  sorry, i confused the RHEV default, which GA post rhel 6.5, with the
  ovirt one which GA pre-6.5.
 
 
  ___
  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: [Users] Clone a Template using API

2014-03-05 Thread Omer Frenkel
- Original Message -

 From: Tejesh M tejes...@gmail.com
 To: Moti Asayag masa...@redhat.com
 Cc: users@oVirt.org users@ovirt.org, Omer Frenkel ofren...@redhat.com
 Sent: Thursday, March 6, 2014 7:40:47 AM
 Subject: Re: Clone a Template using API

 Thanks Moti.

 On Wed, Mar 5, 2014 at 7:06 PM, Moti Asayag  masa...@redhat.com  wrote:

  - Original Message -
 
   From: Tejesh M  tejes...@gmail.com 
 
   To: users@oVirt.org  users@ovirt.org , Moti Asayag 
   masa...@redhat.com 
 
   Sent: Wednesday, March 5, 2014 1:01:18 PM
 
   Subject: Clone a Template using API
 
  
 
   Hi,
 
  
 
   While creating VM from Template via Web Admin portal, the default
 
   provisioning is Clone. But while doing the same via API its is doing Thin
 
   provisioning. Can someone share there view.
 
  
 
  
 
   org.ovirt.engine.sdk.entities.Template templateData = new Template();
 
   templateData.setName(templateName);
 
   org.ovirt.engine.sdk.entities.Cluster clusterData = new Cluster();
 
   clusterData.setName(clusterName);
 
   org.ovirt.engine.sdk.entities.VM vmDataForCreate = new VM();
 

  Try with those lines:
 

  Disks disks = new Disks();
 
  disks.setClone(true);
 
  vm.setDisks(disks);
 

  Adding Omer to confirm.
 

yes, should work 

   vmDataForCreate.setName(vmName);
 
   vmDataForCreate.setCluster(clusterData);
 
   vmDataForCreate.setTemplate(templateData);
 
   api.getVMs().add(vmDataForCreate);
 
  
 
   --
 
   Thanks  Regards
 
   Tejesh
 
  
 

 --
 Thanks  Regards
 Tejesh
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   >