[ovirt-users] hosted engine, Hyperconverged recovery

2019-07-10 Thread William Kwan
Hi,
I need some direction to make sure we won't make more mistake in recovering a 
3-node self hosted engine with Gluster.
Someone carelessly, very, wiped out the first few MB of the LVM PV on one node. 
 We changed the quorum and brought up the Gluster and oVirt.   We ran 
vgcfgrestore on the 'bad node' and we can run pvscan, vgscan and lvscan to see 
the LV's. 

What should I do next to prevent more damage or corrupt the glusterfs on the 
other two nodes?
Will this work?  mkfs the LV's  bring up gluster  run gluster sync ?

ThanksWill
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6ADINQ2UTUQTLAOGRFPX64B4BELNPNU/


[ovirt-users] Failed to activate Storage Domain infer (Data Center Default) by admin

2016-05-13 Thread William Kwan
hi all,
I still have the lock error which I need some help to resolve. I found some 
posts used sanlock command. But I'm not sure if it fit in my case. Thanks in 
advance. libvirtError: Failed to acquire lock: No space left on 
deviceThread-49::DEBUG::2016-05-13 
22:02:49,693::vm::2779::vm.Vm::(setDownStatus) 
vmId=`bd48bba5-4109-4a58-ac89-832add1f4de4`::Changed state to Down: Failed to 
acquire lock: No space left on device 

I wasn't able to bring up the hosted-engine on Node1 and I got the above error. 
 I was able to run `hosted-engine --start-pool` on Node2, but not Node1.
#hosted-engine --start-poolConnecting Storage Pool
Starting SPMf5f78fb8-42e3-46e5-93c2-6c3b00914048Activating Storage 
DomainResource timeout: ()


With the "Storage pool" up on Node2, I was able to start the hosted-engine.  
But when I try to active the Master storage domain called 'infra'
"Host cannot access the Storage Domain(s)  attached to the Data Center 
Default. Setting Host state to Non-Operational""Failed to connect Host to 
Storage Pool Default"
Tried again and I would get "Failed to activate Storage Domain infra (Data 
Center Default)"

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


Re: [ovirt-users] no network with matching name 'vdsm-ovirtmgmt'

2016-05-13 Thread William Kwan
Hi all,
There was an issue with sudoers syntax.  Vdsm didn't start correctly so 54321 
wasn't available.After fixing it, I got some errors on locks.  I'm not sure how 
this should be fixed correctly.
Thread-49::DEBUG::2016-05-13 
22:02:49,689::libvirtconnection::143::root::(wrapper) Unknown libvirterror: 
ecode: 38 edom: 42 level: 2 message: Failed to acquire lock: No space left on 
deviceThread-49::DEBUG::2016-05-13 
22:02:49,690::vm::2287::vm.Vm::(_startUnderlyingVm) 
vmId=`bd48bba5-4109-4a58-ac89-832add1f4de4`::_ongoingCreations 
releasedThread-49::ERROR::2016-05-13 
22:02:49,690::vm::2324::vm.Vm::(_startUnderlyingVm) 
vmId=`bd48bba5-4109-4a58-ac89-832add1f4de4`::The vm start process 
failedTraceback (most recent call last):  File "/usr/share/vdsm/virt/vm.py", 
line 2264, in _startUnderlyingVm    self._run()  File 
"/usr/share/vdsm/virt/vm.py", line 3328, in _run    
self._connection.createXML(domxml, flags),  File 
"/usr/lib/python2.6/site-packages/vdsm/libvirtconnection.py", line 111, in 
wrapper    ret = f(*args, **kwargs)  File 
"/usr/lib64/python2.6/site-packages/libvirt.py", line 2709, in createXML    if 
ret is None:raise libvirtError('virDomainCreateXML() failed', 
conn=self)libvirtError: Failed to acquire lock: No space left on 
deviceThread-49::DEBUG::2016-05-13 
22:02:49,693::vm::2779::vm.Vm::(setDownStatus) 
vmId=`bd48bba5-4109-4a58-ac89-832add1f4de4`::Changed state to Down: Failed to 
acquire lock: No space left on device (code=1)



San lock.log:2016-05-13 22:09:58-0400 4283 [16627]: cmd 9 target pid 17793 not 
found2016-05-13 22:09:58-0400 4284 [16632]: r4 cmd_acquire 2,10,17793 invalid 
lockspace found -1 failed 0 name 50816073-c2eb-4d9d-be72-30ad62bf85f2
I did cluster heal.  File systems seems to be fine.  I see this lockspace file 
with hosted-engine.  Does it have anything do with the issue?
# find /gluster -name 
*lock*/gluster/engine/brick1/50816073-c2eb-4d9d-be72-30ad62bf85f2/ha_agent/hosted-engine.lockspace


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


Re: [ovirt-users] no network with matching name 'vdsm-ovirtmgmt'

2016-05-13 Thread William Kwan
OK. I should change the subject to "failed to start oVirt 3.5".
I found a bugzilla page with the following.  It seems to work fine after I 
replaced 'dhcp' with 'none' on two networks.  "Fixed by manually removing 
'dhcp' from /var/lib/vdsm/persistence/netconf/nets/$NETWORK" 
When I try to bring up the hosted engine with `hosted-engine start`, I get # 
hosted-engine --vm-startConnection to localhost:54321 refused
Still working on 'recovery'.  
Will
On Friday, May 13, 2016 7:56 PM, William Kwan <pota...@yahoo.com> wrote:
 

 HI all,
I have a problem with my 3.5 setup with hosted-engine.  After reboot, I can get 
things started.  When i try to start vdsm manually, it says "no network with 
matching name 'vdsm-ovirtmgmt'
The bridge "ovirtmgmt" is up with underlying bond0 are good.  I'm not sure 
where to start.  Can anyone shed some light on where to start to fix this?  
Much appreciated.
ThanksWill
# /etc/init.d/vdsmd startinitctl: Job is already running: libvirtdvdsm: Running 
mkdirsvdsm: Running configure_coredumpvdsm: Running configure_vdsm_logsvdsm: 
Running run_init_hooksvdsm: Running upgraded_version_checkvdsm: Running 
check_is_configuredlibvirt is already configured for vdsmvdsm: Running 
validate_configurationSUCCESS: ssl configured to true. No conflictsvdsm: 
Running prepare_transient_repositoryvdsm: Running syslog_availablevdsm: Running 
nwfiltervdsm: Running dummybrvdsm: Running load_needed_modulesvdsm: Running 
tune_systemvdsm: Running test_spacevdsm: Running test_lovdsm: Running 
unified_network_persistence_upgradevdsm: Running restore_netslibvirt: Network 
Driver error : Network not found: no network with matching name 
'vdsm-ovirtmgmt'Traceback (most recent call last):  File 
"/usr/share/vdsm/vdsm-restore-net-config", line 137, in     restore()  
File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in restore    
unified_restoration()  File "/usr/share/vdsm/vdsm-restore-net-config", line 69, 
in unified_restoration    setupNetworks(nets, bonds, connectivityCheck=False, 
_inRollback=True)  File "/usr/share/vdsm/network/api.py", line 680, in 
setupNetworks    implicitBonding=True, _netinfo=_netinfo, **d)  File 
"/usr/share/vdsm/network/api.py", line 226, in wrapped    ret = func(**attrs)  
File "/usr/share/vdsm/network/api.py", line 315, in addNetwork    
netEnt.configure(**options)  File "/usr/share/vdsm/network/models.py", line 
169, in configure    self.configurator.configureBridge(self, **opts)  File 
"/usr/share/vdsm/network/configurators/ifcfg.py", line 88, in configureBridge   
 ifup(bridge.name, bridge.ipConfig.async)  File 
"/usr/share/vdsm/network/configurators/ifcfg.py", line 819, in ifup    rc, out, 
err = _ifup(iface)  File "/usr/share/vdsm/network/configurators/ifcfg.py", line 
808, in _ifup    raise ConfigNetworkError(ERR_FAILED_IFUP, out[-1] if out else 
'')network.errors.ConfigNetworkError: (29, 'Determining IP information for 
DMZ... failed.')vdsm: stopped during execute restore_nets task (task returned 
with error code 1).vdsm start                                                 
[FAILED]

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


[ovirt-users] no network with matching name 'vdsm-ovirtmgmt'

2016-05-13 Thread William Kwan
HI all,
I have a problem with my 3.5 setup with hosted-engine.  After reboot, I can get 
things started.  When i try to start vdsm manually, it says "no network with 
matching name 'vdsm-ovirtmgmt'
The bridge "ovirtmgmt" is up with underlying bond0 are good.  I'm not sure 
where to start.  Can anyone shed some light on where to start to fix this?  
Much appreciated.
ThanksWill
# /etc/init.d/vdsmd startinitctl: Job is already running: libvirtdvdsm: Running 
mkdirsvdsm: Running configure_coredumpvdsm: Running configure_vdsm_logsvdsm: 
Running run_init_hooksvdsm: Running upgraded_version_checkvdsm: Running 
check_is_configuredlibvirt is already configured for vdsmvdsm: Running 
validate_configurationSUCCESS: ssl configured to true. No conflictsvdsm: 
Running prepare_transient_repositoryvdsm: Running syslog_availablevdsm: Running 
nwfiltervdsm: Running dummybrvdsm: Running load_needed_modulesvdsm: Running 
tune_systemvdsm: Running test_spacevdsm: Running test_lovdsm: Running 
unified_network_persistence_upgradevdsm: Running restore_netslibvirt: Network 
Driver error : Network not found: no network with matching name 
'vdsm-ovirtmgmt'Traceback (most recent call last):  File 
"/usr/share/vdsm/vdsm-restore-net-config", line 137, in     restore()  
File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in restore    
unified_restoration()  File "/usr/share/vdsm/vdsm-restore-net-config", line 69, 
in unified_restoration    setupNetworks(nets, bonds, connectivityCheck=False, 
_inRollback=True)  File "/usr/share/vdsm/network/api.py", line 680, in 
setupNetworks    implicitBonding=True, _netinfo=_netinfo, **d)  File 
"/usr/share/vdsm/network/api.py", line 226, in wrapped    ret = func(**attrs)  
File "/usr/share/vdsm/network/api.py", line 315, in addNetwork    
netEnt.configure(**options)  File "/usr/share/vdsm/network/models.py", line 
169, in configure    self.configurator.configureBridge(self, **opts)  File 
"/usr/share/vdsm/network/configurators/ifcfg.py", line 88, in configureBridge   
 ifup(bridge.name, bridge.ipConfig.async)  File 
"/usr/share/vdsm/network/configurators/ifcfg.py", line 819, in ifup    rc, out, 
err = _ifup(iface)  File "/usr/share/vdsm/network/configurators/ifcfg.py", line 
808, in _ifup    raise ConfigNetworkError(ERR_FAILED_IFUP, out[-1] if out else 
'')network.errors.ConfigNetworkError: (29, 'Determining IP information for 
DMZ... failed.')vdsm: stopped during execute restore_nets task (task returned 
with error code 1).vdsm start                                                 
[FAILED]___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upgrade path/possibility from 3.3?

2016-04-11 Thread William Kwan
Hi all,
I have a couple of oVirt cluster running 3.3.3-2.el6.  I would like to upgrade 
them to the latest version. I sort of remember upgrading from 3.3 to 3.5 
required an step to upgrade to 3.4 as an extra step.  With the new 3.6, will it 
be fine to upgrade straight from 3.3.3 to 3.6? or I need some extra steps?
Another question is about preservation of the virtual machines. Can I export 
the VMs to some storage, upgrade oVirt and then import the VMs afterwards?  
Thanks in advance.Will___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] disk could not be removed, illegal state

2014-01-24 Thread William Kwan
Hi,

When I remove a VM, I get the following messages

VM  has been removed, but the following disk could not be removed: 
_disk1. These disks will appear in the main disks tab in illegal state, 
please remove manually when possible.

Is this a known bug or is it some problem with my setup?
I think I can find the disk by searching the ID from the filesystem. It may 
stay as an entry in the disk list and I can remove it.

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


Re: [Users] Unbundle bond0 which virtmgmt is attached

2014-01-19 Thread William Kwan
Thanks a lot!  It is a good pointer, it is working.  

I'm not sure this is a dumb error from a new user.  When I change the network 
configuration on the first system, I checked the save network configuration. 
It didnt' work and dropped the connection to the system. 

1. I had both systems in maintenance mode
2. from hosts, picked one of the system, setup host networks
3. Right clicked on eth1, Remove eth0 from Bond
4. at this point, ovirtmgmt was on the right hand side listed as Unassigned 
Logical networks
5. I dragged it back to assign it to eth0
6. checked save network configuration
6. clicked OK and connection is dropped

Odd... ON the console, I saw the followings
bonding: unable to remove non-existent slave eth0 for bond bond0.
bonding: unable to remove non-existent slave eth1 for bond bond0.

`/etc/init.d/network restart` and I got bond0 back.  I redo the whole process 
without save network configuration and it worked fine.  I did this on the 2nd 
system and it worked fine also.


Will

 





On Saturday, January 18, 2014 7:56 PM, Dan Kenigsberg dan...@redhat.com wrote:
 
On Sat, Jan 18, 2014 at 03:17:22PM -0800, William Kwan wrote:

 Hi,
 
 FAQ type of question.
 
 If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is 
 the best way to unbundle eth1 from bond0?

I'd say:
- Move the host to maintanence, so it runs no VMs and does not play SPM
  role.
- Use the Setup Network dialog to brake the bond and define ovirtmgmt
  directly on top of eth0. The Engine/Vdsm connection should survive
  this kind of change (unlike a change of management address or vlan).

If the host uses a special storage domain, or is not SPM, you could even
do that while VMs are running.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Unbundle bond0 which virtmgmt is attached

2014-01-18 Thread William Kwan
Hi,

FAQ type of question.

If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is 
the best way to unbundle eth1 from bond0?

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


Re: [Users] vlan on mgmt network

2014-01-17 Thread William Kwan
I'm sorry. This seems to be getting too long from a possible confused user =)
Yes, I followed the step and it works as expected. However I want to have VMs 
able to reach the mgmt network.

let's make it simpler.  
    eth0 - mgmt network, untagged, this is where I ssh to systems
    eth1 - some other subnet

I have two nodes built and setup with ovirt.  They run fine.  ovirtmgmt runs on 
eth0
But I want to have a VM able reach to both
    - mgmt network on eth0
    - vlanX on eth0

That's why I was testing different things
I added eth0.X for  VLAN X under the OS, but it won't show up under oVirt.
I can add more physical interface to separate the traffic
    1. subnet for ovirt
    2. subnet for management traffic
    3. subnet for whatever subnet VM reach out to

W




On Friday, January 17, 2014 5:27 PM, Itamar Heim ih...@redhat.com wrote:
 
On 01/16/2014 08:35 PM, Assaf Muller wrote:
 Ok so if you want to set the management network (untagged) and VM networks 
 (tagged) on the same bond,
 then the management network has to be non-VM. IE: You won't be able to 
 connect instances to the management
 network.

William - did this work for you followin assaf steps below? you don't 
need to change anything at host level, all should be done from the webadmin



 Assaf Muller, Cloud Networking Engineer
 Red Hat

 - Original Message -
 From: William Kwan pota...@yahoo.com
 To: Assaf Muller amul...@redhat.com
 Cc: users@ovirt.org, Christian Hernandez christi...@4over.com
 Sent: Thursday, January 16, 2014 7:59:46 PM
 Subject: Re: [Users] vlan on mgmt network

 Assaf,

 Thanks a lot.   Will I be able to mix tagged and untagged traffic?

 Example:
 - bond0 on my two systems are on the management network, untagged
 - my VMs all have one connection to this management network
 - I want to setup a new VM with two interfaces, one on the management 
 network, one on the tagged VLAN


 This will work it out?
 Thanks
 Will




 On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com 
 wrote:

 You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place
 as many VM, tagged networks as you'd like on the same NIC or bond.

 Here's a working upgrade procedure:
 1) Edit ovirtmgmt, mark it as non-VM.
 2) Go to all hosts using this network, select Setup Host Networks. You'll see 
 that
     ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the 
dialog of course :)
     Step 2 will be done for you automatically when you edit logical networks 
in oVirt 3.4
 3) Create VM, VLAN networks
 4) Go to all hosts you wish to place those networks, and drag the new VLAN 
 networks on
     bond0.

 You don't need to do any prep work on your hosts before this procedure. oVirt 
 will take care
 of this stuff for you.


 Assaf Muller, Cloud Networking Engineer
 Red Hat

 - Original Message -
 From: Christian Hernandez christi...@4over.com
 To: William Kwan pota...@yahoo.com
 Cc: users@ovirt.org
 Sent: Thursday, January 16, 2014 6:36:49 PM
 Subject: Re: [Users] vlan on mgmt network

 Assuming it's on the same VLAN...

 I would make the subinterface (i.e. bond0.1)


 Thank you,

 Christian Hernandez
 1225 Los Angeles Street
 Glendale, CA 91204
 Phone: 877-782-2737 ext. 4566
 Fax: 818-265-3152
 christi...@4over.com mailto: christi...@4over.com 
 www.4over.com  http://www.4over.com 


 On Thu, Jan 16, 2014 at 8:31 AM, William Kwan  pota...@yahoo.com  wrote:



 Hi all,

 CentOS 6.5 and oVirt 3.3

 Let's say I have bond0 (eth0 and eth1) on a management network.
 Logical network ovirtmgmt is set and working on top of Interfaces bond0.

 Is it possible to have another Logical network, e.g. ovirt777, on the same 
 Interface bond0?

 Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and 
 create logical network with this virtual interface?

 Wil


 ___
 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] vlan on mgmt network

2014-01-17 Thread William Kwan
Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6

Assaf mentioned the following which is true.
You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then placeas many 
VM, tagged networks as you'd like on the same NIC or bond.

I tried a few things and I haven't been able to find a way through.  Obviously 
or not, there are more facts/rules.  Just put up a few of them here

Cannot have more than one non-VLAN network on one interface

Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( 
got this when I tried to drag a VLAN-tagged VM network on the same interface as 
the non-VLAN VM network).

I'll try to test adding a bond0.vlan.  I need to have
bond0 - for both mgmt network and a vlan
bond1 - for another subnet.

Will






On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com 
wrote:
 
Hi William,

You can have several logical networks on the same interface. If
ovirtmgmt is not a vm network you can even mix tagged and untagged
networks (if not, you can't mix). You don's have to do anything besides
creating the logical networks in ovirt and assign them to the
 interface,
ovirt takes care of creating the virtual interfaces it needs.
What you can't do is have more than one logical network per vlan (I
think there's a feature request on this, I know I've asked it on the

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


[Users] Failed to invoke scheduled method gluster_async_task_poll_event

2014-01-17 Thread William Kwan
Hi,

Keep seeing this in my engine.log, any idea where does this come from?
Failed to invoke scheduled method gluster_async_task_poll_event: 
java.lang.reflect.InvocationTargetException

I'm using 3.3.2-1.el6 with
glusterfs-server-3.4.2-1.el6.x86_64
vdsm-gluster-4.13.2-1.el6.noarch


2014-01-17 14:26:11,615 ERROR 
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
(DefaultQuartzScheduler_Worker-96) Failed to invoke scheduled method 
gluster_async_task_poll_event: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) 
[:1.7.0_51]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.7.0_51]
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
    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

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


Re: [Users] vlan on mgmt network

2014-01-17 Thread William Kwan
OK..   tested with bond0.102 for vlan102
I guess I can't do this with oVirt?  It wouldn't pickup this interface. It 
still shows up eth0, eth1 and bond0 only

Will





On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com wrote:
 
Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6

Assaf mentioned the following which is true.
You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then placeas many 
VM, tagged networks as you'd like on the same NIC or bond.

I tried a few things and I haven't been able to find a way through.  Obviously 
or not, there are more facts/rules.  Just put up a few of them here

Cannot have more than one non-VLAN network on one interface

Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( 
got this when I tried to drag a VLAN-tagged VM network on the same interface as 
the non-VLAN VM network).

I'll try to test adding a bond0.vlan.  I need to have
bond0 - for both mgmt network and a vlan
bond1 - for another subnet.

Will






On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com 
wrote:
 
Hi William,

You can have several logical networks on the same interface. If
ovirtmgmt is not a vm network you can even mix tagged and untagged
networks (if not, you can't mix). You don's have to do anything besides
creating the logical networks in ovirt and assign them to the
 interface,
ovirt takes care of creating the virtual interfaces it needs.
What you can't do is have more than one logical network per vlan (I
think there's a feature request on this, I know I've asked it on the

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


Re: [Users] vlan on mgmt network

2014-01-17 Thread William Kwan
I tried to define a virtual interface for vlan102, by 

    adding ifcfg-bond0.102
    manually and restarted network services.





On Friday, January 17, 2014 4:45 PM, Itamar Heim ih...@redhat.com wrote:
 
On 01/17/2014 11:38 PM, William Kwan wrote:
 OK..   tested with bond0.102 for vlan102
 I guess I can't do this with oVirt?  It wouldn't pickup this interface.
 It still shows up eth0, eth1 and bond0 only

you tried to define a vlan youself on the bond, or use a vlan via a 
logical network over the bond via ovirt-engine (which should work)?



 Will



 On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com wrote:
 Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6

 Assaf mentioned the following which is true.
 You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place
 as many VM, tagged networks as you'd like on the same NIC or bond.

 I tried a few things and I haven't been able to find a way through.
 Obviously or not, there are more facts/rules.  Just put up a few of them
 here

 Cannot have more than one non-VLAN network on one interface
 Cannot have a non-VLAN VM network and VLAN-tagged networks on one
 interface. ( got this when I tried to drag a VLAN-tagged VM network on
 the same interface as the non-VLAN VM network).

 I'll try to test adding a bond0.vlan.  I need to have
 bond0 - for both mgmt network and a vlan
 bond1 - for another subnet.

 Will




 On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier
 jplor...@gmail.com wrote:
 Hi William,

 You can have several logical networks on the same interface. If
 ovirtmgmt is not a vm network you can even mix tagged and untagged
 networks (if not, you can't mix). You don's have to do anything besides
 creating the logical networks in ovirt and assign them to the interface,
 ovirt takes care of creating the virtual interfaces it needs.
 What you can't do is have more than one logical network per vlan (I
 think there's a feature request on this, I know I've asked it on the

 list:-) ).
 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


[Users] vlan on mgmt network

2014-01-16 Thread William Kwan
Hi all,

CentOS 6.5 and oVirt 3.3

Let's say I have bond0 (eth0 and eth1) on a management network.
Logical network ovirtmgmt is set and working on top of Interfaces bond0.

Is it possible to have another Logical network, e.g. ovirt777, on the same 
Interface bond0?

Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and 
create logical network with this virtual interface? 

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


Re: [Users] vlan on mgmt network

2014-01-16 Thread William Kwan
Assaf,

Thanks a lot.   Will I be able to mix tagged and untagged traffic?

Example:
- bond0 on my two systems are on the management network, untagged
- my VMs all have one connection to this management network
- I want to setup a new VM with two interfaces, one on the management network, 
one on the tagged VLAN


This will work it out?
Thanks
Will




On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com wrote:
 
You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place
as many VM, tagged networks as you'd like on the same NIC or bond.

Here's a working upgrade procedure:
1) Edit ovirtmgmt, mark it as non-VM.
2) Go to all hosts using this network, select Setup Host Networks. You'll see 
that
   ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the 
dialog of course :)
   Step 2 will be done for you automatically when you edit logical networks in 
oVirt 3.4
3) Create VM, VLAN networks
4) Go to all hosts you wish to place those networks, and drag the new VLAN 
networks on
   bond0.

You don't need to do any prep work on your hosts before this procedure. oVirt 
will take care
of this stuff for you.


Assaf Muller, Cloud Networking Engineer 
Red Hat 

- Original Message -
From: Christian Hernandez christi...@4over.com
To: William Kwan pota...@yahoo.com
Cc: users@ovirt.org
Sent: Thursday, January 16, 2014 6:36:49 PM
Subject: Re: [Users] vlan on mgmt network

Assuming it's on the same VLAN... 

I would make the subinterface (i.e. bond0.1) 


Thank you, 

Christian Hernandez 
1225 Los Angeles Street 
Glendale, CA 91204 
Phone: 877-782-2737 ext. 4566 
Fax: 818-265-3152 
christi...@4over.com mailto: christi...@4over.com  
www.4over.com  http://www.4over.com  


On Thu, Jan 16, 2014 at 8:31 AM, William Kwan  pota...@yahoo.com  wrote: 



Hi all, 

CentOS 6.5 and oVirt 3.3 

Let's say I have bond0 (eth0 and eth1) on a management network. 
Logical network ovirtmgmt is set and working on top of Interfaces bond0. 

Is it possible to have another Logical network, e.g. ovirt777, on the same 
Interface bond0? 

Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and 
create logical network with this virtual interface? 

Wil 


___ 
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] installation failed on cluster host

2014-01-15 Thread William Kwan
problem resolved.

It is a Yum issue. Hosts are behind a http proxy.  I wonder if ovirt should add 
some options during or after engine-setup.  I added env var to bashrc and the 
install ran fine.



On Tuesday, January 14, 2014 6:43 PM, Dafna Ron d...@redhat.com wrote:
 
Hi William,

The issue you are having is a yum issue with Centos and not ovirt issue.
I found several posts on it by searching 'Cannot find a valid baseurl 
for repo: base' in google.

https://www.google.co.uk/?gws_rd=crei=GsnVUu-YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5spell=1

can you please look at the link and see if any of the forms were 
reporting anything like you describe with Yum?
If you do, can you also post it here so others encountering this yum 
issue on centos can use your workaround?

Just so you know, ovirt has a deployment log under 
/var/log/ovirt-engine/host-deploy/ so if a host installation fails, it 
should be reported there in a way which should be easy to debug.

Thanks,
Dafna


On 01/14/2014 11:29 PM, William Kwan wrote:
 HI,

 Running through the whole installation exercises on two hosts again 
 with the latest release on CentOS6.5.

 I added a host to a new cluster.  There are action items listed 
 under the new host. One of them is
       Host installation failed. Fix installation issues and try to 
 Re-Install


 I clicked Re-install, I monitor the engine.log and see the followings
     Installation 10.10.25.10: Yum [u'Errors were encountered while 
 downloading packages.', u'libselinux- 
 python-2.0.94-5.3.el6_4.1.x86_64: failure: 
 Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: 
 [Errno 256] No more mirrors to try.']


 I'm sure I ran yum update already and I cleaned the db and rerun 
 update...etc.  Eventually I manually did `yum install vdsm.x86_64` on 
 the host.  Try to run re-install again and I still get yum error.
    Yum Cannot queue package iproute: Cannot find a valid baseurl for 
 repo: base
 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) 
 Installation 10.10.25.10: Failed to execute stage 'Environment 
 packages setup': Cannot find a valid baseurl for repo: base


 iproute is sure installed.
 # rpm -qa|grep iproute
 iproute-2.6.32-31.el6.x86_64

 Something in ssh?  Password is sure correct, what could be wrong

 Will




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


-- 
Dafna Ron___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] installation failed on cluster host

2014-01-14 Thread William Kwan
HI,

Running through the whole installation exercises on two hosts again with the 
latest release on CentOS6.5.

I added a host to a new cluster.  There are action items listed under the new 
host. One of them is 
  Host installation failed. Fix installation issues and try to Re-Install


I clicked Re-install, I monitor the engine.log and see the followings
    Installation 10.10.25.10: Yum [u'Errors were encountered while downloading 
packages.', u'libselinux-  python-2.0.94-5.3.el6_4.1.x86_64: failure: 
Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [Errno 256] 
No more mirrors to try.']


I'm sure I ran yum update already and I cleaned the db and rerun update...etc.  
Eventually I manually did `yum install vdsm.x86_64` on the host.  Try to run 
re-install again and I still get yum error.  
   Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base

ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 
10.10.25.10: Failed to execute stage 'Environment packages setup': Cannot find 
a valid baseurl for repo: base


iproute is sure installed.
# rpm -qa|grep iproute
iproute-2.6.32-31.el6.x86_64


Something in ssh?  Password is sure correct, what could be wrong

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


Re: [Users] no VM network connection

2014-01-09 Thread William Kwan
Thanks for the tips. Yes, after tcpdump left and right, we found an issue.  It 
is definitely an user error.

BTW, thanks for all the assistance.  We have a promising setup working so far.  
We are running tests and putting more stress to test it.

Thanks
Will




On Thursday, January 9, 2014 11:53 AM, Dan Kenigsberg dan...@redhat.com wrote:
 
On Thu, Jan 09, 2014 at 09:18:15AM -0500, Assaf Muller wrote:
 Hi Will,
 
 Do these new faulty VMs get IP from the DHCP server on subnet1? If so, can 
 they ping their default gateway?
 
 If you SSH into the hypervisor that hosts the new VM, do you see a new 
 'vnetX' device for it? If you type brctl showmacs name of VM bridge, do you 
 see the MAC of the NIC of the VM that is connected to the VM network?
 
 If you tcpdump bond1, do you see any outgoing VM traffic?

Also, if you set an explicit IP address within the guest and try to ping
outside of it - cun you see packets travelling out of the vnetX and into
the connected bridge?


 
 Assaf Muller, Cloud Networking Engineer 
 Red Hat 
 
 
 - Original Message -
 From: William Kwan pota...@yahoo.com
 To: users@ovirt.org
 Sent: Wednesday, January 8, 2014 8:47:51 PM
 Subject: [Users] no VM network connection
 
 Hi all, 
 
 Need some pointers here. I created one VM successfully with network 
 connection. New VMs and clone can't seem to get network connections. 
 
 I have ovirt 3.3.2-1.el6 on CentOS6.5. Two virtualization nodes are on 6.5 
 with GlusterFS. 
 Both nodes have bond0 on management subnet and bond1 on subnet1. 
 bond0 has an IP assigned and bond1 has no IP assigned (just link up) 
 
 I created a VM with two NICs attached to two the logical networks. This VM1 
 works fine with both network connections. This VM can be started on either 
 node fine with network connections. 
 
 When I tried to build a new VM or build one from the template of VM1, I can't 
 seem to get another network connection working on these new VMs. Yes, they 
 have logical network attached to them. ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt-engine on the virtualization node?

2014-01-09 Thread William Kwan
Hi

Is it possible to have oVirt engine installed on node1, while having both node1 
and node2 as the virtualization nodes?

Yes, it doesn't sound right at all for redundancy and etc.  However, I have a 
situation where I have two nodes in a small remote location where I can turn 
them into virtualization nodes.  I don't have another system I can leverage for 
ovirt engine.    Another option is to use the oVirt engine at the main site to 
access these two remote systems over a dedicated line.

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


[Users] no VM network connection

2014-01-08 Thread William Kwan
Hi all,

Need some pointers here.  I created one VM successfully with network 
connection.  New VMs and clone can't seem to get network connections.

I have ovirt 3.3.2-1.el6 on CentOS6.5.  Two virtualization nodes are on 6.5 
with GlusterFS.
 Both nodes have bond0 on management subnet and bond1 on subnet1.
 bond0 has an IP assigned and bond1 has no IP assigned (just link up)

I created a VM with two NICs attached to two the logical networks.  This VM1 
works fine with both network connections. This VM can be started on either node 
fine with network connections.

When I tried to build a new VM or build one from the template of VM1, I can't 
seem to get another network connection working on these new VMs.  Yes, they 
have logical network attached to them.  

Thanks in advance,

Will___
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

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 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-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