[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2021-04-22 Thread Shirly Radco
Hi Nardus,

We opened the following  [RFE] Add Data Source variable to all dashboards
<https://bugzilla.redhat.com/show_bug.cgi?id=1952424>, where we plan to add
a "Datasource" variable to each dashboard.
This will allow choosing a data source in each dashboard from your data
sources list.

Best regards,

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Tue, Apr 13, 2021 at 4:44 PM Nardus Geldenhuys  wrote:

> Hey Michal
>
> Hope you are well. Thank you so much for this write up and all the work
> you put into it.
>
> Do you have a easy way of using different data sources, more than one
> oVirt engine DWH ? Or will I have to adapt all the dashboards to the
> different data sources?
>
> Thanks again
>
> Nardus
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WVH2NIPY56YCTCBZRPAWKFGS54JTOJLP/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3H66ARBDCYPZ3UWK2GJE3AONIJWY4SD3/


[ovirt-users] Re: Metrics in Kibana not working

2020-07-12 Thread Shirly Radco
Hi,

There is probably a file in collectd.d or rsyslog.d directories that
prevents them from working as expected.
Can you please list the files you have?
If you have the libvirt.conf file, what is its content?

If you can't reopen a bug in Bugzilla then you can create a new what and
add the old as a dependent bug or add it in the comment.

Best,
--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Thu, Jul 9, 2020 at 9:32 PM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> Trying to use the provided visualizations/Dashboards for ovirt metrics in
> Kibana.
> Using ovirt 4.3.7, with ovirt-engine-metrics 1.3.7-1 and latest
> rsylog-8.24.0-52 and collectd-5.10.0-2
> I am receiving data in indexes and some fields are present. A few graph
> work, but most don't and I am getting a lot of errors like theses :
>
> Error in visualisation[esaggs] > "field" is a required parameter
>
> - On my hosts I can see the following collectd errors:
>
>  systemd[1]: Starting Collectd statistics daemon...
>  collectd[21629]: plugin_load: plugin "disk" successfully loaded.
>  ...
>  collectd[21629]: plugin_load: plugin "network" successfully loaded.
>  collectd[21629]: Systemd detected, trying to signal readiness.
>  systemd[1]: Started Collectd statistics daemon.
>  collectd[21629]: virt plugin: reader virt-0 initialized
>  collectd[21629]: Initialization complete, entering read-loop.
>  collectd[21629]: write_syslog plugin: send failed with status -1
> (Connection reset by peer)
>  collectd[21629]: write_syslog plugin: error with ws_send_message
>
>
> - And the following rsyslog ones :
>
> systemd[1]: Starting System Logging Service...
> rsyslogd[210059]:  [origin software="rsyslogd"
> swVersion="8.24.0-52.el7_8.2" x-pid="210059" x-info="
> http://www.rsyslog.com;] start
> systemd[1]: Started System Logging Service.
> rsyslogd[210059]: command 'SystemLogSocketName' is currently not permitted
> - did you already set it via a RainerScript command (v6+ config)?
> [v8.24.0-52.el7_8.2 try http://www.rsyslog.com/e/ ]
>
> I think that this is this bug :
> https://bugzilla.redhat.com/show_bug.cgi?id=1732918
> However it's CLOSED INSUFFICIENT_DATA with last message being "Closing
> with insufficient data. Please reopen if you can provide needed info."
>
> Is my understanding correct that only RedHat employees can reopen closed
> bugs? I have encountered quite a lot of situations where I'm facing an
> issue covered by such a closed bug with a "please reopen if you can provide
> info" msg,  but frustratingly not being able to do so...
>
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
> Ce message et toutes les pièces jointes (ci-après le “message”) sont
> établis à l’intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur, merci de le détruire et d’en avertir
> immédiatement l’expéditeur. Toute utilisation de ce message non conforme a
> sa destination, toute diffusion ou toute publication, totale ou partielle,
> est interdite, sauf autorisation expresse. L’internet ne permettant pas
> d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales)
> décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse
> ou il aurait été modifié. IT, ES, UK.
> <https://interactiv-group.com/disclaimer.html>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/2F52SRDCO6FLHAG7WQDYIAWECZOKI2HV/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMZWKXSXKJC656TM6P7JGCKORHVHYMRG/


[ovirt-users] Re: dashboard data empty

2020-02-23 Thread Shirly Radco
Hi,

Have you tried to restart DWH ?
systemctl restart ovirt-engine-dwhd

If this doesn't  work, please send me the ovirt-engine-dwhd.log.

Best,

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Thu, Feb 20, 2020 at 7:31 PM Fabrizio Cardarello 
wrote:

> What do you suggest? Could concern the heap size?
>
> Il gio 20 feb 2020, 17:11 Ritesh Chikatwar  ha
> scritto:
>
>> I think this because resultset is not able to map the database value to
>> entity. You can error it's bad value for the type short. I guess the the
>> value passed for short variable is more then it can store.
>>
>> On Thu, Feb 20, 2020, 2:56 PM Fabrizio  wrote:
>>
>>> Hello everyone.
>>> I intalled 4 node with hosted engine, everything works fine exept the
>>> dashboard. it doesn't collect any data and is always empty of information.
>>> searching around I found out that the problem could be the dwh service,
>>> inside the log there is an error:
>>>
>>> ## log file
>>> 2020-02-19 17:46:14|ETL Service Started
>>> ovirtEngineDbDriverClass|org.postgresql.Driver
>>>
>>> ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/ovirt_engine_history?sslfactory=org.postgresql.ssl.NonValidatingFactory
>>> hoursToKeepDaily|0
>>> hoursToKeepHourly|720
>>> ovirtEngineDbPassword|**
>>> runDeleteTime|3
>>>
>>> ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?sslfactory=org.postgresql.ssl.NonValidatingFactory
>>> runInterleave|60
>>> limitRows|limit 1000
>>> ovirtEngineHistoryDbUser|ovirt_engine_history
>>> ovirtEngineDbUser|engine
>>> deleteIncrement|10
>>> timeBetweenErrorEvents|30
>>> hoursToKeepSamples|24
>>> deleteMultiplier|1000
>>> lastErrorSent|2011-07-03 12:46:47.00
>>> etlVersion|4.3.8
>>> dwhAggregationDebug|false
>>> dwhUuid|5c4ffc1b-928f-4d06-a40f-bb34ba11c7f2
>>> ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
>>> ovirtEngineHistoryDbPassword|**
>>> Exception in component tJDBCInput_2
>>> org.postgresql.util.PSQLException: Bad value for type short : 201905
>>> at
>>> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getShort(AbstractJdbc2ResultSet.java:2098)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.tJDBCInput_2Process(OsEnumUpdate.java:2354)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.tRowGenerator_1Process(OsEnumUpdate.java:1921)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.tJDBCInput_4Process(OsEnumUpdate.java:1376)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.tJDBCConnection_1Process(OsEnumUpdate.java:873)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.tJDBCConnection_2Process(OsEnumUpdate.java:736)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.runJobInTOS(OsEnumUpdate.java:4396)
>>> at
>>> ovirt_engine_dwh.osenumupdate_4_3.OsEnumUpdate.runJob(OsEnumUpdate.java:4099)
>>> at
>>> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tRunJob_4Process(SampleRunJobs.java:947)
>>> at
>>> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tJDBCConnection_2Process(SampleRunJobs.java:767)
>>> at
>>> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tJDBCConnection_1Process(SampleRunJobs.java:642)
>>> at
>>> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs$2.run(SampleRunJobs.java:2683)
>>>
>>> ## SERVICE STATUS
>>> ● ovirt-engine-dwhd.service - oVirt Engine Data Warehouse
>>>Loaded: loaded (/usr/lib/systemd/system/ovirt-engine-dwhd.service;
>>> enabled; vendor preset: disabled)
>>>Active: active (running) since Wed 2020-02-19 17:46:14 CET; 16h ago
>>>  Main PID: 6425 (ovirt-engine-dw)
>>>CGroup: /system.slice/ovirt-engine-dwhd.service
>>>├─6425 /usr/bin/python
>>> /usr/share/ovirt-engine-dwh/services/ovirt-engine-dwhd/ovirt-engine-dwhd.py
>>> --redirect-output --systemd=notify start
>>>└─6512 ovirt-engine-dwhd
>>> -Dorg.ovirt.engine.dwh.settings=/tmp/tmparNn_x/settings.properties -Xms1g
>>> -Xmx1g -classpath
>>> /usr/share/ovirt-engine-dwh/lib/*::/usr/share/java/dom4j.jar:/usr/share/java/apache-commons-collections.jar:/usr/share/java/postgresql-jdbc.jar
>>> ovirt_engine_dwh.historyetl_4_3.His

[ovirt-users] Re: metrics-store installation

2020-02-23 Thread Shirly Radco
You are correct. The user is `admin` and the password is what you specified
in the secure_vars.yaml.

You can try the following:
log into the master0 vm
run:
 # name: Log into logging project
oc project openshift-logging

 # name: Create admin user
oc create user admin

 # name: Create an Identity with identity provider allow_all
oc create identity allow_all:admin

 # name: Create a user/identity mapping for the created user and identity
oc create useridentitymapping allow_all:admin admin

 # name: Binds the admin role to specified users for all projects in the
cluster
oc adm policy add-cluster-role-to-user cluster-admin admin

# name: Assign the password immediately without login
  oc login --username=admin --password={{ openshift_logging_admin_password
}}


Best,

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Thu, Feb 20, 2020 at 11:22 AM Christoph Köhler <
koeh...@luis.uni-hannover.de> wrote:

> Hello!
>
> I have installed metrics store along this documentation:
>
>
> https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_Store.html
>
> Everything went fine without errors, so I have now the login page in my
> browser. The Problem is that the credentials for login seems to be not
> taken over. The user should be 'admin' and the password is given at the
> beginning in secure_vars.yaml.
>
> Does anyone have an idea what to do now?
>
> Greetings!
> Chris
> ___
> 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/TWWAC43EXXVNCWEXRNNWFH7UFC2C53UB/
>
___
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/FJVWEP4MEECCZMPSHFIYAU7SOI7VCJTN/


[ovirt-users] Re: Metrics

2019-12-29 Thread Shirly Radco
There is a bug with ansible 2.8.
There is already a patch that needs to be tested,
https://gerrit.ovirt.org/#/c/105813

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Fri, Dec 27, 2019 at 10:51 PM  wrote:

> Hello.  I'm trying to deploy the metrics store and the ansible run fails
> at "TASK
> [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt :
> Collect oVirt VM facts]"
>
> I've tried adding the -vvv and ANSIBLE_DEBUG=1, but that isn't giving me
> any additional information on why it is failing.
>
> fatal: [localhost]: FAILED! => {
> "attempts": 5,
> "censored": "the output has been hidden due to the fact that 'no_log:
> true' was specified for this result",
> "changed": false
> }
>
> When I edit the playbook and set no_log: true, the output is shown, but
> the resulting log shows that the "ansible_facts.ovirt_vms[0].fqdn"
> dictionary key does not exist.
>
> What is the best way to work around this issue?
>
> Thanks, Greg
> ___
> 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/RL5EZUNJ5OPHCZ4CSQBF34XQGCJ6CGUR/
>
___
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/UR4W34KZFYCO3PYVDR3KEB7FQ6REJQFM/


[ovirt-users] Re: metrics

2019-11-21 Thread Shirly Radco
On Wed, Nov 20, 2019 at 5:46 PM  wrote:

> Hi,
>
> I overcame this problem after configuring an hostname on
> metrics-store-installer, add a static IP and add this host to /etc/hosts on
> the engine.
>

I'm happy to hear that!
Please note that adding the hot to  /etc/hosts can be done by setting the
"create_host_entry" to true
in the metrics-store-config.yml

Best,
Shirly

>
> --
> *De: *supo...@logicworks.pt
> *Para: *"Shirly Radco" 
> *Cc: *"users" 
> *Enviadas: *Terça-feira, 19 De Novembro de 2019 17:08:10
> *Assunto: *[ovirt-users] Re: metrics
>
> Hello,
>
> Still cannot find it.
>
> # echo $ANSIBLE_DEBUG
> 1
>
> I just find this:
>
> 2019-11-19 16:25:50,264 p=root u=6462 | ok: [localhost]
> 2019-11-19 16:25:50,296 p=root u=6462 | TASK
> [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt :
> Collect oVirt VM facts]
> 
> 2019-11-19 16:30:54,647 p=root u=6462 | fatal: [localhost]: FAILED! =>
> {"attempts": 5, "censored": "the output has been hidden due to the fact
> that 'no_log: true' was specified for this result", "changed": false}
> 2019-11-19 16:30:54,679 p=root u=6462 | TASK
> [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt :
> Logout from oVirt]
> *
> 2019-11-19 16:30:55,074 p=root u=6462 | ok: [localhost]
> 2019-11-19 16:30:55,107 p=root u=6462 | TASK
> [oVirt.metrics/roles/oVirt.metrics-store-installation : Delete
> engine_id_rsa.pub]
> 
>
>
> Maybe I'm missing something?
>
> --
> *De: *"Shirly Radco" 
> *Para: *supo...@logicworks.pt
> *Cc: *"Jayme" , "users" 
> *Enviadas: *Terça-feira, 19 De Novembro de 2019 14:01:20
> *Assunto: *Re: [ovirt-users] Re: metrics
>
> Hi,
>
> Did you try running the playbook with the ANSIBLE_DEBUG=1 ? It should show
> you the issue in the log that
> is located under /var/log/ovirt-engine/ansible/ .
>
> Best,
>
> Shirly
>
>
>
> On Mon, Nov 18, 2019 at 7:56 PM  wrote:
>
>> Hello,
>>
>> I attached the log. Cannot figure it out where is the issue.
>>
>> Any idea?
>>
>> Thanks
>>
>> José
>>
>> --
>> *De: *"Shirly Radco" 
>> *Para: *supo...@logicworks.pt
>> *Cc: *"Jayme" , "users" 
>> *Enviadas: *Segunda-feira, 18 De Novembro de 2019 10:24:28
>> *Assunto: *Re: [ovirt-users] Re: metrics
>>
>>
>> --
>>
>>
>> Shirly Radco
>>
>> BI Principal Software Engineer
>>
>> Red Hat <https://www.redhat.com/>
>>
>>
>> <https://www.redhat.com/>
>>
>>
>> On Fri, Nov 15, 2019 at 7:34 PM  wrote:
>>
>>> Ok, found this
>>> https://github.com/oVirt/ovirt-ansible-image-template/pull/47
>>> and change
>>>
>>> retries: "{{ (disk_resize_timeout / 3) | int }}"
>>> delay: 3
>>>
>>> to
>>>
>>> retries: 60
>>> delay: 3
>>>
>>> in
>>> /usr/share/ansible/roles/ovirt.image-template/tasks/qcow2_image.yml
>>>
>>> but now I'm stuck in here:
>>>
>>> TASK [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt
>>> : Collect oVirt VM facts]
>>> *
>>> FAILED - RETRYING: Collect oVirt VM facts (5 retries left).
>>> FAILED - RETRYING: Collect oVirt VM facts (4 retries left).
>>> FAILED - RETRYING: Collect oVirt VM facts (3 retries left).
>>> FAILED - RETRYING: Collect oVirt VM facts (2 retries left).
>>> FAILED - RETRYING: Collect oVirt VM facts (1 retries left).
>>> fatal: [localhost]: FAILED! => {"attempts": 5, "censored": "the output
>>> has been hidden due to the fact that 'no_log: true' was specified for this
>>> result", "changed": false}
>>>
>>
>> There is probably something wrong with your engine credentials.
>> You try setting ANSIBLE_DEBUG to true to debug this issue.
>> ANSIBLE_DEBUG ignores np_log so please keep in mind that your password
>> will be readable and you might want to delete the log once you finish.
>>
>>
>>>
>>> after the creation of metrics-store-installer VM
>>>
>>>

[ovirt-users] Re: metrics

2019-11-19 Thread Shirly Radco
Hi,

Did you try running the playbook with the ANSIBLE_DEBUG=1 ? It should show
you the issue in the log that
is located under /var/log/ovirt-engine/ansible/ .

Best,

Shirly



On Mon, Nov 18, 2019 at 7:56 PM  wrote:

> Hello,
>
> I attached the log. Cannot figure it out where is the issue.
>
> Any idea?
>
> Thanks
>
> José
>
> ----------
> *De: *"Shirly Radco" 
> *Para: *supo...@logicworks.pt
> *Cc: *"Jayme" , "users" 
> *Enviadas: *Segunda-feira, 18 De Novembro de 2019 10:24:28
> *Assunto: *Re: [ovirt-users] Re: metrics
>
>
> --
>
>
> Shirly Radco
>
> BI Principal Software Engineer
>
> Red Hat <https://www.redhat.com/>
>
>
> <https://www.redhat.com/>
>
>
> On Fri, Nov 15, 2019 at 7:34 PM  wrote:
>
>> Ok, found this
>> https://github.com/oVirt/ovirt-ansible-image-template/pull/47
>> and change
>>
>> retries: "{{ (disk_resize_timeout / 3) | int }}"
>> delay: 3
>>
>> to
>>
>> retries: 60
>> delay: 3
>>
>> in
>> /usr/share/ansible/roles/ovirt.image-template/tasks/qcow2_image.yml
>>
>> but now I'm stuck in here:
>>
>> TASK [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt
>> : Collect oVirt VM facts]
>> *
>> FAILED - RETRYING: Collect oVirt VM facts (5 retries left).
>> FAILED - RETRYING: Collect oVirt VM facts (4 retries left).
>> FAILED - RETRYING: Collect oVirt VM facts (3 retries left).
>> FAILED - RETRYING: Collect oVirt VM facts (2 retries left).
>> FAILED - RETRYING: Collect oVirt VM facts (1 retries left).
>> fatal: [localhost]: FAILED! => {"attempts": 5, "censored": "the output
>> has been hidden due to the fact that 'no_log: true' was specified for this
>> result", "changed": false}
>>
>
> There is probably something wrong with your engine credentials.
> You try setting ANSIBLE_DEBUG to true to debug this issue.
> ANSIBLE_DEBUG ignores np_log so please keep in mind that your password
> will be readable and you might want to delete the log once you finish.
>
>
>>
>> after the creation of metrics-store-installer VM
>>
>>
>>
>> --
>> *De: *supo...@logicworks.pt
>> *Para: *"Jayme" 
>> *Cc: *"users" 
>> *Enviadas: *Sexta-feira, 15 De Novembro de 2019 16:11:25
>> *Assunto: *[ovirt-users] Re: metrics
>>
>> Well, I did a mistake when copying the metrics-store-config.yml
>>
>> But now I'm getting this error
>> ..
>> FAILED - RETRYING: Wait for resize (1 retries left)
>> fatal: [localhost]: FAILED! => {"attempts": 40, "changed": false, "disk":
>> {"actual_size": 942409728, "alias": "centos76", "backup": "none",
>> "content_type": "data",
>> "description": "", "disk_profile": {"href":
>> "/ovirt-engine/api/diskprofiles/13b70c52-8265-4cd2-aac0-3497750bd03b",
>> "id": "13b70c52-8265-4cd2-aac0-3497750bd03b"},
>> "format": "cow", "href":
>> "/ovirt-engine/api/disks/2abbe5f5-7534-4d6e-bd91-9ce1c135de13", "id":
>> "2abbe5f5-7534-4d6e-bd91-9ce1c135de13", "image_id":
>> "ad50f9c0-1b07-43fb-bea2-9f38d6e22acd", "name": "centos76",
>> "permissions": [], "propagate_errors": false, "provisioned_size":
>> 8589934592, "qcow_version": "qcow2_v2",
>> "quota": {"href":
>> "/ovirt-engine/api/datacenters/e2c375e0-929e-11e9-969e-0013f7d1bb52/quotas/f3f4eefc-929e-11e9-b3a6-0013f7d1bb52",
>> "id":
>> "f3f4eefc-929e-11e9-b3a6-0013f7d1bb52"}, "shareable": false, "sparse":
>> true, "statistics": [], "status": "ok", "storage_domains":
>> [{"href":
>> "/ovirt-engine/api/storagedomains/156168f1-3905-4514-b7c1-817e39718ba6",
>> "id": "156168f1-3905-4514-b7c1-817e39718ba6"}],
>> "storage_type": "image", "total_size": 942409728, "wipe_after_delete":
>> false}, "id": "2abbe5f5-7534-4d6e-bd91-9ce1c135de13"}
>>
>> --
>> *De: *supo...@logicworks.pt
>> *Para: *"Jayme" 
>&g

[ovirt-users] Re: metrics

2019-11-18 Thread Shirly Radco
--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Fri, Nov 15, 2019 at 7:34 PM  wrote:

> Ok, found this
> https://github.com/oVirt/ovirt-ansible-image-template/pull/47
> and change
>
> retries: "{{ (disk_resize_timeout / 3) | int }}"
> delay: 3
>
> to
>
> retries: 60
> delay: 3
>
> in
> /usr/share/ansible/roles/ovirt.image-template/tasks/qcow2_image.yml
>
> but now I'm stuck in here:
>
> TASK [/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.origin-on-ovirt :
> Collect oVirt VM facts]
> *
> FAILED - RETRYING: Collect oVirt VM facts (5 retries left).
> FAILED - RETRYING: Collect oVirt VM facts (4 retries left).
> FAILED - RETRYING: Collect oVirt VM facts (3 retries left).
> FAILED - RETRYING: Collect oVirt VM facts (2 retries left).
> FAILED - RETRYING: Collect oVirt VM facts (1 retries left).
> fatal: [localhost]: FAILED! => {"attempts": 5, "censored": "the output has
> been hidden due to the fact that 'no_log: true' was specified for this
> result", "changed": false}
>

There is probably something wrong with your engine credentials.
You try setting ANSIBLE_DEBUG to true to debug this issue.
ANSIBLE_DEBUG ignores np_log so please keep in mind that your password will
be readable and you might want to delete the log once you finish.


> after the creation of metrics-store-installer VM
>
>
>
> --
> *De: *supo...@logicworks.pt
> *Para: *"Jayme" 
> *Cc: *"users" 
> *Enviadas: *Sexta-feira, 15 De Novembro de 2019 16:11:25
> *Assunto: *[ovirt-users] Re: metrics
>
> Well, I did a mistake when copying the metrics-store-config.yml
>
> But now I'm getting this error
> ..
> FAILED - RETRYING: Wait for resize (1 retries left)
> fatal: [localhost]: FAILED! => {"attempts": 40, "changed": false, "disk":
> {"actual_size": 942409728, "alias": "centos76", "backup": "none",
> "content_type": "data",
> "description": "", "disk_profile": {"href":
> "/ovirt-engine/api/diskprofiles/13b70c52-8265-4cd2-aac0-3497750bd03b",
> "id": "13b70c52-8265-4cd2-aac0-3497750bd03b"},
> "format": "cow", "href":
> "/ovirt-engine/api/disks/2abbe5f5-7534-4d6e-bd91-9ce1c135de13", "id":
> "2abbe5f5-7534-4d6e-bd91-9ce1c135de13", "image_id":
> "ad50f9c0-1b07-43fb-bea2-9f38d6e22acd", "name": "centos76", "permissions":
> [], "propagate_errors": false, "provisioned_size": 8589934592,
> "qcow_version": "qcow2_v2",
> "quota": {"href":
> "/ovirt-engine/api/datacenters/e2c375e0-929e-11e9-969e-0013f7d1bb52/quotas/f3f4eefc-929e-11e9-b3a6-0013f7d1bb52",
> "id":
> "f3f4eefc-929e-11e9-b3a6-0013f7d1bb52"}, "shareable": false, "sparse":
> true, "statistics": [], "status": "ok", "storage_domains":
> [{"href":
> "/ovirt-engine/api/storagedomains/156168f1-3905-4514-b7c1-817e39718ba6",
> "id": "156168f1-3905-4514-b7c1-817e39718ba6"}],
> "storage_type": "image", "total_size": 942409728, "wipe_after_delete":
> false}, "id": "2abbe5f5-7534-4d6e-bd91-9ce1c135de13"}
>
> --
> *De: *supo...@logicworks.pt
> *Para: *"Jayme" 
> *Cc: *"users" 
> *Enviadas: *Sexta-feira, 15 De Novembro de 2019 10:29:06
> *Assunto: *[ovirt-users] Re: metrics
>
> Hello,
>
> Still nothing happens. I'm a little lost here.
> I'm getting this message when running
> ./configure_ovirt_machines_for_metrics.sh
> --playbook=ovirt-metrics-store-installation.yml --
> ask-vault-pass
>
> changed: [localhost -> localhost] => {
> "msg": "oVirt Metrics store is not configured. This host will not be
> configured to send metrics"
> }
>
> I think this is the problem?
> Any idea?
>
> Thanks a lot
>
> José
>
> --
> *De: *"Jayme" 
> *Para: *supo...@logicworks.pt
> *Cc: *"users" 
> *Enviadas: *Quinta-feira, 14 De Novembro de 2019 18:06:51
> *Assunto: *Re: [ovirt-users] metrics
>
> this should do it:
> https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
>
> On Thu, Nov 14

[ovirt-users] Re: metrics

2019-11-18 Thread Shirly Radco
Hi,

No. For oVirt the RH subscription details are not required.
Please read the configuration files description carefully.
If you feel they are not clear enough, please let me know by opening a bug
in bugzilla.
Thank you.

Regards,

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Thu, Nov 14, 2019 at 6:21 PM  wrote:

> Hi,
>
> I'm trying to install metrics for Version 4.3.6.7-1.el7
> Do I need a RH subscription to downloading the RHEL guest image?
> (qcow_url:)
>
> Thanks
>
> --
> --
> Jose Ferradeira
> http://www.logicworks.pt
> ___
> 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/45EEILEJWLZTNQKNYCVP7J34MEE7CHCQ/
>
___
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/QFUVD2WI3IITX43IXWRRQDHAGRYDRBJZ/


[ovirt-users] Re: oVirt Metrics Store Installation - Error during SSO authentication

2019-10-22 Thread Shirly Radco
Hi,

Where did you update the repos in the ovirt-metrics-installer" VM ?

Did you add the additional repos to /etc/yum.repos.d/ ?
You will also need to add the OpenShift repos to the second VM (master0 VM).

Best,

--

Shirly Radco

BI Principal Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Tue, Oct 15, 2019 at 4:10 PM Markus Schaufler <
markus.schauf...@digit-all.at> wrote:

> I updated to 4.3.6 and tried again with admin@internal - this time it
> works...
>
> But got into another trouble: our servers are only allowed to use internal
> repositories and gitlab. After deployment of the "ovirt-metrics-installer"
> VM that installer VM tries to load from external repositories. I manually
> connected to the vm and redirected the URL's of the repofiles to our
> internal repo - but of course the ansible installer scripts replace the
> repofiles and the installation script fails.
>
> Anybody else through this?
> ___
> 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/ADQ6ZZSE3M337DEBLYBHB644C55H3B76/
>
___
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/KUT3P5EQKPBQVOBWNEBY3BTS767K64NS/


[ovirt-users] Re: Cannot access dashboard after upgrading to 4.3.4

2019-06-17 Thread Shirly Radco
Hi,

Please open a bug with the details you added here.
Please attach setup logs (all of them since 4.2, including) and
ovirt-engine-dwh log so we can investigate this issue.

If you stop ovirt-engine-dwhd process, does pg calm down?

Thank you

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Sun, Jun 16, 2019 at 12:07 PM Albl, Oliver 
wrote:

> Hi,
>
>
>
> ovirt_engine_history=# SELECT id, version, script, checksum, installed_by,
> started_at, ended_at, state, current, comment
>
> FROM schema_version
>
> ORDER BY version DESC limit 10  ;
>
> id | version  |
> script   | checksum
> | installed_by | started_at |
> ended_at  |   state   | current |
>
> comment
>
>
> +--+---+--+--+++---+-+---
>
> 
>
> 50 | 04030020 |
> upgrade/04_03_0020_update_rx_tx_rate_percition.sql|
> c480b070cc69681cf62fb853f3d7139f | ovirt_engine_history | 2019-06-14
> 18:14:44.960503 | 2019-06-14 18:14:44.991593 | SKIPPED   | t   |
> Installed
>
> already by 04020040
>
> 49 | 04030010 |
> upgrade/04_03_0010_update_network_name_length.sql |
> a1a0d75560575cdc60c0bbaad2cda773 | ovirt_engine_history | 2019-06-14
> 18:14:44.904426 | 2019-06-14 18:14:44.935725 | SKIPPED   | f   |
> Installed
>
> already by 04020030
>
> 48 | 04020040 |
> upgrade/04_02_0040_update_rx_tx_rate_percition.sql|
> c480b070cc69681cf62fb853f3d7139f | ovirt_engine_history | 2018-07-07
> 14:34:42.505446 | 2018-07-07 14:36:31.662577 | INSTALLED | f   |
>
> 47 | 04020030 |
> upgrade/04_02_0030_update_network_name_length.sql |
> a1a0d75560575cdc60c0bbaad2cda773 | ovirt_engine_history | 2018-07-07
> 14:34:42.438056 | 2018-07-07 14:34:42.482705 | INSTALLED | f   |
>
> 46 | 04020020 |
> upgrade/04_02_0020__updated_vm_interface_history_id_to_bigint.sql |
> 58a8afa29fc720dc87f37b7f9c9e0151 | ovirt_engine_history | 2018-04-18
> 17:17:04.908667 | 2018-04-18 17:17:39.111339 | INSTALLED | f   |
>
> 45 | 04020010 |
> upgrade/04_02_0010_updated_vm_template_name_length.sql|
> 4b5391f40e8787e3b1033635aafe18a1 | ovirt_engine_history | 2018-01-05
> 09:56:39.213757 | 2018-01-05 09:56:39.238775 | SKIPPED   | f   |
> Installed
>
> already by 04010020
>
> 44 | 04010020 |
> upgrade/04_01_0020_updated_vm_template_name_lentgh.sql|
> 4b5391f40e8787e3b1033635aafe18a1 | ovirt_engine_history | 2017-10-05
> 13:53:04.225474 | 2017-10-05 13:53:04.269508 | INSTALLED | f   |
>
> 43 | 04010010 |
> upgrade/04_01_0010_added_seconds_in_status_to_sample_tables.sql   |
> be7a1b2fc7f03d263b45a613d5bced03 | ovirt_engine_history | 2017-02-03
> 13:16:18.29672  | 2017-02-03 13:16:18.320728 | SKIPPED   | f   |
> Installed
>
> already by 0450
>
> 42 | 0450 |
> upgrade/04_00_0050_added_seconds_in_status_to_sample_tables.sql   |
> be7a1b2fc7f03d263b45a613d5bced03 | ovirt_engine_history | 2016-10-03
> 15:13:33.856501 | 2016-10-03 15:13:34.010135 | INSTALLED | f   |
>
> 41 | 0440 |
> upgrade/04_00_0040_drop_all_history_db_foreign_keys.sql   |
> ed8b2c02bea97d0ee21f737614a2d5e3 | ovirt_engine_history | 2016-10-03
> 15:13:33.763905 | 2016-10-03 15:13:33.839532 | INSTALLED | f   |
>
> (10 rows)
>
>
>
> All the best,
>
> Oliver
>
>
>
> *Von:* Shirly Radco 
> *Gesendet:* Sonntag, 16. Juni 2019 11:04
> *An:* Albl, Oliver 
> *Cc:* slev...@redhat.com; users@ovirt.org; Eli Mesika ;
> Yedidyah Bar David 
> *Betreff:* Re: [ovirt-users] Re: Cannot access dashboard after upgrading
> to 4.3.4
>
>
>
> Hi,
>
>
>
> Please attach here the result of the following query from the
> ovirt_engine_history db:
>
>
>
> SELECT id, version, script, checksum, installed_by, started_at, ended_at,
> state, current, comment
>
> FROM schema_version
>
> ORDER BY version DESC limit 10  ;
>
>
>
> Best regards,
>
> --
>
> *Shirly Radco*
>
> BI Senior Software Engineer
>
> Red Hat <https://www.redhat.com/>
>
> [image: Das Bild wurde vom Absender entfernt.] <https://www.redhat.com/>
>
>
>
> -- Forwarded message -
> From: *Albl, Oliver* 
> Date: Sun, Jun 16, 2019 at 11:42 AM
> Subject: AW: [ovirt-users] Re: Cannot access dashboard after upgrading to
> 4.3.4
> To: sra...@redhat.com 
>

[ovirt-users] Re: Metrics store install failed

2019-06-17 Thread Shirly Radco
Hi,

Please see here for the fix that caused the nics issue
https://gerrit.ovirt.org/#/c/100865/

The /etc/ovirt-guest-agent.conf ignored_nics should be update to
ignored_nics = docker0 tun0

Best,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Mon, Jun 3, 2019 at 7:44 PM  wrote:

> Shirly,
>
> I updated the IP of the metrics-store-installer VM once it was created.
> The script continued to run after I updated the IP from the manager VM and
> completed successfully.
>
> I also updated the master0 VM when the script got to the point of trying
> to contact it and once I assigned the IP, it continued successfully.
>
> -
> Okay, so here is the issue so far. I've narrowed it down to DNS resolution
> wanting to go through tun0 adapter rather than eth0 which happens at the
> end of the playbook. It all works fine and routes correctly when running
> the playbook up until something causes routes to change and DNS tries to go
> through tun0.
>
> I figured this out by opening two terminal windows and running a ping
> command inside master0 VM towards redhat.com and in the other terminal
> window on master0 VM I ran #ip monitor
>
> The result is as mentioned. DNS entries are attempting to route through
> tun0 rather than eth0
> ___
> 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/E4IK6N3HDCIG6UJKVFUTPVX3N2DLBYP4/
>
___
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/QFA6DUXPUE334BDJKLYPCC37DGBKPYLQ/


[ovirt-users] Re: Cannot access dashboard after upgrading to 4.3.4

2019-06-16 Thread Shirly Radco
Hi,

Please attach here the result of the following query from the
ovirt_engine_history db:

SELECT id, version, script, checksum, installed_by, started_at, ended_at,
state, current, comment
FROM schema_version
ORDER BY version DESC limit 10  ;

Best regards,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


-- Forwarded message -
From: Albl, Oliver 
Date: Sun, Jun 16, 2019 at 11:42 AM
Subject: AW: [ovirt-users] Re: Cannot access dashboard after upgrading to
4.3.4
To: sra...@redhat.com 
Cc: slev...@redhat.com , users@ovirt.org <
users@ovirt.org>


Hi,



  rebooted oVirt engine VM (no hosted engine), same result. DHW packages
are:



ovirt-engine-dwh.noarch   4.3.0-1.el7@ovirt-4.3

ovirt-engine-dwh-setup.noarch 4.3.0-1.el7@ovirt-4.3



After reboot the following two queries start running again (they were
running for more than 24 hours before this reboot):



SELECT name, AVG(total) AS total, AVG(used) AS used, MAX(previous_used) AS
previous_used, MAX(previous_total) AS previous_total,
MAX(vm_disk_usage_percent) AS us

age_percent FROM (SELECT history_datetime, vms.vm_name AS name,
SUM(vm_disk_size_mb) AS total, SUM(vm_disk_actual_size_mb) AS used,
COALESCE(MAX(previous_actual_size), 0) AS previous_used,
COALESCE(MAX(previous_

total_size), 0) AS previous_total, CASE WHEN MAX(vm_disk_size_mb) = 0 THEN
0 ELSE (CAST(MAX(vm_disk_actual_size_mb) AS DECIMAL)/ MAX(vm_disk_size_mb)
* 100) END AS vm_disk_usage_percent FROM v4_2_statistics_vms_

disks_resources_usage_samples samples INNER JOIN
v4_2_latest_configuration_vms_devices devices ON devices.device_id =
vm_disk_id INNER JOIN v4_2_latest_configuration_vms vms ON vms.vm_id =
devices.vm_id INNER JO

IN v4_2_latest_configuration_vms_disks disks ON disks.vm_disk_id =
samples.vm_disk_id LEFT OUTER JOIN (SELECT vm_name,
AVG(previous_actual_size) AS previous_actual_size, AVG(previous_total_size)
AS previous_tota

l_size FROM (SELEC





All the best,

Oliver



*Von:* Shirly Radco 
*Gesendet:* Sonntag, 16. Juni 2019 10:34
*An:* Albl, Oliver 
*Cc:* slev...@redhat.com; users@ovirt.org
*Betreff:* Re: [ovirt-users] Re: Cannot access dashboard after upgrading to
4.3.4



Hi,



Please try to restart postgres an ovirt-engine-dwhd.

It looks that this is a 4.2 query.

What version are the dwh packages?



Best,

--

*Shirly Radco*

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

[image: Das Bild wurde vom Absender entfernt.] <https://www.redhat.com/>





On Sun, Jun 16, 2019 at 11:10 AM Albl, Oliver 
wrote:

Hi,



  I am not using hosted engine but a dedicated installation. The upgrade
was performed with following steps:



yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm

yum update "ovirt-*-setup*"

engine-setup

yum update



All the best,

Oliver



*Von:* Shani Leviim 
*Gesendet:* Sonntag, 16. Juni 2019 09:03
*An:* Albl, Oliver 
*Cc:* users@ovirt.org
*Betreff:* Re: [ovirt-users] Cannot access dashboard after upgrading to
4.3.4



Hi,

Did you run 'engine-setup' and 'yum update' after upgrading ovirt?



Taken from here as a reference:
https://ovirt.org/documentation/self-hosted/chap-upgrading_the_self-hosted_engine.html



*Regards,*

*Shani Leviim*





On Sat, Jun 15, 2019 at 10:26 AM Albl, Oliver 
wrote:

Hi all,



  I upgraded our installation from 4.2.8 to 4.3.4 and I am unable to access
the dashboard in UI as there is only “Loading data…” displayed. There are
postgres processes running on the engine taking 100% cpu. One is running
for more than 14 hours:



SELECT name, AVG(total) AS total, AVG(used) AS used, MAX(previous_used) AS
previous_used, MAX(previous_total) AS previous_total, MAX(vm_disk_

usage_percent) AS usage_percent FROM (SELECT history_datetime, vms.vm_name
AS name, SUM(vm_disk_size_mb) AS total, SUM(vm_disk_actual_size_mb) AS
used, COALESCE(MAX(previous_actual_size), 0)

AS previous_used, COALESCE(MAX(previous_total_size), 0) AS previous_total,
CASE WHEN MAX(vm_disk_size_mb) = 0 THEN 0 ELSE
(CAST(MAX(vm_disk_actual_size_mb) AS DECIMAL)/ MAX(vm_disk_size_mb) *

100) END AS vm_disk_usage_percent FROM
v4_2_statistics_vms_disks_resources_usage_samples samples INNER JOIN
v4_2_latest_configuration_vms_devices devices ON devices.device_id =
vm_disk_id IN

NER JOIN v4_2_latest_configuration_vms vms ON vms.vm_id = devices.vm_id
INNER JOIN v4_2_latest_configuration_vms_disks disks ON disks.vm_disk_id =
samples.vm_disk_id LEFT OUTER JOIN (SELECT v

m_name, AVG(previous_actual_size) AS previous_actual_size,
AVG(previous_total_size) AS previous_total_size FROM (SELEC

13783 | 2019-06-15 08:41:52.349769+02 | active | SELECT name, AVG(total) AS
total, AVG(used) AS used, MAX(previous_used) AS previous_used,
MAX(previous_total) AS previous_total, MAX(vm_disk_

usage_percent) AS usage_percent FROM (SELECT history_datetime, vms.vm_name
AS 

[ovirt-users] Re: Cannot access dashboard after upgrading to 4.3.4

2019-06-16 Thread Shirly Radco
Hi,

Please try to restart postgres an ovirt-engine-dwhd.
It looks that this is a 4.2 query.
What version are the dwh packages?

Best,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Sun, Jun 16, 2019 at 11:10 AM Albl, Oliver 
wrote:

> Hi,
>
>
>
>   I am not using hosted engine but a dedicated installation. The upgrade
> was performed with following steps:
>
>
>
> yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
>
> yum update "ovirt-*-setup*"
>
> engine-setup
>
> yum update
>
>
>
> All the best,
>
> Oliver
>
>
>
> *Von:* Shani Leviim 
> *Gesendet:* Sonntag, 16. Juni 2019 09:03
> *An:* Albl, Oliver 
> *Cc:* users@ovirt.org
> *Betreff:* Re: [ovirt-users] Cannot access dashboard after upgrading to
> 4.3.4
>
>
>
> Hi,
>
> Did you run 'engine-setup' and 'yum update' after upgrading ovirt?
>
>
>
> Taken from here as a reference:
> https://ovirt.org/documentation/self-hosted/chap-upgrading_the_self-hosted_engine.html
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
>
>
>
>
> On Sat, Jun 15, 2019 at 10:26 AM Albl, Oliver 
> wrote:
>
> Hi all,
>
>
>
>   I upgraded our installation from 4.2.8 to 4.3.4 and I am unable to
> access the dashboard in UI as there is only “Loading data…” displayed.
> There are postgres processes running on the engine taking 100% cpu. One is
> running for more than 14 hours:
>
>
>
> SELECT name, AVG(total) AS total, AVG(used) AS used, MAX(previous_used) AS
> previous_used, MAX(previous_total) AS previous_total, MAX(vm_disk_
>
> usage_percent) AS usage_percent FROM (SELECT history_datetime, vms.vm_name
> AS name, SUM(vm_disk_size_mb) AS total, SUM(vm_disk_actual_size_mb) AS
> used, COALESCE(MAX(previous_actual_size), 0)
>
> AS previous_used, COALESCE(MAX(previous_total_size), 0) AS previous_total,
> CASE WHEN MAX(vm_disk_size_mb) = 0 THEN 0 ELSE
> (CAST(MAX(vm_disk_actual_size_mb) AS DECIMAL)/ MAX(vm_disk_size_mb) *
>
> 100) END AS vm_disk_usage_percent FROM
> v4_2_statistics_vms_disks_resources_usage_samples samples INNER JOIN
> v4_2_latest_configuration_vms_devices devices ON devices.device_id =
> vm_disk_id IN
>
> NER JOIN v4_2_latest_configuration_vms vms ON vms.vm_id = devices.vm_id
> INNER JOIN v4_2_latest_configuration_vms_disks disks ON disks.vm_disk_id =
> samples.vm_disk_id LEFT OUTER JOIN (SELECT v
>
> m_name, AVG(previous_actual_size) AS previous_actual_size,
> AVG(previous_total_size) AS previous_total_size FROM (SELEC
>
> 13783 | 2019-06-15 08:41:52.349769+02 | active | SELECT name, AVG(total)
> AS total, AVG(used) AS used, MAX(previous_used) AS previous_used,
> MAX(previous_total) AS previous_total, MAX(vm_disk_
>
> usage_percent) AS usage_percent FROM (SELECT history_datetime, vms.vm_name
> AS name, SUM(vm_disk_size_mb) AS total, SUM(vm_disk_actual_size_mb) AS
> used, COALESCE(MAX(previous_actual_size), 0)
>
> AS previous_used, COALESCE(MAX(previous_total_size), 0) AS previous_total,
> CASE WHEN MAX(vm_disk_size_mb) = 0 THEN 0 ELSE
> (CAST(MAX(vm_disk_actual_size_mb) AS DECIMAL)/ MAX(vm_disk_size_mb) *
>
> 100) END AS vm_disk_usage_percent FROM
> v4_2_statistics_vms_disks_resources_usage_samples samples INNER JOIN
> v4_2_latest_configuration_vms_devices devices ON devices.device_id =
> vm_disk_id IN
>
> NER JOIN v4_2_latest_configuration_vms vms ON vms.vm_id = devices.vm_id
> INNER JOIN v4_2_latest_configuration_vms_disks disks ON disks.vm_disk_id =
> samples.vm_disk_id LEFT OUTER JOIN (SELECT v
>
> m_name, AVG(previous_actual_size) AS previous_actual_size,
> AVG(previous_total_size) AS previous_total_size FROM (SELEC…
>
>
>
> oVirt Engine is configured with 128 GB memory and 24 cores.
>
>
>
> Please advice how to adress this.
>
>
>
> Thank you and all the best,
>
> Oliver
>
>
>
> ___
> 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/JJWRQKGCIHRG765YJCEG5CV6BJTFPFAO/
>
> ___
> 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/BW6GWQ43ACOPMXBZZKLRPF6TUTVOU7WD/
>
___
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/NALAK53EX3CG2TS2VALWTGBBUBV6UM6P/


[ovirt-users] Re: ETL service sampling has encountered an error. Please consult the service log for more details.

2019-06-06 Thread Shirly Radco
Hi Nicolas,

Please open a bug in bugzilla and attach the ovirt-engine-dwh.log,
engine.log,
The versions of ovirt-engine and ovirt-engine-dwh
and any other relevant information that you can tell about your env.
Did you do any change before this issue started?

Best regards,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Thu, Jun 6, 2019 at 3:44 PM  wrote:

> Hi,
>
> We're running oVirt 4.1.9 (cannot upgrade yet until [1] is released).
> Since a few days ago our event list if full of lines like this:
>
>ETL service sampling has encountered an error. Please consult the
> service log for more details.
>
> Having a look at the log I see events like:
>
> 2019-06-06
> 13:37:11|NJ4C8T|TOlL8U|FdlWtU|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java
>
> Exception|tJDBCOutput_7|org.postgresql.util.PSQLException:ERROR: current
> transaction is aborted, commands ignored until end of transaction
> block|1
> 2019-06-06
> 13:37:11|NJ4C8T|TOlL8U|FdlWtU|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java
>
> Exception|tJDBCOutput_4|org.postgresql.util.PSQLException:ERROR: current
> transaction is aborted, commands ignored until end of transaction
> block|1
> Exception in component tJDBCOutput_5
> org.postgresql.util.PSQLException: ERROR: current transaction is
> aborted, commands ignored until end of transaction block
>  at
>
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
>  at
>
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
>  at
>
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
>  at
>
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
>  at
>
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)
>  at
>
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:363)
>  at
>
> ovirt_engine_dwh.statisticssync_4_1.StatisticsSync.tJDBCInput_10Process(StatisticsSync.java:9030)
>  at
>
> ovirt_engine_dwh.statisticssync_4_1.StatisticsSync$5.run(StatisticsSync.java:16071)
> 2019-06-06
> 13:37:11|NJ4C8T|TOlL8U|FdlWtU|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java
>
> Exception|tJDBCOutput_5|org.postgresql.util.PSQLException:ERROR: current
> transaction is aborted, commands ignored until end of transaction
> block|1
> Exception in component tRunJob_5
> java.lang.RuntimeException: Child job running failed
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tRunJob_5Process(SampleRunJobs.java:1654)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tRunJob_6Process(SampleRunJobs.java:1456)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tRunJob_1Process(SampleRunJobs.java:1228)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tRunJob_4Process(SampleRunJobs.java:1000)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tJDBCConnection_2Process(SampleRunJobs.java:767)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs.tJDBCConnection_1Process(SampleRunJobs.java:642)
>  at
>
> ovirt_engine_dwh.samplerunjobs_4_1.SampleRunJobs$2.run(SampleRunJobs.java:2683)
> 2019-06-06
> 13:37:11|FdlWtU|TOlL8U|KNLNa4|OVIRT_ENGINE_DWH|SampleRunJobs|Default|6|Java
>
> Exception|tRunJob_5|java.lang.RuntimeException:Child job running
> failed|1
> Exception in component tRunJob_1
> java.lang.RuntimeException: Child job running failed
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tRunJob_1Process(SampleTimeKeepingJob.java:6067)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCInput_2Process(SampleTimeKeepingJob.java:5809)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCConnection_1Process(SampleTimeKeepingJob.java:)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCConnection_2Process(SampleTimeKeepingJob.java:4319)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tRowGenerator_2Process(SampleTimeKeepingJob.java:4188)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCInput_3Process(SampleTimeKeepingJob.java:3593)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCInput_5Process(SampleTimeKeepingJob.java:2977)
>  at
>
> ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.tJDBCInput_4Process(SampleTimeKeepi

[ovirt-users] Re: [External] Re: ovirt metrics - vm dashboard not working

2019-06-03 Thread Shirly Radco
I also hit this issue one of our setups and trying to debug it.
Will update once I have more details.

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Mon, Jun 3, 2019 at 9:52 PM Jayme  wrote:

> I just get a blank output from that command.  I'm running oVirt Node NG
> 4.3.3.1 hosts
>
> On Mon, Jun 3, 2019 at 3:48 PM Morris, Roy  wrote:
>
>> Jayme,
>>
>>
>>
>> Can you run the following command and report back with the results?
>>
>>
>>
>> #systemctl status selinux* -l
>>
>>
>>
>> Best regards,
>>
>> Roy Morris
>>
>> GSA Virtualization Systems Analyst
>>
>> County of Ventura
>>
>> (805) 654-3625
>>
>> (805) 603-9403
>>
>> [image: cid:7c03dd9d67a9cfb78447b56087323d91a66d7c29.camel@ventura.org]
>>
>>
>>
>> *From:* Jayme 
>> *Sent:* Monday, June 3, 2019 11:40 AM
>> *To:* users 
>> *Subject:* [External] [ovirt-users] Re: ovirt metrics - vm dashboard not
>> working
>>
>>
>>
>> *CAUTION: *This email contains links. If it looks suspicious or is not
>> expected, DO NOT click and immediately forward to
>> spam.mana...@ventura.org.
>>
>>
>>
>>
>> I'm seeing this in the journal for collectd on all of my hosts:
>>
>>
>>
>>  collectd[18380]: write_syslog plugin: error with wr_send_message
>>  collectd[18380]: write_syslog plugin: Connecting to localhost:44514
>> failed. The last error was: Connection refused
>>  collectd[18380]: write_syslog plugin: wr_callback_init failed.
>>  collectd[18380]: write_syslog plugin: error with wr_send_message
>>  collectd[18380]: write_syslog plugin: send failed with status -1
>> (Connection reset by peer)
>>  collectd[18380]: write_syslog plugin: error with wr_send_message
>>  collectd[18380]: write_syslog plugin: send failed with status -1
>> (Connection reset by peer)
>>
>>
>>
>> collectd and rsyslog are running, I tried restarting both.  I can also
>> telnet to port 44514 on localhost and it's responding.
>>
>>
>>
>>
>>
>> On Mon, Jun 3, 2019 at 3:12 PM Jayme  wrote:
>>
>> I finally managed to get oVirt metrics store running.  I loaded sample
>> dashboards, searches and visualizations in to Kibana from
>> /etc/ovirt-engine-metrics/dashboards-examples.  When importing searches and
>> visualizations there are warnings about missing index patterns.
>>
>>
Did you choose the project.* index pattern?

>
>>
>> It appears that the "VM" dashboard is completely broken, no stats are
>> showing on it at all including simple stats such as running VM count.
>>
>>
>>
>> The other two dashboards Hosts and System are working and showing all
>> stats (sans VM count on the host dashboard).
>>
>>
>>
>> I believe I have a cash here of either missing indexes or potentially an
>> issue with the example dashboards?  I can see that collectd is running on
>> all hosts and has the virt plugin loaded.
>>
>>
>>
>> What part of the config is responsible for suppling the VM
>> information/indexes?
>>
>> ___
> 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/XWPZR6KV23K7ZJFDHMGFWHHPCUEFLSHD/
>
___
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/BRJNHAPP4A5TDBOIRPWU7CCWKZPF5B44/


[ovirt-users] Re: Metrics store install failed

2019-05-31 Thread Shirly Radco
Hi,

I passed the email to additional engineers for consultation.

Which IP did you update and in what stage?
Did you set the variable that sets the /etc/hosts records? If yes, Did you
update the records on the engine and vms?

Please attach your ansible log and config files so I can review them.
You can also open a bug and attach the to it, so we can track the issue
better.

Best,
Shirly

On Fri, May 31, 2019, 02:53  wrote:

> I ran this command on the master0 VM and this is a fresh install I
> performed yesterday after commenting out the last variable issue I
> experienced. To me this is an issue somewhere in the playbook since I
> haven't customized anything except setting IP settings. This looks to be a
> bug.
>
> #systemctl status selinux* -l
>
> selinux-policy-migrate-local-changes@targeted.service - Migrate local
> SELinux policy changes from the old store structure to the new structure
>Loaded: loaded
> (/usr/lib/systemd/system/basic.target.wants/../selinux-policy-migrate-local-changes@.service;
> static; vendor preset: disabled)
>Active: failed (Result: exit-code) since Wed 2019-05-29 18:59:22 EDT;
> 24h ago
>  Main PID: 3376 (code=exited, status=208/STDIN)
>
> May 29 18:59:22 localhost systemd[1]: Starting Migrate local SELinux
> policy changes from the old store structure to the new structure...
> May 29 18:59:22 localhost systemd[3376]: Failed at step STDIN spawning
> /usr/libexec/selinux/selinux-policy-migrate-local-changes.sh: Inappropriate
> ioctl for device
> May 29 18:59:22 localhost systemd[1]:
> selinux-policy-migrate-local-changes@targeted.service: main process
> exited, code=exited, status=208/STDIN
> May 29 18:59:22 localhost systemd[1]: Failed to start Migrate local
> SELinux policy changes from the old store structure to the new structure.
> May 29 18:59:22 localhost systemd[1]: Unit
> selinux-policy-migrate-local-changes@targeted.service entered failed
> state.
> May 29 18:59:22 localhost systemd[1]:
> selinux-policy-migrate-local-changes@targeted.service failed.
> ___
> 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/2Y56VCEVFUQCMBNY3ZBJVIWYTDN4XC6E/
>
___
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/JL6YA7RLXPR3MEW46JW25QYREBJGHJHK/


[ovirt-users] Re: Metrics store install failed

2019-05-29 Thread Shirly Radco
When using RHV thr only difference is that you need to provide the
subscription credentials and all are pulled automatically.

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Wed, May 29, 2019 at 8:21 PM  wrote:

> We currently use RHEV and I was under the impression I had to login to
> pull the openshift/docker images. I could be wrong since I'm new to this.
> ___
> 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/WCSNDVLQSCS7C6EB5OQ3NTZE5FIKMEXN/
>
___
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/45KQUWUNFLUHNBFCZDGFCCGQU3XBZW7O/


[ovirt-users] Re: Metrics store install failed

2019-05-29 Thread Shirly Radco
Hi,

Is it possible that you uncommented the oreg_url?
I see this in the error message:
oreg_url malformed: registry.redhat.io

It should usually stay as :
# oreg_url: registry.redhat.io

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Wed, May 29, 2019 at 7:41 PM  wrote:

> I'm struggling installing the metrics store VMs. It appears that etcd
> image fails to download or build a template. Thank you ahead of time for
> your assistance.
>
> 2019-05-28 20:07:12,650 p=22689 u=root |  Tuesday 28 May 2019  20:07:12
> -0400 (0:00:00.097)   0:04:54.774 ***
> 2019-05-28 20:07:12,687 p=22689 u=root |  fatal: [
> master0.ent.co.ventura.ca.us]: FAILED! => {"msg": "The conditional check
> 'etcd_image != l_default_osm_etcd_image' failed. The error was: An
> unhandled exception occurred while templating '{{ osm_etcd_image }}'. Error
> was a , original message: An unhandled
> exception occurred while templating '{{ l_default_osm_etcd_image }}'. Error
> was a , original message: An unhandled
> exception occurred while templating '{{
> etcd_image_dict[openshift_deployment_type] |
> lib_utils_oo_oreg_image((oreg_url | default('None'))) }}'. Error was a
> , original message: oreg_url
> malformed: registry.redhat.io\n\nThe error appears to have been in
> '/usr/share/ansible/openshift-ansible/roles/etcd/tasks/static.yml': line 5,
> column 3, but may\nbe elsewhere in the file depending on the exact syntax
> problem.\n\nThe offending line appears to be:\n\n\n- name:
>  Warn if osm_etcd_image is redefined\n  ^ here\n"}
> 2019-05-28 20:07:12,688 p=22689 u=root |  NO MORE HOSTS LEFT
> **
> 2019-05-28 20:07:12,689 p=22689 u=root |  PLAY RECAP
> **
> 2019-05-28 20:07:12,689 p=22689 u=root |  localhost  :
> ok=35   changed=1unreachable=0failed=0
> 2019-05-28 20:07:12,689 p=22689 u=root |  master0.ent.co.ventura.ca.us :
> ok=204  changed=16   unreachable=0failed=1
> 2019-05-28 20:07:12,690 p=22689 u=root |  INSTALLER STATUS
> 
> 2019-05-28 20:07:12,693 p=22689 u=root |  Initialization  :
> Complete (0:00:10)
> 2019-05-28 20:07:12,693 p=22689 u=root |  Health Check:
> Complete (0:00:22)
> 2019-05-28 20:07:12,694 p=22689 u=root |  Node Bootstrap Preparation  :
> Complete (0:01:59)
> 2019-05-28 20:07:12,694 p=22689 u=root |  etcd Install: In
> Progress (0:00:28)
> 2019-05-28 20:07:12,694 p=22689 u=root |This phase can be
> restarted by running: playbooks/openshift-etcd/config.yml
> 2019-05-28 20:07:12,694 p=22689 u=root |  Tuesday 28 May 2019  20:07:12
> -0400 (0:00:00.044)   0:04:54.819 ***
> 2019-05-28 20:07:12,694 p=22689 u=root |
> ===
>
> 2019-05-28 20:07:12,697 p=22689 u=root |  openshift_node : install needed
> rpm(s)
> --
> 38.86s
> 2019-05-28 20:07:12,697 p=22689 u=root |  Ensure openshift-ansible
> installer package deps are installed
> ---
> 36.95s
> 2019-05-28 20:07:12,697 p=22689 u=root |  openshift_node : Install node,
> clients, and conntrack packages
> --
> 23.81s
> 2019-05-28 20:07:12,698 p=22689 u=root |  Run health checks (install) - EL
> 
> 22.26s
> 2019-05-28 20:07:12,698 p=22689 u=root |  container_runtime : Install
> Docker
> --

[ovirt-users] Re: ovirt metrics ansible error

2019-05-29 Thread Shirly Radco
Hi Jayme,

It getting hard to debug your issue over the mailing list.
Can you please open a bug in bugzilla and attach all the information you
know?
The versions you are using, config files from engine machine
and  ansible log, vars.yaml , integ.ini from the master0 vm in /root
directory, .

Sorry for the inconvenience.

Best,


--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Tue, May 28, 2019 at 10:47 PM Jayme  wrote:

> I actually see the pods running on master0 if I do this:
>
> @master0 master]# oc project kube-system
> Now using project "kube-system" on server "
> https://openshift-master.cloud.xxx.com:8443;.
> [root@master0 master]# oc get pods
> NAME  READY STATUS
>RESTARTS   AGE
> master-api-master0.cloud..com   1/1   Running   0
>  22m
> master-controllers-master0.cloud..com   1/1   Running   0
>  22m
> master-etcd-master0.cloud.xx  1/1   Running   0
>22m
>
> So I wonder why the ansible "Wait for control plane pods to appear" task
> is looping
>
> - name: Wait for control plane pods to appear
>   oc_obj:
> state: list
> kind: pod
> name: "master-{{ item }}-{{ l_kubelet_node_name | lower }}"
> namespace: kube-system
>   register: control_plane_pods
>   until:
>   - "'results' in control_plane_pods"
>   - "'results' in control_plane_pods.results"
>   - control_plane_pods.results.results | length > 0
>   retries: 60
>   delay: 5
>   with_items:
>   - "{{ 'etcd' if inventory_hostname in groups['oo_etcd_to_config'] else
> omit }}"
>   - api
>   - controllers
>   ignore_errors: true
>
> On Tue, May 28, 2019 at 4:23 PM Jayme  wrote:
>
>> I just tried again from scratch this time making sure a proper wildcard
>> DNS entry existed and without using the set /etc/hosts option and am still
>> running in to the pods issue.  Can anyone confirm if this requires a public
>> external IP to work?  I am working on an internal DNS zone here and natted
>> ips.
>>
>> On Tue, May 28, 2019 at 3:28 PM Edward Berger 
>> wrote:
>>
>>> In my case it was a single bare metal host, so that would be equivalent
>>> to disabling iptables on the master0 VM you're installing to, in your ovirt
>>> scenario.
>>>
>>> On Tue, May 28, 2019 at 1:25 PM Jayme  wrote:
>>>
>>>> Do you mean the iptables firewall on the server being installed to i.e.
>>>> master0 or the actual oVirt host that the master0 VM is running on?  I did
>>>> try flushing iptables rules on master0 VM then ran plays again from
>>>> installer VM but fail at the same point.
>>>>
>>>> Does this log message have anything to do with the issue, /etc/cni
>>>> directory does not even exist on master0 VM.
>>>>
>>>> May 28 17:23:35 master0 origin-node: W0528 17:23:35.012902   10434
>>>> cni.go:172] Unable to update cni config: No networks found in 
>>>> /etc/cni/net.d
>>>> May 28 17:23:35 master0 origin-node: E0528 17:23:35.013398   10434
>>>> kubelet.go:2101] Container runtime network not ready: NetworkReady=false
>>>> reason:NetworkPluginNotReady message:docker: network plugin is not ready:
>>>> cni config uninitialized
>>>>
>>>>
>>>>
>>>> On Tue, May 28, 2019 at 1:19 PM Edward Berger 
>>>> wrote:
>>>>
>>>>> > TASK [openshift_control_plane : Wait for control plane pods to
>>>>> appear] *
>>>>> > Monday 27 May 2019  13:31:54 + (0:00:00.180)   0:14:33.857
>>>>> 
>>>>> > FAILED - RETRYING: Wait for control plane pods to appear (60 retries
>>>>> left).
>>>>> > FAILED - RETRYING: Wait for control plane pods to appear (59 retries
>>>>> left).
>>>>> >It eventually counts all the way down to zero and fails.
>>>>>
>>>>> This looks a lot like the issues I saw when the host firewall
>>>>> (iptables) was blocking another OKD all-in-one-host install script [1].
>>>>> Disabling iptables allowed the installation to continue for my proof
>>>>> of concept "cluster".
>>>>>
>>>>> [1]https://github.com/gshipley/installcentos
>>>>>
>>>>> The other error I had with [1] was it was trying to install a couple
>>>>&

[ovirt-users] Re: oVirt 4.3.4 RC1 to RC2 - Dashboard error / VM/Host/Gluster Volumes OK

2019-05-28 Thread Shirly Radco
Hi,

A bug was already filed for this issue
https://bugzilla.redhat.com/show_bug.cgi?id=1713967.
We are working to fix this issue.

Best regards,
Shirly

On Tue, May 28, 2019, 13:15 Strahil  wrote:

> Hi Sandro,
> Should I open a bug or you can do it based on this thread?
>
> Best Regards,
> Strahil Nikolov
> On May 28, 2019 10:47, "Maton, Brett"  wrote:
>
> I've just upgraded to 4.3.4 RC2 and have the same issue, logs attached.
>
> Regards,
> Brett
>
> On Mon, 27 May 2019 at 07:47, Sandro Bonazzola 
> wrote:
>
>
>
> Il giorno dom 26 mag 2019 alle ore 12:46 Strahil Nikolov <
> hunter86...@yahoo.com> ha scritto:
>
> Hello All,
>
> Just upgraded my engine from 4.3.4 RC1 to RC2 and my Dashboard is giving
> an error (see attached screenshot) despite everything seem to end well:
> Error!Could not fetch dashboard data. Please ensure that data warehouse
> is properly installed and configured.
>
> I have checked and the VMs and Hosts + Gluster Volumes arep roperly
> detected (yet all my VMs are powered off since before RC2 upgrade).
>
> Any clues that might help you solve that before I roll back (I have a
> gluster snapshot on 4.3.3-7) ?
>
> Best Regards,
> Strahil Nikolov
>
>
>
> Looks like DWH service is not feeding data to the dashboard, can you
> please sahre your engine and dwh logs?
> Adding Shirly and Sharon.
>
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
> ___
> 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
>
>
___
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/QIVNB4BNMLJPF62KU53TUVDT3JTHAF6X/


[ovirt-users] Re: ovirt metrics ansible error

2019-05-28 Thread Shirly Radco
Hi,

The latest release of 4.3.z should already include a fix for this issue,
ovirt-engine-metrics-1.3.1 rpm.

The issue is that it requires the NetworkManagar to be installed, running
and enabled for it to work.

You can install it manually on the master0 vm , start and enable it or you
can also install the updated rpm from the nightly builds if your
environment is oVirt 4.2.z:
https://resources.ovirt.org/pub/ovirt-4.2-snapshot/rpm/el7/noarch/ovirt-engine-metrics-1.2.3-0.0.master.20190523112218.gitbc6e4fa.el7.noarch.rpm

Relevant patches are:
https://gerrit.ovirt.org/#/c/99959/
https://gerrit.ovirt.org/#/c/99718/

Best regards,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Mon, May 27, 2019 at 4:41 PM Jayme  wrote:

> I managed to get past that but am running in to another problem later in
> the process on the control plane pods to appear task.   I thought perhaps a
> glitch in the process from the failed docker step previously so after a few
> more runs I tried killing everything and restarting the metrics process
> again from the very beginning and end up hitting the same issue with
> control plane pods even though all other steps/tasks seem to be working.
>
> I'm just getting this:
>
> TASK [openshift_control_plane : Wait for control plane pods to appear]
> *
> Monday 27 May 2019  13:31:54 + (0:00:00.180)   0:14:33.857
> 
> FAILED - RETRYING: Wait for control plane pods to appear (60 retries left).
> FAILED - RETRYING: Wait for control plane pods to appear (59 retries left).
> FAILED - RETRYING: Wait for control plane pods to appear (58 retries left).
> FAILED - RETRYING: Wait for control plane pods to appear (57 retries left).
> FAILED - RETRYING: Wait for control plane pods to appear (56 retries left).
>
> It eventually counts all the way down to zero and fails.
>
> In syslog of the master0 server I'm seeing some errors related to cni
> config
>
> May 27 13:39:07 master0 ansible-oc_obj: Invoked with files=None kind=pod
> force=False all_namespaces=None field_selector=None namespace=kube-system
> delete_after=False kubeconfig=/etc/origin/master/admin.kubeconfig
> content=None state=list debug=False selector=None name=
> master-api-master0.xx.com
> May 27 13:39:09 master0 origin-node: W0527 13:39:09.064230   20150
> cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
> May 27 13:39:09 master0 origin-node: E0527 13:39:09.064670   20150
> kubelet.go:2101] Container runtime network not ready: NetworkReady=false
> reason:NetworkPluginNotReady message:docker: network plugin is not ready:
> cni config uninitialized
> May 27 13:39:13 master0 ansible-oc_obj: Invoked with files=None kind=pod
> force=False all_namespaces=None field_selector=None namespace=kube-system
> delete_after=False kubeconfig=/etc/origin/master/admin.kubeconfig
> content=None state=list debug=False selector=None name=
> master-api-master0.xx.com
> May 27 13:39:14 master0 origin-node: W0527 13:39:14.066911   20150
> cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
> May 27 13:39:14 master0 origin-node: E0527 13:39:14.067321   20150
> kubelet.go:2101] Container runtime network not ready: NetworkReady=false
> reason:NetworkPluginNotReady message:docker: network plugin is not ready:
> cni config uninitialized
> May 27 13:39:14 master0 origin-node: E0527 13:39:14.814705   20150
> summary.go:102] Failed to get system container stats for
> "/system.slice/origin-node.service": failed to get cgroup stats for
> "/system.slice/origin-node.service": failed to get container info for
> "/system.slice/origin-node.service": unknown container
> "/system.slice/origin-node.service"
> May 27 13:39:19 master0 origin-node: W0527 13:39:19.069450   20150
> cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
> May 27 13:39:19 master0 origin-node: E0527 13:39:19.069850   20150
> kubelet.go:2101] Container runtime network not ready: NetworkReady=false
> reason:NetworkPluginNotReady message:docker: network plugin is not ready:
> cni config uninitialized
>
> On Mon, May 27, 2019 at 9:35 AM Shirly Radco  wrote:
>
>> Hi Jayme,
>>
>> Thank you for reaching out.
>> Please try rerunning the ansible playbook.
>> If this doesn't work, try adding to the integ.ini in the metrics vm
>> openshift_disable_check=docker_storage
>> and rerun the ansible playbook again.
>>
>> Please update how it goes.
>>
>> Best regards,
>>
>> --
>>
>> Shirly Radco
>>
>> BI Senior Software Engineer
>>
>> Red Hat <https://www.redhat.com/>
>>
>> <https://www.

[ovirt-users] Re: oVirt & Grafana

2019-05-27 Thread Shirly Radco
Hi,

That is great to hear.
What database did you connect? ovirt_engine_history ? engine?
I'm the maintainer for oVirt DWH and Metrics.
Let me know if there is something I can help with.
If you will have dashboards that you can contribute to the project
that would be great.

Best regards,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Mon, May 27, 2019 at 5:30 AM  wrote:

> I have ovirt connected to my grafana and I can make some rudimentary
> dashboards, does anyone have any they've already made?
> ___
> 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/4I63VGGOQBFA756QH6FA3YAA2ELOTIQ2/
>
___
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/4ANRXSS4UPTKOWNBVFWEJSEMWTL5MTNP/


[ovirt-users] Re: ovirt metrics ansible error

2019-05-27 Thread Shirly Radco
Hi Jayme,

Thank you for reaching out.
Please try rerunning the ansible playbook.
If this doesn't work, try adding to the integ.ini in the metrics vm
openshift_disable_check=docker_storage
and rerun the ansible playbook again.

Please update how it goes.

Best regards,

--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Sun, May 26, 2019 at 9:34 PM Jayme  wrote:

> I'm running in to this ansible error during oVirt metrics installation
> (following procedures at:
> https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_Store.html
>  )
>
> This is happening late in the process, after successfully deploying the
> installation VM and then running second step from the metrics VM.
>
> CHECK [memory_availability : master0.xx.com]
> *
> fatal: [master0.xxx.com]: FAILED! => {"changed": true, "checks":
> {"disk_availability": {}, "docker_image_availability": {"changed": true},
> "docker_storage": {"failed": true, "failures": [["OpenShiftCheckException",
> "Could not find imported module support code for docker_info.  Looked for
> either AnsibleDockerClient.py or docker_common.py\nTraceback (most recent
> call last):\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/action_plugins/openshift_health_check.py\",
> line 225, in run_check\nresult = check.run()\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/openshift_checks/docker_storage.py\",
> line 53, in run\ndocker_info = self.execute_module(\"docker_info\",
> {})\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/openshift_checks/__init__.py\",
> line 211, in execute_module\nresult = self._execute_module(module_name,
> module_args, self.tmp, self.task_vars)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py\",
> line 809, in _execute_module\n(module_style, shebang, module_data,
> module_path) = self._configure_module(module_name=module_name,
> module_args=module_args, task_vars=task_vars)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py\",
> line 203, in _configure_module\nenvironment=final_environment)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/executor/module_common.py\",
> line 1023, in modify_module\nenvironment=environment)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/executor/module_common.py\",
> line 859, in _find_module_utils\nrecursive_finder(module_name,
> b_module_data, py_module_names, py_module_cache, zf)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/executor/module_common.py\",
> line 621, in recursive_finder\nraise AnsibleError('
> '.join(msg))\nAnsibleError: Could not find imported module support code for
> docker_info.  Looked for either AnsibleDockerClient.py or
> docker_common.py\n"]], "msg": "Could not find imported module support code
> for docker_info.  Looked for either AnsibleDockerClient.py or
> docker_common.py\nTraceback (most recent call last):\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/action_plugins/openshift_health_check.py\",
> line 225, in run_check\nresult = check.run()\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/openshift_checks/docker_storage.py\",
> line 53, in run\ndocker_info = self.execute_module(\"docker_info\",
> {})\n  File
> \"/usr/share/ansible/openshift-ansible/roles/openshift_health_checker/openshift_checks/__init__.py\",
> line 211, in execute_module\nresult = self._execute_module(module_name,
> module_args, self.tmp, self.task_vars)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py\",
> line 809, in _execute_module\n(module_style, shebang, module_data,
> module_path) = self._configure_module(module_name=module_name,
> module_args=module_args, task_vars=task_vars)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py\",
> line 203, in _configure_module\nenvironment=final_environment)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/executor/module_common.py\",
> line 1023, in modify_module\nenvironment=environment)\n  File
> \"/usr/lib/python2.7/site-packages/ansible/executor/module_common.py\",
> line 859, in _find_module_utils\nrecursive_finder(module_name,
> b_module_data, py_module_names, py_modu

[ovirt-users] Re: Is it possible to install oVirt metrics store without a RH subscription?

2019-05-26 Thread Shirly Radco
--

Shirly Radco

BI Senior Software Engineer

Red Hat <https://www.redhat.com/>

<https://www.redhat.com/>


On Sun, May 26, 2019 at 12:25 PM Jayme  wrote:

> Is a paid Redhat subscription required to install oVirt metrics store?
>

No.
In oVirt, the metrics store is base on upstream OpenShift OKD, for getting
Elasticsearch and Kibana.
And on the hosts and engine we deploy Collectd and Rsyslog, for the
collection of metrics and logs and shipping them to the central metrics
store.

___
> 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/UCJ5WQGZFPBHQRSYEHKAEDG3D3E4SDDO/
>
___
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/2U6RBAYJMRHCXAE2RVPOSI3XSMXZJSJ6/


[ovirt-users] [Feedback Needed] oVirt metrics store

2019-05-23 Thread Shirly Radco
Hi,

In the latest oVirt 4.3.z and 4.2.z releases we have simplified the metrics
store installation immensely and updated it to be based on OpenShift 3.11,
with Elasticsearch and Kibana 5.

The oVirt metrics store provides monitoring for the oVirt hosts and vms,
for both metrics and logs with pre-built example dashboards and self
service visualizations in Kibana.

5 steps for installing oVirt metrics store:
1. Update variables files
2. Run 1st ansible playbook -> creates the vms
3. Run 2nd ansible playbook -> deploys the metrics store on the created vms
4. Run 3rd ansible playbook -> configures the data collectors on the oVirt
hosts and engine
4. Load example dashboards to Kibana

In addition, we have replaced Fluentd with Rsyslog in 4.3.z hosts, for
better performance.

I invite you to try it out and give us feedback.

   - Installation guide -
   
https://ovirt.org/documentation/metrics-install-guide/metrics_store_installation_guide.html
   - User guide -
   https://ovirt.org/documentation/metrics-user-guide/metrics-user-guide.html
   - Short installation video
   
<https://dms.licdn.com/playback/C5605AQHirxO3r-3OFw/14a815a1904945ac83774d7e5489d269/feedshare-mp4_3300-captions-thumbnails/1507940147251-drlcss?e=1558695600=beta=BmOlJI6AOHWSoD2notJkz1mUGROfwU4Y-wCPjAUL4NY>


Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
___
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/2PIBODBCLMIAY5ORDPWKWTNPYZ2ZDX2C/


[ovirt-users] Re: Dashboard error after upgrade to 4.3.2

2019-05-13 Thread Shirly Radco
Hi,

Sorry for the late response here. I missed your email before.
Is your dashboard not showing data?
Do you still have this issue?

Best,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>


On Wed, Apr 17, 2019 at 1:33 PM  wrote:

> Good day,
>
> for some reason my previous email was posted as attachment.
>
> I recently upgraded to 4.3.2 from 4.2.8 and there is no info about the
> status on the dashboard.
> Error in ovirt:
>
> > ETL service sampling has encountered an error. Please consult the
> service log for more details.
>
> Error in DWH log:
>
> 2019-04-17
> 07:28:04|hgbeXm|WaTt56|1cuuPg|OVIRT_ENGINE_DWH|ConfigurationSync|Default|6|Java
> Exception|tJDBCOutput_2|org.postgresql.util.PSQLException:Can't infer the
> SQL type to use for an instance of java.util.UUID. Use setObject() with an
> explicit Types value to specify the type to use.|1
> Exception in component tRunJob_1
> java.lang.RuntimeException: Child job running failed
> at
> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tRunJob_1Process(SampleRunJobs.java:1198)
> at
> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tRunJob_4Process(SampleRunJobs.java:1000)
> at
> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tJDBCConnection_2Process(SampleRunJobs.java:767)
> at
> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs.tJDBCConnection_1Process(SampleRunJobs.java:642)
> at
> ovirt_engine_dwh.samplerunjobs_4_3.SampleRunJobs$2.run(SampleRunJobs.java:2683)
> 2019-04-17
> 07:28:04|1cuuPg|WaTt56|94NDik|OVIRT_ENGINE_DWH|SampleRunJobs|Default|6|Java
> Exception|tRunJob_1|java.lang.RuntimeException:Child job running failed|1
> Exception in component tRunJob_1
> java.lang.RuntimeException: Child job running failed
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tRunJob_1Process(SampleTimeKeepingJob.java:6067)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCInput_2Process(SampleTimeKeepingJob.java:5809)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCConnection_1Process(SampleTimeKeepingJob.java:)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCConnection_2Process(SampleTimeKeepingJob.java:4319)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tRowGenerator_2Process(SampleTimeKeepingJob.java:4188)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCInput_3Process(SampleTimeKeepingJob.java:3593)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCInput_5Process(SampleTimeKeepingJob.java:2977)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCInput_4Process(SampleTimeKeepingJob.java:2295)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob.tJDBCConnection_3Process(SampleTimeKeepingJob.java:1649)
> at
> ovirt_engine_dwh.sampletimekeepingjob_4_3.SampleTimeKeepingJob$2.run(SampleTimeKeepingJob.java:11363)
>
>
> Everything else works fine. Checked new postgersql, running and no errors.
> Found one thread about duplicate data in one sql table, but mine was ok.
> What else can cause this error?
>
> Best regards,
> Mikhail Krasnobaev
> ___
> 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/WKSR6V7IIJEFUX7TZ5PP2TV3BISA2VT4/
>
___
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/FEP5TOLMXVC2X6KCXBB4RTSOZDFI6JU3/


[ovirt-users] Re: Undeploy oVirt Metrics Store

2019-04-22 Thread Shirly Radco
Hi,

You just need to remove/comment out the fluentd_elasticsearch_host from the
config.yml file in /etc/ovirt-engine-metrics/config.yml
After that just run the the script
/usr/share/ovirt-engine-metrics/configure_ovirt_machines_for_metrics.sh
 --playbook=manage-ovirt-metrics-services.yml -e "service_enabled='no'
service_state='stopped'"
And you are done

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>


On Fri, Apr 19, 2019 at 10:44 AM  wrote:

> Thanks Shirly.
> This is a playbook for stopping the fluentd and collectd services on
> nodes. But if you add new nodes to the cluster, the services fluentd and
> collectd will be deployed and will try to connect to elasticsearch.
> Is there a playbook to completely remove?
> ___
> 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/A5ZGNI3Y42EEJXKXPFHWEFCZYROX5JFE/
>
___
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/DJ24EB46E3MXGW2PSJO225ZWPSAX32ZT/


[ovirt-users] Re: Undeploy oVirt Metrics Store

2019-03-20 Thread Shirly Radco
It is mentioned in the help. You should run the following from your
engine machine:

/usr/share/ovirt-engine-metrics/configure_ovirt_machines_for_metrics.sh
 --playbook=manage-ovirt-metrics-services.yml -e "service_enabled='no'
service_state='stopped'"

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>


On Wed, Mar 13, 2019 at 7:34 PM  wrote:

> Deployed MetricStore on the engine and hosts as per the instructions. But
> using some time I realized that for me the functionality is redundant,
> enough data collected by DWH.
>
> https://www.ovirt.org/develop/release-management/features/metrics/metrics-store-installation.html
> Is there an instruction on how undeploy oVirt MetricStore?
> ___
> 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/IO5BHQ6O3VYKIWVX35TKD2PN3DY7YSTX/
>
___
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/X7HAEGXABB2PQBQCI4UAZBWSOPVOROUL/


[ovirt-users] Re: ETL service aggregation to hourly tables has encountered an error. Please consult the service log for more details.

2019-01-22 Thread Shirly Radco
Hi,

The lastHourAgg should be the hour before last. But for some reason it is 1
hour after that.
Do you know when this started?

Thi fix the issue you need to update the "lastHourAgg" .

Please run the following commands:

service ovirt-engine-dwhd stop


su postgres -c 'psql -d ovirt_engine_history -c " UPDATE
history_configuration set var_datetime = var_datetime - interval '24 hour'
WHERE var_name = 'lastHourAggr' "';
su postgres -c 'psql -d ovirt_engine_history -c " UPDATE
history_configuration set var_datetime = var_datetime - interval '1 day'
WHERE var_name = 'lastDayAggr' "';

service ovirt-engine-dwhd start



Best,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Tue, Jan 22, 2019 at 10:15 AM  wrote:

> Dears,
> Could you answer how can I fix my problem?
> Thanks
> ___
> 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/VQ6MWBWX2NAR7MEH4KCK3AO4TAHK3A46/
>
___
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/UZCBUUNPVNXUKKH32XQWANJDQDBKMY6I/


[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-11-14 Thread Shirly Radco
Hi,

The user is trying to install OpenShift OKD 3.11 but hit the below error.


TASK [openshift_logging : include_tasks]

task path:
/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/install_logging.yaml:58
Monday 12 November 2018  13:31:28 +0100 (0:00:00.191)   0:06:06.769
***
fatal: [localhost]: FAILED! => {
"reason": "Invalid options for include_tasks: component\n\nThe error
appears to have been in
'/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/generate_certs.yaml':
line 135, column 3, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name:
Generate PEM certs\n  ^ here\n"
}

Can you please check?

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Wed, Nov 14, 2018 at 7:58 AM  wrote:

> Hi Shirly,
>
>
>
> I already tried that – following error appears:
>
>
>
> TASK [openshift_logging : include_tasks]
> 
>
> task path:
> /usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/install_logging.yaml:58
>
> Monday 12 November 2018  13:31:28 +0100 (0:00:00.191)   0:06:06.769
> ***
>
> fatal: [localhost]: FAILED! => {
>
> "reason": "Invalid options for include_tasks: component\n\nThe error
> appears to have been in
> '/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/generate_certs.yaml':
> line 135, column 3, but may\nbe elsewhere in the file depending on the
> exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name:
> Generate PEM certs\n  ^ here\n"
>
> }
>
>
>
>
>
>
>
>
>
> *Von:* Shirly Radco [mailto:sra...@redhat.com]
> *Gesendet:* Montag, 12. November 2018 16:08
> *An:* Schaufler, Markus 
> *Cc:* Marcelo Leandro ; users 
> *Betreff:* Re: [ovirt-users] Re: Metrics Store installation - ansible
> playbook "deploy_cluster" - docker_image_availability
>
>
>
> Hi,
>
>
>
> Are you using the rpm from the nightly builds.
>
> Please add this line to your inventory file
>
>
>
> openshift_logging_es_nodeselector={'node-role.kubernetes.io/infra':
> 'true'}
>
>
>
> I believe it will solve this error.
>
>
>
> Best,
>
> --
>
> *SHIRLY RADCO*
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
>
> <https://red.ht/sig>
>
> *TRIED. TESTED. TRUSTED.* <https://redhat.com/trusted>
>
>
>
>
>
> On Mon, Nov 12, 2018 at 2:01 PM  wrote:
>
> Update:
>
> My fault – forgot to add proxy/noproxy settings in docker.
>
>
>
>
>
> Had to add https://access.redhat.com/solutions/3539621 in inventory file
> because of next problem:
>
>
>
> fatal: [localhost]: FAILED! => {
>
> "assertion": "openshift_logging_es_nodeselector is defined",
>
> "changed": false,
>
> "evaluated_to": false,
>
> "msg": "A node selector is required for Elasticsearch pods, please
> specify one with openshift_logging_es_nodeselector"
>
>
>
>
>
> Stuck now at:
>
>
>
> fatal: [localhost]: FAILED! => {
>
> "reason": "Invalid options for include_tasks: component\n\nThe error
> appears to have been in
> '/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/generate_certs.yaml':
> line 135, column 3, but may\nbe elsewhere in the file depending on the
> exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: 
> *Generate
> PEM certs*\n  ^ here\n"
>
> }
>
>
>
>
>
>
>
>
>
>
>
> *Von:* Shirly Radco [mailto:sra...@redhat.com]
> *Gesendet:* Sonntag, 11. November 2018 09:02
> *An:* Marcelo Leandro 
> *Cc:* Schaufler, Markus ; users <
> users@ovirt.org>
> *Betreff:* Re: [ovirt-users] Re: Metrics Store installation - ansible
> playbook "deploy_cluster" - docker_image_availability
>
>
>
> Hi Marcelo,
>
>
>
> I'm sorry you are having issues with the installation, we are working to
> improve that.
>
>
>
> I wanted to update you that I have update the OpenShift version to install
> to 3.11 instead of 3.9,
>
> so that it will fit to the OpenShift latest version and this should
> simplify the suppo

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-11-12 Thread Shirly Radco
Hi,

Are you using the rpm from the nightly builds.
Please add this line to your inventory file

openshift_logging_es_nodeselector={'node-role.kubernetes.io/infra': 'true'}

I believe it will solve this error.

Best,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Mon, Nov 12, 2018 at 2:01 PM  wrote:

> Update:
>
> My fault – forgot to add proxy/noproxy settings in docker.
>
>
>
>
>
> Had to add https://access.redhat.com/solutions/3539621 in inventory file
> because of next problem:
>
>
>
> fatal: [localhost]: FAILED! => {
>
> "assertion": "openshift_logging_es_nodeselector is defined",
>
> "changed": false,
>
> "evaluated_to": false,
>
> "msg": "A node selector is required for Elasticsearch pods, please
> specify one with openshift_logging_es_nodeselector"
>
>
>
>
>
> Stuck now at:
>
>
>
> fatal: [localhost]: FAILED! => {
>
> "reason": "Invalid options for include_tasks: component\n\nThe error
> appears to have been in
> '/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/generate_certs.yaml':
> line 135, column 3, but may\nbe elsewhere in the file depending on the
> exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: 
> *Generate
> PEM certs*\n  ^ here\n"
>
> }
>
>
>
>
>
>
>
>
>
>
>
> *Von:* Shirly Radco [mailto:sra...@redhat.com]
> *Gesendet:* Sonntag, 11. November 2018 09:02
> *An:* Marcelo Leandro 
> *Cc:* Schaufler, Markus ; users <
> users@ovirt.org>
> *Betreff:* Re: [ovirt-users] Re: Metrics Store installation - ansible
> playbook "deploy_cluster" - docker_image_availability
>
>
>
> Hi Marcelo,
>
>
>
> I'm sorry you are having issues with the installation, we are working to
> improve that.
>
>
>
> I wanted to update you that I have update the OpenShift version to install
> to 3.11 instead of 3.9,
>
> so that it will fit to the OpenShift latest version and this should
> simplify the support for the installation by the OpenShift team.
>
> It is available in the latest oVirt nightly and documentation is up to date
>
>
> https://ovirt.org/documentation/metrics-install-guide/metrics-install-guide/
>
>
>
> Also, I want to let you know that in the next release we plan to add
> support for an all-in-one installation that will create the vm/s for you
> and install OpenShift on them.
>
> This should simplify immensely the process of setting up the oVirt metrics
> store.
>
>
>
> I'll contact the OpenShift team for help about your issue as well, But you
> may want to install version 3.11 instead.
>
> Please let me know if decide you want to try installing the latest version.
>
>
>
> Best regards,
>
> --
>
> *SHIRLY RADCO*
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
>
> <https://red.ht/sig>
>
> *TRIED. TESTED. TRUSTED.* <https://redhat.com/trusted>
>
>
>
>
>
> On Fri, Nov 9, 2018 at 7:12 PM Marcelo Leandro 
> wrote:
>
> Hi
>
> Can someone help me to resolve this issue?
>
>
>
> Marcelo Leandro
>
>
>
> Em qua, 31 de out de 2018 às 09:27, Shirly Radco 
> escreveu:
>
> Adding OpenShift mailing list.
> Please help with this OpenShift installation.
> --
> *SHIRLY RADCO*
> BI SENIOR SOFTWARE ENGINEER
> Red Hat Israel <https://www.redhat.com/>
>
> <https://red.ht/sig>
>
> *TRIED. TESTED. TRUSTED.* <https://redhat.com/trusted>
>
>
>
>
>
> On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
> wrote:
>
> Hello I am with same problem.
>
>
>
> ● origin-master-controllers.service - Atomic OpenShift Master Controllers
>
>Loaded: loaded
> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
> preset: disabled)
>
>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
> 15:27:19 -03; 1s ago
>
>  Docs: https://github.com/openshift/origin
>
>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>
>  Main PID: 26872 (code=exited, status=255)
>
>
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
> *origin-master-controllers.service:
> main process exited, code=exited, status=255/n/a*
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
> OpenShift Master Controllers.*
>
> Oct 26 15:27

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-11-11 Thread Shirly Radco
Hi Marcelo,

I'm sorry you are having issues with the installation, we are working to
improve that.

I wanted to update you that I have update the OpenShift version to install
to 3.11 instead of 3.9,
so that it will fit to the OpenShift latest version and this should
simplify the support for the installation by the OpenShift team.
It is available in the latest oVirt nightly and documentation is up to date
https://ovirt.org/documentation/metrics-install-guide/metrics-install-guide/

Also, I want to let you know that in the next release we plan to add
support for an all-in-one installation that will create the vm/s for you
and install OpenShift on them.
This should simplify immensely the process of setting up the oVirt metrics
store.

I'll contact the OpenShift team for help about your issue as well, But you
may want to install version 3.11 instead.
Please let me know if decide you want to try installing the latest version.

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Fri, Nov 9, 2018 at 7:12 PM Marcelo Leandro 
wrote:

> Hi
> Can someone help me to resolve this issue?
>
> Marcelo Leandro
>
> Em qua, 31 de out de 2018 às 09:27, Shirly Radco 
> escreveu:
>
>> Adding OpenShift mailing list.
>> Please help with this OpenShift installation.
>> --
>> SHIRLY RADCO
>> BI SENIOR SOFTWARE ENGINEER
>> Red Hat Israel <https://www.redhat.com/>
>> <https://red.ht/sig>
>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>
>>>
>>>
>>> On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
>>> wrote:
>>>
>>>> Hello I am with same problem.
>>>>
>>>> ● origin-master-controllers.service - Atomic OpenShift Master
>>>> Controllers
>>>>
>>>>Loaded: loaded
>>>> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
>>>> preset: disabled)
>>>>
>>>>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
>>>> 15:27:19 -03; 1s ago
>>>>
>>>>  Docs: https://github.com/openshift/origin
>>>>
>>>>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
>>>> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>>>>
>>>>  Main PID: 26872 (code=exited, status=255)
>>>>
>>>>
>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>>> *origin-master-controllers.service:
>>>> main process exited, code=exited, status=255/n/a*
>>>>
>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
>>>> OpenShift Master Controllers.*
>>>>
>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
>>>> origin-master-controllers.service entered failed state.*
>>>>
>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>>> *origin-master-controllers.service
>>>> failed.*
>>>>
>>>> Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
>>>> origin-master-controllers.service holdoff time over, scheduling restart.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.057760   26916 start_api.go:104] Using a listen address
>>>> override "0.0.0.0:8443"
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.058002   26916 plugins.go:83] Registered admission plugin
>>>> "NamespaceLifecycle"
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.058017   26916 plugins.go:83] Registered admission plugin
>>>> "Initializers"
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.058028   26916 plugins.go:83] Registered admission plugin
>>>> "ValidatingAdmissionWebhook"
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.058040   26916 plugins.go:83] Registered admission plugin
>>>> "MutatingAdmissionWebhook"
>>>>
>>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>>> I1026 15:27:30.058120   26916 plugins.go:83] Registered admission plugin
>

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-10-31 Thread Shirly Radco
Adding OpenShift mailing list.
Please help with this OpenShift installation.
--
SHIRLY RADCO
BI SENIOR SOFTWARE ENGINEER
Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

>
>
> On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
> wrote:
>
>> Hello I am with same problem.
>>
>> ● origin-master-controllers.service - Atomic OpenShift Master Controllers
>>
>>Loaded: loaded
>> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
>> preset: disabled)
>>
>>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
>> 15:27:19 -03; 1s ago
>>
>>  Docs: https://github.com/openshift/origin
>>
>>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
>> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>>
>>  Main PID: 26872 (code=exited, status=255)
>>
>>
>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>> *origin-master-controllers.service:
>> main process exited, code=exited, status=255/n/a*
>>
>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
>> OpenShift Master Controllers.*
>>
>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
>> origin-master-controllers.service entered failed state.*
>>
>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>> *origin-master-controllers.service
>> failed.*
>>
>> Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
>> origin-master-controllers.service holdoff time over, scheduling restart.
>>
>>
>>
>>
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.057760   26916 start_api.go:104] Using a listen address
>> override "0.0.0.0:8443"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058002   26916 plugins.go:83] Registered admission plugin
>> "NamespaceLifecycle"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058017   26916 plugins.go:83] Registered admission plugin
>> "Initializers"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058028   26916 plugins.go:83] Registered admission plugin
>> "ValidatingAdmissionWebhook"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058040   26916 plugins.go:83] Registered admission plugin
>> "MutatingAdmissionWebhook"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058120   26916 plugins.go:83] Registered admission plugin
>> "AlwaysAdmit"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058131   26916 plugins.go:83] Registered admission plugin
>> "AlwaysPullImages"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058142   26916 plugins.go:83] Registered admission plugin
>> "LimitPodHardAntiAffinityTopology"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058155   26916 plugins.go:83] Registered admission plugin
>> "DefaultTolerationSeconds"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058164   26916 plugins.go:83] Registered admission plugin
>> "AlwaysDeny"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058178   26916 plugins.go:83] Registered admission plugin
>> "EventRateLimit"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058190   26916 plugins.go:83] Registered admission plugin
>> "DenyEscalatingExec"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058199   26916 plugins.go:83] Registered admission plugin
>> "DenyExecOnPrivileged"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058210   26916 plugins.go:83] Registered admission plugin
>> "ExtendedResourceToleration"
>>
>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>> I1026 15:27:30.058222   26916 plugins.go:83] Registered admission plugin
>> "OwnerReferencesPermissionEnforcement"
>>
>>

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-10-31 Thread Shirly Radco
Adding OpenShift mailing list.
Please help with this OpenShift installation.

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
wrote:

> Hello I am with same problem.
>
> ● origin-master-controllers.service - Atomic OpenShift Master Controllers
>
>Loaded: loaded
> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
> preset: disabled)
>
>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
> 15:27:19 -03; 1s ago
>
>  Docs: https://github.com/openshift/origin
>
>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>
>  Main PID: 26872 (code=exited, status=255)
>
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
> *origin-master-controllers.service:
> main process exited, code=exited, status=255/n/a*
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
> OpenShift Master Controllers.*
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
> origin-master-controllers.service entered failed state.*
>
> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
> *origin-master-controllers.service
> failed.*
>
> Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
> origin-master-controllers.service holdoff time over, scheduling restart.
>
>
>
>
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.057760   26916 start_api.go:104] Using a listen address
> override "0.0.0.0:8443"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058002   26916 plugins.go:83] Registered admission plugin
> "NamespaceLifecycle"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058017   26916 plugins.go:83] Registered admission plugin
> "Initializers"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058028   26916 plugins.go:83] Registered admission plugin
> "ValidatingAdmissionWebhook"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058040   26916 plugins.go:83] Registered admission plugin
> "MutatingAdmissionWebhook"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058120   26916 plugins.go:83] Registered admission plugin
> "AlwaysAdmit"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058131   26916 plugins.go:83] Registered admission plugin
> "AlwaysPullImages"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058142   26916 plugins.go:83] Registered admission plugin
> "LimitPodHardAntiAffinityTopology"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058155   26916 plugins.go:83] Registered admission plugin
> "DefaultTolerationSeconds"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058164   26916 plugins.go:83] Registered admission plugin
> "AlwaysDeny"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058178   26916 plugins.go:83] Registered admission plugin
> "EventRateLimit"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058190   26916 plugins.go:83] Registered admission plugin
> "DenyEscalatingExec"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058199   26916 plugins.go:83] Registered admission plugin
> "DenyExecOnPrivileged"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058210   26916 plugins.go:83] Registered admission plugin
> "ExtendedResourceToleration"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058222   26916 plugins.go:83] Registered admission plugin
> "OwnerReferencesPermissionEnforcement"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058237   26916 plugins.go:83] Registered admission plugin
> "ImagePolicyWebhook"
>
> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
> I1026 15:27:30.058249   26916 plugins.go:83] Registered admission plugin
> "InitialResources"
>
> Oct 26 15:27:30 es.hybriddc.com.br atom

[ovirt-users] Re: ETL service and winter hour

2018-10-29 Thread Shirly Radco
--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Sun, Oct 28, 2018 at 5:33 PM fsoyer  wrote:

> Thank you very much for all this detailed informations, Shirly. The only
> point is that we (must I say "I" ?) never really ask for DWH when
> installing ovirt with hosted engine, maybe it's a lake of documentation on
> my part but I never hear about it in the installation procedure. Where I
> deduce that it is installed with ovirt engine, and if it is a Postgre
> functionality, and if the Postgre database is automatically created in the
> engine VM, so it is installed in the engine VM (Q.E.D. :) )
> The warning you point to me maybe is not enough visible in installation
> procedures for who lives in a country subject to the summer/winter time...
> But even apart of that, I don't remember during the hosted engine
> installation a moment where it ask us for a timezone, you see ? So I wonder
> where or when I could have force UTC time, in fact...
> Can you tell me (and maybe for others installing it in France or similar
> countries) if you see when this DWH and timezone questions can be managed
> in the hosted engine installation process ?
>

You are right that there is no option to set this in the installation time.
But it is based on the system timezone of the machine, which I believe you
can set before installing oVirt.

Since 4.0 DWH is installed by default to provide the historic data for the
Admin portal dashboard.
It might be worth mentioning in the installation docs, but I'm not sure it
should be a reason to choose UTC for the machine only based on this.


>
> This said, if I understand correctly your answers below, can I resume as
> this : don't touch anything now, as the error is automatically repaired
> after this "1 hour gap / overlap" (so I have no more messages after
> 3:00AM). Right ?
>

That is correct.

>
> Many thanks again,
> --
>
> Regards,
>
> *Frank*
>
>
>
> Le Dimanche, Octobre 28, 2018 13:26 CET, Shirly Radco 
> a écrit:
>
>
>
> Please see answers below and let me know if you have any other questions.
>
> Best,
>
> --
>
> SHIRLY RADCO
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Sun, Oct 28, 2018 at 12:55 PM fsoyer  wrote:
>
>> Well, I see that I'm late to give the information :) Thank you to
>> pointing me to this, but I have now some other questions now...
>> How can I see the timezone of the DB ?
>
>
> "If no time zone is stated in the input string, then it is assumed to be
> in the time zone indicated by the system's TimeZone parameter, and is
> converted to UTC using the offset for the timezone zone."
>
>
> https://serverfault.com/questions/554359/postgresql-timezone-does-not-match-system-timezone
>
>
>> When it says "all machines", do you confirm that this is physical
>> machines, not VMs ?
>
>
> I mean the machine DWH is installed on. It can be a VM.
> But I'm not saying we recommend all VMs to be set to UTC.
>
>
>> May I apply the solution given on access.redhat or not, as there is no
>> more messages since 3AM ?
>
>
> No need.
>
>
>> And, last question but not least, can this timezone be changed on the
>> machines (and DB ?) without issue ?
>
>
> It is possible to update it, but its not mandatory.
>
> The 1 hour gap / overlap is expected when moving from summer to winter and
> back when not using UTC and I'm not sure if its even worth updating at this
> point,
> at the risk of ending up with a real bug..
>
>>
>> --
>>
>> Regards,
>>
>> *Frank*
>>
>>
>> Le Dimanche, Octobre 28, 2018 11:40 CET, Shirly Radco 
>> a écrit:
>>
>>
>> Hi,
>>
>> Please see here
>>
>> https://www.ovirt.org/documentation/data-warehouse/Data_Collection_Setup_and_Reports_Installation_Overview/
>>
>> "It is recommended that you set the system time zone for all machines in
>> your Data Warehouse deployment to UTC. This ensures that data collection is
>> not interrupted by variations in your local time zone: for example, a
>> change from summer time to winter time."
>>
>> What timezone is your DB configured to?
>>
>> Best,
>>
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SENIOR SOFTWARE ENGINEER
>>
>> Red Hat Israel <https://www.redhat.com/>
>> <https://red.ht/sig>
>> TRIED. TES

[ovirt-users] Re: ETL service and winter hour

2018-10-28 Thread Shirly Radco
Please see answers below and let me know if you have any other questions.

Best,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Sun, Oct 28, 2018 at 12:55 PM fsoyer  wrote:

> Well, I see that I'm late to give the information :) Thank you to pointing
> me to this, but I have now some other questions now...
> How can I see the timezone of the DB ?
>

"If no time zone is stated in the input string, then it is assumed to be in
the time zone indicated by the system's TimeZone parameter, and is
converted to UTC using the offset for the timezone zone."
https://serverfault.com/questions/554359/postgresql-timezone-does-not-match-system-timezone


> When it says "all machines", do you confirm that this is physical
> machines, not VMs ?
>

I mean the machine DWH is installed on. It can be a VM.
But I'm not saying we recommend all VMs to be set to UTC.


> May I apply the solution given on access.redhat or not, as there is no
> more messages since 3AM ?
>

No need.

And, last question but not least, can this timezone be changed on the
> machines (and DB ?) without issue ?
>

It is possible to update it, but its not mandatory.

The 1 hour gap / overlap is expected when moving from summer to winter and
back when not using UTC and I'm not sure if its even worth updating at this
point,
at the risk of ending up with a real bug..

>
> --
>
> Regards,
>
> *Frank*
>
>
> Le Dimanche, Octobre 28, 2018 11:40 CET, Shirly Radco 
> a écrit:
>
>
> Hi,
>
> Please see here
>
> https://www.ovirt.org/documentation/data-warehouse/Data_Collection_Setup_and_Reports_Installation_Overview/
>
> "It is recommended that you set the system time zone for all machines in
> your Data Warehouse deployment to UTC. This ensures that data collection is
> not interrupted by variations in your local time zone: for example, a
> change from summer time to winter time."
>
> What timezone is your DB configured to?
>
> Best,
>
>
> --
>
> SHIRLY RADCO
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Sun, Oct 28, 2018 at 12:32 PM fsoyer  wrote:
>
>> Hi all,
>> Maybe it has already been posted, but I think I've discoverd a little
>> bug. This night I had this messages :
>>
>> 28 oct. 2018 03:00:00
>> ETL service aggregation to hourly tables has encountered an error. Please
>> consult the service log for more details.
>> 28 oct. 2018 02:40:27
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:33:42
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:27:42
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:22:27
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:16:37
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:11:06
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:05:06
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details.
>> 28 oct. 2018 02:00:06
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details
>> 28 oct. 2018 02:00:00
>> ETL service aggregation to hourly tables has encountered an error. Please
>> consult the service log for more details.
>>
>> and, coincidence, here in France we have change to winter hour at... 2AM
>> :) So regarding this post:
>> https://access.redhat.com/solutions/3338001
>> speaking about a time problem, I've supposed that this is related ! No ?
>> access.redhat says that the cause was not yet determined, but maybe it can
>> be interesting to propose this cause ? But the bug is actually closed.
>>
>> Question : does this repair all alone (as there is no more messages after
>> 3AM) or may I applied the solution with postgres updates (I must say that
>> I'm not very enthousiast for that...) ?
>>
>> Regards,
>>
>> --
>>
>> *Frank*
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to 

[ovirt-users] Re: ETL service and winter hour

2018-10-28 Thread Shirly Radco
Hi,

Please see here
https://www.ovirt.org/documentation/data-warehouse/Data_Collection_Setup_and_Reports_Installation_Overview/

"It is recommended that you set the system time zone for all machines in
your Data Warehouse deployment to UTC. This ensures that data collection is
not interrupted by variations in your local time zone: for example, a
change from summer time to winter time."

What timezone is your DB configured to?

Best,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Sun, Oct 28, 2018 at 12:32 PM fsoyer  wrote:

> Hi all,
> Maybe it has already been posted, but I think I've discoverd a little bug.
> This night I had this messages :
>
> 28 oct. 2018 03:00:00
> ETL service aggregation to hourly tables has encountered an error. Please
> consult the service log for more details.
> 28 oct. 2018 02:40:27
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:33:42
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:27:42
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:22:27
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:16:37
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:11:06
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:05:06
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
> 28 oct. 2018 02:00:06
> ETL service sampling has encountered an error. Please consult the service
> log for more details
> 28 oct. 2018 02:00:00
> ETL service aggregation to hourly tables has encountered an error. Please
> consult the service log for more details.
>
> and, coincidence, here in France we have change to winter hour at... 2AM
> :) So regarding this post:
> https://access.redhat.com/solutions/3338001
> speaking about a time problem, I've supposed that this is related ! No ?
> access.redhat says that the cause was not yet determined, but maybe it can
> be interesting to propose this cause ? But the bug is actually closed.
>
> Question : does this repair all alone (as there is no more messages after
> 3AM) or may I applied the solution with postgres updates (I must say that
> I'm not very enthousiast for that...) ?
>
> Regards,
>
> --
>
> *Frank*
> ___
> 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/GNGAQKTA5PDJUYMTFJABDLZA27FHUY7O/
>
___
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/TR43YODT2XLK5NUVPMFRZ7DQBLHMUUVJ/


[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-10-21 Thread Shirly Radco
Hi Markus,

Thank you for reporting this issue.
Can you please open a Bugzilla ticket on ovirt-engine-metrics with the
details you supplied here so I can better investigate it and communicate on
it?
Also, It will help other users if they hit the same issue.

Thanks in advance,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Tue, Oct 16, 2018 at 7:39 PM Markus Schaufler 
wrote:

> Update2:
>
> manually downloaded docker images and excluded the check
> docker_image_availability.
> ran into the next problem:
>
>
> #
>
>  EXEC /bin/sh -c 'rm -f -r
> /root/.ansible/tmp/ansible-tmp-1539706227.48-64167276003747/ > /dev/null
> 2>&1 && sleep 0'
> FAILED - RETRYING: Start and enable master controller service (1 retries
> left).Result was: {
> "attempts": 1,
> "changed": false,
> "invocation": {
> "module_args": {
> "daemon_reload": false,
> "enabled": true,
> "force": null,
> "masked": null,
> "name": "origin-master-controllers",
> "no_block": false,
> "scope": null,
> "state": "started",
> "user": null
> }
> },
> "msg": "Unable to start service origin-master-controllers: Job for
> origin-master-controllers.service failed because the control process exited
> with error code. See \"systemctl status origin-master-controllers.service\"
> and \"journalctl -xe\" for details.\n",
> "retries": 2
> }
>  EXEC /bin/sh -c 'echo ~root && sleep 0'
>  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798 `" && echo
> ansible-tmp-1539706290.33-160209713824798="` echo
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798 `" ) && sleep
> 0'
> Using module file
> /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py
>  PUT /root/.ansible/tmp/ansible-local-10051XykBSa/tmp7WK38D TO
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798/AnsiballZ_systemd.py
>  EXEC /bin/sh -c 'chmod u+x
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798/
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798/AnsiballZ_systemd.py
> && sleep 0'
>  EXEC /bin/sh -c '/usr/bin/python
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798/AnsiballZ_systemd.py
> && sleep 0'
>  EXEC /bin/sh -c 'rm -f -r
> /root/.ansible/tmp/ansible-tmp-1539706290.33-160209713824798/ > /dev/null
> 2>&1 && sleep 0'
> fatal: [localhost]: FAILED! => {
> "attempts": 1,
> "changed": false,
> "invocation": {
> "module_args": {
> "daemon_reload": false,
> "enabled": true,
> "force": null,
> "masked": null,
> "name": "origin-master-controllers",
> "no_block": false,
> "scope": null,
> "state": "started",
> "user": null
> }
> },
> "msg": "Unable to start service origin-master-controllers: Job for
> origin-master-controllers.service failed because the control process exited
> with error code. See \"systemctl status origin-master-controllers.service\"
> and \"journalctl -xe\" for details.\n"
> }
>
> NO MORE HOSTS LEFT
> 
> to retry, use: --limit
> @/usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.retry
>
> PLAY RECAP
> 
> localhost  : ok=249  changed=69   unreachable=0failed=1
>
>
> INSTALLER STATUS
> **
> Initialization : Complete (0:00:21)
> Health Check   : Complete (0:00:16)
> etcd Install   : Complete (0:00:41)
> Master Install : In Pr

[ovirt-users] Re: oVirt Metrics Store installation

2018-10-02 Thread Shirly Radco
Hi Markus,

Can you please open a bug in Bugzilla on the ovirt-engine-metrics with all
the related details so I can track it better?

Thanks in advance,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


On Mon, Oct 1, 2018 at 8:57 AM Markus Schaufler 
wrote:

> Hi!
>
> I'm having trouble installing the oVirt Metrics Store following this
> https://www.ovirt.org/develop/release-management/features/metrics/metrics-store-installation/
> respectively this guide
> https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/
>
> When executing the test script
> ANSIBLE_LOG_PATH=/tmp/ansible-prereq.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-39-aio
> playbooks/prerequisites.yml
>
> following error occurs:
>
>
> Using module file
> /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py
>  EXEC /bin/sh -c '/usr/bin/python && sleep 0'
> fatal: [localhost]: FAILED! => {
> "attempts": 3,
> "changed": false,
> "invocation": {
> "module_args": {
> "allow_downgrade": false,
> "bugfix": false,
> "conf_file": null,
> "disable_gpg_check": false,
> "disable_plugin": [],
> "disablerepo": null,
> "enable_plugin": [],
> "enablerepo": null,
> "exclude": null,
> "install_repoquery": true,
> "installroot": "/",
> "list": null,
> "name": [
> "docker",
> "atomic",
> "skopeo"
> ],
> "security": false,
> "skip_broken": false,
> "state": "present",
> "update_cache": false,
> "update_only": false,
> "validate_certs": true
> }
> },
> "msg": "Error: Package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64
> (centosplus)\n   Requires: python-docker-py >= 1.7.2-1\n
>  Available: docker-python-1.4.0-115.el7.x86_64 (centosplus)\n
>  python-docker-py = 1.4.0-115.el7\n   Available:
> python-docker-py-1.10.6-3.el7.noarch (centosplus)\n
>  python-docker-py = 1.10.6-3.el7\n   Available:
> python-docker-py-1.10.6-4.el7.noarch (centosplus)\n
>  python-docker-py = 1.10.6-4.el7\n   Available:
> python2-docker-2.4.2-1.2.el7.noarch
> (centos-openshift-origin-testing-cbs)\n   python-docker-py =
> 2.4.2-1.2.el7\n   Installed: python2-docker-3.3.0-1.el7.noarch
> (@centos-openshift-origin-testing)\n   Not found\n",
> "rc": 1,
> "results": [
> "2:docker-1.13.1-74.git6e3bb8e.el7.centos.x86_64 providing docker
> is already installed",
> "Loaded plugins: fastestmirror\nLoading mirror speeds from cached
> hostfile\nResolving Dependencies\n--> Running transaction check\n--->
> Package atomic.x86_64 1:1.22.1-22.git5a342e3.el7 will be installed\n-->
> Processing Dependency: python-docker-py >= 1.7.2-1 for package:
> 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage
> python-docker-py-1.10.6-4.el7.noarch is obsoleted by
> python2-docker-3.3.0-1.el7.noarch which is already installed\n-->
> Processing Dependency: runc for package:
> 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n--> Processing Dependency:
> python-dateutil for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n-->
> Processing Dependency: ostree for package:
> 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n--> Processing Dependency:
> gomtree for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n---> Package
> skopeo.x86_64 1:0.1.31-1.dev.gitae64ff7.el7.centos will be installed\n-->
> Running transaction check\n---> Package atomic.x86_64
> 1:1.22.1-22.git5a342e3.el7 will be installed\n--
>  > Processing Dependency: python-docker-py >= 1.7.2-1 for package:
> 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage
> python-docker-py-1.10.6-4.el7.noarch is obsoleted by
> python2-docker-3.3.0-1.el7.noarch which is already installed\n---> Package
> gomtree.x86_64 0:0.5.0-0.2.git16da0f8.el7 will be installed\n---> Package
> ostree.x86_64 0:2018.5-1.el7 will be installed\n--> Processing Dependency:
> libarchive.so.13()(64bit) for package: ostree-2018.5-1.el7.x86_64\n-

[ovirt-users] Re: metrics

2018-07-24 Thread Shirly Radco
I believe these issues should be opened and tracked on github OpenShift
Origin https://github.com/openshift/origin/issues.

Best,


--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Jul 23, 2018 at 6:44 PM, Rich Megginson  wrote:

> We're working on it.  Not sure what the problem is, but it looks like
> openshift origin 3.9 is just broken right now - due to a combination of
> ansible and openshift-ansible problems.
>
> Shirly, where should bugs be filed in order to track this?
>
>
> On 07/23/2018 09:29 AM, supo...@logicworks.pt wrote:
>
>> Hi,
>>
>> When I Run Ansible using the prerequisites.yml playbookI get this error:
>>
>> fatal: [localhost]: FAILED! => {
>>
>> "attempts": 3,
>>
>> "changed": false,
>>
>> "invocation": {
>>
>> "module_args": {
>>
>> "allow_downgrade": false,
>>
>> "conf_file": null,
>>
>> "disable_gpg_check": false,
>>
>> "disable_plugin": [],
>>
>> "disablerepo": null,
>>
>> "enable_plugin": [],
>>
>> "enablerepo": null,
>>
>> "exclude": null,
>>
>> "install_repoquery": true,
>>
>> "installroot": "/",
>>
>> "list": null,
>>
>> "name": [
>>
>> "atomic-openshift-docker-excluder*"
>>
>> ],
>>
>> "security": false,
>>
>> "skip_broken": false,
>>
>> "state": "present",
>>
>> "update_cache": false,
>>
>> "update_only": false,
>>
>> "validate_certs": true
>>
>> }
>>
>> },
>>
>> "msg": "No package matching 'atomic-openshift-docker-excluder*' found
>> available, installed or updated",
>>
>> "rc": 126,
>>
>> "results": [
>>
>> "No package matching 'atomic-openshift-docker-excluder*' found
>> available, installed or updated"
>>
>> ]
>>
>> }
>>
>> to retry, use: --limit @/usr/share/ansible/openshift-
>> ansible/playbooks/prerequisites.retry
>>
>>
>> PLAY RECAP 
>> 
>> **
>>
>> localhost : ok=58 changed=2 unreachable=0 failed=1
>>
>>
>>
>> INSTALLER STATUS **
>> 
>> **
>>
>> Initialization : Complete (0:00:22)
>>
>>
>>
>>
>>
>> Can I live with this error or is something I need to correct?
>>
>>
>> Thanks
>>
>>
>> 
>> *De: *supo...@logicworks.pt
>> *Para: *"Shirly Radco" 
>> *Cc: *"Rich Megginson" , "users" 
>> *Enviadas: *Sexta-feira, 20 De Julho de 2018 13:19:37
>> *Assunto: *[ovirt-users] Re: metrics
>>
>>
>> Hi,
>>
>> Still the same error after installing ansible 2.5.5 and repo:
>>
>>  1. Hosts:localhost
>>  Play: Determine openshift_version to configure on first master
>>  Task: openshift_version : fail
>>  Message:  Package 'atomic-openshift-3.9*' not found
>>
>> # yum search atomic-openshift
>> ...
>>  N/S matched: atomic-openshift
>> =
>> atomic-openshift-utils.noarch : Atomic OpenShift Utilities
>>
>> # rpm -q atomic-openshift-utils
>> atomic-openshift-utils-3.9.32-1.git.1.970d147.el7.noarch
>>
>> # rpm -q ansible
>> ansible-2.5.5-1.el7.noarch
>>
>> openshift-ansible-3.9.32-1.git.1.970d147.el7.noarch
>>
>> # cat /etc/yum.repos.d/centos7-viaq.repo
>> [centos-openshift-origin]
>> name=CentOS OpenShift Origin
>> baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/
>> enabled=1
>> gpgcheck=1
>> gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-
>> CentOS-SIG-PaaS
>>
>> [centos-openshift-common-candidate]
>> name=CentOS OpenShift Common Candidate
>> baseurl=https://cbs.centos.org/repos/paas7-openshift-c

[ovirt-users] Re: metrics

2018-07-19 Thread Shirly Radco
--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Thu, Jul 19, 2018 at 6:22 PM, Rich Megginson  wrote:

> Shirly, does the ovirt metrics ansible playbooks install and configure the
> openshift repos from https://github.com/ViaQ/Main/b
> lob/master/centos7-viaq.repo ?
>

A copy of it:
https://www.ovirt.org/develop/release-management/features/metrics/centos7-viaq.repo


>
> Please try ansible 2.5
>
> On 07/19/2018 09:15 AM, supo...@logicworks.pt wrote:
>
>> Sorry, wrong server
>>
>>
>>
>> # yum search atomic-openshift
>> ...
>> === N/S matched: atomic-openshift
>> 
>> atomic-openshift-utils.noarch : Atomic OpenShift Utilities
>>
>>
>> # yum repolist
>> repo id  repo
>> name  status
>> base/7/x86_64CentOS-7 -
>> Base9911
>> centos-gluster312/7/x86_64   CentOS-7 - Gluster
>> 3.12 214
>> centos-openshift-origin  CentOS OpenShift
>> Origin 185
>> centos-opstools-release/7/x86_64 CentOS-7 - OpsTools -
>> release   623
>> centos-ovirt42/7/x86_64  CentOS-7 - oVirt
>> 4.2446
>> centos-qemu-ev/7/x86_64  CentOS-7 - QEMU
>> EV   59
>> extras/7/x86_64  CentOS-7 -
>> Extras   363
>> origin-repo  Origin
>> RPMs  12
>> updates/7/x86_64 CentOS-7 -
>> Updates  970
>>
>> 
>> *De: *supo...@logicworks.pt
>> *Para: *"Shirly Radco" 
>> *Cc: *"Rich Megginson" , "users" 
>> *Enviadas: *Quinta-feira, 19 De Julho de 2018 16:09:48
>> *Assunto: *Re: [ovirt-users] metrics
>>
>> # yum search atomic-openshift
>> Warning: No matches found for: atomic-openshift
>> No matches found
>>
>> # yum repolist
>> repo id repo name
>> status
>> !base/7/x86_64  CentOS-7 -
>> Base 9911
>> !centos-sclo-rh-release/x86_64  CentOS-7 - SCLo
>> rh  7514
>> !extras/7/x86_64CentOS-7 -
>> Extras313
>> !ovirt-4.2/7Latest oVirt 4.2 Release
>> 1670+101
>> !ovirt-4.2-centos-gluster312/x86_64 CentOS-7 - Gluster
>> 3.12  189
>> !ovirt-4.2-centos-opstools/x86_64   CentOS-7 - OpsTools -
>> release493
>> !ovirt-4.2-centos-ovirt42/x86_64CentOS-7 - oVirt
>> 4.2 379
>> !ovirt-4.2-centos-qemu-ev/x86_64CentOS-7 - QEMU
>> EV55
>> !ovirt-4.2-epel/x86_64  Extra Packages for Enterprise Li
>> 12585+12335
>> !ovirt-4.2-virtio-win-latestvirtio-win builds roughly
>> matchi  37
>> !updates/7/x86_64   CentOS-7 -
>> Updates   695
>>
>>
>>
>> 
>> *De: *"Shirly Radco" 
>> *Para: *"Rich Megginson" 
>> *Cc: *supo...@logicworks.pt, "users" 
>> *Enviadas: *Quinta-feira, 19 De Julho de 2018 16:02:52
>> *Assunto: *Re: [ovirt-users] metrics
>>
>> Also, I believe that you need for now to install ansible 2.5.5 or 2.5.6
>> due to OpenShift bug.
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SENIOR SOFTWARE ENGINEER
>>
>> Red Hat Israel <https://www.redhat.com/>
>>
>> <https://red.ht/sig>
>>
>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>
>>
>> On Thu, Jul 19, 2018 at 5:37 PM, Rich Megginson > <mailto:rmegg...@redhat.com>> wrote:
>>
>> do you have
>> http://cbs.centos.org/repos/paas7-openshift-origin39-candida
>> te/x86_64/os/Packages/
>> as one of your yum repos?
>>
>> What does "yum search atomic-openshift" s

[ovirt-users] Re: metrics

2018-07-19 Thread Shirly Radco
Also, I believe that you need for now to install ansible 2.5.5 or 2.5.6 due
to OpenShift bug.

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Thu, Jul 19, 2018 at 5:37 PM, Rich Megginson  wrote:

> do you have http://cbs.centos.org/repos/paas7-openshift-origin39-candida
> te/x86_64/os/Packages/ as one of your yum repos?
>
> What does "yum search atomic-openshift" show?
>
> On 07/19/2018 08:06 AM, supo...@logicworks.pt wrote:
>
>> Hi,
>>
>> I'm still facing this issue
>>
>> Still this error:
>> 1. Hosts:localhost
>>  Play: Determine openshift_version to configure on first master
>>  Task: openshift_version : fail
>>  Message:  Package atomic-openshift not found
>>
>> What i have installed:
>> openshift-ansible-3.9.0-0.53.0.git.1.af49d87.el7.noarch
>> ansible-2.6.1-1.el7.noarch
>> atomic-openshift-utils-3.9.0-0.53.0.git.1.af49d87.el7.noarch
>> CentOS Linux release 7.5.1804 (Core)
>>
>> Any help?
>>
>> Thanks
>>
>> José
>>
>>
>>
>> 
>> *De: *"Rich Megginson" 
>> *Para: *"Shirly Radco" , supo...@logicworks.pt
>> *Cc: *"users" 
>> *Enviadas: *Segunda-feira, 25 De Junho de 2018 22:02:59
>> *Assunto: *Re: [ovirt-users] metrics
>>
>>
>> On 06/24/2018 01:10 AM, Shirly Radco wrote:
>> > Hi,
>> >
>> > I see there is an OpenShift bug about this issue
>> > https://bugzilla.redhat.com/show_bug.cgi?id=1589629
>> > "Bug 1589629 - Install logging/metrics failed at TASK [Validate
>> > openshift_node_groups and openshift_node_group_name]"
>>
>> AFAIK, this only affects OpenShift 3.10 and later.
>>
>> >
>> >
>> > I see there is a workaround
>> > https://bugzilla.redhat.com/show_bug.cgi?id=1589629#c2
>> >
>> > to add to ansible-inventory-origin-39-aio that is in your metrics
>> > store machine at the root directory
>> > skip_sanity_checks=true
>> >
>> > Are you experiencing this in 3.9 ? The bug is open on 3.10.
>> >
>> > Bset,
>> >
>> > --
>> >
>> > SHIRLY RADCO
>> >
>> > BI SeNIOR SOFTWARE ENGINEER
>> >
>> > Red Hat Israel <https://www.redhat.com/>
>> >
>> > <https://red.ht/sig>
>> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>> >
>> >
>> > On Thu, Jun 21, 2018 at 7:15 PM, > > <mailto:supo...@logicworks.pt>> wrote:
>> >
>> > Hi,
>> >
>> > I'm trying to configure oVirt metrics but when i run
>> >
>> > # ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
>> > @/root/vars.yaml -i /root/ansible-inventory-origin-39-aio
>> > playbooks/deploy_cluster.yml
>> >
>> > i always get this error:
>> >
>> > Failure summary:
>> >
>> >
>> > 1. Hosts: localhost
>> > Play: Verify Requirements
>> > Task: Validate openshift_node_groups and openshift_node_group_name
>> > Message: last_checked_host: localhost, last_checked_var:
>> > openshift_node_group_name;openshift_node_group_name must be
>> > defined for all nodes
>> >
>> >
>> > What am I missing here?
>> >
>> > Thanks
>> >
>> >
>> >
>> > --
>> > 
>> 
>> > Jose Ferradeira
>> > http://www.logicworks.pt
>> >
>> > ___
>> > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
>> > To unsubscribe send an email to users-le...@ovirt.org
>> > <mailto:users-le...@ovirt.org>
>> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> > <https://www.ovirt.org/site/privacy-policy/>
>> > oVirt Code of Conduct:
>> > https://www.ovirt.org/community/about/community-guidelines/
>> > <https://www.ovirt.org/community/about/community-guidelines/>
>> > List Archives:
>> > https://lists.ovirt.org/archives/list/users@ovirt.org/messag
>> e/QQMEHPYZUWZSZURSBLCSL4PLDW374K34/
>> > <https://lists.ovirt.org/archives/list/users@ovirt.org/messa
>> ge/QQMEHPYZUWZSZURSBLCSL4PLDW374K34/>
>> >
>> >
>>
>
>
>
___
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/VCFIAX6Y7YHSF7P6WHX5W4OCU45QSTPO/


[ovirt-users] Re: oVirt Metrics

2018-07-17 Thread Shirly Radco
Hi,

I'm so happy you managed to get it working for you.
I'm aware of the ansible version issue and the Openshift team is working to
fix it.
Currently ansible 2.5.5 and 2.5.6 seem to be working ok.

Yes. You can add to the /etc/ovirt-engine-metrics/config.yml

collectd_interval: 20

(The default is 10 seconds)

And rerun
the 
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
This will update the collection interval on all your machines.

In addition, If there are metrics you do not wish to collect you can update
the collectd config files in
/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.ovirt-collectd/ovirt-host/templates/
and
/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.ovirt-collectd/ovirt-engine/templates/

and rerun the
 
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh

We would like to add aggregations in the future for long term storage.
Currently we set the curator to save 3 days of metrics data. since metrics
consume lots of disk space.
Logs are kept for a month by default.
After that the curator deletes the old indexes.

You can update the curator but that will affect the disk size you will need.

This is the documentation for curator update and general info about curator:
https://docs.openshift.com/container-platform/3.9/install_config/aggregate_logging.html#configuring-curator
https://docs.openshift.com/container-platform/3.9/install_config/aggregate_logging.html#aggregate-logging-creating-the-curator-configuration

I hope this will help you.

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, Jul 17, 2018 at 9:04 AM,  wrote:

> I did set it up yesterday and I intent to use it. Setup worked ok on
> Centos 7.5. Only problem was with depency of ansible for
> centos-openshift-origin39-candidate, which I had to deactivate from
> repos. It did work though and I am getting reports now. Anyway is there a
> way to "relax" the amount of data collected, say make collection every 20
> seconds instead of 10 seconds (I think that is the default.) Is there a way
> to get keep data for specific amount of time say 1 year and then discard
> the older data and vacuum the database ?
>
> Thank you and redhat for all your efforts on providing such a fine product.
> Regards
> George Vasilopoulos
> ___
> 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/ZEMUFIGU46H5LHS5IIIR4M54YWJNYY7N/
>
___
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/3OENF54ILEGBHFPKNOO3QCT3BLC5HWKX/


[ovirt-users] Re: oVirt reports using Grafana

2018-07-15 Thread Shirly Radco
Hello,

I have updated the blog "Build oVirt Reports Using Grafana" , I used latest
Grafana.
https://ovirt.org/blog/2018/06/ovirt-report-using-grafana/

It was also tested by our QE.

Thank you for your input on this issue and I hope this blog will make it
easier for you to use Grafana with oVirt DWH and get the statistics that
you need.

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, May 23, 2018 at 11:37 AM, Alejandro Cortina <
alejandro.corti...@gmail.com> wrote:

> Hi Shirly,
>
> I went through your instructions just yesterday and they work but some
> troubleshooting was needed. This is what I have found:
>
> * When adding the graph I also got syntax errors: '*pq: syntax error at
> or near "$"'*, maybe add an "ignore this error" line to the docs would be
> an improvement
> * I am new to grafana then I could not understand about templating. Took
> me a few *trips* to http://docs.grafana.org/reference/templating/ to
> understand it. Maybe some simple instructions would make experience better.
> * Regarding tremplating:
>
> cluster_name
> - fails: SELECT cluster_name FROM v4_2_configuration_history_clusters
> WHERE datacenter_id = $datacenter_id
> - not fail: SELECT cluster_name FROM v4_2_configuration_history_clusters
> WHERE datacenter_id='$datacenter_id'
>
> cluster_id
> - fails: SELECT cluster_id FROM v4_2_configuration_history_clusters WHERE
> datacenter_id = $datacenter_id
> - not fail: SELECT cluster_id FROM v4_2_configuration_history_clusters
> WHERE datacenter_id ='$datacenter_id'
>
> there are many more.
>
> * Modifying DB, even DWH views are stable I think it would be better to
> instruct to make backup.
>
> Regarding modifying DB, Is it possible to revert these changes?
>
> Thanks!
>
> On Tue, May 22, 2018 at 6:09 PM, Shirly Radco  wrote:
>
>>
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SENIOR SOFTWARE ENGINEER
>>
>> Red Hat Israel
>>
>>
>> TRIED. TESTED. TRUSTED.
>>
>>
>>
>> On Fri, May 18, 2018, 16:02 Vincent Royer  wrote:
>>
>>> Yes I agree, because the database contains so many version specific
>>> pointers, all of them will stop working when you upgrade. So that's no good!
>>>
>>
>> Not sure what you mean. The DWH  views are stable and we currently
>> support 3.6 and above views. It means you do not have to update the version
>> of the view.
>> Also DWH is pretty stable. So you should not expect many changes.
>>
>>
>>> If you ever get something decent working with Grafana, I'd be very
>>> interested.  I'm still not happy with the integration with the engine
>>> history database, I was never really able to get predictable output from
>>> it, and spent way too many hours messing around with it.
>>>
>>
>> Ill try and add a few more meaningful examples if that will help.
>>
>> Is the problem is how to join the tables together?
>>
>>
>>>
>>> On Thu, May 17, 2018 at 11:21 PM Karli Sjöberg 
>>> wrote:
>>>
>>>> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
>>>> > These are the same issues I ran into.  I did get it working, look up
>>>> > my post history and you'll find some solutions to the errors
>>>>
>>>> Big thanks, now I understand what the problem was!
>>>>
>>>> But I must say, after reading that thread, I´m actually more interested
>>>> in setting up the metrics store as it seems you get way more data out
>>>> of it without having to access the database directly. The point being,
>>>> the less manual stuff you do to alter the original setup in the engine,
>>>> the less issues you are going to have later on, with upgrades and such.
>>>>
>>>> /K
>>>>
>>>> >
>>>> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, 
>>>> > wrote:
>>>> > > Shirly, can you please update the blog post pointing to an updated
>>>> > > documentation page?
>>>> > >
>>>> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg :
>>>> > > > Heya!
>>>> > > >
>>>> > > > I've been whishing for reports in oVirt ever since the old
>>>> > > > 'Jasper
>>>> > > > Reports' was removed. For an Enterprise, having pretty graphs to
>>>> > > > look
>&g

[ovirt-users] Re: Antwort: Re: vacuumdb: could not connect to database ovirt_engine_history

2018-07-03 Thread Shirly Radco
Hi Didi,

Can you please have a look?

Thanks,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, Jul 3, 2018 at 2:20 PM,  wrote:

> Hi Shirly,
>
> here you are:
>
> --snip
> ovirt_engine_history=# SELECT * FROM history_configuration;
>  var_name  | var_value |  var_datetime
> ---+---+
>  default_language  | en_US |
>  firstSync | false | 2018-04-09 15:52:00+02
>  MinimalETLVersion | 4.2.0 |
>  lastHourAggr  |   | 2018-07-03 12:00:00+02
>  HourlyAggFailed   | false |
>  lastDayAggr   |   | 2018-07-02 00:00:00+02
> (6 rows)
>
> ovirt_engine_history=#
> --snap
>
> date
> Tue Jul  3 13:16:27 CEST 2018
>
> Thanky you,
> Ema
>
>
>
>
> Von:"Shirly Radco" 
> An:emanuel.santosvar...@mahle.com,
> Kopie:"Roy Golan" , "users" 
> Datum:03.07.2018 12:37
> Betreff:Re: [ovirt-users] Antwort: Re: vacuumdb: could not
> connect to database ovirt_engine_history
> --
>
>
>
> Hi,
>
> Please share your history_configuration table content
> in ovirt_engine_history db:
>
> SELECT * FROM history_configuration;
>
> the date and time you run this query
>
> and the ovirt_engine_dwh.log
>
>
>
>
>
> --
> *SHIRLY RADCO*
> BI SeNIOR SOFTWARE ENGINEER
> Red Hat Israel <https://www.redhat.com/>
>
> <https://red.ht/sig> *TRIED. TESTED. TRUSTED.*
> <https://redhat.com/trusted>
>
>
> On Fri, Jun 29, 2018 at 9:06 AM, <*emanuel.santosvar...@mahle.com*
> > wrote:
> Hi Roy, well db is alive :
>
>
> su - postgres -c 'scl enable rh-postgresql95 -- psql ovirt_engine_history'
> psql (9.5.9)
> Type "help" for help.
>
> ovirt_engine_history=# \dt
>  List of relations
>  Schema |   Name| Type  |Owner
> +---+---+---
> ---
>  public | calendar  | table | ovirt_engine_history
>  public | cluster_configuration | table | ovirt_engine_history
>  public | datacenter_configuration  | table | ovirt_engine_history
>  public | datacenter_storage_domain_map | table | ovirt_engine_history
>  public | enum_translator   | table | ovirt_engine_history
>  public | history_configuration | table | ovirt_engine_history
>  public | host_configuration| table | ovirt_engine_history
>  public | host_daily_history| table | ovirt_engine_history
>  public | host_hourly_history   | table | ovirt_engine_history
>  public | host_interface_configuration  | table | ovirt_engine_history
>  public | host_interface_daily_history  | table | ovirt_engine_history
>  public | host_interface_hourly_history | table | ovirt_engine_history
>  public | host_interface_samples_history| table | ovirt_engine_history
>  public | host_samples_history  | table | ovirt_engine_history
>  public | schema_version| table | ovirt_engine_history
>  public | statistics_vms_users_usage_daily  | table | ovirt_engine_history
>  public | statistics_vms_users_usage_hourly | table | ovirt_engine_history
>  public | storage_domain_configuration  | table | ovirt_engine_history
>  public | storage_domain_daily_history  | table | ovirt_engine_history
>  public | storage_domain_hourly_history | table | ovirt_engine_history
>  public | storage_domain_samples_history| table | ovirt_engine_history
>  public | tag_details   | table | ovirt_engine_history
>  public | tag_relations_history | table | ovirt_engine_history
>  public | users_details_history | table | ovirt_engine_history
>  public | vm_configuration  | table | ovirt_engine_history
>  public | vm_daily_history  | table | ovirt_engine_history
>  public | vm_device_history | table | ovirt_engine_history
>  public | vm_disk_configuration | table | ovirt_engine_history
>  public | vm_disk_daily_history | table | ovirt_engine_history
>  public | vm_disk_hourly_history| table | ovirt_engine_history
>  public | vm_disk_samples_history   | table | ovirt_engine_history
>  public | vm_disks_usage_daily_history  | table | ovirt_engine_history
>  public | vm_disks_usage_hourly_history | table | ovirt_engine_history
>  public | v

[ovirt-users] Re: Antwort: Re: vacuumdb: could not connect to database ovirt_engine_history

2018-07-03 Thread Shirly Radco
Hi,

Please share your history_configuration table content in ovirt_engine_history
db:

SELECT * FROM history_configuration;

the date and time you run this query

and the ovirt_engine_dwh.log





--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Fri, Jun 29, 2018 at 9:06 AM,  wrote:

> Hi Roy, well db is alive :
>
>
> su - postgres -c 'scl enable rh-postgresql95 -- psql ovirt_engine_history'
> psql (9.5.9)
> Type "help" for help.
>
> ovirt_engine_history=# \dt
>  List of relations
>  Schema |   Name| Type  |Owner
> +---+---+---
> ---
>  public | calendar  | table | ovirt_engine_history
>  public | cluster_configuration | table | ovirt_engine_history
>  public | datacenter_configuration  | table | ovirt_engine_history
>  public | datacenter_storage_domain_map | table | ovirt_engine_history
>  public | enum_translator   | table | ovirt_engine_history
>  public | history_configuration | table | ovirt_engine_history
>  public | host_configuration| table | ovirt_engine_history
>  public | host_daily_history| table | ovirt_engine_history
>  public | host_hourly_history   | table | ovirt_engine_history
>  public | host_interface_configuration  | table | ovirt_engine_history
>  public | host_interface_daily_history  | table | ovirt_engine_history
>  public | host_interface_hourly_history | table | ovirt_engine_history
>  public | host_interface_samples_history| table | ovirt_engine_history
>  public | host_samples_history  | table | ovirt_engine_history
>  public | schema_version| table | ovirt_engine_history
>  public | statistics_vms_users_usage_daily  | table | ovirt_engine_history
>  public | statistics_vms_users_usage_hourly | table | ovirt_engine_history
>  public | storage_domain_configuration  | table | ovirt_engine_history
>  public | storage_domain_daily_history  | table | ovirt_engine_history
>  public | storage_domain_hourly_history | table | ovirt_engine_history
>  public | storage_domain_samples_history| table | ovirt_engine_history
>  public | tag_details   | table | ovirt_engine_history
>  public | tag_relations_history | table | ovirt_engine_history
>  public | users_details_history | table | ovirt_engine_history
>  public | vm_configuration  | table | ovirt_engine_history
>  public | vm_daily_history  | table | ovirt_engine_history
>  public | vm_device_history | table | ovirt_engine_history
>  public | vm_disk_configuration | table | ovirt_engine_history
>  public | vm_disk_daily_history | table | ovirt_engine_history
>  public | vm_disk_hourly_history| table | ovirt_engine_history
>  public | vm_disk_samples_history   | table | ovirt_engine_history
>  public | vm_disks_usage_daily_history  | table | ovirt_engine_history
>  public | vm_disks_usage_hourly_history | table | ovirt_engine_history
>  public | vm_disks_usage_samples_history| table | ovirt_engine_history
>  public | vm_hourly_history | table | ovirt_engine_history
>  public | vm_interface_configuration| table | ovirt_engine_history
>  public | vm_interface_daily_history| table | ovirt_engine_history
>  public | vm_interface_hourly_history   | table | ovirt_engine_history
>  public | vm_interface_samples_history  | table | ovirt_engine_history
>  public | vm_samples_history| table | ovirt_engine_history
> (40 rows)
>
> ovirt_engine_history=#
>
>
>
>
>
>
> Von:"Roy Golan" 
> An:emanuel.santosvar...@mahle.com,
> Kopie:users@ovirt.org
> Datum:28.06.2018 17:37
> Betreff:Re: [ovirt-users] vacuumdb: could not connect to database
> ovirt_engine_history
> --
>
>
>
>
>
> On Thu, 28 Jun 2018 at 18:06 <*emanuel.santosvar...@mahle.com*
> > wrote:
> ..trying to update from 4.2.3 to 4.2.4 engine-setup fails with the
> following error:
>
> --snip
> 2018-06-28 16:26:45,507+0200 DEBUG otopi.plugins.ovirt_engine_
> setup.ovirt_engine_dwh.db.vacuum plugin.execute:926 execute-output:
> ['/usr/share/ovirt-engine-dwh/bin/dwh-vacuum.sh', '-f', '-v'] stderr:
> vacuumdb: could not connect to database ovirt_engine_history: FATAL:
>  password authentication failed for user "ovir

[ovirt-users] Re: metrics

2018-06-24 Thread Shirly Radco
Hi,

I see there is an OpenShift bug about this issue
https://bugzilla.redhat.com/show_bug.cgi?id=1589629
"Bug 1589629 - Install logging/metrics failed at TASK [Validate
openshift_node_groups and openshift_node_group_name]"


I see there is a workaround
https://bugzilla.redhat.com/show_bug.cgi?id=1589629#c2

to add to ansible-inventory-origin-39-aio that is in your metrics store
machine at the root directory
skip_sanity_checks=true

Are you experiencing this in 3.9 ? The bug is open on 3.10.

Bset,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Thu, Jun 21, 2018 at 7:15 PM,  wrote:

> Hi,
>
> I'm trying to configure oVirt metrics but when i run
>
> # ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-39-aio
> playbooks/deploy_cluster.yml
>
> i always get this error:
>
> Failure summary:
>
>
> 1. Hosts: localhost
> Play: Verify Requirements
> Task: Validate openshift_node_groups and openshift_node_group_name
> Message: last_checked_host: localhost, last_checked_var:
> openshift_node_group_name;openshift_node_group_name must be defined for
> all nodes
>
>
> What am I missing here?
>
> Thanks
>
>
>
> --
> --
> Jose Ferradeira
> http://www.logicworks.pt
>
> ___
> 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/QQMEHPYZUWZSZURSBLCSL4PLDW374K34/
>
>
___
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/QDKVOKGW5YWH6OIYYCB2FU7VTN5QI6KD/


[ovirt-users] Re: oVirt Metrics

2018-06-14 Thread Shirly Radco
It includes the metrics for the vms using the collectd virt plugin.  CPU,
Memory, disk IO etc.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Thu, Jun 14, 2018 at 12:53 PM, maoz zadok  wrote:

> Does it provides metrics for the guest?  like CPU, Memory, disk IO etc?
>
> On Mon, Jun 11, 2018 at 2:57 PM Shirly Radco  wrote:
>
>> Dear users,
>>
>> I would love to get some feedback if someone has tried to install and use
>> the oVirt metrics store, released in 4.2, for collecting metrics and logs,
>> based on Elasticsearch, Kibana, Collectd and Fluentd on top of OpenShift.
>> https://www.ovirt.org/develop/release-management/features/
>> metrics/metrics-store/
>>
>> How did the installation go? Are you actively using it?
>> And any other feedback would be much appreciated.
>>
>> Best regards,
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SeNIOR SOFTWARE ENGINEER
>>
>> Red Hat Israel <https://www.redhat.com/>
>> <https://red.ht/sig>
>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>> ___
>> 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/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
>>
>
___
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/PG5DKZEH2INKKHA52EFWNB6UK7VLASDB/


[ovirt-users] Re: oVirt Metrics

2018-06-12 Thread Shirly Radco
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, Jun 12, 2018 at 11:43 AM, Shirly Radco  wrote:

> Hi Rich,
>
> Are you families with this OpenShift installation issue?
>
familiar*

>
> Best,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Mon, Jun 11, 2018 at 4:20 PM, Carlos Rodrigues 
> wrote:
>
>> Hi,
>>
>> i'm trying to install oVirt Metrics following the installation guide (h
>> ttps://www.ovirt.org/develop/release-
>> management/features/metrics/metrics-store-installation/) but i have
>> some issues running deploy cluster from here https://www.ovirt.org/deve
>> lop/release-management/features/metrics/setting-up-viaq-logging/
>> <https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/>
>>
>> cd /usr/share/ansible/openshift-ansible
>> # (or wherever you cloned the git repo if using git)
>> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
>> @/root/vars.yaml -i /root/ansible-inventory-origin-39-aio
>> playbooks/deploy_cluster.yml
>>
>> I fails on Web console installation:
>>
>> 2018-06-06 19:48:24,020 p=17586 u=root |  [DEPRECATION WARNING]: Using
>> tests as filters is deprecated. Instead of using
>> `result|version_compare` instead use `result is version_compare`. This
>> feature
>>  will be removed in version 2.9.
>> Deprecation warnings can be disabled by setting
>> deprecation_warnings=False in ansible.cfg.
>> 2018-06-06 19:48:24,135 p=17586 u=root |  Using module file
>> /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
>> 2018-06-06 19:48:27,093 p=17586 u=root |  fatal: [localhost]: FAILED!
>> => {
>> "changed": true,
>> "cmd": [
>> "oc",
>> "logs",
>> "deployment/webconsole",
>> "--tail=50",
>> "--config=/tmp/console-ansible-C8XDuW/admin.kubeconfig",
>> "-n",
>> "openshift-web-console"
>> ],
>> "delta": "0:00:01.567694",
>> "end": "2018-06-06 19:48:26.706407",
>> "invocation": {
>> "module_args": {
>> "_raw_params": "oc logs deployment/webconsole --tail=50 --
>> config=/tmp/console-ansible-C8XDuW/admin.kubeconfig -n openshift-web-
>> console",
>> "_uses_shell": false,
>> "chdir": null,
>> "creates": null,
>> "executable": null,
>> "removes": null,
>> "stdin": null,
>> "warn": true
>>     }
>>
>> },
>> "msg": "non-zero return code",
>> "rc": 1,
>> "start": "2018-06-06 19:48:25.138713",
>> "stderr": "Error from server (BadRequest): container \"webconsole\"
>> in pod \"webconsole-84466b9d97-s4x28\" is waiting to start:
>> ContainerCreating",
>> "stderr_lines": [
>> "Error from server (BadRequest): container \"webconsole\" in
>> pod \"webconsole-84466b9d97-s4x28\" is waiting to start:
>> ContainerCreating"
>> ],
>> "stdout": "",
>> "stdout_lines": []
>> }
>> 2018-06-06 19:48:27,097 p=17586 u=root |  ...ignoring
>>
>> Regards,
>> Carlos Rodrigues
>>
>> On Mon, 2018-06-11 at 13:30 +0300, Shirly Radco wrote:
>> > Dear users,
>> >
>> > I would love to get some feedback if someone has tried to install and
>> > use the oVirt metrics store, released in 4.2, for collecting metrics
>> > and logs, based on Elasticsearch, Kibana, Collectd and Fluentd on top
>> > of OpenShift.
>> > https://www.ovirt.org/develop/release-management/features/metrics/met
>> > rics-store/
>> >
>> > How did the installation go? Are you actively using it?
>> > And any other feedback would be much appreciated.
>> >
>> > Best regards,
>> > --
>> > SHIRLY RADCO
>> > BI SENIOR SOFTWARE ENGINEER
>> > Red Hat Israel
>> >   TRIED. TESTED. TRUSTED.
>> > ___
>> > 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/communit
>> > y-guidelines/
>> > List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
>> > message/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
>> --
>> Carlos Rodrigues
>>
>> Engenheiro de Software Sénior
>>
>> Eurotux Informática, S.A. | www.eurotux.com
>> (t) +351 253 680 300 (m) +351 911 926 110
>>
>
>
___
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/6JEGRG4OVFG4TLMDHQFTWUPY5YXE4EYW/


[ovirt-users] Re: oVirt Metrics

2018-06-12 Thread Shirly Radco
Hi Rich,

Are you families with this OpenShift installation issue?

Best,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Jun 11, 2018 at 4:20 PM, Carlos Rodrigues  wrote:

> Hi,
>
> i'm trying to install oVirt Metrics following the installation guide (h
> ttps://www.ovirt.org/develop/release-
> management/features/metrics/metrics-store-installation/) but i have
> some issues running deploy cluster from here https://www.ovirt.org/deve
> lop/release-management/features/metrics/setting-up-viaq-logging/
>
> cd /usr/share/ansible/openshift-ansible
> # (or wherever you cloned the git repo if using git)
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-39-aio
> playbooks/deploy_cluster.yml
>
> I fails on Web console installation:
>
> 2018-06-06 19:48:24,020 p=17586 u=root |  [DEPRECATION WARNING]: Using
> tests as filters is deprecated. Instead of using
> `result|version_compare` instead use `result is version_compare`. This
> feature
>  will be removed in version 2.9.
> Deprecation warnings can be disabled by setting
> deprecation_warnings=False in ansible.cfg.
> 2018-06-06 19:48:24,135 p=17586 u=root |  Using module file
> /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
> 2018-06-06 19:48:27,093 p=17586 u=root |  fatal: [localhost]: FAILED!
> => {
> "changed": true,
> "cmd": [
> "oc",
> "logs",
> "deployment/webconsole",
> "--tail=50",
> "--config=/tmp/console-ansible-C8XDuW/admin.kubeconfig",
> "-n",
> "openshift-web-console"
> ],
> "delta": "0:00:01.567694",
> "end": "2018-06-06 19:48:26.706407",
> "invocation": {
> "module_args": {
> "_raw_params": "oc logs deployment/webconsole --tail=50 --
> config=/tmp/console-ansible-C8XDuW/admin.kubeconfig -n openshift-web-
> console",
> "_uses_shell": false,
> "chdir": null,
> "creates": null,
> "executable": null,
> "removes": null,
> "stdin": null,
> "warn": true
> }
>
> },
> "msg": "non-zero return code",
> "rc": 1,
> "start": "2018-06-06 19:48:25.138713",
> "stderr": "Error from server (BadRequest): container \"webconsole\"
> in pod \"webconsole-84466b9d97-s4x28\" is waiting to start:
> ContainerCreating",
> "stderr_lines": [
> "Error from server (BadRequest): container \"webconsole\" in
> pod \"webconsole-84466b9d97-s4x28\" is waiting to start:
> ContainerCreating"
> ],
> "stdout": "",
> "stdout_lines": []
> }
> 2018-06-06 19:48:27,097 p=17586 u=root |  ...ignoring
>
> Regards,
> Carlos Rodrigues
>
> On Mon, 2018-06-11 at 13:30 +0300, Shirly Radco wrote:
> > Dear users,
> >
> > I would love to get some feedback if someone has tried to install and
> > use the oVirt metrics store, released in 4.2, for collecting metrics
> > and logs, based on Elasticsearch, Kibana, Collectd and Fluentd on top
> > of OpenShift.
> > https://www.ovirt.org/develop/release-management/features/metrics/met
> > rics-store/
> >
> > How did the installation go? Are you actively using it?
> > And any other feedback would be much appreciated.
> >
> > Best regards,
> > --
> > SHIRLY RADCO
> > BI SENIOR SOFTWARE ENGINEER
> > Red Hat Israel
> >   TRIED. TESTED. TRUSTED.
> > ___
> > 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/communit
> > y-guidelines/
> > List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> > message/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
> --
> Carlos Rodrigues
>
> Engenheiro de Software Sénior
>
> Eurotux Informática, S.A. | www.eurotux.com
> (t) +351 253 680 300 (m) +351 911 926 110
>
___
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/BVOYKXXR7MYSD5V5HLREZDLXFEBS7OHR/


[ovirt-users] Re: oVirt Metrics

2018-06-12 Thread Shirly Radco
There is an option to log to the OpenShift admin portal.
It is located at https://:8443
and same user and password.

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Jun 11, 2018 at 9:13 PM, Karli Sjöberg  wrote:

>
>
> On Jun 11, 2018 19:00, Yaniv Kaul  wrote:
>
>
>
> On Mon, Jun 11, 2018, 6:59 PM Karli Sjöberg  wrote:
>
>
>
> On Jun 11, 2018 13:59, Shirly Radco  wrote:
>
> Dear users,
>
> I would love to get some feedback if someone has tried to install and use
> the oVirt metrics store, released in 4.2, for collecting metrics and logs,
> based on Elasticsearch, Kibana, Collectd and Fluentd on top of OpenShift.
> https://www.ovirt.org/develop/release-management/features/
> metrics/metrics-store/
>
> How did the installation go? Are you actively using it?
> And any other feedback would be much appreciated.
>
> Best regards,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> ___
> 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/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
>
>
> I have, and while I can say that it works, it was far from easy! I can't
> remember all of the gotchas I had to go through but most of them stemmed
> from the fact that I tested it all on a three node oVirt HCI cluster that
> was actually VM's with nested virtualization, which meant fairly limited
> resources but eventually got it working.
>
> Being completely new to OpenShift, a guide that needs more work is the
> single sign on from oVirt to OS. The instructions are way too unclear for
> me, and wrapping your head around how the login and permissions system
> works in OS took a while, to create an equal 'admin' account to log in with.
>
> Second, isn't OS just an above layer of kubernetes under it, or is that a
> misunderstanding on my part? If it is though, where is the administration
> page for Kubernetes in all of that? I'm thinking in the sense of how you
> can add more nodes to continue building a larger cluster for containers.
>
>
> OpenShift is much more than just Kubernetes, but specifically this
> instance should be used solely for metrics and logging and is therefore
> specifically installed as an all-in-one installation.
> Y.
>
>
> OK, yeah, for sure! But is there no Kubernetes console in this all-in-one
> installation?
>
> /K
>
>
>
> But once everything was setup and able to log in to the Kibana interface
> and loading up the dashboards you've made, I was really impressed with how
> much data you got visualized for free. Thumbs up!
>
> /K
> ___
> 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/CWMPCP3ZRT2CR56IVNG6JS7EMNVFSN3W/
>
>
>
___
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/ZQHVJ2BPTY7I5QP5ZEII3Y5XHRSE7Y2F/


[ovirt-users] Re: oVirt Metrics

2018-06-12 Thread Shirly Radco
Hi,

No need to install agents in the vms. Collectd virt plugin reports the
statistics about the vms from the host.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Jun 11, 2018 at 3:26 PM, Marcelo Leandro 
wrote:

> Hello,
> Good morning Shirley.
> I am have one doubt , for collecting metrics need install agents in vms?.
>
> Very thanks.
>
> Marcelo Leandro
>
___
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/64PYX3BLICDZITRVOF5ROY2RAD3WHTS4/


[ovirt-users] oVirt Metrics

2018-06-11 Thread Shirly Radco
Dear users,

I would love to get some feedback if someone has tried to install and use
the oVirt metrics store, released in 4.2, for collecting metrics and logs,
based on Elasticsearch, Kibana, Collectd and Fluentd on top of OpenShift.
https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/

How did the installation go? Are you actively using it?
And any other feedback would be much appreciated.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
___
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/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/


[ovirt-users] Re: oVirt 4.1 ETL service sampling has encounterd an error

2018-06-06 Thread Shirly Radco
In that case there is a workaround but I would recommend upgrading to 4.2
if you can.

I did not test the workaround:

You can add to /usr/share/ovirt-engine-dwh/packaging/dbscripts/upgrade/
a file called

04_01_0025__updated_vm_interface_history_id_to_bigint.sql

with the same content as in my patch:
_

-- Update vm_interface_* statistics table history_id to bigint

SELECT fn_db_change_column_type('vm_interface_daily_history', 'history_id',
'integer', 'bigint');
SELECT fn_db_change_column_type('vm_interface_hourly_history',
'history_id', 'integer', 'bigint');
SELECT fn_db_change_column_type('vm_interface_samples_history',
'history_id', 'integer', 'bigint');

_

and run engine-setup

engine-setup drops all views, makes the updates to the db and recreates the
views.

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Jun 6, 2018 at 1:04 PM, Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Sorry was looking at the engine database, rather than
> ovirt_engine_history database.
>
>
> When running
>
>
> SELECT fn_db_change_column_type('vm_interface_daily_history',
> 'history_id', 'integer', 'bigint');
>
>
> I get
>
>
>
> ERROR:  cannot alter type of a column used by a view or rule
> DETAIL:  rule _RETURN on view v4_1_statistics_vms_
> interfaces_resources_usage_daily depends on column "history_id"
> CONTEXT:  SQL statement "ALTER TABLE vm_interface_daily_history ALTER
> COLUMN history_id TYPE bigint"
> PL/pgSQL function fn_db_change_column_type(character varying,character
> varying,character varying,character varying) line 9 at EXECUTE statement
>
>
> Thanks,
>
>  Paul S.
> --
> *From:* Staniforth, Paul
> *Sent:* 06 June 2018 09:57
> *To:* Shirly Radco
>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] oVirt 4.1 ETL service sampling has
> encounterd an error
>
>
> Thanks Shirly,
>
>   unfortunately Microsoft sent your reply to my Junk
> Email folder so I have only noticed it today.
>
> Is there any instructions on how to run the script? I can't find any
> tables or views with the vm_interface_daily_history, etc  columns.
>
>
> I'm not a database expert.
>
>
> Regards,
>
>Paul S.
>
>
> --
> *From:* Shirly Radco 
> *Sent:* 05 June 2018 14:52
> *To:* Staniforth, Paul
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] oVirt 4.1 ETL service sampling has
> encounterd an error
>
> Hi,
>
> This was fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1541924
> in version 4.2.2.
>
>
> I believe you can update manually the history_id field in tables  -
> vm_interface_daily_history, vm_interface_hourly_history,
> vm_interface_samples_history
> from integer to bigint and it should fix the issue, but I did not test on
> 4.1.
>
> like in:
> https://gerrit.ovirt.org/#/c/87139/4/packaging/dbscripts/
> upgrade/04_02_0020__updated_vm_interface_history_id_to_bigint.sql
>
>
> Best,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Tue, Jun 5, 2018 at 2:28 PM, Staniforth, Paul <
> p.stanifo...@leedsbeckett.ac.uk> wrote:
>
>> Hello,
>>
>>
>> our oVirt 4.1 system has had a DWH error since around 4am this morning,
>>
>>
>> It comes up with the error
>>
>>
>> ETL service sampling has encountered an error. Please consult the service
>> log for more details
>>
>>
>> in the ovirt-engine-dwh.log
>>
>>
>> 2018-06-05 
>> 12:00:18|QXiOTi|gAp8Q4|Cz1F21|OVIRT_ENGINE_DWH|SampleRunJobs|Default|6|Java
>> Exception|tRunJob_5|java.lang.RuntimeException:Child job running failed|1
>> Exception in component tRunJob_1
>> java.lang.RuntimeException: Child job running failed
>> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJ
>> ob.tRunJob_1Process(SampleTimeKeepingJob.java:6067)
>> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJ
>> ob.tJDBCInput_2Process(SampleTimeKeepingJob.java:5809)
>> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJ
>> ob.tJDBCConnection_1Process(SampleTimeKeepingJob.java:)
>> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJ
>> ob.tJDBCConnection_2Process(SampleTimeKeepingJob.java:4319)
>> at ovirt_engine_dwh.sampletimekee

[ovirt-users] Re: oVirt 4.1 ETL service sampling has encounterd an error

2018-06-05 Thread Shirly Radco
Hi,

This was fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1541924
in version 4.2.2.


I believe you can update manually the history_id field in tables  -
vm_interface_daily_history, vm_interface_hourly_history,
vm_interface_samples_history
from integer to bigint and it should fix the issue, but I did not test on
4.1.

like in:
https://gerrit.ovirt.org/#/c/87139/4/packaging/dbscripts/upgrade/04_02_0020__updated_vm_interface_history_id_to_bigint.sql


Best,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, Jun 5, 2018 at 2:28 PM, Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hello,
>
>
> our oVirt 4.1 system has had a DWH error since around 4am this morning,
>
>
> It comes up with the error
>
>
> ETL service sampling has encountered an error. Please consult the service
> log for more details
>
>
> in the ovirt-engine-dwh.log
>
>
> 2018-06-05 
> 12:00:18|QXiOTi|gAp8Q4|Cz1F21|OVIRT_ENGINE_DWH|SampleRunJobs|Default|6|Java
> Exception|tRunJob_5|java.lang.RuntimeException:Child job running failed|1
> Exception in component tRunJob_1
> java.lang.RuntimeException: Child job running failed
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.
> SampleTimeKeepingJob.tRunJob_1Process(SampleTimeKeepingJob.java:6067)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCInput_2Process(SampleTimeKeepingJob.java:5809)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCConnection_1Process(SampleTimeKeepingJob.java:)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCConnection_2Process(SampleTimeKeepingJob.java:4319)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tRowGenerator_2Process(SampleTimeKeepingJob.java:4188)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCInput_3Process(SampleTimeKeepingJob.java:3593)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCInput_5Process(SampleTimeKeepingJob.java:2977)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCInput_4Process(SampleTimeKeepingJob.java:2295)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.SampleTimeKeepingJob.
> tJDBCConnection_3Process(SampleTimeKeepingJob.java:1649)
> at ovirt_engine_dwh.sampletimekeepingjob_4_1.
> SampleTimeKeepingJob$2.run(SampleTimeKeepingJob.java:11363)
>
>
> and in the postgres log there is
>
>
> ERROR:  integer out of range
> STATEMENT:  INSERT INTO vm_interface_samples_history (history_datetime,vm_
> interface_id,receive_rate_percent,transmit_rate_percent,
> vm_interface_configuration_version,received_total_byte,transmitted_total_byte)
> VALUES ($1,$2,$3,$4,$5,$6,$7)
> ERROR:  current transaction is aborted, commands ignored until end of
> transaction block
>
>
> Thanks,
>
>  Paul S.
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>
>
> ___
> 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/C6MLPVLJDKQ7AQLSPJ7Q3QVDAAFDZWUA/
>
>
___
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/RJDTXECMC6NWYMK7LWGL3CV4T2QGKKDU/


[ovirt-users] Re: oVirt reports using Grafana

2018-05-22 Thread Shirly Radco
--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel


TRIED. TESTED. TRUSTED.



On Fri, May 18, 2018, 16:02 Vincent Royer <vinc...@epicenergy.ca> wrote:

> Yes I agree, because the database contains so many version specific
> pointers, all of them will stop working when you upgrade. So that's no good!
>

Not sure what you mean. The DWH  views are stable and we currently support
3.6 and above views. It means you do not have to update the version of the
view.
Also DWH is pretty stable. So you should not expect many changes.


> If you ever get something decent working with Grafana, I'd be very
> interested.  I'm still not happy with the integration with the engine
> history database, I was never really able to get predictable output from
> it, and spent way too many hours messing around with it.
>

Ill try and add a few more meaningful examples if that will help.

Is the problem is how to join the tables together?


>
> On Thu, May 17, 2018 at 11:21 PM Karli Sjöberg <ka...@inparadise.se>
> wrote:
>
>> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
>> > These are the same issues I ran into.  I did get it working, look up
>> > my post history and you'll find some solutions to the errors
>>
>> Big thanks, now I understand what the problem was!
>>
>> But I must say, after reading that thread, I´m actually more interested
>> in setting up the metrics store as it seems you get way more data out
>> of it without having to access the database directly. The point being,
>> the less manual stuff you do to alter the original setup in the engine,
>> the less issues you are going to have later on, with upgrades and such.
>>
>> /K
>>
>> >
>> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, <sbona...@redhat.com>
>> > wrote:
>> > > Shirly, can you please update the blog post pointing to an updated
>> > > documentation page?
>> > >
>> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg <ka...@inparadise.se>:
>> > > > Heya!
>> > > >
>> > > > I've been whishing for reports in oVirt ever since the old
>> > > > 'Jasper
>> > > > Reports' was removed. For an Enterprise, having pretty graphs to
>> > > > look
>> > > > at is a must.
>> > > >
>> > > > Searching the subject, I've found this[*] and have managed to get
>> > > > it
>> > > > installed OK but having issues trying to follow the guide setting
>> > > > it
>> > > > up.
>> > > >
>> > > > First of all, I think the guide should have at least mentioned
>> > > > that
>> > > > 'pg_hba.conf' needs to be edited for the read only user to be
>> > > > able to
>> > > > connect to the database, I scratched my head around that for a
>> > > > while
>> > > > before I got it.
>> > > >
>> > > > When I first type in the query example, I got syntax errors:
>> > > > 'pq: syntax error at or near "$"'. I continued anyways since I
>> > > > figured
>> > > > it would be solved at a later point, which turned out to be true,
>> > > > since
>> > > > the next step is to use the "Templating feature" to add
>> > > > variables.
>> > > >
>> > > > Unfortunately this doesn't go so well, even though I followed the
>> > > > instructions very carefully. After hitting save on the first
>> > > > variable I
>> > > > am rewarded with the error message:
>> > > > 'Template variables could not be initialized: pq: column "en_us"
>> > > > does
>> > > > not exist.'
>> > > >
>> > > > Are the queries stated in the guide still correct? This is for
>> > > > 'user_locale':
>> > > > "SELECT DISTINCT language_code from enum_translator"
>> > > >
>> > > > [*]:https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana
>> > > > /
>> > > >
>> > > > TIA
>> > > > /K
>> > > > ___
>> > > > Users mailing list -- users@ovirt.org
>> > > > To unsubscribe send an email to users-le...@ovirt.org
>> > >
>> > >
>> > >
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt reports using Grafana

2018-05-22 Thread Shirly Radco
Hi,

I just wanted to update that I will off course retest the documentation and
update it as soon as I can.

Thank you for engaging and pointing out these issues. I want it working for
you as fast and easiest as possible.

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel


TRIED. TESTED. TRUSTED.



On Fri, May 18, 2018, 09:22 Karli Sjöberg <ka...@inparadise.se> wrote:

> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
> > These are the same issues I ran into.  I did get it working, look up
> > my post history and you'll find some solutions to the errors
>
> Big thanks, now I understand what the problem was!
>
> But I must say, after reading that thread, I´m actually more interested
> in setting up the metrics store as it seems you get way more data out
> of it without having to access the database directly. The point being,
> the less manual stuff you do to alter the original setup in the engine,
> the less issues you are going to have later on, with upgrades and such.
>
> /K
>
> >
> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, <sbona...@redhat.com>
> > wrote:
> > > Shirly, can you please update the blog post pointing to an updated
> > > documentation page?
> > >
> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg <ka...@inparadise.se>:
> > > > Heya!
> > > >
> > > > I've been whishing for reports in oVirt ever since the old
> > > > 'Jasper
> > > > Reports' was removed. For an Enterprise, having pretty graphs to
> > > > look
> > > > at is a must.
> > > >
> > > > Searching the subject, I've found this[*] and have managed to get
> > > > it
> > > > installed OK but having issues trying to follow the guide setting
> > > > it
> > > > up.
> > > >
> > > > First of all, I think the guide should have at least mentioned
> > > > that
> > > > 'pg_hba.conf' needs to be edited for the read only user to be
> > > > able to
> > > > connect to the database, I scratched my head around that for a
> > > > while
> > > > before I got it.
> > > >
> > > > When I first type in the query example, I got syntax errors:
> > > > 'pq: syntax error at or near "$"'. I continued anyways since I
> > > > figured
> > > > it would be solved at a later point, which turned out to be true,
> > > > since
> > > > the next step is to use the "Templating feature" to add
> > > > variables.
> > > >
> > > > Unfortunately this doesn't go so well, even though I followed the
> > > > instructions very carefully. After hitting save on the first
> > > > variable I
> > > > am rewarded with the error message:
> > > > 'Template variables could not be initialized: pq: column "en_us"
> > > > does
> > > > not exist.'
> > > >
> > > > Are the queries stated in the guide still correct? This is for
> > > > 'user_locale':
> > > > "SELECT DISTINCT language_code from enum_translator"
> > > >
> > > > [*]:https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana
> > > > /
> > > >
> > > > TIA
> > > > /K
> > > > ___
> > > > Users mailing list -- users@ovirt.org
> > > > To unsubscribe send an email to users-le...@ovirt.org
> > >
> > >
> > >
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: data flow for statistics for hosts and vms

2018-05-16 Thread Shirly Radco
Hi Peter,

The dwh views do not change, we support legacy views fro 3.6,  so we
recommend using DWH to get the statistics you want.
It is possible to connect grafana directly with DWH if that interest you.

Also, We have a new feature called "oVirt metrics store" that collectd many
statistics using and logs using fluentd to a central Elasticsearch and
Kibana.
I can elaborate on that if you want.

Best,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, May 15, 2018 at 4:23 PM, Peter Hudec <phu...@cnc.sk> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi,
>
> I'm trying to understand the flow how the stats from the VM and HOSTS
> are imported  into the engine.
>
> On each host there is VDSM. Using the vsdm-client I'm able to get HOST
> and VM stats
>
> vdsm-client Host getAllVmStats
> vdsm-client Host getStats
>
> Are the hosts pushing the data to the engine or vice versa? On the
> engine side there is java based vdsm-jsonrpc client so I guess the
> data are pulled from the hosts to the engine database.
>
>
Yes. Engine pulls the stats from the hosts every 15 seconds.


> And of course the question is which component on engine side is
> getting/requesting the data.
>
> I'm trying to get the stat less painless as query the API.
> Maybe the engine/dwh database could help but the scheme could change
> between releases, isn't it. or the engine DB.
>
> regards
> Peter
>
> - --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
>
> -BEGIN PGP SIGNATURE-
>
> iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr63zYACgkQQnvVWOJ3
> 5BC1BxAApSg29lv1KohiVeJNsFdF4i77e2H77drLe9Ffq1kg/+VESh6+ggeZIH1U
> W5e06PJeifoZbtWL2enaJsml9JZM/3kvqU5TC93sR8chvhfRo3GXS50tWCEe5b0R
> UPdpjgyYipN+i3Xibl/YxHMu9fwpFIH+VY+JWn70Dz5pjvgwn71ogCcRUA6Itvom
> 700Pwv4yV31hWyE6qXiWOth0Rfey3+QkEXtNhRrEOHeAzpNABS5Zixjocr9c5xhz
> AdLkUAGVvEQEYy/Nzyv8A8KRSY1z63Ijyv5hgQIpGkKfbXhRYrotY6EeqdJ6PYsF
> tQvkjjT+kJ5SBYClK/et9X4y2ZMe+4YX7lrsZnk8V/Oj3YYw2y1XlvXcrt0pZlHA
> G9QIhcn/chtBTslGOW0t4B603YRykausunc9XXq1IGKNyLHb/lrDiDh+x2dCg5vT
> sGJE/gQffSNSwk5oFBlG2U9aOgWvZ8m3nVCDdGo+1a9fc/KR8toQi9axsiIMVYb/
> dzbDmaYlXbKNwWdVirftTetxuwn44j2Kgv4b048ZmGwTvwc79UuoS8H9hv9LlBM6
> 7E7iqaGfKbExg0/EMZurd90P62zn8nIGnYEJUrxVU3aJ4E2gWflfSelYMymNtE+u
> aZAMxvK6gILQP2n45AVkKOTacQwX07QCzlvJ2sL4gNzQQ+UL52c=
> =RNAH
> -END PGP SIGNATURE-
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] ansible failure during host install

2018-05-06 Thread Shirly Radco
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Sun, May 6, 2018 at 12:47 PM, Shirly Radco <sra...@redhat.com> wrote:

> If you did not install the Openshift based metrics store you need to
> remove the /etc/ovirt-engine-metrics-config.yml file.
>

Sorry. Remove  /etc/ovirt-engine-metrics/config.yml

It is only required while setting up the metrics store.
>
> This should fix you host install issue, ansible will skip the roles
> related to the metrics configuration on the host.
> If you are interested in setting up the metrics store you can have a look
> at https://www.ovirt.org/develop/release-management/
> features/metrics/metrics-store/
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Fri, May 4, 2018 at 1:20 AM, Young, Matthew (Numerical Algorithms
> Group) <matthew.you...@bp.com> wrote:
>
>> I’ve gotten past that error with “oc delete route/docker-registry” before
>> restart the playbook
>>
>>
>>
>> Matt
>>
>>
>>
>> *From:* Young, Matthew (Numerical Algorithms Group)
>> *Sent:* Thursday, May 3, 2018 4:02 PM
>> *To:* 'Shirly Radco' <sra...@redhat.com>
>> *Cc:* users <users@ovirt.org>
>> *Subject:* RE: [ovirt-users] ansible failure during host install
>>
>>
>>
>> Ovirt-engine-metrics v1.1.3.4
>>
>>
>>
>> /etc/ovirt-engine-metrics/config.yml:
>>
>>   ovirt_env_name: data-science-sandbox
>>
>>   fluentd_elasticsearch_host: ovirt-metrics.datasci.bp.com
>>
>>   ovirt_elasticsearch_mounted_storage_path: /data
>>
>>
>>
>> I have not gotten the openshift based metrics store running.  It is
>> consistently timing out while performing “TASK [openshift_hosted :
>> Configure a passthrough route for docker-registry].”
>>
>> Failure summary:
>>
>>   1. Hosts:localhost
>>
>>  Play: Create Hosted Resources - registry
>>
>>  Task: Configure a passthrough route for docker-registry
>>
>>  Message:  {u'cmd': u'/usr/bin/oc replace -f
>> /tmp/docker-registry-DtGZqz --force -n default', u'returncode': 1,
>> u'results': {}, u'stderr': u'error: timed out waiting for the condition\n',
>> u'stdout': u'route "docker-registry" deleted\n'}
>>
>>
>>
>> Matt Young
>>
>>
>>
>> *From:* Shirly Radco <sra...@redhat.com>
>> *Sent:* Thursday, April 12, 2018 4:04 PM
>> *To:* Young, Matthew (Numerical Algorithms Group) <matthew.you...@bp.com>
>> *Cc:* users <users@ovirt.org>
>> *Subject:* Re: [ovirt-users] ansible failure during host install
>>
>>
>>
>> Hi,
>>
>>
>>
>> What version of ovirt-engine-metrics are you using?
>>
>>
>>
>> Did you already setup the OpenShift based metrics store to connect to?
>>
>>
>>
>> Have you configured /etc/ovirt-engine-metrics/config.yml?
>>
>>
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SENIOR SOFTWARE ENGINEER
>>
>> Red Hat Israel
>>
>>
>> TRIED. TESTED. TRUSTED.
>>
>>
>>
>>
>>
>> On Thu, Apr 12, 2018, 21:35 Young, Matthew (Numerical Algorithms Group) <
>> matthew.you...@bp.com> wrote:
>>
>> Hello all,
>>
>>
>>
>> I have been working on adding a new host to an oVirt cluster.  The
>> installation is failing in the ansible portion, specifically installing the
>> ansible elasticsearch ca cert.  I have no experience with ansible.  Does
>> anyone know what is causing this issue?  Or how to create this ca cert?
>>
>>
>>
>>  from ansible log
>>
>> …
>>
>> 2018-04-12 09:32:18,114 p=56616 u=ovirt |  TASK
>> [oVirt.ovirt-fluentd/fluentd-setup : Create fluentd.conf]
>> *
>>
>> 2018-04-12 09:32:18,730 p=56616 u=ovirt |  ok: [10.222.10.156] => {
>>
>> "changed": false,
>>
>> "checksum": "c9f88b60cd12ab8e3f3ffce1ae07654c89b06ef6",
>>
>> "gid": 0,
>>
>> "group": "root",
>>
>> "mode": "0640",
>>
>> "owner": "root",
>>
>> "path": &quo

Re: [ovirt-users] ansible failure during host install

2018-05-06 Thread Shirly Radco
If you did not install the Openshift based metrics store you need to remove
the /etc/ovirt-engine-metrics-config.yml file.
It is only required while setting up the metrics store.

This should fix you host install issue, ansible will skip the roles related
to the metrics configuration on the host.
If you are interested in setting up the metrics store you can have a look
at
https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Fri, May 4, 2018 at 1:20 AM, Young, Matthew (Numerical Algorithms Group)
<matthew.you...@bp.com> wrote:

> I’ve gotten past that error with “oc delete route/docker-registry” before
> restart the playbook
>
>
>
> Matt
>
>
>
> *From:* Young, Matthew (Numerical Algorithms Group)
> *Sent:* Thursday, May 3, 2018 4:02 PM
> *To:* 'Shirly Radco' <sra...@redhat.com>
> *Cc:* users <users@ovirt.org>
> *Subject:* RE: [ovirt-users] ansible failure during host install
>
>
>
> Ovirt-engine-metrics v1.1.3.4
>
>
>
> /etc/ovirt-engine-metrics/config.yml:
>
>   ovirt_env_name: data-science-sandbox
>
>   fluentd_elasticsearch_host: ovirt-metrics.datasci.bp.com
>
>   ovirt_elasticsearch_mounted_storage_path: /data
>
>
>
> I have not gotten the openshift based metrics store running.  It is
> consistently timing out while performing “TASK [openshift_hosted :
> Configure a passthrough route for docker-registry].”
>
> Failure summary:
>
>   1. Hosts:localhost
>
>  Play: Create Hosted Resources - registry
>
>  Task: Configure a passthrough route for docker-registry
>
>  Message:  {u'cmd': u'/usr/bin/oc replace -f
> /tmp/docker-registry-DtGZqz --force -n default', u'returncode': 1,
> u'results': {}, u'stderr': u'error: timed out waiting for the condition\n',
> u'stdout': u'route "docker-registry" deleted\n'}
>
>
>
> Matt Young
>
>
>
> *From:* Shirly Radco <sra...@redhat.com>
> *Sent:* Thursday, April 12, 2018 4:04 PM
> *To:* Young, Matthew (Numerical Algorithms Group) <matthew.you...@bp.com>
> *Cc:* users <users@ovirt.org>
> *Subject:* Re: [ovirt-users] ansible failure during host install
>
>
>
> Hi,
>
>
>
> What version of ovirt-engine-metrics are you using?
>
>
>
> Did you already setup the OpenShift based metrics store to connect to?
>
>
>
> Have you configured /etc/ovirt-engine-metrics/config.yml?
>
>
>
> --
>
> SHIRLY RADCO
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel
>
>
> TRIED. TESTED. TRUSTED.
>
>
>
>
>
> On Thu, Apr 12, 2018, 21:35 Young, Matthew (Numerical Algorithms Group) <
> matthew.you...@bp.com> wrote:
>
> Hello all,
>
>
>
> I have been working on adding a new host to an oVirt cluster.  The
> installation is failing in the ansible portion, specifically installing the
> ansible elasticsearch ca cert.  I have no experience with ansible.  Does
> anyone know what is causing this issue?  Or how to create this ca cert?
>
>
>
>  from ansible log
>
> …
>
> 2018-04-12 09:32:18,114 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Create fluentd.conf]
> *
>
> 2018-04-12 09:32:18,730 p=56616 u=ovirt |  ok: [10.222.10.156] => {
>
> "changed": false,
>
> "checksum": "c9f88b60cd12ab8e3f3ffce1ae07654c89b06ef6",
>
> "gid": 0,
>
> "group": "root",
>
> "mode": "0640",
>
> "owner": "root",
>
> "path": "/etc/fluentd/fluent.conf",
>
> "secontext": "system_u:object_r:etc_t:s0",
>
> "size": 58,
>
> "state": "file",
>
> "uid": 0
>
> }
>
> 2018-04-12 09:32:18,739 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Install fluentd certificate]
> *
>
> 2018-04-12 09:32:18,759 p=56616 u=ovirt |  skipping: [10.222.10.156] => {
>
> "changed": false,
>
> "skip_reason": "Conditional result was False"
>
> }
>
> 2018-04-12 09:32:18,768 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Install fluentd elasticsearch CA
> certificate] ***
>
> 2018-04-12 09:32:18,810 p=56616 u=ovirt |  fatal: [10.222.10.156]: FAILED!
> => {
>
> "changed": false
>
> }
>
>
>
> MSG:
>
>
>
> src (or content) is required
>
>
>
> 2018-04-12 09:32:18,812 p=56616 u=ovirt |  PLAY RECAP
> *
>
> 2018-04-12 09:32:18,812 p=56616 u=ovirt |  10.222.10.156  :
> ok=33   changed=4unreachable=0failed=1
>
>
>
> 
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ansible failure during host install

2018-04-12 Thread Shirly Radco
Hi,

What version of ovirt-engine-metrics are you using?

Did you already setup the OpenShift based metrics store to connect to?

Have you configured /etc/ovirt-engine-metrics/config.yml?


--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel


TRIED. TESTED. TRUSTED.



On Thu, Apr 12, 2018, 21:35 Young, Matthew (Numerical Algorithms Group) <
matthew.you...@bp.com> wrote:

> Hello all,
>
>
>
> I have been working on adding a new host to an oVirt cluster.  The
> installation is failing in the ansible portion, specifically installing the
> ansible elasticsearch ca cert.  I have no experience with ansible.  Does
> anyone know what is causing this issue?  Or how to create this ca cert?
>
>
>
>  from ansible log
>
> …
>
> 2018-04-12 09:32:18,114 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Create fluentd.conf] *
>
> 2018-04-12 09:32:18,730 p=56616 u=ovirt |  ok: [10.222.10.156] => {
>
> "changed": false,
>
> "checksum": "c9f88b60cd12ab8e3f3ffce1ae07654c89b06ef6",
>
> "gid": 0,
>
> "group": "root",
>
> "mode": "0640",
>
> "owner": "root",
>
> "path": "/etc/fluentd/fluent.conf",
>
> "secontext": "system_u:object_r:etc_t:s0",
>
> "size": 58,
>
> "state": "file",
>
> "uid": 0
>
> }
>
> 2018-04-12 09:32:18,739 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Install fluentd certificate] *
>
> 2018-04-12 09:32:18,759 p=56616 u=ovirt |  skipping: [10.222.10.156] => {
>
> "changed": false,
>
> "skip_reason": "Conditional result was False"
>
> }
>
> 2018-04-12 09:32:18,768 p=56616 u=ovirt |  TASK
> [oVirt.ovirt-fluentd/fluentd-setup : Install fluentd elasticsearch CA
> certificate] ***
>
> 2018-04-12 09:32:18,810 p=56616 u=ovirt |  fatal: [10.222.10.156]: FAILED!
> => {
>
> "changed": false
>
> }
>
>
>
> MSG:
>
>
>
> src (or content) is required
>
>
>
> 2018-04-12 09:32:18,812 p=56616 u=ovirt |  PLAY RECAP
> *
>
> 2018-04-12 09:32:18,812 p=56616 u=ovirt |  10.222.10.156  :
> ok=33   changed=4unreachable=0failed=1
>
>
>
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Engine reports

2018-04-04 Thread Shirly Radco
Hi,


I have a updated the installation instructions for installing OpenShift
3.9, based on Rich's work , for the oVirt use case.

Please make sure where you get the 3.10 rpm and disable that repo.

This is the PR that includes the metrics store installation of OpenShift 3.9

https://github.com/sradco/ovirt-site/blob/74f1e772c8ca75d4b9e57a3c02cce49c5030f7f7/source/develop/release-management/features/metrics/setting-up-viaq-logging.html.md

It should be merged soon, but you can use it to install.


Please make sure to add the ansible-inventory-origin-39-aio file as
described below.
These are required parameters for the ansible playbook.


Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Apr 4, 2018 at 5:41 PM, Rich Megginson <rmegg...@redhat.com> wrote:

> I'm sorry.  I misunderstood the request.
>
> We are in the process of updating the instructions for installing viaq
> logging based on upstream origin 3.9 - https://github.com/ViaQ/Main/p
> ull/37
>
> In the meantime, you can follow along on that PR, and we will have
> instructions very soon.
>
>
> On 04/04/2018 08:26 AM, Rich Megginson wrote:
>
>> On 04/04/2018 08:22 AM, Shirly Radco wrote:
>>
>>>
>>>
>>> --
>>>
>>> SHIRLY RADCO
>>>
>>> BI SeNIOR SOFTWARE ENGINEER
>>>
>>> Red Hat Israel <https://www.redhat.com/>
>>>
>>> <https://red.ht/sig>
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>> On Wed, Apr 4, 2018 at 5:07 PM, Peter Hudec <phu...@cnc.sk >> phu...@cnc.sk>> wrote:
>>>
>>> almost the same issue, the versio for openshoft release changed to
>>> 3.9
>>>
>>> Failure summary:
>>>
>>>
>>>   1. Hosts:localhost
>>>  Play: Determine openshift_version to configure on first
>>> master
>>>  Task: For an RPM install, abort when the release
>>> requested does
>>> not match the available version.
>>>  Message:  You requested openshift_release 3.9, which is not
>>> matched by
>>>the latest OpenShift RPM we detected as origin-3.10.0
>>>on host localhost.
>>>We will only install the latest RPMs, so please ensure
>>> you are getting the release
>>>you expect. You may need to adjust your Ansible
>>> inventory, modify the repositories
>>>available on the host, or run the appropriate
>>> OpenShift
>>> upgrade playbook.
>>>
>>>
>>> What is the rpm version installed of OpenShift origin?
>>> Do you perhaps have another repo that includes the OpenShift
>>> origin-3.10.0?
>>>
>>
>> origin is the upstream version of OpenShift, which is unsupported.
>>
>> sudo repoquery -i origin
>>
>> This will tell you which repo it came from
>>
>> You will need to disable that repo and uninstall any packages which came
>> from that repo
>>
>> Another mystery is why it is trying to install origin in the first
>> place.  openshift-ansible with openshift_deployment_type=openshift-enterprise
>> should not try to install origin, it should install packages with names
>> like atomic-openshift-master, atomic-openshift-node, etc.
>>
>>
>>>
>>>
>>> On 04/04/2018 14:18, Shirly Radco wrote:
>>> > Adding Nicolas since he hit the same issue.
>>> >
>>> > --
>>> >
>>> > SHIRLY RADCO
>>> >
>>> > BI SeNIOR SOFTWARE ENGINEER
>>> >
>>> > Red Hat Israel <https://www.redhat.com/>
>>> >
>>> > <https://red.ht/sig>
>>> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>> >
>>> >
>>> > On Wed, Apr 4, 2018 at 3:17 PM, Shirly Radco <sra...@redhat.com
>>> <mailto:sra...@redhat.com>
>>> > <mailto:sra...@redhat.com <mailto:sra...@redhat.com>>> wrote:
>>> >
>>> > Hi Peter,
>>> >
>>> > The installation instructions currently support OpenShift 3.6.
>>> >
>>> > I'm now working on updating them to support 3.9.
>>

Re: [ovirt-users] Engine reports

2018-04-04 Thread Shirly Radco
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Apr 4, 2018 at 5:07 PM, Peter Hudec <phu...@cnc.sk> wrote:

> almost the same issue, the versio for openshoft release changed to 3.9
>
> Failure summary:
>
>
>   1. Hosts:localhost
>  Play: Determine openshift_version to configure on first master
>  Task: For an RPM install, abort when the release requested does
> not match the available version.
>  Message:  You requested openshift_release 3.9, which is not matched by
>the latest OpenShift RPM we detected as origin-3.10.0
>on host localhost.
>We will only install the latest RPMs, so please ensure
> you are getting the release
>you expect. You may need to adjust your Ansible
> inventory, modify the repositories
>available on the host, or run the appropriate OpenShift
> upgrade playbook.
>
>
What is the rpm version installed of OpenShift origin?
Do you perhaps have another repo that includes the OpenShift origin-3.10.0?



> On 04/04/2018 14:18, Shirly Radco wrote:
> > Adding Nicolas since he hit the same issue.
> >
> > --
> >
> > SHIRLY RADCO
> >
> > BI SeNIOR SOFTWARE ENGINEER
> >
> > Red Hat Israel <https://www.redhat.com/>
> >
> > <https://red.ht/sig>
> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> >
> >
> > On Wed, Apr 4, 2018 at 3:17 PM, Shirly Radco <sra...@redhat.com
> > <mailto:sra...@redhat.com>> wrote:
> >
> > Hi Peter,
> >
> > The installation instructions currently support OpenShift 3.6.
> >
> > I'm now working on updating them to support 3.9.
> >
> > You currently have 3.10 installed.
> >
> > Please install OpenShift 3.9 using this repository
> > https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo
> > <https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo>
> >
> > And add the following file to your vm
> >
> > Run:
> > vi /root/ansible-inventory-origin-39-aio
> >
> > Add:
> >
> > --
> > [OSEv3:children]
> > nodes
> > masters
> > etcd
> >
> > [OSEv3:vars]
> > ansible_connection=local
> > openshift_release=v3.9
> > openshift_logging_install_logging=true
> > short_version=3.9
> > openshift_deployment_type=origin
> > openshift_master_identity_providers=[{'mappingMethod': 'lookup',
> > 'challenge': 'true', 'login': 'true', 'kind':
> > 'AllowAllPasswordIdentityProvider', 'name': 'allow_all'}]
> > # bug - doesn't use correct tag
> > openshift_logging_image_version=v3.9
> > openshift_logging_elasticsearch_proxy_image_version=v1.0.0
> >
> > openshift_logging_es_allow_external=True
> > openshift_logging_use_mux=True
> > openshift_logging_mux_allow_external=True
> > openshift_logging_mux_file_buffer_storage_type=hostmount
> > openshift_logging_elasticsearch_storage_type=hostmount
> > openshift_logging_elasticsearch_hostmount_path=/
> var/lib/elasticsearch
> >
> > [nodes]
> > localhost storage=True openshift_node_labels="{'region': 'infra'}"
> > openshift_schedulable=True
> >
> > [masters]
> > localhost storage=True openshift_node_labels="{'region': 'infra'}"
> > openshift_schedulable=True
> >
> > [etcd]
> > localhost storage=True openshift_node_labels="{'region': 'infra'}"
> > openshift_schedulable=True
> >
> >
> > 
> >
> > Save and exit.
> >
> >
> > ***Please make sure that you use /var as your Elasticsearch
> > persistent storage directory.
> >
> > And when you run the OpenShift ansible
> > (https://www.ovirt.org/develop/release-management/
> features/metrics/setting-up-viaq-logging/#running-ansible
> > <https://www.ovirt.org/develop/release-management/
> features/metrics/setting-up-viaq-logging/#running-ansible>)
> > use the file you just created like this:
> >
> > # cd /usr/share/ansible/openshift-ansible
> > # (or wherever you cloned the git repo if using git)
> > ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> > @/root/vars.yaml -i /root/*ansible-inventory-origin-39-aio*
> > playbo

Re: [ovirt-users] Engine reports

2018-04-04 Thread Shirly Radco
Adding Nicolas since he hit the same issue.

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Apr 4, 2018 at 3:17 PM, Shirly Radco <sra...@redhat.com> wrote:

> Hi Peter,
>
> The installation instructions currently support OpenShift 3.6.
>
> I'm now working on updating them to support 3.9.
>
> You currently have 3.10 installed.
>
> Please install OpenShift 3.9 using this repository
> https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo
>
> And add the following file to your vm
>
> Run:
> vi /root/ansible-inventory-origin-39-aio
>
> Add:
>
> --
> [OSEv3:children]
> nodes
> masters
> etcd
>
> [OSEv3:vars]
> ansible_connection=local
> openshift_release=v3.9
> openshift_logging_install_logging=true
> short_version=3.9
> openshift_deployment_type=origin
> openshift_master_identity_providers=[{'mappingMethod': 'lookup',
> 'challenge': 'true', 'login': 'true', 'kind': '
> AllowAllPasswordIdentityProvider', 'name': 'allow_all'}]
> # bug - doesn't use correct tag
> openshift_logging_image_version=v3.9
> openshift_logging_elasticsearch_proxy_image_version=v1.0.0
>
> openshift_logging_es_allow_external=True
> openshift_logging_use_mux=True
> openshift_logging_mux_allow_external=True
> openshift_logging_mux_file_buffer_storage_type=hostmount
> openshift_logging_elasticsearch_storage_type=hostmount
> openshift_logging_elasticsearch_hostmount_path=/var/lib/elasticsearch
>
> [nodes]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
>
> [masters]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
>
> [etcd]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
>
>
> 
>
> Save and exit.
>
>
> ***Please make sure that you use /var as your Elasticsearch persistent
> storage directory.
>
> And when you run the OpenShift ansible (https://www.ovirt.org/
> develop/release-management/features/metrics/setting-up-
> viaq-logging/#running-ansible) use the file you just created like this:
>
> # cd /usr/share/ansible/openshift-ansible
> # (or wherever you cloned the git repo if using git)
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/*ansible-inventory-origin-39-aio*
> playbooks/byo/config.yml
>
> Best regards,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Wed, Apr 4, 2018 at 12:17 PM, Peter Hudec <phu...@cnc.sk> wrote:
>
>> Tried to install ovirt metrics, but got error
>>
>> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
>> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
>> playbooks/byo/config.yml
>>
>>   1. Hosts:localhost
>>  Play: Determine openshift_version to configure on first master
>>  Task: For an RPM install, abort when the release requested does
>> not match the available version.
>>  Message:  You requested openshift_release 3.7, which is not matched
>> by
>>the latest OpenShift RPM we detected as origin-3.10.0
>>on host localhost.
>>We will only install the latest RPMs, so please ensure
>> you are getting the release
>>you expect. You may need to adjust your Ansible
>> inventory, modify the repositories
>>available on the host, or run the appropriate OpenShift
>> upgrade playbook.
>>
>> regards
>> Peter
>>
>>
>> On 04/04/2018 09:13, Fred Rolland wrote:
>> > Hi,
>> >
>> > Check these links:
>> >
>> > https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
>> > https://ovirt.org/develop/release-management/features/metric
>> s/metrics-store/
>> >
>> > Regards,
>> > Fred
>> >
>> > On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava
>> > <rag...@exzatechconsulting.com <mailto:rag...@exzatechconsulting.com>>
>> > wrote:
>> >
>> > Hi,
>> >
>> > I see that oVirt DWH is installed with Version 4.2.x. Now, how do I
>> > take the reports? I version 3.5, we had Jasper reports module using
>> > which we could ta

Re: [ovirt-users] Engine reports

2018-04-04 Thread Shirly Radco
Hi Peter,

The installation instructions currently support OpenShift 3.6.

I'm now working on updating them to support 3.9.

You currently have 3.10 installed.

Please install OpenShift 3.9 using this repository
https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo

And add the following file to your vm

Run:
vi /root/ansible-inventory-origin-39-aio

Add:

--
[OSEv3:children]
nodes
masters
etcd

[OSEv3:vars]
ansible_connection=local
openshift_release=v3.9
openshift_logging_install_logging=true
short_version=3.9
openshift_deployment_type=origin
openshift_master_identity_providers=[{'mappingMethod': 'lookup',
'challenge': 'true', 'login': 'true', 'kind':
'AllowAllPasswordIdentityProvider', 'name': 'allow_all'}]
# bug - doesn't use correct tag
openshift_logging_image_version=v3.9
openshift_logging_elasticsearch_proxy_image_version=v1.0.0

openshift_logging_es_allow_external=True
openshift_logging_use_mux=True
openshift_logging_mux_allow_external=True
openshift_logging_mux_file_buffer_storage_type=hostmount
openshift_logging_elasticsearch_storage_type=hostmount
openshift_logging_elasticsearch_hostmount_path=/var/lib/elasticsearch

[nodes]
localhost storage=True openshift_node_labels="{'region': 'infra'}"
openshift_schedulable=True

[masters]
localhost storage=True openshift_node_labels="{'region': 'infra'}"
openshift_schedulable=True

[etcd]
localhost storage=True openshift_node_labels="{'region': 'infra'}"
openshift_schedulable=True




Save and exit.


***Please make sure that you use /var as your Elasticsearch persistent
storage directory.

And when you run the OpenShift ansible (
https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/#running-ansible)
use the file you just created like this:

# cd /usr/share/ansible/openshift-ansible
# (or wherever you cloned the git repo if using git)
ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e @/root/vars.yaml
-i /root/*ansible-inventory-origin-39-aio* playbooks/byo/config.yml

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Apr 4, 2018 at 12:17 PM, Peter Hudec <phu...@cnc.sk> wrote:

> Tried to install ovirt metrics, but got error
>
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
> playbooks/byo/config.yml
>
>   1. Hosts:localhost
>  Play: Determine openshift_version to configure on first master
>  Task: For an RPM install, abort when the release requested does
> not match the available version.
>  Message:  You requested openshift_release 3.7, which is not matched by
>the latest OpenShift RPM we detected as origin-3.10.0
>on host localhost.
>We will only install the latest RPMs, so please ensure
> you are getting the release
>you expect. You may need to adjust your Ansible
> inventory, modify the repositories
>available on the host, or run the appropriate OpenShift
> upgrade playbook.
>
> regards
> Peter
>
>
> On 04/04/2018 09:13, Fred Rolland wrote:
> > Hi,
> >
> > Check these links:
> >
> > https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
> > https://ovirt.org/develop/release-management/features/
> metrics/metrics-store/
> >
> > Regards,
> > Fred
> >
> > On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava
> > <rag...@exzatechconsulting.com <mailto:rag...@exzatechconsulting.com>>
> > wrote:
> >
> > Hi,
> >
> > I see that oVirt DWH is installed with Version 4.2.x. Now, how do I
> > take the reports? I version 3.5, we had Jasper reports module using
> > which we could take utilization reports. Can we do something similar
> > here?
> >
> > --
> >
> > Thanks & Regards,
> >
> >
> > Anantha Raghava
> >
> >
> > Do not print this e-mail unless required. Save Paper & trees.
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org <mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> > <http://lists.ovirt.org/mailman/listinfo/users>
> >
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-29 Thread Shirly Radco
Hi Peter,

Using the oVirt API will add load on the engine and may affect the engine
performance.
We have the DWH that collectd metrics and configuration data about the
hosts and vms and can be used along with Grafana.

We also added the oVirt metrics store that collects the metrics directly
from the host about the hosts and vms and from the engine about the machine
itself and postgres db.
This was done in order to lower the load on the engine.
We also collect the engine.log and vdsm.log.

The metrics are collected to Elasticsearch and can be visualised in Kibana
and Grafana and are collected in 10 sec interval that give you almost real
time view.
I would love to hear why you prefer using Zabbix for collecting the metrics
data.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Mar 28, 2018 at 5:38 PM, Peter Hudec <phu...@cnc.sk> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> I have working proof-of-concept. There still could  be bug in
> templates and not all parameters are monitored, but HOST and VM
> discovery is working.
>
> I will try to share it on github. At this moment I have some
> performance issues, since it's using the zabbix-agent which needs to
> for a new process for each query ;(
>
> Peter
>
> On 26/03/2018 08:13, Peter Hudec wrote:
> > Yes, template and python
> >
> > at this moment I understand oVirt API. I needed to write own small
> > SDK, since the oVirt SDK is using SSO for login, that means it do
> > some additional requests for login process. There is no option to
> > use Basic Auth. The SESSION reuse could be useful, but I do no
> > want to add more
> >
> > First  I need to understand some basics from Zabbix Discovery
> > Rules / Host Prototypes. I would like to have VM as separate hosts
> > in Zabbix, like VMWare does. The other stuff is quite easy.
> >
> > There plugin for nagios/icinga if someone using this monitoring
> > tool https://github.com/ovido/check_rhev3
> >
> > On 26/03/2018 08:02, Alex K wrote:
> >> Hi Peter,
> >
> >> This is interesting. Is it going to be a template with an
> >> external python script?
> >
> >> Alex
> >
> >> On Mon, Mar 26, 2018, 08:50 Peter Hudec <phu...@cnc.sk
> >> <mailto:phu...@cnc.sk>> wrote:
> >
> >> Hi Terry,
> >
> >> I started to work on ZABBIX integration based on oVirt API.
> >> Basically it should be like VmWare integration in ZABBIX with
> >> full hosts/vms discovery and statistic gathering.
> >
> >> The API provides  for each statistics service for NIC, VM as wall
> >> CPU and MEM utilization.
> >
> >> There is also solution based on reading data from VDSM to
> >> prometheus
> >> http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
> a
> >
> >>
> >>
> ta
> >
> >
> > center-with-prometheus
> >> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-
> d
> >
> >>
> >>
> atacenter-with-prometheus>.
> >
> >
> >
> >> Peter
> >
> >> On 22/03/2018 04:41, Terry hey wrote:
> >>> Dear all,
> >
> >>> Now, we can just read how many storage used, cpu usage on
> >>> ovirt dashboard. But is there any monitoring tool for
> >>> monitoring virtual machine time to time? If yes, could you guys
> >>> give me the procedure?
> >
> >
> >
> >>> Regards Terry
> >
> >
> >>> ___ Users mailing
> >>> list Users@ovirt.org <mailto:Users@ovirt.org>
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
> >> ___ Users mailing
> >> list Users@ovirt.org <mailto:Users@ovirt.org>
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
>
> - --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2 35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
>
> -BEGIN PGP SIGNATURE-
>
> iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq7qPsOHHBodWRlY0Bj
> bmMuc2sACgkQQnvVWOJ35BDXzw/8ChApssWNkM0HiixYESQP+lgxJeHqHYgvBbrQ
> DTfiOfTXrWDLIXn7LQdtt7IH4LtTDEwLcGBFSQCTUuX7W6y6Uj5y9pkcGLrtFYuP
> g1yBEPuqO3RB2Qo

Re: [ovirt-users] Any monitoring tool provided?

2018-03-27 Thread Shirly Radco
Adding Rich Megginson.

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Mar 28, 2018 at 1:10 AM, Nicolas Vaye <nicolas.v...@province-sud.nc>
wrote:

> OK, i have removed all libvirt-* packages
>
> i have seen that in the playbook, firewalld will be disable and iptables
> manage the firewall.
>
> I have a problem because my metric server was behind a proxy web and when
> i run
>
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
> playbooks/byo/config.yml
>
> i get
>
>
> CHECK [memory_availability : localhost] **
> 
> **
>
> fatal: [localhost]: FAILED! => {
>
> "changed": false,
>
> "checks": {
>
> "disk_availability": {},
>
> "docker_image_availability": {
>
> "failed": true,
>
> "failures": [
>
> [
>
> "OpenShiftCheckException",
>
> "One or more required container images are not
> available:\ncockpit/kubernetes:latest,\n
> openshift/origin-deployer:latest,\n
>   openshift/origin-docker-registry:latest,\n
> openshift/origin-haproxy-router:latest,\n
>   openshift/origin-pod:latest\nChecked with: skopeo inspect
> [--tls-verify=false] [--creds=:] 
> docker:///\nDefault
> registries searched: docker.io\nFailed connecting to: docker.io\n"
>
> ]
>
> ],
>
> "msg": "One or more required container images are not
> available:\ncockpit/kubernetes:latest,\n
> openshift/origin-deployer:latest,\n
>   openshift/origin-docker-registry:latest,\n
> openshift/origin-haproxy-router:latest,\n
>   openshift/origin-pod:latest\nChecked with: skopeo inspect
> [--tls-verify=false] [--creds=:] 
> docker:///\nDefault
> registries searched: docker.io\nFailed connecting to: docker.io\n"
>
> },
>
> "docker_storage": {
>
> "skipped": true,
>
> "skipped_reason": "Disabled by user request"
>
> },
>
> "memory_availability": {},
>
> "package_availability": {
>
> "changed": false,
>
> "invocation": {
>
> "module_args": {
>
> "packages": [
>
> "PyYAML",
>
> "bash-completion",
>
> "bind",
>
> "ceph-common",
>
> "cockpit-bridge",
>
> "cockpit-docker",
>
> "cockpit-system",
>
> "cockpit-ws",
>
> "dnsmasq",
>
> "docker",
>
> "etcd",
>
> "firewalld",
>
> "flannel",
>
> "glusterfs-fuse",
>
> "httpd-tools",
>
> "iptables",
>
> "iptables-services",
>
> "iscsi-initiator-utils",
>
> "libselinux-python",
>
> "nfs-utils",
>
> "ntp",
>
> "openssl",
>
> "origin",
>
> "origin-clients",
>
> "origin-master",
>
> "origin-node",
>
> "origin-sdn-ovs",
>
> "pyparted",
>
> "python-httplib2",
>
> "yum-utils"
>
> ]
>
> }
>
> }
>
> },
>
> "package_version": {
>
> "skipped": true,
>
> "skipped_reason": "Disabled by user request"
>
> 

Re: [ovirt-users] Any monitoring tool provided?

2018-03-27 Thread Shirly Radco
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Tue, Mar 27, 2018 at 8:32 AM, Nicolas Vaye <nicolas.v...@province-sud.nc>
wrote:

> Hi Shirly,
>
> I'm trying to install ovirt metric store with ViaQ on Origin.
>
> And on https://github.com/oVirt/ovirt-site/pull/1551/files, you mention
> **WARNING** DO NOT INSTALL `libvirt` on the OpenShift machine!
>
>
> on my VM "metric store", i requested rpm for libvirt and here are the
> results :
>
> [root@ometricstore<mailto:root@ometricstore> .ssh]# rpm -qa | grep libvirt
> libvirt-daemon-driver-secret-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-config-network-3.2.0-14.el7_4.9.x86_64
> libvirt-gconfig-1.0.0-1.el7.x86_64
> libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.9.x86_64
> libvirt-glib-1.0.0-1.el7.x86_64
> libvirt-libs-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.9.x86_64
> libvirt-gobject-1.0.0-1.el7.x86_64
> libvirt-daemon-driver-interface-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-qemu-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-kvm-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-network-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.9.x86_64
> libvirt-daemon-driver-storage-3.2.0-14.el7_4.9.x86_64
>
> should i remove all this package ?
>

Yes. You will need to remove them.

>
>
> Also on the web page https://www.ovirt.org/develop/
> release-management/features/metrics/metrics-store-installation/#run-ovirt-
> metrics-store-installation-playbook, you mention
>
> /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh
> --playbook=ovirt-metrics-store-installation.yml
>

I apologise for that. It is indeed a documentation bug.
Its should be

/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
--playbook=ovirt-metrics-store-installation.yml

as you mentioned.
I'll fix it asap.

>
>
> But on my hosted engine 4.2.1.7 with 
> ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch,
> i notice that the script
>
> configure_ovirt_hosts_for_metrics.sh doesn't exist but there is a
> configure_ovirt_machines_for_metrics.sh script.
>
> Is it the good one ?
>
>
>
> Next, you mention :
> Allow connections on the following ports/protocols:
>
>
> + * tcp ports 22, 80, 443, 8443 (openshift console), 9200 (Elasticsearch)
>
>
> following by
>
> ViaQ on Origin requires these [Yum Repos](centos7-viaq.repo).
>
>
>
>
>
>
>
>
>
>
> +You will need to install the following packages: docker,
> iptables-services.
>
>
> That means that i must uninstall firewalld ? And the ports/protocols will
> be managed by iptables-services ?
>

No , you can just open the ports in firewalld.



>
> What is the command to allow connections on tcp ports 22,80, 443 etc ?
>

To open a Port on CentOS/RHEL 7 run

sudo firewall-cmd --zone=public --add-port=80/tcp --permanent

for each port and

sudo firewall-cmd --reload

Check the updated rules with:

firewall-cmd --list-all

>
> Is it managed automatically with  docker or openshift or other program ?
>

The metrics store is managed by OpenShift.


>
>
> Thanks for all.
>
>
> Nicolas VAYE
>
>
>  Message initial 
>
> Date: Sun, 25 Mar 2018 12:01:23 +0300
> Objet: Re: [ovirt-users] Any monitoring tool provided?
> Cc: users <users@ovirt.org<mailto:users%20%3cus...@ovirt.org%3e>>
> À: Marcelo Leandro <marcelol...@gmail.com<mailto:Marcelo%20Leandro%20%
> 3cmarcelol...@gmail.com%3e>>
> De: Shirly Radco <sra...@redhat.com<mailto:Shir
> ly%20radco%20%3csra...@redhat.com%3e>>
>
>
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel<https://www.redhat.com/>
>
> [https://www.redhat.com/files/brand/email/sig-redhat.png] tps://red.ht/sig>
> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted>
>
>
> On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marcelol...@gmail.com
> <mailto:marcelol...@gmail.com>> wrote:
> Hello,
>
> I am try this how to:
>
> 

Re: [ovirt-users] Any monitoring tool provided?

2018-03-25 Thread Shirly Radco
It is possible to use DWH with Grafana to get VMs stats.
https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana/

Relevant views are with the following prefixes:

v4_2_statistics_vms_*
v4_2_latest_configuration_vms*
v4_2_configuration_history_vms*

They are all available also in earlier versions but the prefix will be
different, like v4_1_* for 4.1.


Another option is our new real time monitoring solution , which is based on
OpenShift and Elasticearch, Kibana and Fluentd.
https://ovirt.org/blog/2017/12/ovirt-metrics-store


--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Thu, Mar 22, 2018 at 5:41 AM, Terry hey <recreati...@gmail.com> wrote:

> Dear all,
>
> Now, we can just read how many storage used, cpu usage on ovirt dashboard.
> But is there any monitoring tool for monitoring virtual machine time to
> time?
> If yes, could you guys give me the procedure?
>
>
> Regards
> Terry
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-25 Thread Shirly Radco
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marcelol...@gmail.com>
wrote:

> Hello,
>
> I am try this how to:
>
> https://www.ovirt.org/develop/release-management/features/
> metrics/metrics-store-installation/
>
> but when i run this command:
> /usr/share/ovirt-engine-metrics/setup/ansible/
> configure_ovirt_machines_for_metrics.sh  --playbook=ovirt-
> metrics-store-installation.yml
>
> I am had this error mensagem:
> ansible-playbook: error: no such option: --playbook
>
> my version:
>
> ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
>

Hi,

You are using an old rpm.

Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch

I also added some documentation that is still in pull request:

Add Viaq installation guide to the oVirt metrics store repo -
https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I
introduced a lot of automation that save time when installing.

Add prerequisites for installing OpenShift Logging -
https://github.com/oVirt/ovirt-site/pull/1561

Added how to import dashboards examples to kibana -
https://github.com/oVirt/ovirt-site/pull/1559

Please review them.I'll try to get them merged asap.


>
> Anyone can help me?
>
>
> 2018-03-22 16:28 GMT-03:00 Christopher Cox <c...@endlessnow.com>:
>
>> On 03/21/2018 10:41 PM, Terry hey wrote:
>>
>>> Dear all,
>>>
>>> Now, we can just read how many storage used, cpu usage on ovirt
>>> dashboard.
>>> But is there any monitoring tool for monitoring virtual machine time to
>>> time?
>>> If yes, could you guys give me the procedure?
>>>
>>
>> A possible option, for a full OS with network connectivity, is to monitor
>> the VM like you would any other host.
>>
>> We use omd/check_mk.
>>
>> Right now there isn't an oVirt specific monitor plugin for check_mk.
>>
>> I know what I said is probably pretty obvious, but just in case.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New post on oVirt blog: Build oVirt Reports Using Grafana

2018-01-24 Thread Shirly Radco
Hi,

Did you manage to connect Grafana to DWH?

Best regards,

--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel



TRIED. TESTED. TRUSTED.



On Jan 22, 2018 20:10, "Andrei V" <andre...@starlett.lv> wrote:

> On 01/22/2018 06:37 PM, Roy Golan wrote:
> > We ship postgres 9.5 through the Software Collection. Its missing from
> your
> > path by default, so in order to run psql you need to:
> >
> > su - postgres
> > scl enable rh-postgresql95 -- psql engine engine
>
> scl enable rh-postgresql95 -- psql engine engine
> psql: FATAL:  Peer authentication failed for user "engine"
>
> Sorry, should it be:?
> scl enable rh-postgresql95 -- psql engine
>
> Do I need to re-enter everything for read-only oVirt DWH user ?
>
> >
> > On Mon, 22 Jan 2018 at 18:19 <andre...@starlett.lv> wrote:
> >
> >> On 22 Jan 2018, at 18:09, Mikhail Krasnobaev <mi...@ya.ru> wrote:
> >>
> >> Good day,
> >>
> >> i had the same issue, you can try running the commands directly from
> >> postgres user:
> >> su - postgres
> >> And the run the commands from blog post.
> >>
> >>
> >> I did everything as user postgres, otherwise it doesn’t work at all.
> >>
> >>
> >> Best regards,
> >>
> >> Mikhail.
> >>
> >> 17:58, 22 января 2018 г., Andrei V <andre...@starlett.lv>:
> >>
> >> Hi !
> >>
> >> Thanks a lot for excellent addition !
> >>
> >> I’ve got a problem with connecting Grafana to oVirt 4.2
> >> Followed this instruction and created read-only user usrmonovirt
> >> #
> >> https://www.ovirt.org/documentation/data-warehouse/
> Allowing_Read_Only_Access_to_the_History_Database/
> >>
> >> However, from Grafana login is is always failed:
> >> pq: Ident authentication failed for user “usrmonovirt"
> >> host = localhost:5432, database = ovirt_engine_history, SSL = disable
> >>
> >> Reset password with another or even NULL don’t help, still can’t
> connect.
> >> psql -U postgres -c "ALTER ROLE usrmonovirt WITH PASSWORD ‘mypassword';"
> >> -d ovirt_engine_history
> >> psql -U postgres -c "ALTER ROLE usrmonovirt WITH PASSWORD NULL;”  -d
> >> ovirt_engine_history
> >>
> >> What went wrong? I can’t understand.
> >>
> >> PS. Looks like oVirt engine spawns PostgreSQL with its own data dir,
> >> standard restart via systemcll returns an error (data dir is empty). Yet
> >> "ps -aux | grep postgres" shows process is running.
> >>
> >> Thanks in advance for any suggestion(s).
> >>
> >>
> >> On 21 Jan 2018, at 14:21, Shirly Radco <sra...@redhat.com> wrote:
> >>
> >> Hello everyone,
> >>
> >> A new oVirt blog post has been published, on how to build oVirt reports
> >> using Grafana.
> >> This allows connecting to oVirt DWH and create dashboards for System,
> >> Hosts, VMs, Storage domains etc.
> >>
> >> See https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/ for the
> >> full post.
> >>
> >> For more information you can contact me.
> >>
> >> Best regards,
> >>
> >> --
> >>
> >> SHIRLY RADCO
> >>
> >> BI SeNIOR SOFTWARE ENGINEER
> >> Red Hat Israel <https://www.redhat.com/>
> >> <https://red.ht/sig>
> >> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> >> ___
> >> 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
> >>
> >>
> >>
> >> Sent from Yandex.Mail for mobile: http://m.ya.ru/ymail
> >>
> >> ___
> >> 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


[ovirt-users] New post on oVirt blog: Build oVirt Reports Using Grafana

2018-01-21 Thread Shirly Radco
Hello everyone,

A new oVirt blog post has been published, on how to build oVirt reports
using Grafana.
This allows connecting to oVirt DWH and create dashboards for System,
Hosts, VMs, Storage domains etc.

See https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/ for the full
post.

For more information you can contact me.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.2.0 is now generally available

2017-12-24 Thread Shirly Radco
--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Sat, Dec 23, 2017 at 12:35 PM, Christophe TREFOIS <
christophe.tref...@uni.lu> wrote:

> Hi,
>
> Is it possible to include metrics store into an existing ELK stack?
>

We support our server side, if you have issues on your setup will not be
able to help, but it is possible.

The oVirt metrics store setup also includes the index templates for
elasticsearch for metrics and logs.

You will need to create them by yourself if you plan to use your own setup.

Best,
Shirly



>
> Thanks,
>
> --
>
> Dr Christophe Trefois, Dipl.-Ing.
> Technical Specialist / Post-Doc
>
> UNIVERSITÉ DU LUXEMBOURG
>
> LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
> Campus Belval | House of Biomedicine
> 6, avenue du Swing
> L-4367 Belvaux
> T: +352 46 66 44 6124 <+352%2046%2066%2044%206124>
> F: +352 46 66 44 6949 <+352%2046%2066%2044%206949>
> http://www.uni.lu/lcsb
>
> [image: Facebook] <https://www.facebook.com/trefex>  [image: Twitter]
> <https://twitter.com/Trefex>  [image: Google Plus]
> <https://plus.google.com/+ChristopheTrefois/>  [image: Linkedin]
> <https://www.linkedin.com/in/trefoischristophe>  [image: skype]
> <http://skype:Trefex?call>
>
> 
> This message is confidential and may contain privileged information.
> It is intended for the named recipient only.
> If you receive it in error please notify me and permanently delete the
> original message and any copies.
> 
>
>
> On 20 Dec 2017, at 10:40, Sandro Bonazzola <sbona...@redhat.com> wrote:
>
> The oVirt project is excited to announce the general availability of oVirt
> 4.2.0, as of December 20, 2017.
>
> This release unleashes an altogether more powerful and flexible open
> source virtualization solution that encompasses over 1000 individual
> changes and a wide range of enhancements across the engine, storage,
> network, user interface, and analytics.
>
> Key features include:
>
> - A redesigned Administration Portal, with an improved user-interface
> - A new VM portal for non-admin users, for a more streamlined experience
> - High Performance virtual machine type, for easy optimization of high
> performance workloads.
> - oVirt metrics store, a new monitoring solution providing complete
> infrastructure visibility
> - Support for virtual machine connectivity via software-defined networks
> - oVirt now supports Nvidia vGPU
> - The ovirt-ansible-roles set of packages helps users with common
> administration tasks
> - Virt-v2v now supports Debian/Ubuntu and EL and Windows-based virtual
> machines
>
> For more information about these and other features, check out the oVirt
> 4.2.0 blog post <https://ovirt.org/blog/2017/12/ovirt-4.2.0-now-ga/>.
>
> This release is available now on x86_64 architecture for:
> * Red Hat Enterprise Linux 7.4 or later
> * CentOS Linux (or similar) 7.4 or later
>
> This release supports Hypervisor Hosts on x86_64 and ppc64le (with 4.1
> cluster compatibility only) architectures for:
> * Red Hat Enterprise Linux 7.4 or later
> * CentOS Linux (or similar) 7.4 or later
> * oVirt Node 4.2 (available for x86_64 only)
>
> See the release notes [3] for installation / upgrade instructions and a
> list of new features and bugs fixed.
>
> If you’re managing more than one oVirt instance, OpenShift Origin or RDO
> we also recommend to try ManageIQ <http://manageiq.org/>.
>
>
> Notes:
> - oVirt Appliance is already available.
> - oVirt Node is already available [4]
> - oVirt Windows Guest Tools iso is already available [4]
>
> Additional Resources:
> * Read more about the oVirt 4.2.0 release highlights:
> http://www.ovirt.org/release/4.2.0/
> * Get more oVirt project updates on Twitter: https://twitter.com/ovirt
> * Check out the latest project news on the oVirt blog:
> http://www.ovirt.org/blog/
>
>
> [1] https://www.ovirt.org/community/
> [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
> [3] http://www.ovirt.org/release/4.2.0/
> [4] http://resources.ovirt.org/pub/ovirt-4.2/iso/
>
> --
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
> Red Hat EMEA <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Is this guide still valid?data-warehouse

2017-09-27 Thread Shirly Radco
--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Wed, Sep 27, 2017 at 4:26 PM, Arman Khalatyan <arm2...@gmail.com> wrote:

> Thank you for clarification,
> So in the future you are going to push everything to kibana as a storage,
> what about dashboards or some kind of reports views.
> Are you going to provide some reports templates as before in dwh in 3.0.6
> eg heatmaps etc..?
>

Templates for monitoring.Yes.


> From the https://www.ovirt.org/develop/release-management/
> features/metrics/metrics-store-installation/ one need to install
> OpenShift+kibana, Why then openshift not Ovirt??
>

Openshift will run elasticsearch, fluentd, kibana, curator.
This is the platform that was chosen as the common metrics and logging
solution at this point.


>
> On Wed, Sep 27, 2017 at 9:56 AM, Shirly Radco <sra...@redhat.com> wrote:
>
>> Hello Arman,
>>
>> Reports was deprecated in 4.0.
>>
>> DWH is now installed by default with oVirt engine.
>> You can refer to https://www.ovirt.org/documentation/how-to/reports/dwh/
>>
>> You can change its scale to save longer period of time if you want
>> https://www.ovirt.org/documentation/data-warehouse/Changing_
>> the_Data_Warehouse_Sampling_Scale/
>> and attach a reports solution that supports sql.
>>
>> I'll update the docs with the information about reports and fix the links.
>>
>> Thank you for reaching out on this issue.
>>
>> We are currently also working on adding oVirt Metrics solution that you
>> can read about at
>> https://www.ovirt.org/develop/release-management/features/me
>> trics/metrics-store/
>> It is still in development stages.
>>
>> Best regards,
>>
>> --
>>
>> SHIRLY RADCO
>>
>> BI SOFTWARE ENGINEER
>>
>> Red Hat Israel <https://www.redhat.com/>
>> <https://red.ht/sig>
>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>
>> On Mon, Sep 25, 2017 at 11:39 AM, Arman Khalatyan <arm2...@gmail.com>
>> wrote:
>>
>>> Dear Ovirt documents maintainers is this document still valid?
>>> https://www.ovirt.org/documentation/data-warehouse/Data_Warehouse_Guide/
>>> When I go one level up it is bringing an empty page:
>>> https://www.ovirt.org/documentation/data-warehouse/
>>>
>>> Thanks,
>>> Arman.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Is this guide still valid?data-warehouse

2017-09-27 Thread Shirly Radco
Hello Arman,

Reports was deprecated in 4.0.

DWH is now installed by default with oVirt engine.
You can refer to https://www.ovirt.org/documentation/how-to/reports/dwh/

You can change its scale to save longer period of time if you want
https://www.ovirt.org/documentation/data-warehouse/Changing_the_Data_Warehouse_Sampling_Scale/
and attach a reports solution that supports sql.

I'll update the docs with the information about reports and fix the links.

Thank you for reaching out on this issue.

We are currently also working on adding oVirt Metrics solution that you can
read about at
https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/
It is still in development stages.

Best regards,

--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Sep 25, 2017 at 11:39 AM, Arman Khalatyan <arm2...@gmail.com> wrote:

> Dear Ovirt documents maintainers is this document still valid?
> https://www.ovirt.org/documentation/data-warehouse/Data_Warehouse_Guide/
> When I go one level up it is bringing an empty page:
> https://www.ovirt.org/documentation/data-warehouse/
>
> Thanks,
> Arman.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Is this guide still valid?data-warehouse

2017-09-27 Thread Shirly Radco
Hi John,

Please review these pages.

Not sure what happened there

Best,

--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

-- Forwarded message --
From: Arman Khalatyan <arm2...@gmail.com>
Date: Mon, Sep 25, 2017 at 11:39 AM
Subject: [ovirt-users] Is this guide still valid?data-warehouse
To: users <users@ovirt.org>


Dear Ovirt documents maintainers is this document still valid?
https://www.ovirt.org/documentation/data-warehouse/Data_Warehouse_Guide/
When I go one level up it is bringing an empty page:
https://www.ovirt.org/documentation/data-warehouse/

Thanks,
Arman.

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


Re: [ovirt-users] ovirt reports

2017-08-23 Thread Shirly Radco
Hi Mahdi,

oVirt reports has been deprecated in 4.0.
We are working on the new oVirt metrics store solution.
Please see
http://www.ovirt.org/develop/release-management/features/metrics/metrics-store/

Best regards,

--

SHIRLY RADCO

BI SOFTWARE ENGINEER

Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

On Mon, Aug 21, 2017 at 2:20 PM, Mahdi Adnan <mahdi.ad...@outlook.com>
wrote:

> Hi,
>
>
> Im looking into getting reports out of ovirt, the documentation is not
> clear on how to get started with reporting, and the link to ovirt reports
> is broken;
>
> http://www.ovirt.org/documentation/how-to/reports/dwh/Ovirt_Reports#
> documentation how to reports dwh Ovirt Reports
>
>
> Any idea how to get data from DWH ?
>
>
> --
>
> Respectfully
> *Mahdi A. Mahdi*
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt Engine Reports oVirt >= 4

2017-07-20 Thread Shirly Radco
Hi Victor,

oVirt reports is not available since v4.0.
The oVirt DWH is available, can be queried by external reporting solutions
that support sql queries.
We are currently working on a the new metrics store solution for oVirt.

Please see:

http://www.ovirt.org/develop/release-management/features/engine/metrics-store/
http://www.ovirt.org/develop/release-management/features/engine/metrics-store-collected-metrics

Best regards,

--

SHIRLY RADCO

BI SOFTWARE ENGINEER,

Red Hat Israel <https://www.redhat.com/>

sra...@redhat.com
 <https://red.ht/sig>
 <https://redhat.com/summit>


On Wed, Jul 19, 2017 at 6:57 AM, Victor José Acosta Domínguez <
vic.a...@gmail.com> wrote:

> Hello everyone, quick question, is ovirt-engine-reports deprecated on
> oVirt >= 4?
>
> Because i don't find ovirt-engine-reports package on oVirt's 4 repo.
>
>
> Regards
>
> Victor Acosta
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1.2 and rubygem-fluent-plugin packages missing

2017-07-05 Thread Shirly Radco
Hi,


These package are required for oVirt Metrics.
We added in 4.1.3 as part of the setup script to also install these
packages if they are missing.
You are not required to manually install them.

Best regards,


--

SHIRLY RADCO

BI SOFTWARE ENGINEER,

Red Hat Israel <https://www.redhat.com/>

sra...@redhat.com
 <https://red.ht/sig>
 <https://redhat.com/summit>


On Tue, Jul 4, 2017 at 3:24 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

>
> Hello,
> an environment with engine in 4.1.2 and 3 hosts too (updated all from
> 4.0.5 3 days ago).
> In web admin gui the 3 hosts keep the symbol that there are updates
> available.
>
> In events message board I have
>
> Check for available updates on host ovirt01.localdomain.local was
> completed successfully with message 'found updates for packages
> rubygem-fluent-plugin-collectd-nest-0.1.3-1.el7,
> rubygem-fluent-plugin-viaq_data_model-0.0.3-1.el7'.
>
> But on host:
>
> [root@ovirt01 qemu]# yum update
> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>  * base: it.centos.contactlab.it
>  * epel: mirror.spreitzer.ch
>  * extras: it.centos.contactlab.it
>  * ovirt-4.1: ftp.nluug.nl
>  * ovirt-4.1-epel: mirror.spreitzer.ch
>  * updates: it.centos.contactlab.it
> No packages marked for update
> [root@ovirt01 qemu]#
>
> And
> [root@ovirt01 qemu]# rpm -q rubygem-fluent-plugin-collectd-nest
> rubygem-fluent-plugin-viaq_data_model
> package rubygem-fluent-plugin-collectd-nest is not installed
> package rubygem-fluent-plugin-viaq_data_model is not installed
> [root@ovirt01 qemu]#
>
> Is it a bug in 4.1.2? Or should I manually install these two packages?
>
> Thanks,
> Gianluca
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ETL service sampling has encountered an error. Please consult the service log for more details.

2017-04-23 Thread Shirly Radco
Hi Nicolas,

These are DWH error. I see in engine.log that around the time you are
referring to there are many connectipn errors to the postgresql database.
When DWH is unable to connect to the engine database and error is sent to
the ovirt-engine-history.log.
I don't see the error you are referring to in the engine.log.

The DWH samples every 20 second for statistics that are used to create the
ovirt dashboards.

If there is a problem with the postgres connection then the hourly
aggregation of the samples failed too.

I see that first postgres connection error started at 2017-04-20
11:06:04,162+01 ERROR .
I see the problem with the database is still not fixed.
Please check for the reason your database connection keeps closing.

Best regards,


--

SHIRLY RADCO

BI SOFTWARE ENGINEER,

Red Hat Israel <https://www.redhat.com/>

sra...@redhat.com
 <https://red.ht/sig>
 <https://redhat.com/summit>


On Thu, Apr 20, 2017 at 2:12 PM, <nico...@devels.es> wrote:

> Hi,
>
> We're using oVirt 4.1.1.8 (upgraded yesterday) and since it has been
> showing some strange errors I'd like to know about:
>
> ETL service sampling has encountered an error. Please consult the
> service log for more details.
>
> I'm attaching the engine log FWIW. This message showed up at 11:07:04 but
> in the log I see the exceptions started 1 minute ago.
>
> Also, at 11:07:58 this event showed up:
>
> Engine server is not responding.
>
> And at 11:12:58 it seems to recover:
>
> Engine server is up and running.
>
> At 12:00:00 this message showed up:
>
> ETL service aggregation to hourly tables has encountered an error.
> Please consult the service log for more details.
>
> But relative to this one I see nothing in logs.
>
> Could someone clarify what these error messages mean?
>
> Thanks.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-16 Thread Shirly Radco
Hi,

I will try and find what causes this issue and fix it.
We usually encounter this issue when the environment is not in utc (we
recommend utc).


--

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.


On Wed, Mar 15, 2017 at 1:02 PM, Andrea Ghelardi <
andrea.ghela...@iongroup.com> wrote:

> Cheers J
>
> @Shirley: being this the second report of the same issue, probably there
> is really a bug/problem somewhere?
>
> AG
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *Arsène Gschwind
> *Sent:* Wednesday, March 15, 2017 8:22 AM
> *To:* Shirly Radco <sra...@redhat.com>
> *Cc:* users <users@ovirt.org>
> *Subject:* Re: [ovirt-users] oVirt 4.1 Dashboard
>
>
>
> Hi,
>
> When creating the bug report I've found a similar bug
> https://bugzilla.redhat.com/show_bug.cgi?id=1414379. I've tried the
> provided solution and it did work for me, now the Dashboard shows
> everything.
>
> Thanks a lot for your help.
>
> Regards,
> Arsène
>
>
>
> On 03/13/2017 08:26 PM, Shirly Radco wrote:
>
> Hi,
>
>
>
> Please open a bug so we can better track you issue.
>
> As far as I can see from the screenshot the dwh does collect the samples,
> but do not aggregate it to hourly tables.
>
> 1. I see that you installed the full dwh. Did it work correctly in the
> past? Did you use the reports and was able to use them?
>
> 2. Please attach the ovirt_engine_history db dump and the dwh log and
> screenshot to the bug and state the versions of the engine and dwh.
>
>
>
>  Best regards,
>
>
> --
>
> Shirly Radco
>
> BI Software Engineer
>
> Red Hat Israel Ltd.
>
>
>
> On Mon, Mar 13, 2017 at 2:12 PM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
> Hi,
>
> I'm wondering if you could identify something. I've investigate on my side
> but couldn't find any problem but for some reason it seams DWH is not
> collecting data.
>
> Thanks a lot for any hint/help
>
> Rgds,
> Arsène
>
>
>
> On 03/07/2017 11:04 AM, Arsène Gschwind wrote:
>
> Please find files attached
>
>
>
> On 03/07/2017 10:48 AM, Shirly Radco wrote:
>
> Hi,
>
>
>
> Please attach ovirt-engine-dwh logs and a screenshot.
>
>
> Best regards,
>
> Shirly Radco
>
> BI Software Engineer
>
> Red Hat Israel Ltd.
>
> 34 Jerusalem Road
>
> Building A, 4th floor
>
> Ra'anana, Israel 4350109
>
>
>
> On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
> Please find engine.log attached
>
>
>
> On 03/07/2017 10:06 AM, Oved Ourfali wrote:
>
>
>
>
>
> On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
> Hi,
>
> I've update our oVirt installation 3.6 --> 4.0 --> 4.1, everything went
> smooth except update some of the hosts which i could update after several
> hour playing around.
>
> We greatly appreciate the dashboard in 4.1 but we see the information
> missing:
>
>1. On the cluster block in the upper part we see the amount of
>clusters but no Status (N/A)
>
>
>
> The reason there is no status there is that in oVirt there is no cluster
> status (look at the cluster main-tab, for example).
>
> We only have statuses for objects like DCs, Hosts, VMs, SDs (well, maybe
> we have for some more, but not clusters...).
>
> We decided to include clusters in the inventory part anyway, for user
> visibility, and provide access to the clusters main tab by pressing the
> link.
>
>
>
>
>
>
>1. On the lower part at "Cluster Utilization" and "Storage
>Utilization" we don't have any information at all.
>
> Where does this information come from? DWH service is up and running
>
> The inventory part is taken from the engine.
>
> All the rest is taken from DWH.
>
> You can start with sharing the engine logs here.
>
> Shirly - any other logs or information you think is required?
>
>
>
>
>
> Where do I have have to investigate further to find out what is
> missing/not working?
>
> Let me know if you need further information.
>
> Rgds,
> Arsène
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-13 Thread Shirly Radco
Hi,

Please open a bug so we can better track you issue.
As far as I can see from the screenshot the dwh does collect the samples,
but do not aggregate it to hourly tables.
1. I see that you installed the full dwh. Did it work correctly in the
past? Did you use the reports and was able to use them?
2. Please attach the ovirt_engine_history db dump and the dwh log and
screenshot to the bug and state the versions of the engine and dwh.

 Best regards,

--

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.


On Mon, Mar 13, 2017 at 2:12 PM, Arsène Gschwind <arsene.gschw...@unibas.ch>
wrote:

> Hi,
>
> I'm wondering if you could identify something. I've investigate on my side
> but couldn't find any problem but for some reason it seams DWH is not
> collecting data.
>
> Thanks a lot for any hint/help
>
> Rgds,
> Arsène
>
> On 03/07/2017 11:04 AM, Arsène Gschwind wrote:
>
> Please find files attached
>
> On 03/07/2017 10:48 AM, Shirly Radco wrote:
>
> Hi,
>
> Please attach ovirt-engine-dwh logs and a screenshot.
>
> Best regards,
>
> Shirly Radco
>
> BI Software Engineer
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
>
> On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
>> Please find engine.log attached
>>
>> On 03/07/2017 10:06 AM, Oved Ourfali wrote:
>>
>>
>>
>> On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind <
>> arsene.gschw...@unibas.ch> wrote:
>>
>>> Hi,
>>>
>>> I've update our oVirt installation 3.6 --> 4.0 --> 4.1, everything went
>>> smooth except update some of the hosts which i could update after several
>>> hour playing around.
>>>
>>> We greatly appreciate the dashboard in 4.1 but we see the information
>>> missing:
>>>
>>>1. On the cluster block in the upper part we see the amount of
>>>clusters but no Status (N/A)
>>>
>>>
>> The reason there is no status there is that in oVirt there is no cluster
>> status (look at the cluster main-tab, for example).
>> We only have statuses for objects like DCs, Hosts, VMs, SDs (well, maybe
>> we have for some more, but not clusters...).
>> We decided to include clusters in the inventory part anyway, for user
>> visibility, and provide access to the clusters main tab by pressing the
>> link.
>>
>>
>>
>>>
>>>1. On the lower part at "Cluster Utilization" and "Storage
>>>Utilization" we don't have any information at all.
>>>
>>> Where does this information come from? DWH service is up and running
>>>
>> The inventory part is taken from the engine.
>> All the rest is taken from DWH.
>> You can start with sharing the engine logs here.
>> Shirly - any other logs or information you think is required?
>>
>>
>>
>>> Where do I have have to investigate further to find out what is
>>> missing/not working?
>>>
>>> Let me know if you need further information.
>>>
>>> Rgds,
>>> Arsène
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] DWH reports in 4.X ?

2017-03-09 Thread Shirly Radco
Yes. We are working to integrate our engine and vdsm logs as well.
Hope you will find it helpful and would appreciate your input once we have
the metrics store in production.

--

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.


On Wed, Mar 8, 2017 at 4:44 PM, Eduardo Mayoral <emayo...@arsys.es> wrote:

> Thanks for your answer!
>
> Looks certainly interesting. I am using collectd with virt plugin + carbon
> + graphite + grafana for performance graphs of the hosts and the VMs right
> now ( oVirt 4.1 with nodes in CentOS 7.3)
>
> I like the idea of using fluentd for this instead of a relational
> database. Will it handle metrics and logs as well? I am asking because of
> the kibana component.
>
> Best regards,
>
> Eduardo Mayoral Jimeno (emayo...@arsys.es)
> Administrador de sistemas. Departamento de Plataformas. Arsys internet.+34 
> 941 620 145 ext. 5153 <+34%20941%2062%2001%2045>
>
> On 08/03/17 14:51, Shirly Radco wrote:
>
> Hi Eduardo,
>
> DWH still exists, and if you have a reports tool that supports sql you can
> use it with it.
> Reports was deprecated in 3.6.
>
> We are now working on adding a new metrics store solution for oVirt.
>
> For more details you can have a look at:
> http://www.ovirt.org/develop/release-management/features/eng
> ine/metrics-store/
>
> Currently in 4.1 the hosts and engine include Collectd and Fluentd.
> In 4.2 we expect to have the metrics store ready.
>
> You can try setting up the metrics store side from upstream for now.
> https://github.com/sradco/ovirt-metrics-conf
>
> <https://github.com/sradco/ovirt-metrics-conf>
>
> <https://github.com/sradco/ovirt-metrics-conf>
> The Fluent and Collectd configuration are handled at:
> https://github.com/oVirt/ovirt-engine-metrics
>
>
> Best regards,
>
> Shirly Radco
>
> BI Software Engineer
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
>
> On Tue, Mar 7, 2017 at 12:29 PM, Eduardo Mayoral <emayo...@arsys.es>
> wrote:
>
>>
>> Hi,
>>
>> I see the DWH reports disappeared in 3.5 or maybe 3.6, there seems
>> to be no substitute por 4.X
>>
>> Is there some alternative to have some pre-made reports from the DWH
>> on 4.X ? Maybe not something on the oVirt project itself but from
>> someone on the community?
>>
>> Thanks in advance!
>>
>> --
>> Eduardo Mayoral Jimeno (emayo...@arsys.es)
>> Administrador de sistemas. Departamento de Plataformas. Arsys internet.
>> +34 941 620 145 ext. 5153
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] DWH reports in 4.X ?

2017-03-08 Thread Shirly Radco
Hi Eduardo,

DWH still exists, and if you have a reports tool that supports sql you can
use it with it.
Reports was deprecated in 3.6.

We are now working on adding a new metrics store solution for oVirt.

For more details you can have a look at:
http://www.ovirt.org/develop/release-management/features/
engine/metrics-store/

Currently in 4.1 the hosts and engine include Collectd and Fluentd.
In 4.2 we expect to have the metrics store ready.

You can try setting up the metrics store side from upstream for now.
https://github.com/sradco/ovirt-metrics-conf

<https://github.com/sradco/ovirt-metrics-conf>

<https://github.com/sradco/ovirt-metrics-conf>
The Fluent and Collectd configuration are handled at:
https://github.com/oVirt/ovirt-engine-metrics


Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Tue, Mar 7, 2017 at 12:29 PM, Eduardo Mayoral <emayo...@arsys.es> wrote:

>
> Hi,
>
> I see the DWH reports disappeared in 3.5 or maybe 3.6, there seems
> to be no substitute por 4.X
>
> Is there some alternative to have some pre-made reports from the DWH
> on 4.X ? Maybe not something on the oVirt project itself but from
> someone on the community?
>
> Thanks in advance!
>
> --
> Eduardo Mayoral Jimeno (emayo...@arsys.es)
> Administrador de sistemas. Departamento de Plataformas. Arsys internet.
> +34 941 620 145 ext. 5153
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-07 Thread Shirly Radco
Hi,

Please attach ovirt-engine-dwh logs and a screenshot.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind <arsene.gschw...@unibas.ch>
wrote:

> Please find engine.log attached
>
> On 03/07/2017 10:06 AM, Oved Ourfali wrote:
>
>
>
> On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
>> Hi,
>>
>> I've update our oVirt installation 3.6 --> 4.0 --> 4.1, everything went
>> smooth except update some of the hosts which i could update after several
>> hour playing around.
>>
>> We greatly appreciate the dashboard in 4.1 but we see the information
>> missing:
>>
>>1. On the cluster block in the upper part we see the amount of
>>clusters but no Status (N/A)
>>
>>
> The reason there is no status there is that in oVirt there is no cluster
> status (look at the cluster main-tab, for example).
> We only have statuses for objects like DCs, Hosts, VMs, SDs (well, maybe
> we have for some more, but not clusters...).
> We decided to include clusters in the inventory part anyway, for user
> visibility, and provide access to the clusters main tab by pressing the
> link.
>
>
>
>>
>>1. On the lower part at "Cluster Utilization" and "Storage
>>Utilization" we don't have any information at all.
>>
>> Where does this information come from? DWH service is up and running
>>
> The inventory part is taken from the engine.
> All the rest is taken from DWH.
> You can start with sharing the engine logs here.
> Shirly - any other logs or information you think is required?
>
>
>
>> Where do I have have to investigate further to find out what is
>> missing/not working?
>>
>> Let me know if you need further information.
>>
>> Rgds,
>> Arsène
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ETL service sampling has encountered an error

2017-02-23 Thread Shirly Radco
Hi,

This in a known issue.
We have a bug targeted to 4.2 for this.
https://bugzilla.redhat.com/show_bug.cgi?id=137
This error means that the dwh tried to reach the engine database and for
some reason the heartbeat of the engine did not update since the last dwh
sync.


Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Tue, Feb 21, 2017 at 11:17 PM, Christophe TREFOIS <
christophe.tref...@uni.lu> wrote:

> Dear all,
>
> Since upgrading to 4.0.6, we see this error in the engine events tab and
> were wondering how to fix it.
>
> ovirt-engine-dwh.log
>
> —
> 2017-02-20 22:01:00|zPHx4s|6nXgTp|ygadfe|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
> —
>
> And in engine log the only error I see (repeated) since yesterday is
>
> 65366:2017-02-21 22:13:34,357 ERROR [org.ovirt.engine.core.
> vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] (DefaultQuartzScheduler10)
> [2dc75859] null architecture type, replacing with x86_64, %s
>
> Any advice on where to start is welcome.
>
> Kind regards,
> Christophe
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Large DWH Database, how to empty

2017-01-25 Thread Shirly Radco
Please see at the to of this section:
"The following is a list of options for configuring application settings
for the Data Warehouse service. These options are available in the
/usr/share/ovirt-engine-dwh/services/ovirt-engine-dwhd/ovirt-engine-dwhd.conf
 file. *Configure any changes to the default values in an override file
under /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/. Restart the Data
Warehouse service after saving the changes."*

So you need to add a file under
*/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/*
The file name is not important. It should end with ".conf"

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Wed, Jan 25, 2017 at 1:06 PM, Matt . <yamakasi@gmail.com> wrote:

> Hi Shirly,
>
> The reason why I ask is because the explanation here:
>
> https://access.redhat.com/documentation/en/red-hat-
> virtualization/4.0/single/data-warehouse-guide/#
> Application_Settings_for_the_Data_Warehouse_service_in_
> ovirt-engine-dwhd.conf
>
>
> 2017-01-24 10:49 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> > Hi,
> >
> > We don't update the ovirt-engine-dwhd.conf directly.
> >
> > You need to add the new file to  /ovirt-engine-dwhd.conf.d/ with the
> lines
> > DWH_TABLES_KEEP_SAMPLES=
> > DWH_TABLES_KEEP_HOURLY=
> > DWH_TABLES_KEEP_DAILY=0
> >
> > and set the values for how much time you want the data to be kept.
> > Keep in mind that the dashboards use the information from the samples and
> > hourly tables for the last 24 hours.
> >
> > This file will overwrite the default configurations after you restart
> > ovirt-engine-dwhd.
> >
> >
> >
> > Best regards,
> >
> > Shirly Radco
> >
> > BI Software Engineer
> > Red Hat Israel Ltd.
> > 34 Jerusalem Road
> > Building A, 4th floor
> > Ra'anana, Israel 4350109
> >
> >
> > On Tue, Jan 24, 2017 at 11:43 AM, Matt . <yamakasi@gmail.com> wrote:
> >>
> >> Shirly,
> >>
> >> I'm checking this out and aren't you sure the file is
> >> update_time_to_keep_records.conf and not ovirt-engine-dwhd.conf ?
> >>
> >> 2017-01-09 14:01 GMT+01:00 Matt . <yamakasi....@gmail.com>:
> >> > I think it did. Cluster exists 4 years now, hosted engine 7 months.
> >> >
> >> > 2017-01-08 13:50 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> >> >> No. But the delete process might have kicked in.
> >> >> How long does you environment exist?
> >> >>
> >> >> Best regards,
> >> >>
> >> >> Shirly Radco
> >> >>
> >> >> BI Software Engineer
> >> >> Red Hat Israel Ltd.
> >> >> 34 Jerusalem Road
> >> >> Building A, 4th floor
> >> >> Ra'anana, Israel 4350109
> >> >>
> >> >>
> >> >> On Sun, Jan 8, 2017 at 2:42 PM, Matt . <yamakasi@gmail.com>
> wrote:
> >> >>>
> >> >>> Hi,
> >> >>>
> >> >>> OK thanks! I saw that after upgrading to 4.0.5 from 4.0.4 the DB
> >> >>> already dropped with around 500MB directly and is now at 2GB
> smaller.
> >> >>>
> >> >>> Does this sounds familiar to you with other settings in 4.0.5 ?
> >> >>>
> >> >>>
> >> >>> Thanks,
> >> >>>
> >> >>> Matt
> >> >>>
> >> >>>
> >> >>>
> >> >>> 2017-01-08 10:45 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> >> >>> > No. That will corrupt your database.
> >> >>> >
> >> >>> > Are you using the full dwh or the smaller version for the
> >> >>> > dashboards?
> >> >>> >
> >> >>> > Please set the delete thresholds to save less data and the data
> >> >>> > older
> >> >>> > then
> >> >>> > the time you set will be deleted.
> >> >>> > Add a file to /ovirt-engine-dwhd.conf.d/
> >> >>> > update_time_to_keep_records.conf
> >> >>> >
> >> >>> > Add these lines with the new configurations. The numbers represent
> >> >>> > the
> >> >>> > hours
> >> >>> > to keep the data.
> >> >>> >
> >> >>&g

Re: [ovirt-users] Large DWH Database, how to empty

2017-01-24 Thread Shirly Radco
Hi,

We don't update the ovirt-engine-dwhd.conf directly.

You need to add the new file to  /ovirt-engine-dwhd.conf.d/ with the lines
DWH_TABLES_KEEP_SAMPLES=
DWH_TABLES_KEEP_HOURLY=
DWH_TABLES_KEEP_DAILY=0

and set the values for how much time you want the data to be kept.
Keep in mind that the dashboards use the information from the samples and
hourly tables for the last 24 hours.

This file will overwrite the default configurations after you restart
ovirt-engine-dwhd.



Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Tue, Jan 24, 2017 at 11:43 AM, Matt . <yamakasi@gmail.com> wrote:

> Shirly,
>
> I'm checking this out and aren't you sure the file is
> update_time_to_keep_records.conf and not ovirt-engine-dwhd.conf ?
>
> 2017-01-09 14:01 GMT+01:00 Matt . <yamakasi@gmail.com>:
> > I think it did. Cluster exists 4 years now, hosted engine 7 months.
> >
> > 2017-01-08 13:50 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> >> No. But the delete process might have kicked in.
> >> How long does you environment exist?
> >>
> >> Best regards,
> >>
> >> Shirly Radco
> >>
> >> BI Software Engineer
> >> Red Hat Israel Ltd.
> >> 34 Jerusalem Road
> >> Building A, 4th floor
> >> Ra'anana, Israel 4350109
> >>
> >>
> >> On Sun, Jan 8, 2017 at 2:42 PM, Matt . <yamakasi@gmail.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> OK thanks! I saw that after upgrading to 4.0.5 from 4.0.4 the DB
> >>> already dropped with around 500MB directly and is now at 2GB smaller.
> >>>
> >>> Does this sounds familiar to you with other settings in 4.0.5 ?
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Matt
> >>>
> >>>
> >>>
> >>> 2017-01-08 10:45 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> >>> > No. That will corrupt your database.
> >>> >
> >>> > Are you using the full dwh or the smaller version for the dashboards?
> >>> >
> >>> > Please set the delete thresholds to save less data and the data older
> >>> > then
> >>> > the time you set will be deleted.
> >>> > Add a file to /ovirt-engine-dwhd.conf.d/
> >>> > update_time_to_keep_records.conf
> >>> >
> >>> > Add these lines with the new configurations. The numbers represent
> the
> >>> > hours
> >>> > to keep the data.
> >>> >
> >>> > DWH_TABLES_KEEP_SAMPLES=24
> >>> > DWH_TABLES_KEEP_HOURLY=1440
> >>> > DWH_TABLES_KEEP_DAILY=43800
> >>> >
> >>> >
> >>> > These are the configurations for a full dwh.
> >>> >
> >>> > The smaller version configurations are:
> >>> > DWH_TABLES_KEEP_SAMPLES=24
> >>> > DWH_TABLES_KEEP_HOURLY=720
> >>> > DWH_TABLES_KEEP_DAILY=0
> >>> >
> >>> > The delete process by default at 3am every day
> (DWH_DELETE_JOB_HOUR=3)
> >>> >
> >>> > Best regards,
> >>> >
> >>> > Shirly Radco
> >>> >
> >>> > BI Software Engineer
> >>> > Red Hat Israel Ltd.
> >>> > 34 Jerusalem Road
> >>> > Building A, 4th floor
> >>> > Ra'anana, Israel 4350109
> >>> >
> >>> >
> >>> > On Fri, Jan 6, 2017 at 6:35 PM, Matt . <yamakasi@gmail.com>
> wrote:
> >>> >>
> >>> >> Hi,
> >>> >>
> >>> >> I seem to have some large database for the DWH logging and I wonder
> >>> >> how I can empty it safely.
> >>> >>
> >>> >> Can I just simply empty the database ?
> >>> >>
> >>> >> Have a good weekend!
> >>> >>
> >>> >> Cheers,
> >>> >>
> >>> >> Matt
> >>> >> ___
> >>> >> Users mailing list
> >>> >> Users@ovirt.org
> >>> >> http://lists.ovirt.org/mailman/listinfo/users
> >>> >
> >>> >
> >>
> >>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2017-01-17 Thread Shirly Radco
Hi Andrea,

I believe that dwh not working is unrelated to what Liron mentioned.
Please open a bug on ovirt-dwh and attach the dwh log and ovirt_engine_dwh
db dump, dashboard screenshot.

I will check what is the reason that data is not collected.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Tue, Jan 17, 2017 at 6:21 PM, Andrea Ghelardi <a.ghela...@iontrading.com>
wrote:

> Hello Liron,
> Thank you for your reply.
>
> So basically our DWH is not creating reports because vdsm is too slow in
> collecting results?
> I understand the message logged in engine is informational instead of
> warning, but still DWH is not working.
> Do you have any additional hint about what to check?
>
> Cheers
> AG
>
> -Original Message-
> From: Liron Aravot [mailto:lara...@redhat.com]
> Sent: Tuesday, January 17, 2017 2:30 PM
> To: Tal Nisan <tni...@redhat.com>
> Cc: Shirly Radco <sra...@redhat.com>; users <users@ovirt.org>; Andrea
> Ghelardi <a.ghela...@iontrading.com>
> Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.
>
> When a host is "connected" to a storage pool it monitors the active pool
> domains. When the domain monitoring results are reported back from the
> host, the first monitor run may haven't finished yet. In that case the
> returned status from vdsm is a dummy status and not an actual result - when
> getting such a status the engine logs it.
> We should change that log print to INFO rather then WARN.
>
> On Tue, Dec 20, 2016 at 12:17 PM, Tal Nisan <tni...@redhat.com> wrote:
> > Liron, can you please check why does this "report isn't an actual
> > report" is appearing in the log?
> >
> > On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi
> > <a.ghela...@iontrading.com> wrote:
> >>
> >> Hello Shirly,
> >>
> >> I restarted dwh service as per your suggestion with no success.
> >>
> >>
> >>
> >> Here a sample of DWH log:
> >>
> >> 2016-12-14
> >> 12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
> >> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
> >> updating the statistics. Please check your oVirt Engine status.|9704
> >>
> >> 2016-12-14
> >> 12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
> >> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
> >> updating the statistics. Please check your oVirt Engine status.|9704
> >>
> >> 2016-12-14
> >> 15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
> >> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
> >> updating the statistics. Please check your oVirt Engine status.|9704
> >>
> >> 2016-12-16 17:39:13|ETL Service Stopped
> >>
> >> 2016-12-16 17:39:14|ETL Service Started
> >>
> >> ovirtEngineDbDriverClass|org.postgresql.Driver
> >>
> >>
> >> ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/o
> >> ovirtEngineHistoryDbJdbcConnection|virt_engine_history?sslfactory=org
> >> ovirtEngineHistoryDbJdbcConnection|.postgresql.ssl.NonValidatingFacto
> >> ovirtEngineHistoryDbJdbcConnection|ry
> >>
> >> hoursToKeepDaily|0
> >>
> >> hoursToKeepHourly|720
> >>
> >> ovirtEngineDbPassword|**
> >>
> >> runDeleteTime|3
> >>
> >>
> >> ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?s
> >> ovirtEngineDbJdbcConnection|slfactory=org.postgresql.ssl.NonValidatin
> >> ovirtEngineDbJdbcConnection|gFactory
> >>
> >> runInterleave|20
> >>
> >> limitRows|limit 1000
> >>
> >> ovirtEngineHistoryDbUser|ovirt_engine_history
> >>
> >> ovirtEngineDbUser|engine
> >>
> >> deleteIncrement|10
> >>
> >> timeBetweenErrorEvents|30
> >>
> >> hoursToKeepSamples|24
> >>
> >> deleteMultiplier|1000
> >>
> >> lastErrorSent|2011-07-03 12:46:47.00
> >>
> >> etlVersion|4.0.5
> >>
> >> dwhAggregationDebug|false
> >>
> >> dwhUuid|a18846e6-d188-4170-8549-aeb1c54fa390
> >>
> >> ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
> >>
> >> ovirtEngineHistoryDbPassword|**
> >>
> >>
> >>
> >>
> >>
> >&

Re: [ovirt-users] oVirt Reports

2017-01-15 Thread Shirly Radco
oVirt reports is not available since v4.0.
The oVirt DWH is available, can be queried by external reporting solutions
that support sql queries.
We are currently working on a new metrics store solution for oVirt.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Thu, Jan 12, 2017 at 12:44 PM, Marcin Michta <marcin.mic...@codilime.com>
wrote:

> Hi,
>
> Someone can tell me what kind of informations I can get from ovirt
> reports? oVirt web page is poor about it.
> Screenshots will be helpful.
>
> Thank you,
> Marcin
>
> --
>
>
> ---
> The information in this email is confidential and may be legally
> privileged, it may contain information that is confidential in CodiLime Sp.
> z o. o. It is intended solely for the addressee. Any access to this email
> by third parties is unauthorized. If you are not the intended recipient of
> this message, any disclosure, copying, distribution or any action
> undertaken or neglected in reliance thereon is prohibited and may result in
> your liability for damages.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] DWH URL in 4.0.6 ??

2017-01-15 Thread Shirly Radco
DWH is still available and be queried by external sql based reporting
solutions.
We are currently working on a new metrics  store solution.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Fri, Jan 13, 2017 at 6:36 PM, Alexander Wels <aw...@redhat.com> wrote:

> On Friday, January 13, 2017 9:30:09 AM EST Devin Acosta wrote:
> > I upgraded to the latest 4.0.6 and show that the Data Ware House process
> is
> > running, did they change how you access the GUI for it?
> >
> > Going to: https://{fqdn}/ovirt-engine-reports/
> > no longer functions on any of my deployments?
>
> The DWH reports are no longer available in oVirt since 4.0. The process is
> running because the dashboard uses the data to generate its data. But the
> reports are gone.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Large DWH Database, how to empty

2017-01-08 Thread Shirly Radco
No. But the delete process might have kicked in.
How long does you environment exist?

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Sun, Jan 8, 2017 at 2:42 PM, Matt . <yamakasi@gmail.com> wrote:

> Hi,
>
> OK thanks! I saw that after upgrading to 4.0.5 from 4.0.4 the DB
> already dropped with around 500MB directly and is now at 2GB smaller.
>
> Does this sounds familiar to you with other settings in 4.0.5 ?
>
>
> Thanks,
>
> Matt
>
>
>
> 2017-01-08 10:45 GMT+01:00 Shirly Radco <sra...@redhat.com>:
> > No. That will corrupt your database.
> >
> > Are you using the full dwh or the smaller version for the dashboards?
> >
> > Please set the delete thresholds to save less data and the data older
> then
> > the time you set will be deleted.
> > Add a file to /ovirt-engine-dwhd.conf.d/
> > update_time_to_keep_records.conf
> >
> > Add these lines with the new configurations. The numbers represent the
> hours
> > to keep the data.
> >
> > DWH_TABLES_KEEP_SAMPLES=24
> > DWH_TABLES_KEEP_HOURLY=1440
> > DWH_TABLES_KEEP_DAILY=43800
> >
> >
> > These are the configurations for a full dwh.
> >
> > The smaller version configurations are:
> > DWH_TABLES_KEEP_SAMPLES=24
> > DWH_TABLES_KEEP_HOURLY=720
> > DWH_TABLES_KEEP_DAILY=0
> >
> > The delete process by default at 3am every day (DWH_DELETE_JOB_HOUR=3)
> >
> > Best regards,
> >
> > Shirly Radco
> >
> > BI Software Engineer
> > Red Hat Israel Ltd.
> > 34 Jerusalem Road
> > Building A, 4th floor
> > Ra'anana, Israel 4350109
> >
> >
> > On Fri, Jan 6, 2017 at 6:35 PM, Matt . <yamakasi@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I seem to have some large database for the DWH logging and I wonder
> >> how I can empty it safely.
> >>
> >> Can I just simply empty the database ?
> >>
> >> Have a good weekend!
> >>
> >> Cheers,
> >>
> >> Matt
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2016-12-19 Thread Shirly Radco
Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi <a.ghela...@iontrading.com
> wrote:

> Hello Shirly,
>
> I restarted dwh service as per your suggestion with no success.
>
>
>
> Here a sample of DWH log:
>
> 2016-12-14 12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
>
> 2016-12-14 12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
>
> 2016-12-14 15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
>
> 2016-12-16 17:39:13|ETL Service Stopped
>
> 2016-12-16 17:39:14|ETL Service Started
>
> ovirtEngineDbDriverClass|org.postgresql.Driver
>
> ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://
> localhost:5432/ovirt_engine_history?sslfactory=org.postgresql.ssl.
> NonValidatingFactory
>
> hoursToKeepDaily|0
>
> hoursToKeepHourly|720
>
> ovirtEngineDbPassword|**
>
> runDeleteTime|3
>
> ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:
> 5432/engine?sslfactory=org.postgresql.ssl.NonValidatingFactory
>
> runInterleave|20
>
> limitRows|limit 1000
>
> ovirtEngineHistoryDbUser|ovirt_engine_history
>
> ovirtEngineDbUser|engine
>
> deleteIncrement|10
>
> timeBetweenErrorEvents|30
>
> hoursToKeepSamples|24
>
> deleteMultiplier|1000
>
> lastErrorSent|2011-07-03 12:46:47.00
>
> etlVersion|4.0.5
>
> dwhAggregationDebug|false
>
> dwhUuid|a18846e6-d188-4170-8549-aeb1c54fa390
>
> ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
>
> ovirtEngineHistoryDbPassword|**
>
>
>
>
>
> And here a sample of Engine.log
>
>
>
> 2016-12-19 04:32:05,939 WARN  
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
> (DefaultQuartzScheduler5) [53791585] Domain 
> '05c01989-18a1-4a45-9ed6-76c6badc728a:intel2-dstore04'
> report isn't an actual report
>
> 2016-12-19 04:32:05,939 WARN  
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
> (DefaultQuartzScheduler5) [53791585] Domain 
> 'f0d8ea03-17ab-4feb-bbf8-408e0550fc29:boole2-dstore1'
> report isn't an actual report
>
>
Tal , Allon, Can you please update on what does this engine log error mean?


>
>
>
>
> So apparently DWH is working, but that “report isn't an actual report” is
> quite obscure to me.
>

Did you start seeing data in the dashboard?

I need to clarify that (almost) all these storages are iscsi SAN hosted and
> have been detached from Ovirt3 installation and IMPORTED into Ovirt4.
>
>
>
> Could you suggest for next step?
>
> Thanks
>
> Andrea
>
>
>
> *From:* Shirly Radco [mailto:sra...@redhat.com]
> *Sent:* Thursday, December 8, 2016 10:22 AM
> *To:* Andrea Ghelardi <a.ghela...@iontrading.com>
> *Cc:* users <users@ovirt.org>
> *Subject:* Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.
>
>
>
> Hi Andrea,
>
>
>
> Please try to restart the dwh service.
>
> It is the service that collects the samples data from the engine database
> to a data warehouse, ovirt_engine_history.
>
> run:
>
>
>
> service ovirt-engine-dwhd restart
>
>
>
> and send me the log again.
>
>
>
> If data is still not collected to ovirt_engine_history db I'll need you to
> open a bug so we can follow on this there.
>
>
> Best regards,
>
> Shirly Radco
>
> BI Software Engineer
>
> Red Hat Israel Ltd.
>
> 34 Jerusalem Road
>
> Building A, 4th floor
>
> Ra'anana, Israel 4350109
>
>
>
> On Wed, Dec 7, 2016 at 5:43 PM, Andrea Ghelardi <a.ghela...@iontrading.com>
> wrote:
>
> Hello group,
>
> I noticed that my dashboard does not show little colored “cubes” which
> show storage CPU and RAM usage history status.
>
> Attached an image and logs from /var/log/ovirt-engine-dwh/
> ovirt-engine-dwhd.log
>
> Here’s an extract:
>
>
>
> Exception in component tJDBCInput_5
>
> org.postgresql.util.PSQLException: ERROR: smallint out of range
>
> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2157)
>
> at org.postgresql.cor

Re: [ovirt-users] Request for feedback on your db vacuum status

2016-12-12 Thread Shirly Radco
Hi Baptiste,

Thank you very much for your reply.

I understand that you updated your DWH to collect every 60 seconds instead
of 20.
I'm the oVirt DWH maintainer and I would really appreciate if you can share
what led you to this decision?
And some details on your setup.

Do you have it installed on the same machine as the engine or on a remote
one?
Is your database remote or local?
What is the scale of you environment ? Number of hosts/vms...

This will may help us with the bug Roy mentioned.



Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Thu, Dec 8, 2016 at 5:01 PM, Baptiste Agasse <
baptiste.aga...@lyra-network.com> wrote:

>
>
> - Le 8 Déc 16, à 15:18, Roy Golan <rgo...@redhat.com> a écrit :
>
> Hi all,
>
> Following the thread about vacuum tool [1] I would like to gather some
> feedback about your deployment's db vacuum status The info is completely
> anonymous and function running it is a read only reporting one and should
> have little or no effect on the db.
>
> The result can be pretty verbose  but again will not disclose sensitive
> info. Anyway review it before pasting it. It should look something like
> that(a snippet of one table):
>
> INFO:  vacuuming "pg_catalog.pg_ts_template"
> INFO:  index "pg_ts_template_tmplname_index" now contains 5 row versions
> in 2 pages
> DETAIL:  0 index row versions were removed.
> 0 index pages have been deleted, 0 are currently reusable.
> CPU 0.00s/0.00u sec elapsed 0.00 sec.
>
>
> 1. sudo su - postgres  -c "psql engine -c 'vacuum verbose'" &>
> /tmp/vacuum.log
>
> 2. review the /tmp/vacuum.log
>
> 3. paste it to http://paste.fedoraproject.org/ and reply with the link
> here
>
>
> [1] http://lists.ovirt.org/pipermail/devel/2016-December/014484.html
>
>
> Thanks,
> Roy
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> http://paste.fedoraproject.org/501769/48120789/
>
> But, we run a full vacuum about one month ago that have free about 8GB of
> space and we set DWH_SAMPLING=60 to decrease data size of DWH (install is ~
> 1y and half old, updated from 3.5 to 3.6 to 4.0).
>
> Have a nice day.
>
> Regards.
>
> --
> Baptiste
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2016-12-08 Thread Shirly Radco
Hi Andrea,

Please try to restart the dwh service.
It is the service that collects the samples data from the engine database
to a data warehouse, ovirt_engine_history.
run:

service ovirt-engine-dwhd restart

and send me the log again.

If data is still not collected to ovirt_engine_history db I'll need you to
open a bug so we can follow on this there.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Wed, Dec 7, 2016 at 5:43 PM, Andrea Ghelardi <a.ghela...@iontrading.com>
wrote:

> Hello group,
>
> I noticed that my dashboard does not show little colored “cubes” which
> show storage CPU and RAM usage history status.
>
> Attached an image and logs from /var/log/ovirt-engine-dwh/
> ovirt-engine-dwhd.log
>
> Here’s an extract:
>
>
>
> Exception in component tJDBCInput_5
>
> org.postgresql.util.PSQLException: ERROR: smallint out of range
>
> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2157)
>
> at org.postgresql.core.v3.QueryExecutorImpl.processResults(
> QueryExecutorImpl.java:1886)
>
> at org.postgresql.core.v3.QueryExecutorImpl.execute(
> QueryExecutorImpl.java:255)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(
> AbstractJdbc2Statement.java:555)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
> AbstractJdbc2Statement.java:403)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(
> AbstractJdbc2Statement.java:283)
>
> at ovirt_engine_dwh.statisticssync_4_0.StatisticsSync.tJDBCInput_
> 5Process(StatisticsSync.java:4056)
>
> at ovirt_engine_dwh.statisticssync_4_0.StatisticsSync$3.run(
> StatisticsSync.java:15979)
>
> Exception in component tJDBCInput_8
>
> org.postgresql.util.PSQLException: ERROR: current transaction is aborted,
> commands ignored until end of transaction block
>
> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2157)
>
> at org.postgresql.core.v3.QueryExecutorImpl.processResults(
> QueryExecutorImpl.java:1886)
>
> at org.postgresql.core.v3.QueryExecutorImpl.execute(
> QueryExecutorImpl.java:255)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(
> AbstractJdbc2Statement.java:555)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
> AbstractJdbc2Statement.java:403)
>
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(
> AbstractJdbc2Statement.java:283)
>
> at ovirt_engine_dwh.statisticssync_4_0.StatisticsSync.tJDBCInput_
> 8Process(StatisticsSync.java:5991)
>
> at ovirt_engine_dwh.statisticssync_4_0.StatisticsSync$4.run(
> StatisticsSync.java:16025)
>
> 2016-11-27 
> 14:27:40|tm1tT6|GCXnuH|0jajaj|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java
> Exception|tJDBCInput_5|org.postgresql.util.PSQLException:ERROR: smallint
> out of range|1
>
>
>
> This is a quite fresh new installation, and restarting engine VM
> (hosted-engine –vm-stop + hosted-engine –vm-start) does not fix the problem.
>
> Ovirt is behaving normally.
>
>
>
> Any clue?
>
> Cheers
>
> Andrea
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limit DWH database size

2016-09-01 Thread Shirly Radco
Another option is to set the DWH_SAMPLING back to 60  and restart dwh.
This will lower the granularity of the dashboard calculations.
The dwh db size grow since now it samples the statistics every 15 seconds
instead of once a minute.

Best regards,
Shirly Radco

On Sep 1, 2016 19:29, <nico...@devels.es> wrote:

> Hi Didi,
>
> El 2016-09-01 14:02, Yedidyah Bar David escribió:
>
>> On Thu, Sep 1, 2016 at 3:26 PM, Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>>
>> Didi, Shirly, can you help here?
>>>
>>> On Thu, Sep 1, 2016 at 8:52 AM, <nico...@devels.es> wrote:
>>>
>>> Hi,
>>>>
>>>> Since we upgraded to 4.0.x, DWH's PostgreSQL database is getting
>>>> really huge. Is there a clean way to limit its size, like setting
>>>> a maximal retention time for DWH data?
>>>>
>>>
>> Earlier today replied to a similar question, search list archives for
>> "Change Engine History Logging from Advanched to Basic".
>>
>>
> Just to confirm: I already have basic DWH configured, and the content of
> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf is:
>
>   DWH_TABLES_KEEP_SAMPLES=24
>   DWH_TABLES_KEEP_HOURLY=720
>   DWH_TABLES_KEEP_DAILY=0
>
> So according to [1] regarding "DWH_TABLES_KEEP_HOURLY":
>
>   The number of hours that hourly data is stored. The default is 60 days.
>   Hourly data more than two days old is aggregated into dailydata.
>
> if I reduce that value to say 240 (10 days), any older entry from that
> should be erased upon a DWH restart, right?
>
> Thanks.
>
>   [1]: https://access.redhat.com/documentation/en-US/Red_Hat_Enterp
> rise_Virtualization/3.6/pdf/Reports_and_Data_Warehouse_
> Guide/Red_Hat_Enterprise_Virtualization-3.6-Reports_
> and_Data_Warehouse_Guide-en-US.pdf
>
> Best,
>>
>>
>>
>> Thanks.
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>>>
>>>
>>> --
>>>
>>> Sandro Bonazzola
>>> Better technology. Faster innovation. Powered by community
>>> collaboration.
>>> See how it works at redhat.com [2]
>>>
>>> [3]
>>>
>>
>> --
>>
>> Didi
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
>> [2] http://redhat.com
>> [3] https://www.redhat.com/it/about/events/red-hat-open-source-day-2016
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Could not fetch dashboard data. Please ensure that data warehouse is properly installed and configured.

2016-08-25 Thread Shirly Radco
Hi,

Did you install ovirt-engine-dwh during the upgrade? Was it installed
before?
If it is installed , Can you please check the ovirt-engine-dwh.log file for
errors?
If not, It must be installed in order to view the Dashboards. It is
collecting the statistics used for the dashboards.

Best regards,

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Thu, Aug 25, 2016 at 9:28 AM, Maton, Brett <mat...@ltresources.co.uk>
wrote:

> I've just upgraded Ovirt3.6 to 4.0.2 and I can't get the dashboard to work.
>
> The dashboard page displays this error:
>
> Could not fetch dashboard data. Please ensure that data warehouse is
> properly installed and configured.
>
> Running on CentOS 7.2
> PostgreSQL server 9.5.4 (remote)
>
> I see these errors being generated in engine.log when I try to display the
> dash board
>
>  ERROR [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet]
> (default task-6) [] Unable to retrieve dashboard data:
> org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException:
> Error while running SQL query
> at 
> org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.runQuery(BaseDao.java:60)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.server.dashboard.dao.HostDwhDao.
> getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]
> ...
> Caused by: javax.resource.ResourceException: IJ031083: Wrong driver class
> [org.postgresql.Driver] for this connection URL [None]
> at org.jboss.jca.adapters.jdbc.local.
> LocalManagedConnectionFactory.createLocalManagedConnection(
> LocalManagedConnectionFactory.java:321)
> ... 66 more
>
>
>
>
> Google returned some hints that it's probably the postgresql java version,
> I did have 9.4.xxx installed bu have since downgraded to
> postgresql-jdbc-9.2.1002-5
>
> I checked the class path generated by dwh-classpath.sh which seems to be
> using the correct JDBC driver.
>
> # /usr/share/ovirt-engine-dwh/bin/dwh-classpath.sh run
> :/usr/share/java/dom4j.jar:/usr/share/java/apache-commons-
> collections.jar:/usr/share/java/postgresql-jdbc.jar
>
> # rpm -qf /usr/share/java/postgresql-jdbc.jar
> postgresql-jdbc-9.2.1002-5.el7.noarch
>
>
> Any suggestions on what to try next?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ETL service sampling

2016-08-24 Thread Shirly Radco
The ETL sampling process collects the configurations and statistics for the
new dashboards.
The engine has a heartbeat that should update every 15 seconds. Sampling
runs every 20 seconds.
If the engine is busy and the heartbeat does not update for some reason ,
the dwh will send an error. It compares the last sync with the heartbeat.
Heartbeat should be newer than the last sync...

Best,
Shirly Radco

On Aug 24, 2016 12:03 PM, "knarra" <kna...@redhat.com> wrote:

> Hi All,
>
>  I see the  event below getting logged in the events tab . What is
> this event related to ? Why does this get logged as an error ?
> ETL service sampling has encountered an error. Please consult the service
> log for more details.
>
> Thanks
> kasturi
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Not Updating Statistics

2016-08-21 Thread Shirly Radco
Hi Fernando, Melissa

What version are you using for engine and dwh?

https://bugzilla.redhat.com/show_bug.cgi?id=1344935

Versions:

ovirt-engine-dwh-setup-4.0.2-1.el7ev.noarch

ovirt-engine-setup-4.0.2.6-0.1.el7ev.noarch

should not have this issue.

Please update me if you still have this issue and attach the
ovirt-engine-dwh log.


Best regards,


Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109


On Sat, Aug 20, 2016 at 9:11 PM, Fernando Fuentes <ffuen...@darktcp.net>
wrote:

> Team,
>
> This is still an issue on my env. :(
>
> 2016-08-20 09:04:56|pIlSG1|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
> 2016-08-20 10:57:42|3ZzN5z|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
> 2016-08-20 11:31:33|reczvL|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|
> SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can not sample data, oVirt
> Engine is not updating the statistics. Please check your oVirt Engine
> status.|9704
>
> Any ideas?
>
> Thanks for the help!
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
>
>
>
> On Thu, Aug 18, 2016, at 01:35 PM, Fernando Fuentes wrote:
>
> I am having similar issues though my problem only started after recovering
> my DWH DB.
> But the errors are the sames as posted below.
>
> Any ideas?
>
> Regards,
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
>
>
>
> On Wed, Aug 17, 2016, at 08:47 AM, Sandro Bonazzola wrote:
>
> Adding Shirly
>
> On Wed, Aug 17, 2016 at 3:30 PM, Melissa Mesler <meli...@justmelly.com>
> wrote:
>
> All, we are running Ovirt 4.0 on CentOS 7. We have some errors in our
> dwh log. Look at the following:
>
> 2016-08-16
> 13:28:51|mFKcbP|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-16
> 19:31:00|dgTmvI|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-16
> 23:19:28|ByUf8M|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-17
> 00:27:59|jzRGar|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-17
> 02:55:01|WZ7M9t|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-17
> 04:12:06|Q237ie|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
> 2016-08-17
> 04:46:12|8COWHX|2EMUyU|snSJCy|OVIRT_ENGINE_DWH|SampleTimeKee
> pingJob|Default|5|tWarn|tWarn_1|Can
> not sample data, oVirt Engine is not updating the statistics. Please
> check your oVirt Engine status.|9704
>
> What does this mean?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> *___*
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> *___*
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   >