On Tue, Sep 8, 2015 at 7:50 PM, wodel youchi <wodel.youchi@gmail.com> wrote:
Hi again,

I did modify the file and restart vdsmd ha-agent broker-agent
I installed all available new updates on host and on VM engine.

I can start the VM engine, the problem of CPU overloaded disappear, but the ha-agent started to crash

Sorry again,
this will solve https://gerrit.ovirt.org/#/c/45940/

It will be included in 3.6 beta5
 
MainThread::INFO::2015-09-08 18:39:35,524::hosted_engine::238::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname) Found certificate common name: noveria.wodel.wd
MainThread::INFO::2015-09-08 18:39:35,524::hosted_engine::587::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm) Initializing VDSM
MainThread::INFO::2015-09-08 18:39:35,720::hosted_engine::630::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Connecting the storage
MainThread::INFO::2015-09-08 18:39:35,721::storage_server::110::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server
MainThread::INFO::2015-09-08 18:39:35,721::storage_server::135::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server
MainThread::INFO::2015-09-08 18:39:35,744::hosted_engine::634::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Preparing images
MainThread::INFO::2015-09-08 18:39:35,744::image::61::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images) Preparing images
MainThread::INFO::2015-09-08 18:39:36,339::hosted_engine::642::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Reloading vm.conf from the shared storage domain
MainThread::INFO::2015-09-08 18:39:36,365::hosted_engine::492::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Initializing ha-broker connection
MainThread::INFO::2015-09-08 18:39:36,365::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor ping, options {'addr': '192.168.1.1'}
MainThread::INFO::2015-09-08 18:39:36,366::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 140597217540688
MainThread::INFO::2015-09-08 18:39:36,367::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 'ovirtmgmt', 'address': '0'}
MainThread::INFO::2015-09-08 18:39:36,371::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 140597217541456
MainThread::INFO::2015-09-08 18:39:36,371::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
MainThread::INFO::2015-09-08 18:39:36,373::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 140597217616592
MainThread::INFO::2015-09-08 18:39:36,373::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 'd10e531a-4397-442b-ba2e-f70858b501f3', 'address': '0'}
MainThread::INFO::2015-09-08 18:39:36,394::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 140597186629072
MainThread::INFO::2015-09-08 18:39:36,394::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 'd10e531a-4397-442b-ba2e-f70858b501f3', 'address': '0'}
MainThread::INFO::2015-09-08 18:39:36,416::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 140597195989520
MainThread::INFO::2015-09-08 18:39:36,489::brokerlink::178::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(set_storage_domain) Success, id 140597196204048
MainThread::INFO::2015-09-08 18:39:36,489::hosted_engine::584::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Broker initialized, all submonitors started
MainThread::INFO::2015-09-08 18:39:36,764::hosted_engine::688::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock) Ensuring lease for lockspace hosted-engine, host id 1 is acquired (file: /var/run/vdsm/storage/367b3d7b-8540-41c2-92e6-c60088224472/ef07eee6-1b5e-4ab1-a023-a44bc78a191d/a16c50f3-437f-4804-bfad-fd5d59667095)
MainThread::INFO::2015-09-08 18:39:36,765::upgrade::833::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade) Host configuration is already up-to-date
MainThread::INFO::2015-09-08 18:39:36,765::hosted_engine::411::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Reloading vm.conf from the shared storage domain
MainThread::INFO::2015-09-08 18:39:36,792::state_machine::166::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Global metadata: {'maintenance': True}
MainThread::INFO::2015-09-08 18:39:36,793::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Local (id 1): {'engine-health': {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'bridge': True, 'mem-free': 4037.0, 'maintenance': False, 'cpu-load': None, 'gateway': True}
MainThread::INFO::2015-09-08 18:39:36,793::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify) Trying: notify time=1441733976.79 type=state_transition detail=StartState-ReinitializeFSM hostname='noveria.wodel.wd'
MainThread::INFO::2015-09-08 18:39:36,809::brokerlink::120::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify) Success, was notification of state_transition (StartState-ReinitializeFSM) sent? ignored
MainThread::INFO::2015-09-08 18:39:36,809::hosted_engine::587::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm) Initializing VDSM
MainThread::INFO::2015-09-08 18:39:37,457::hosted_engine::630::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Connecting the storage
MainThread::INFO::2015-09-08 18:39:37,458::storage_server::110::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server
MainThread::INFO::2015-09-08 18:39:37,458::storage_server::135::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server) Connecting storage server
MainThread::INFO::2015-09-08 18:39:37,482::hosted_engine::634::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Preparing images
MainThread::INFO::2015-09-08 18:39:37,483::image::61::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images) Preparing images
MainThread::INFO::2015-09-08 18:39:38,335::hosted_engine::642::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images) Reloading vm.conf from the shared storage domain
MainThread::ERROR::2015-09-08 18:39:38,748::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate) Connection closed
MainThread::ERROR::2015-09-08 18:39:38,748::brokerlink::159::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(get_service_path) Exception getting service path: Connection closed
MainThread::WARNING::2015-09-08 18:39:38,748::hosted_engine::453::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Error while monitoring engine: Failed to get service path: Connection closed
MainThread::INFO::2015-09-08 18:39:38,748::hosted_engine::472::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Sleeping 60 seconds

Regards

2015-09-08 16:33 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com>:


On Mon, Sep 7, 2015 at 8:00 PM, wodel youchi <wodel.youchi@gmail.com> wrote:
Hi,

after installing ovirt 3.6 beta 4

my hypervisor is very slo, my CPU is overloaded by ovirt-ha-broker especially

Fixed:

Thanks a lot to have reported it.
 
[root@noveria wodel]# top
top - 18:57:17 up  2:35,  0 users,  load average: 745,33, 676,04, 522,26
Tasks: 278 total,   2 running, 275 sleeping,   0 stopped,   1 zombie
%Cpu(s): 30,9 us, 68,2 sy,  0,0 ni,  0,8 id,  0,0 wa,  0,0 hi,  0,1 si,  0,0 st
KiB Mem :  8123256 total,  2816544 free,  1712520 used,  3594192 buff/cache
KiB Swap:  4095996 total,  4093872 free,     2124 used.  5551188 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                 
 1444 vdsm      20   0 8707412  65296   5716 S 349,3  0,8 143:14.97 ovirt-ha-broker                                         
 2528 wodel     20   0 2571748 989,7m 290820 S  10,3 12,5  27:15.53 firefox                                                 
  987 polkitd   20   0  536664  19192   9676 S   8,3  0,2   2:06.87 polkitd                                                 
32743 vdsm       0 -20 2877220  66992  20984 S   3,3  0,8   1:11.27 vdsm                                                    
 1188 vdsm      20   0  258272  22500   6016 S   2,6  0,3   0:28.55 ovirt-ha-agent


I have a core i5 3550 3Ghz (4 cores)

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