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


On Fri, May 4, 2018 at 1:20 AM, Young, Matthew (Numerical Algorithms Group) <Matthew.Young3@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@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 <sradco@redhat.com>
Sent: Thursday, April 12, 2018 4:04 PM
To: Young, Matthew (Numerical Algorithms Group) <Matthew.Young3@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.Young3@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users