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: *suporte(a)logicworks.pt
*Para: *"Shirly Radco" <sradco(a)redhat.com>
*Cc: *"users" <users(a)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" <sradco(a)redhat.com>
*Para: *suporte(a)logicworks.pt
*Cc: *"Jayme" <jaymef(a)gmail.com>, "users"
<users(a)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 <suporte(a)logicworks.pt> wrote:
> Hello,
>
> I attached the log. Cannot figure it out where is the issue.
>
> Any idea?
>
> Thanks
>
> José
>
> ------------------------------
> *De: *"Shirly Radco" <sradco(a)redhat.com>
> *Para: *suporte(a)logicworks.pt
> *Cc: *"Jayme" <jaymef(a)gmail.com>, "users"
<users(a)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 <
https://www.redhat.com/>
>
>
> <
https://www.redhat.com/>
>
>
> On Fri, Nov 15, 2019 at 7:34 PM <suporte(a)logicworks.pt> 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: *suporte(a)logicworks.pt
>> *Para: *"Jayme" <jaymef(a)gmail.com>
>> *Cc: *"users" <users(a)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: *suporte(a)logicworks.pt
>> *Para: *"Jayme" <jaymef(a)gmail.com>
>> *Cc: *"users" <users(a)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" <jaymef(a)gmail.com>
>> *Para: *suporte(a)logicworks.pt
>> *Cc: *"users" <users(a)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 <suporte(a)logicworks.pt> wrote:
>>
>>> 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" <jaymef(a)gmail.com>
>>> *Para: *suporte(a)logicworks.pt
>>> *Cc: *"users" <users(a)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 <suporte(a)logicworks.pt> wrote:
>>>
>>>> Ok, so how can I get the guest image?
>>>>
>>>> Thanks
>>>>
>>>> ------------------------------
>>>> *De: *"Jayme" <jaymef(a)gmail.com>
>>>> *Para: *suporte(a)logicworks.pt
>>>> *Cc: *"users" <users(a)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 <suporte(a)logicworks.pt> 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(a)ovirt.org
>>>>> To unsubscribe send an email to users-leave(a)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/45EEILEJWLZ...
>>>>>
>>>>
>>
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)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/75HKFNTUOQP...
>>
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)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/RULG5CORJNC...
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)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/OVTTKZXNYBC...
>>
>
>
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/VQZNAAUZYZD...