[ovirt-users] ansible failure during host install

Shirly Radco sradco at redhat.com
Sun May 6 09:47:59 UTC 2018


--

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 <sradco at 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.Young3 at 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' <sradco at redhat.com>
>> *Cc:* users <users at 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 <sradco at redhat.com>
>> *Sent:* Thursday, April 12, 2018 4:04 PM
>> *To:* Young, Matthew (Numerical Algorithms Group) <Matthew.Young3 at bp.com>
>> *Cc:* users <users at 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.Young3 at 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=4    unreachable=0    failed=1
>>
>>
>>
>> ************
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180506/ceba5b86/attachment.html>


More information about the Users mailing list