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. 


De: supo...@logicworks.pt 
Para: "Shirly Radco" <sra...@redhat.com> 
Cc: "users" <users@ovirt.org> 
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" <sra...@redhat.com> 
Para: supo...@logicworks.pt 
Cc: "Jayme" <jay...@gmail.com>, "users" <users@ovirt.org> 
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 < supo...@logicworks.pt > wrote: 



Hello, 

I attached the log. Cannot figure it out where is the issue. 

Any idea? 

Thanks 

José 


De: "Shirly Radco" < sra...@redhat.com > 
Para: supo...@logicworks.pt 
Cc: "Jayme" < jay...@gmail.com >, "users" < users@ovirt.org > 
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 







On Fri, Nov 15, 2019 at 7:34 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

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. 


BQ_BEGIN



after the creation of metrics-store-installer VM 




De: supo...@logicworks.pt 
Para: "Jayme" < jay...@gmail.com > 
Cc: "users" < users@ovirt.org > 
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" < jay...@gmail.com > 
Cc: "users" < users@ovirt.org > 
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" < jay...@gmail.com > 
Para: supo...@logicworks.pt 
Cc: "users" < users@ovirt.org > 
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, 2019 at 1:38 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

Ok. I just commented it out and run 
# ./configure_ovirt_machines_for_metrics.sh 
--playbook=ovirt-metrics-store-installation.yml --ask-vault-pass 
PLAY RECAP 
**********************************************************************************
 
localhost : ok=5 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 

but nothing happens 
I think I need the URL with openshift upstream 

I'm a newbie with openshift, can you point me to the right direction? 

Thanks 



De: "Jayme" < jay...@gmail.com > 
Para: supo...@logicworks.pt 
Cc: "users" < users@ovirt.org > 
Enviadas: Quinta-feira, 14 De Novembro de 2019 17:15:26 
Assunto: Re: [ovirt-users] metrics 

It has been a while but I think you either just leave it commented out or have 
to replace URL with open shift upstream. Try leaving it commented 

On Thu, Nov 14, 2019 at 1:06 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

Ok, so how can I get the guest image? 

Thanks 


De: "Jayme" < jay...@gmail.com > 
Para: supo...@logicworks.pt 
Cc: "users" < users@ovirt.org > 
Enviadas: Quinta-feira, 14 De Novembro de 2019 17:05:31 
Assunto: Re: [ovirt-users] metrics 

An RH subscription is not needed to install ovirt metrics. 

On Thu, Nov 14, 2019 at 12:21 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

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/
 

BQ_END


BQ_END


BQ_END



_______________________________________________ 
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/75HKFNTUOQPETRKY4KE24V64BSOTNNGJ/
 

_______________________________________________ 
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/RULG5CORJNCBFE7SKQVH4FCHA77JFNCO/
 
_______________________________________________ 
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/OVTTKZXNYBCUXEX55W72GLK6HBXBVIEF/
 

BQ_END



BQ_END



_______________________________________________ 
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/VQZNAAUZYZDX4UXKHN7LAPNHQZ6G4L2X/
 
_______________________________________________
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/XWB4GYQ5QFKSEWTUP5H7H2E7W7EB6RWP/

Reply via email to