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 <[email protected]> wrote:

> Hello,
>
> I attached the log. Cannot figure it out where is the issue.
>
> Any idea?
>
> Thanks
>
> José
>
> ------------------------------
> *De: *"Shirly Radco" <[email protected]>
> *Para: *[email protected]
> *Cc: *"Jayme" <[email protected]>, "users" <[email protected]>
> *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 <[email protected]> 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: *[email protected]
>> *Para: *"Jayme" <[email protected]>
>> *Cc: *"users" <[email protected]>
>> *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: *[email protected]
>> *Para: *"Jayme" <[email protected]>
>> *Cc: *"users" <[email protected]>
>> *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" <[email protected]>
>> *Para: *[email protected]
>> *Cc: *"users" <[email protected]>
>> *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 <[email protected]> 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" <[email protected]>
>>> *Para: *[email protected]
>>> *Cc: *"users" <[email protected]>
>>> *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 <[email protected]> wrote:
>>>
>>>> Ok, so how can I get the guest image?
>>>>
>>>> Thanks
>>>>
>>>> ------------------------------
>>>> *De: *"Jayme" <[email protected]>
>>>> *Para: *[email protected]
>>>> *Cc: *"users" <[email protected]>
>>>> *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 <[email protected]> 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 -- [email protected]
>>>>> To unsubscribe send an email to [email protected]
>>>>> 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/[email protected]/message/45EEILEJWLZTNQKNYCVP7J34MEE7CHCQ/
>>>>>
>>>>
>>
>> _______________________________________________
>> Users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> 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/[email protected]/message/75HKFNTUOQPETRKY4KE24V64BSOTNNGJ/
>>
>> _______________________________________________
>> Users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> 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/[email protected]/message/RULG5CORJNCBFE7SKQVH4FCHA77JFNCO/
>> _______________________________________________
>> Users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> 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/[email protected]/message/OVTTKZXNYBCUXEX55W72GLK6HBXBVIEF/
>>
>
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/D7TEI6X6PME6PQFGIO3UKXBTGXUGHJZE/

Reply via email to