Re: [Users] Almost there... I can't bring up a VM

2014-01-06 Thread William Kwan

1. What console type are you using? Spice or VNC?
I actually tried all of them, Spice and  VNC on Windows and over HTML5 also

2. What console option are you using? (e.g. Spice HTML5, Native Client, NOVNC)?
Spice, USB disabled, 1 monitor with Single PCI checked


3.
 You mentioned that you disabled iptables. I'm not as familiar with 
CentOS as I am fedora, but did Centos move to firewalld? If so, you may 
need to stop firewalld instead for testing.
Still have iptables and I turned it off.  


I can't get an idea where the VM is actually running on doing what even the CPU 
gauge shows that it is using a great percentage of the allocated cpu power.





On Saturday, January 4, 2014 9:33 AM, Nicholas Kesick 
cybertimber2...@hotmail.com wrote:
 

 From: pota...@yahoo.com 
 Date: Fri, 3 Jan 2014 16:45:38 -0500 
 To: users@ovirt.org 
 Subject: Re: [Users] Almost there... I can't bring up a VM 
 
 
 Hi. I need some help to troubleshoot this. I can't find a log showing 
 any hint for me to go forward with it. 
 
 Any help is appreciated. 
 
 Will 
 
Will,
1. What console type are you using? Spice or VNC?
2. What console option are you using? (e.g. Spice HTML5, Native Client, NOVNC)?
3. You mentioned that you disabled iptables. I'm not as familiar with CentOS as 
I am fedora, but did Centos move to firewalld? If so, you may need to stop 
firewalld instead for testing.

I would recommend trying the native client called Virt Viewer instead of Spice 
HTML5/NoVNC to verify that things are working.

- Nick

 
 Hi, 
 
 Running oVirt 3.3.2-1.el6 on CentOS 6.5 
 
 I have oVirt installed on a test host (ovirt1) and two test 
 visualization hosts (onode1, onode2) using GlusterFS. I have GlusterFS 
 available on both onode1 and 2. Storage domain, networks are defined, 
 ISO is uploaded to the ISO domain. I have been trying to create VM but 
 all I get is a black spice console I'm not able to tell what's going 
 on. I turned off all iptables also. 
 
 I looked at /var/log/libvirt/qemu/testvm04.log. I got only the 
 starting up line and a few lines for Spice. I also looked at 
 engine.log for ERROR 
 
 can anyone shed some light on this? I feel like I'm almost there to 
 use oVirt instead of VMware for the next project. 
 
 ERROR lines in engine.log: 
 -- 
 2014-01-02 12:31:40,893 ERROR 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) Command GlusterTasksListVDS 
 execution failed. Exception: VDSNetworkException: 
 org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
 glusterTasksList is not supported 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) FINISH, GlusterTasksListVDSCommand, 
 log id: 3fa83c4f 
 2014-01-02 12:31:40,894 ERROR 
 [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
 (DefaultQuartzScheduler_Worker-76) Failed to invoke scheduled method 
 gluster_async_task_poll_event: 
 java.lang.reflect.InvocationTargetException 
 at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
 [:1.7.0_45] 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  
 [rt.jar:1.7.0_45] 
 at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] 
 at 
 org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
 [scheduler.jar:] 
 at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
 [quartz.jar:] 
 at 
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
 [quartz.jar:] 
 Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: 
 VdcBLLException: 
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
 org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
 glusterTasksList is not supported (Failed with error 
 VDS_NETWORK_ERROR and code 5022) 
 at 
 org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
  
 [bll.jar:] 
 ... 6 more 
 
 [org.ovirt.engine.core.bll.SetVmTicketCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] Running command: SetVmTicketCommand 
 internal: false. Entities affected : ID: 
 b4867838-561e-491e-bb00-5c2ce3828b83 Type: VM 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] START

Re: [Users] Almost there... I can't bring up a VM

2014-01-06 Thread Itamar Heim

On 01/06/2014 06:34 PM, William Kwan wrote:


1. What console type are you using? Spice or VNC?
I actually tried all of them, Spice and  VNC on Windows and over HTML5 also

2. What console option are you using? (e.g. Spice HTML5, Native Client,
NOVNC)?
Spice, USB disabled, 1 monitor with Single PCI checked

3. You mentioned that you disabled iptables. I'm not as familiar with
CentOS as I am fedora, but did Centos move to firewalld? If so, you may
need to stop firewalld instead for testing.
Still have iptables and I turned it off.

I can't get an idea where the VM is actually running on doing what even
the CPU gauge shows that it is using a great percentage of the allocated
cpu power.



it could be a VM stuck in boot screen (dos mode), taking 100% cpu, and 
simply having a black screen?





On Saturday, January 4, 2014 9:33 AM, Nicholas Kesick
cybertimber2...@hotmail.com wrote:

  From: pota...@yahoo.com mailto:pota...@yahoo.com
  Date: Fri, 3 Jan 2014 16:45:38 -0500
  To: users@ovirt.org mailto:users@ovirt.org
  Subject: Re: [Users] Almost there... I can't bring up a VM
 
 
  Hi. I need some help to troubleshoot this. I can't find a log showing
  any hint for me to go forward with it.
 
  Any help is appreciated.
 
  Will
 
Will,
1. What console type are you using? Spice or VNC?
2. What console option are you using? (e.g. Spice HTML5, Native Client,
NOVNC)?
3. You mentioned that you disabled iptables. I'm not as familiar with
CentOS as I am fedora, but did Centos move to firewalld? If so, you may
need to stop firewalld instead for testing.

I would recommend trying the native client called Virt Viewer instead of
Spice HTML5/NoVNC to verify that things are working.

- Nick

 
  Hi,
 
  Running oVirt 3.3.2-1.el6 on CentOS 6.5
 
  I have oVirt installed on a test host (ovirt1) and two test
  visualization hosts (onode1, onode2) using GlusterFS. I have GlusterFS
  available on both onode1 and 2. Storage domain, networks are defined,
  ISO is uploaded to the ISO domain. I have been trying to create VM but
  all I get is a black spice console I'm not able to tell what's going
  on. I turned off all iptables also.
 
  I looked at /var/log/libvirt/qemu/testvm04.log. I got only the
  starting up line and a few lines for Spice. I also looked at
  engine.log for ERROR
 
  can anyone shed some light on this? I feel like I'm almost there to
  use oVirt instead of VMware for the next project.
 
  ERROR lines in engine.log:
  --
  2014-01-02 12:31:40,893 ERROR
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand]
  (DefaultQuartzScheduler_Worker-76) Command GlusterTasksListVDS
  execution failed. Exception: VDSNetworkException:
  org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method
  glusterTasksList is not supported
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand]
  (DefaultQuartzScheduler_Worker-76) FINISH, GlusterTasksListVDSCommand,
  log id: 3fa83c4f
  2014-01-02 12:31:40,894 ERROR
  [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl]
  (DefaultQuartzScheduler_Worker-76) Failed to invoke scheduled method
  gluster_async_task_poll_event:
  java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
  [:1.7.0_45]
  at
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  [rt.jar:1.7.0_45]
  at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  at
  org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)
  [scheduler.jar:]
  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  [quartz.jar:]
  at
 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

  [quartz.jar:]
  Caused by: org.ovirt.engine.core.common.errors.VdcBLLException:
  VdcBLLException:
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
  org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method
  glusterTasksList is not supported (Failed with error
  VDS_NETWORK_ERROR and code 5022)
  at
 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122)
  [bll.jar:]
  at
 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)

  [bll.jar:]
  at
 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)

  [bll.jar:]
  at
 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)

  [bll.jar:]
  at
 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)

  [bll.jar:]
  at
 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)

  [bll.jar:]
  ... 6 more
 
  [org.ovirt.engine.core.bll.SetVmTicketCommand]
  (ajp--127.0.0.1-8702-8) [1d0c71de] Running command: SetVmTicketCommand
  internal: false

Re: [Users] Almost there... I can't bring up a VM

2014-01-06 Thread William Kwan


I see that It takes 99% to 100% inside ovirt.

I tried to run virt-view, `virt-viewer -- testvm05`, it is asking for passwd.  
I'm not sure what is the pw. ovirt pass?

I found this URL 
http://www.ovirt.org/VdsClient
# vdsClient -s onode1 list table
b4867838-561e-491e-bb00-5c2ce3828b83  10172  testvm04 Paused


I set pw with 

`vdsClient -s onode1 setVmTicket b4867838-561e-491e-bb00-5c2ce3828b83 abc123 0 
keep`


virt-view doesnt' like the password either.
UNalbe to authenticate with remote desktop server at 0:5900 Authentication 
failed




On Monday, January 6, 2014 11:49 AM, Itamar Heim ih...@redhat.com wrote:
 
On 01/06/2014 06:34 PM, William Kwan wrote:

 I can't get an idea where the VM is actually running on doing what even
 the CPU gauge shows that it is using a great percentage of the allocated
 cpu power.


it could be a VM stuck in boot screen (dos mode), taking 100% cpu, and 
simply having a black screen?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Almost there... I can't bring up a VM

2014-01-06 Thread William Kwan
clean the engine log and look at the process of starting the VM again.  Please 
let me know if it looks right.

I truncated them and listed below.


START, CreateVmVDSCommand(HostName = onode1, HostId = 5145362f-0f97-4ed  
vm=VM [testvm04]), log id: 39d4ce34
START, CreateVDSCommand(HostName = onode1, HostId = 5145362f-0f97-... vm=VM 
[testvm04]), log id: 3398c7f2
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand 
spiceSslCipherSuite=DEFAULT,memSize=8192,kvmEnable=true,smp=2,vmType=kvm,emulatedMachine=rhel6.4.0,

FINISH, CreateVDSCommand, log id: 3398c7f2
Lock freed to object EngineLock [exclusiveLocks= key: b4867838-561e- .

Correlation ID: 7d96779c, Job ID: e6612538-f5f8-4bc5-bdf2-5421944eed66, Call 
Stack: null, Custom Event ID: -1, Message: VM testvm04 was started by 
admin@internal (Host: onode1).

VM testvm04 b4867838-561e-491e-bb00-5c2ce3828b83 moved from WaitForLaunch -- 
PoweringUp

START, FullListVdsCommand(HostName = onode1, HostId = 5145362f-0f97-4edf-a... 
log id: 5364ff16

FINISH, FullListVdsCommand, return: [Ljava.util.HashMap;@ba72820, log id: 
5364ff16



Then all I got is some messages about gluster 
START, GlusterVolumesListVDSCommand(HostName = onode1, HostId = 
5145362f-0f97-4edf-a23f-592ff2c74d3f), log id: 524eed0c
FINISH, GlusterVolumesListVDSCommand, return: 
{5e0cc386-7b05-4356-b9cd-c03252ba5878=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@9a0e048d},
 log id: 524eed0c
START, GlusterVolumesListVDSCommand(HostName = onode1, HostId = 
5145362f-0f97-4edf-a23f-592ff2c74d3f), log id: 7e059f4f
FINISH, GlusterVolumesListVDSCommand, return: 
{5e0cc386-7b05-4356-b9cd-c03252ba5878=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@fb525bcb},
 log id: 7e059f4f
. Failed to invoke scheduled method gluster_async_task_poll_event: 
java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source) 
[:1.7.0_45]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.7.0_45]
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
    at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
    at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]
Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: 
VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
glusterTasksList is not supported (Failed with error VDS_NETWORK_ERROR and 
code 5022)
    at 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
[bll.jar:]
    at 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
 [bll.jar:]
    ... 6 more

..






On Monday, January 6, 2014 12:05 PM, William Kwan pota...@yahoo.com wrote:
 


I see that It takes 99% to 100% inside ovirt.

I tried to run virt-view, `virt-viewer -- testvm05`, it is asking for passwd.  
I'm not sure what is the pw. ovirt pass?

I found this URL 
http://www.ovirt.org/VdsClient
# vdsClient -s onode1 list table
b4867838-561e-491e-bb00-5c2ce3828b83  10172  testvm04 Paused


I set pw with 

`vdsClient -s onode1 setVmTicket b4867838-561e-491e-bb00-5c2ce3828b83 abc123 0 
keep`


virt-view doesnt' like the password either.
UNalbe to authenticate with remote desktop server at 0:5900 Authentication 
failed




On Monday, January 6, 2014 11:49 AM, Itamar Heim ih...@redhat.com wrote:
 
On 01/06/2014 06:34 PM, William Kwan wrote:

 I can't get an idea where the VM is actually running on doing what even
 the CPU gauge shows that it is using a great percentage of the allocated
 cpu power.


it could be a VM stuck in boot screen (dos mode), taking 100% cpu, and 
simply having a black screen?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Almost there... I can't bring up a VM

2014-01-06 Thread Itamar Heim

On 01/06/2014 07:38 PM, William Kwan wrote:

clean the engine log and look at the process of starting the VM again.
Please let me know if it looks right.

I truncated them and listed below.

START, CreateVmVDSCommand(HostName = onode1, HostId = 5145362f-0f97-4ed
 vm=VM [testvm04]), log id: 39d4ce34
START, CreateVDSCommand(HostName = onode1, HostId = 5145362f-0f97-...
vm=VM [testvm04]), log id: 3398c7f2
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
spiceSslCipherSuite=DEFAULT,memSize=8192,kvmEnable=true,smp=2,vmType=kvm,emulatedMachine=rhel6.4.0,
FINISH, CreateVDSCommand, log id: 3398c7f2
Lock freed to object EngineLock [exclusiveLocks= key: b4867838-561e- .
Correlation ID: 7d96779c, Job ID: e6612538-f5f8-4bc5-bdf2-5421944eed66,
Call Stack: null, Custom Event ID: -1, Message: VM testvm04 was started
by admin@internal (Host: onode1).
VM testvm04 b4867838-561e-491e-bb00-5c2ce3828b83 moved from
WaitForLaunch -- PoweringUp
START, FullListVdsCommand(HostName = onode1, HostId =
5145362f-0f97-4edf-a... log id: 5364ff16
FINISH, FullListVdsCommand, return: [Ljava.util.HashMap;@ba72820, log
id: 5364ff16


Then all I got is some messages about gluster
START, GlusterVolumesListVDSCommand(HostName = onode1, HostId =
5145362f-0f97-4edf-a23f-592ff2c74d3f), log id: 524eed0c
FINISH, GlusterVolumesListVDSCommand, return:
{5e0cc386-7b05-4356-b9cd-c03252ba5878=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@9a0e048d},
log id: 524eed0c
START, GlusterVolumesListVDSCommand(HostName = onode1, HostId =
5145362f-0f97-4edf-a23f-592ff2c74d3f), log id: 7e059f4f
FINISH, GlusterVolumesListVDSCommand, return:
{5e0cc386-7b05-4356-b9cd-c03252ba5878=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@fb525bcb},
log id: 7e059f4f
. Failed to invoke scheduled method gluster_async_task_poll_event:
java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
[:1.7.0_45]
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
 at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_45]
 at
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)
[scheduler.jar:]
 at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
[quartz.jar:]
 at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
[quartz.jar:]
Caused by: org.ovirt.engine.core.common.errors.VdcBLLException:
VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method
glusterTasksList is not supported (Failed with error VDS_NETWORK_ERROR
and code 5022)
 at
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
[bll.jar:]
 at
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
[bll.jar:]
 at
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
[bll.jar:]
 at
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
[bll.jar:]
 at
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
[bll.jar:]
 at
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
[bll.jar:]
 ... 6 more

..





iirc, this is noise, not something affecting the VM.
to connect directly to the VM, you need to SetVmTicket (you can do that 
via the api/engine-cli (or try to open via mime type and check the 
password that appears in the downloaded file)





On Monday, January 6, 2014 12:05 PM, William Kwan pota...@yahoo.com wrote:

I see that It takes 99% to 100% inside ovirt.

I tried to run virt-view, `virt-viewer -- testvm05`, it is asking for
passwd.  I'm not sure what is the pw. ovirt pass?

I found this URL
http://www.ovirt.org/VdsClient
# vdsClient -s onode1 list table
b4867838-561e-491e-bb00-5c2ce3828b83  10172  testvm04 Paused

http://www.ovirt.org/VdsClient
I set pw with
`vdsClient -s onode1 setVmTicket b4867838-561e-491e-bb00-5c2ce3828b83
abc123 0 keep`

virt-view doesnt' like the password either.
UNalbe to authenticate with remote desktop server at 0:5900
Authentication failed



On Monday, January 6, 2014 11:49 AM, Itamar Heim ih...@redhat.com wrote:
On 01/06/2014 06:34 PM, William Kwan wrote:

  I can't get an idea where the VM is actually running on doing what even
  the CPU gauge shows that it is using a great percentage of the allocated
  cpu power.
 

it could be a VM stuck in boot screen (dos mode), taking 100% cpu, and
simply having a black screen?







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


Re: [Users] Almost there... I can't bring up a VM

2014-01-04 Thread Nicholas Kesick

 From: pota...@yahoo.com 
 Date: Fri, 3 Jan 2014 16:45:38 -0500 
 To: users@ovirt.org 
 Subject: Re: [Users] Almost there... I can't bring up a VM 
 
 
 Hi. I need some help to troubleshoot this. I can't find a log showing 
 any hint for me to go forward with it. 
 
 Any help is appreciated. 
 
 Will 
 
Will,
1. What console type are you using? Spice or VNC?
2. What console option are you using? (e.g. Spice HTML5, Native Client, NOVNC)?
3. You mentioned that you disabled iptables. I'm not as familiar with CentOS as 
I am fedora, but did Centos move to firewalld? If so, you may need to stop 
firewalld instead for testing.

I would recommend trying the native client called Virt Viewer instead of Spice 
HTML5/NoVNC to verify that things are working.

- Nick
 
 Hi, 
 
 Running oVirt 3.3.2-1.el6 on CentOS 6.5 
 
 I have oVirt installed on a test host (ovirt1) and two test 
 visualization hosts (onode1, onode2) using GlusterFS. I have GlusterFS 
 available on both onode1 and 2. Storage domain, networks are defined, 
 ISO is uploaded to the ISO domain. I have been trying to create VM but 
 all I get is a black spice console I'm not able to tell what's going 
 on. I turned off all iptables also. 
 
 I looked at /var/log/libvirt/qemu/testvm04.log. I got only the 
 starting up line and a few lines for Spice. I also looked at 
 engine.log for ERROR 
 
 can anyone shed some light on this? I feel like I'm almost there to 
 use oVirt instead of VMware for the next project. 
 
 ERROR lines in engine.log: 
 -- 
 2014-01-02 12:31:40,893 ERROR 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) Command GlusterTasksListVDS 
 execution failed. Exception: VDSNetworkException: 
 org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
 glusterTasksList is not supported 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) FINISH, GlusterTasksListVDSCommand, 
 log id: 3fa83c4f 
 2014-01-02 12:31:40,894 ERROR 
 [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
 (DefaultQuartzScheduler_Worker-76) Failed to invoke scheduled method 
 gluster_async_task_poll_event: 
 java.lang.reflect.InvocationTargetException 
 at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
 [:1.7.0_45] 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  
 [rt.jar:1.7.0_45] 
 at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] 
 at 
 org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
 [scheduler.jar:] 
 at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
 [quartz.jar:] 
 at 
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
 [quartz.jar:] 
 Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: 
 VdcBLLException: 
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
 org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
 glusterTasksList is not supported (Failed with error 
 VDS_NETWORK_ERROR and code 5022) 
 at 
 org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
  
 [bll.jar:] 
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
  
 [bll.jar:] 
 ... 6 more 
 
 [org.ovirt.engine.core.bll.SetVmTicketCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] Running command: SetVmTicketCommand 
 internal: false. Entities affected : ID: 
 b4867838-561e-491e-bb00-5c2ce3828b83 Type: VM 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] START, 
 SetVmTicketVDSCommand(HostName = onode1., HostId = 
 5145362f-0f97-4edf-a23f-592ff2c74d3f, 
 vmId=b4867838-561e-491e-bb00-5c2ce3828b83, ticket=IpVcENDWEgVN, 
 validTime=120,m userName=admin@internal, 
 userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 36bcf5a3 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] FINISH, SetVmTicketVDSCommand, log 
 id: 36bcf5a3 
 
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] Correlation ID: 1d0c71de, Call 
 Stack: null, Custom Event ID: -1, Message: user admin@internal 
 initiated console session for VM testvm04 
 
 qemu log: 
  
 LC_ALL=C 
 PATH=/usr/local/sbin:/usr/local/bin:/usr

Re: [Users] Almost there... I can't bring up a VM

2014-01-03 Thread William Kwan

Hi. I need some help to troubleshoot this. I can't find a log showing any hint 
for me to go forward with it.  

Any help is appreciated. 

Will


 
 Hi,
 
 Running oVirt 3.3.2-1.el6 on CentOS 6.5
 
 I have oVirt installed on a test host (ovirt1) and two test visualization 
 hosts (onode1, onode2) using GlusterFS.  I have GlusterFS available on both 
 onode1 and 2.  Storage domain, networks are defined, ISO is uploaded to the 
 ISO domain.  I have been trying to create VM but all I get is a black spice 
 console I'm not able to tell what's going on.  I turned off all iptables also.
 
 I looked at /var/log/libvirt/qemu/testvm04.log.  I got only the starting up 
 line and a few lines for Spice.  I also looked at engine.log for ERROR
 
 can anyone shed some light on this?  I feel like I'm almost there to use 
 oVirt instead of VMware for the next project.
 
 ERROR lines in engine.log:
 --
 2014-01-02 12:31:40,893 ERROR 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) Command GlusterTasksListVDS execution 
 failed. Exception: VDSNetworkException: org.apache.xmlrpc.XmlRpcException: 
 type 'exceptions.Exception':method glusterTasksList is not supported
   [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
 (DefaultQuartzScheduler_Worker-76) FINISH, GlusterTasksListVDSCommand, log 
 id: 3fa83c4f
 2014-01-02 12:31:40,894 ERROR 
 [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
 (DefaultQuartzScheduler_Worker-76) Failed to invoke scheduled method 
 gluster_async_task_poll_event: java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
 [:1.7.0_45]
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [rt.jar:1.7.0_45]
 at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
 at 
 org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
 [scheduler.jar:]
 at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
 at 
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
 [quartz.jar:]
 Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: 
 VdcBLLException: 
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
 org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
 glusterTasksList is not supported (Failed with error VDS_NETWORK_ERROR and 
 code 5022)
 at 
 org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
 [bll.jar:]
 at 
 org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
  [bll.jar:]
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
  [bll.jar:]
 at 
 org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
  [bll.jar:]
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
  [bll.jar:]
 at 
 org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
  [bll.jar:]
 ... 6 more
 
   [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-8) 
 [1d0c71de] Running command: SetVmTicketCommand internal: false. Entities 
 affected :  ID: b4867838-561e-491e-bb00-5c2ce3828b83 Type: VM
   [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] START, SetVmTicketVDSCommand(HostName = 
 onode1., HostId = 5145362f-0f97-4edf-a23f-592ff2c74d3f, 
 vmId=b4867838-561e-491e-bb00-5c2ce3828b83, ticket=IpVcENDWEgVN, 
 validTime=120,m userName=admin@internal, 
 userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 36bcf5a3
   [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] FINISH, SetVmTicketVDSCommand, log id: 
 36bcf5a3
   [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
 (ajp--127.0.0.1-8702-8) [1d0c71de] Correlation ID: 1d0c71de, Call Stack: 
 null, Custom Event ID: -1, Message: user admin@internal initiated console 
 session for VM testvm04
 
 qemu log:
 
 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
 QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name testvm04 -S -M rhel6.4.0 
 -cpu Westmere -enable-kvm -m 4096 -realtime mlock=off -smp 
 2,sockets=2,cores=1,threads=1 -uuid b4867838-561e-491e-bb00-5c2ce3828b83 
 -smbios type=1,manufacturer=oVirt,product=oVirt 
 Node,version=6-5.el6.centos.11.2,serial=42294BD4-962B-0F5E-9F28-0A96F491CB56,uuid=b4867838-561e-491e-bb00-5c2ce3828b83
  -nodefconfig -nodefaults -chardev 
 socket,id=charmonitor,path=/var/lib/libvirt/qemu/testvm04.monitor,server,nowait
  -mon chardev=charmonitor,id=monitor,mode=control -rtc 
 

[Users] Almost there... I can't bring up a VM

2014-01-02 Thread William Kwan
Hi,

Running oVirt 3.3.2-1.el6 on CentOS 6.5


I have oVirt installed on a test host (ovirt1) and two test visualization hosts 
(onode1, onode2) using GlusterFS.  I have GlusterFS available on both onode1 
and 2.  Storage domain, networks are defined, ISO is uploaded to the ISO 
domain.  I have been trying to create VM but all I get is a black spice console 
I'm not able to tell what's going on.  I turned off all iptables also.
I looked at /var/log/libvirt/qemu/testvm04.log.  I got only the starting up 
line and a few lines for Spice.  I also looked at engine.log for ERROR


can anyone shed some light on this?  I feel like I'm almost there to use oVirt 
instead of VMware for the next project.


ERROR lines in engine.log:
--

2014-01-02 12:31:40,893 ERROR 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
(DefaultQuartzScheduler_Worker-76) Command GlusterTasksListVDS execution 
failed. Exception: VDSNetworkException: org.apache.xmlrpc.XmlRpcException: 
type 'exceptions.Exception':method glusterTasksList is not supported
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
(DefaultQuartzScheduler_Worker-76) FINISH, GlusterTasksListVDSCommand, log id: 
3fa83c4f
2014-01-02 12:31:40,894 ERROR 
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
(DefaultQuartzScheduler_Worker-76) Failed to invoke scheduled method 
gluster_async_task_poll_event: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
[:1.7.0_45]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.7.0_45]
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
    at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
    at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]
Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: 
VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
org.apache.xmlrpc.XmlRpcException: type 'exceptions.Exception':method 
glusterTasksList is not supported (Failed with error VDS_NETWORK_ERROR and 
code 5022)
    at 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:122) 
[bll.jar:]
    at 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:60)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:28)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateTasksInCluster(GlusterTasksSyncJob.java:67)
 [bll.jar:]
    at 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:56)
 [bll.jar:]
    ... 6 more

  [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-8) 
[1d0c71de] Running command: SetVmTicketCommand internal: false. Entities 
affected :  ID: b4867838-561e-491e-bb00-5c2ce3828b83 Type: VM
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
(ajp--127.0.0.1-8702-8) [1d0c71de] START, SetVmTicketVDSCommand(HostName = 
onode1., HostId = 5145362f-0f97-4edf-a23f-592ff2c74d3f, 
vmId=b4867838-561e-491e-bb00-5c2ce3828b83, ticket=IpVcENDWEgVN, validTime=120,m 
userName=admin@internal, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 
36bcf5a3
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
(ajp--127.0.0.1-8702-8) [1d0c71de] FINISH, SetVmTicketVDSCommand, log id: 
36bcf5a3
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--127.0.0.1-8702-8) [1d0c71de] Correlation ID: 1d0c71de, Call Stack: null, 
Custom Event ID: -1, Message: user admin@internal initiated console session for 
VM testvm04


qemu log:


LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name testvm04 -S -M rhel6.4.0 -cpu 
Westmere -enable-kvm -m 4096 -realtime mlock=off -smp 
2,sockets=2,cores=1,threads=1 -uuid b4867838-561e-491e-bb00-5c2ce3828b83 
-smbios type=1,manufacturer=oVirt,product=oVirt 
Node,version=6-5.el6.centos.11.2,serial=42294BD4-962B-0F5E-9F28-0A96F491CB56,uuid=b4867838-561e-491e-bb00-5c2ce3828b83
 -nodefconfig -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/testvm04.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2014-01-02T17:11:07,driftfix=slew -no-shutdown -device 
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device 
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive