Re: [ovirt-users] messages file filled by vdsm logs in 4.0

2016-07-06 Thread Nir Soffer
On Tue, Jul 5, 2016 at 12:16 PM, Gianluca Cecchi
 wrote:
> Hello,
> since updating to 4.0 yesterday, my /var/log/messages on hypervisor seem
> filled by vdsm messages
>
>
>
> sudo awk -F ":" '{print $4}'  /var/log/messages | sort | uniq -c| sort -rnk
> 1,1
>
> gives these top lines
>  126052  INFO ovirt_hosted_engine_ha.broker.listener.ConnectionHandler
>   46278  INFO ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine
>   34364  INFO ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore
>   25773  INFO ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config
>   25737  INFO ovirt_hosted_engine_ha.lib.storage_server.StorageServer

These messages are from hosted engine agent.

Martin, why are you logging info level message to syslog?

>   16579  vdsm SchemaCache WARNING Parameter disktotal is not int type
>   16579  vdsm SchemaCache WARNING Parameter diskfree is not int type
>   16567  INFO mem_free.MemFree
>   15288  vdsm SchemaCache WARNING Following parameters ['isoprefix'] were
> not recognized
>   15194  vdsm SchemaCache WARNING Provided parameters {'displayInfo'
> [{'tlsPort'
>   13184  vdsm SchemaCache WARNING Following parameters ['type'] were not
> recognized
>8574  INFO ovirt_hosted_engine_ha.lib.image.Image
>8088  vdsm SchemaCache WARNING Required property allocType is not
> provided when calling Volume.getInfo
>8088  vdsm SchemaCache WARNING Provided value "2" not defined in DiskType
> enum for Volume.getInfo
>8088  vdsm SchemaCache WARNING Parameter truesize is not uint type
>8088  vdsm SchemaCache WARNING Parameter mtime is not uint type
>8088  vdsm SchemaCache WARNING Parameter ctime is not int type
>8088  vdsm SchemaCache WARNING Parameter capacity is not uint type
>8088  vdsm SchemaCache WARNING Parameter apparentsize is not uint type
>8026  vdsm SchemaCache WARNING No default value specified for
> systemVersion parameter in Host.getHardwareInfo
>8026  vdsm SchemaCache WARNING No default value specified for systemUUID
> parameter in Host.getHardwareInfo
>8026  vdsm SchemaCache WARNING No default value specified for
> systemSerialNumber parameter in Host.getHardwareInfo
>8026  vdsm SchemaCache WARNING No default value specified for
> systemProductName parameter in Host.getHardwareInfo
>8026  vdsm SchemaCache WARNING No default value specified for
> systemManufacturer parameter in Host.getHardwareInfo
>8026  vdsm SchemaCache WARNING No default value specified for
> systemFamily parameter in Host.getHardwareInfo
>7998  vdsm vds.dispatcher WARNING unhandled close event
>7989  vdsm vds.dispatcher ERROR SSL error during reading data  (104,
> 'Connection reset by peer')
>  vdsm SchemaCache WARNING Parameter version is not int type
>5096  vdsm SchemaCache WARNING Required property domainType is not
> provided when calling StoragePool.getInfo
>5096  vdsm SchemaCache WARNING Parameter spmLver is not int type
>5096  vdsm SchemaCache WARNING Parameter lver is not int type
>3787  vdsm SchemaCache WARNING Provided parameters {'vcpuCount'  '2',
> 'displayInfo'
>3245  INFO cpu_load_no_engine.EngineHealth
>3190  INFO ping.Ping
>3011  INFO mgmt_bridge.MgmtBridge
>2869  INFO engine_health.CpuLoadNoEngine
>2681  vdsm SchemaCache WARNING Required property spm_id is not provided
> when calling StorageDomain.getInfo
>2681  vdsm SchemaCache WARNING Required property master_ver is not
> provided when calling StorageDomain.getInfo
>2681  vdsm SchemaCache WARNING Required property lver is not provided
> when calling StorageDomain.getInfo
>2681  vdsm SchemaCache WARNING Required property domainType is not
> provided when calling StorageDomain.getInfo
>2681  vdsm SchemaCache WARNING Required property domainClass is not
> provided when calling StorageDomain.getInfo
>2681  vdsm SchemaCache WARNING Following parameters ['remotePath',
> 'type', 'class'] were not recognized
>1335  vdsm SchemaCache WARNING Provided value "1" not defined in
> StorageDomainType enum for StoragePool.connectStorageServer
>1333  vdsm SchemaCache WARNING Provided parameters {u'protocol_version'
> 3, u'connection'

The SchemaCache warnings were disabled in vdsm-4.18.5.1

> If I limit to messages related to today (11 hours):
>   26108  INFO ovirt_hosted_engine_ha.broker.listener.ConnectionHandler
>   10905  vdsm SchemaCache WARNING Parameter disktotal is not int type
>   10905  vdsm SchemaCache WARNING Parameter diskfree is not int type
>   10036  vdsm SchemaCache WARNING Provided parameters {'displayInfo'
> [{'tlsPort'
>   10032  vdsm SchemaCache WARNING Following parameters ['isoprefix'] were
> not recognized
>8636  vdsm SchemaCache WARNING Following parameters ['type'] were not
> recognized
>5292  vdsm SchemaCache WARNING Required property allocType is not
> provided when calling Volume.getInfo
>5292  vdsm SchemaCache WARNING Provided value "2" not defined in DiskType
> enum for Volume.getInfo

Re: [ovirt-users] messages file filled by vdsm logs in 4.0

2016-07-06 Thread Francesco Romani
- Original Message -

> From: "Gianluca Cecchi" 
> To: "users" 
> Sent: Tuesday, July 5, 2016 11:16:54 AM
> Subject: [ovirt-users] messages file filled by vdsm logs in 4.0

> Hello,
> since updating to 4.0 yesterday, my /var/log/messages on hypervisor seem
> filled by vdsm messages

Ciao Gianluca, 

please try the following: 
1. edit /etc/vdsm/vdsm.conf 
2. in the [devel] section, set "python_warnings_enable=false" 

it should read like 

[devel] 
python_warnings_enable = false 
3. changes will take place after a Vdsm restart 

HTH, 

Bests, 

-- 
Francesco Romani 
RedHat Engineering Virtualization R & D 
Phone: 8261328 
IRC: fromani 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] messages file filled by vdsm logs in 4.0

2016-07-05 Thread Gianluca Cecchi
Hello,
since updating to 4.0 yesterday, my /var/log/messages on hypervisor seem
filled by vdsm messages



sudo awk -F ":" '{print $4}'  /var/log/messages | sort | uniq -c| sort -rnk
1,1

gives these top lines
 126052  INFO ovirt_hosted_engine_ha.broker.listener.ConnectionHandler
  46278  INFO ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine
  34364  INFO ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore
  25773  INFO ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config
  25737  INFO ovirt_hosted_engine_ha.lib.storage_server.StorageServer
  16579  vdsm SchemaCache WARNING Parameter disktotal is not int type
  16579  vdsm SchemaCache WARNING Parameter diskfree is not int type
  16567  INFO mem_free.MemFree
  15288  vdsm SchemaCache WARNING Following parameters ['isoprefix'] were
not recognized
  15194  vdsm SchemaCache WARNING Provided parameters {'displayInfo'
 [{'tlsPort'
  13184  vdsm SchemaCache WARNING Following parameters ['type'] were not
recognized
   8574  INFO ovirt_hosted_engine_ha.lib.image.Image
   8088  vdsm SchemaCache WARNING Required property allocType is not
provided when calling Volume.getInfo
   8088  vdsm SchemaCache WARNING Provided value "2" not defined in
DiskType enum for Volume.getInfo
   8088  vdsm SchemaCache WARNING Parameter truesize is not uint type
   8088  vdsm SchemaCache WARNING Parameter mtime is not uint type
   8088  vdsm SchemaCache WARNING Parameter ctime is not int type
   8088  vdsm SchemaCache WARNING Parameter capacity is not uint type
   8088  vdsm SchemaCache WARNING Parameter apparentsize is not uint type
   8026  vdsm SchemaCache WARNING No default value specified for
systemVersion parameter in Host.getHardwareInfo
   8026  vdsm SchemaCache WARNING No default value specified for systemUUID
parameter in Host.getHardwareInfo
   8026  vdsm SchemaCache WARNING No default value specified for
systemSerialNumber parameter in Host.getHardwareInfo
   8026  vdsm SchemaCache WARNING No default value specified for
systemProductName parameter in Host.getHardwareInfo
   8026  vdsm SchemaCache WARNING No default value specified for
systemManufacturer parameter in Host.getHardwareInfo
   8026  vdsm SchemaCache WARNING No default value specified for
systemFamily parameter in Host.getHardwareInfo
   7998  vdsm vds.dispatcher WARNING unhandled close event
   7989  vdsm vds.dispatcher ERROR SSL error during reading data  (104,
'Connection reset by peer')
     vdsm SchemaCache WARNING Parameter version is not int type
   5096  vdsm SchemaCache WARNING Required property domainType is not
provided when calling StoragePool.getInfo
   5096  vdsm SchemaCache WARNING Parameter spmLver is not int type
   5096  vdsm SchemaCache WARNING Parameter lver is not int type
   3787  vdsm SchemaCache WARNING Provided parameters {'vcpuCount'  '2',
'displayInfo'
   3245  INFO cpu_load_no_engine.EngineHealth
   3190  INFO ping.Ping
   3011  INFO mgmt_bridge.MgmtBridge
   2869  INFO engine_health.CpuLoadNoEngine
   2681  vdsm SchemaCache WARNING Required property spm_id is not provided
when calling StorageDomain.getInfo
   2681  vdsm SchemaCache WARNING Required property master_ver is not
provided when calling StorageDomain.getInfo
   2681  vdsm SchemaCache WARNING Required property lver is not provided
when calling StorageDomain.getInfo
   2681  vdsm SchemaCache WARNING Required property domainType is not
provided when calling StorageDomain.getInfo
   2681  vdsm SchemaCache WARNING Required property domainClass is not
provided when calling StorageDomain.getInfo
   2681  vdsm SchemaCache WARNING Following parameters ['remotePath',
'type', 'class'] were not recognized
   1335  vdsm SchemaCache WARNING Provided value "1" not defined in
StorageDomainType enum for StoragePool.connectStorageServer
   1333  vdsm SchemaCache WARNING Provided parameters {u'protocol_version'
 3, u'connection'


If I limit to messages related to today (11 hours):
  26108  INFO ovirt_hosted_engine_ha.broker.listener.ConnectionHandler
  10905  vdsm SchemaCache WARNING Parameter disktotal is not int type
  10905  vdsm SchemaCache WARNING Parameter diskfree is not int type
  10036  vdsm SchemaCache WARNING Provided parameters {'displayInfo'
 [{'tlsPort'
  10032  vdsm SchemaCache WARNING Following parameters ['isoprefix'] were
not recognized
   8636  vdsm SchemaCache WARNING Following parameters ['type'] were not
recognized
   5292  vdsm SchemaCache WARNING Required property allocType is not
provided when calling Volume.getInfo
   5292  vdsm SchemaCache WARNING Provided value "2" not defined in
DiskType enum for Volume.getInfo
   5292  vdsm SchemaCache WARNING Parameter truesize is not uint type
   5292  vdsm SchemaCache WARNING Parameter mtime is not uint type
   5292  vdsm SchemaCache WARNING Parameter ctime is not int type
   5292  vdsm SchemaCache WARNING Parameter capacity is not uint type
   5292  vdsm SchemaCache WARNING Parameter apparentsize is not uint type
   5255  vdsm SchemaCache WARNING No default