Bug 1687492 - Metrics installation fails on not provided nic name
Summary: Metrics installation fails on not provided nic name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.3.3
: ---
Assignee: Shirly Radco
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On:
Blocks: 1631193
TreeView+ depends on / blocked
 
Reported: 2019-03-11 15:33 UTC by Ivana Saranova
Modified: 2019-04-16 13:58 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-metrics-1.2.1.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-16 13:58:34 UTC
oVirt Team: Metrics
Embargoed:
sradco: ovirt-4.3?
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 98466 0 master MERGED Fix bug with template_nics in origin-on-ovirt role 2019-03-11 22:16:05 UTC

Description Ivana Saranova 2019-03-11 15:33:24 UTC
Description of problem:
When installation metrics according to the new installation: https://gerrit.ovirt.org/#/c/97643/
a problem with not provided nic name occurs and blocks creation of bastion machine.

Version-Release number of selected component (if applicable):
ovirt-engine-metrics-1.2.1-0.0.master.20190306140206.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Edit /etc/ovirt-engine-metrics/config.yml.d/metrics-store-config.yml
2. Go to ovirt-engine-metrics cd /usr/share/ovirt-engine-metrics
3. Run ANSIBLE_JINJA2_EXTENSIONS="jinja2.ext.do" ./configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml

Actual results:
http://pastebin.test.redhat.com/735120

Expected results:
Playbook does not fail on the task.

Additional info:
Problem seems to be with the utf-8 conversion in u'key_name' in template_render.

Comment 1 Ivana Saranova 2019-04-04 14:07:55 UTC
Steps to Reproduce:
1. Edit /etc/ovirt-engine-metrics/config.yml.d/metrics-store-config.yml
2. Go to ovirt-engine-metrics cd /usr/share/ovirt-engine-metrics
3. Run ANSIBLE_JINJA2_EXTENSIONS="jinja2.ext.do" ./configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml

Result:
Nic name is provided and playbook does not fail on the task and ends successfully.

Verified in: 
ovirt-engine-4.2.8.5-0.1.el7ev.noarch
ovirt-engine-metrics-1.2.1.3-1.el7ev.noarch

Also verified in:
ovirt-engine-4.3.3.1-0.1.el7.noarch
ovirt-engine-metrics-1.2.1.3-1.el7ev.noarch

Comment 2 Sandro Bonazzola 2019-04-16 13:58:34 UTC
This bugzilla is included in oVirt 4.3.3 release, published on April 16th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.