Bug 1462352 - Error from roles/openshift_metrics/tasks/install_cassandra.yaml:45
Summary: Error from roles/openshift_metrics/tasks/install_cassandra.yaml:45
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: ewolinet
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-16 19:52 UTC by Justin Pierce
Modified: 2017-08-16 19:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: As part of the RFE to be able to label pvs for pvc selectors, the default pvc selector was set to null but should have been an empty string. Consequence: The playbook fails if you do not provide a label to use Fix: The default is now '' Result: Playbook correctly runs to completion if you do not provide a pv label
Clone Of:
Environment:
Last Closed: 2017-08-10 05:28:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Justin Pierce 2017-06-16 19:52:20 UTC
Description of problem:
During an upgrade of free-int cluster, received the following error:

-------------------
TASK [openshift_metrics : generate hawkular-cassandra persistent volume claims (dynamic)] ***
task path: /home/opsmedic/aos-cd/tmp/tmp.zqPTE6bwRQ/openshift-ansible_extract/roles/openshift_metrics/tasks/install_cassandra.yaml:45
fatal: [54.145.181.193]: FAILED! => {
    "failed": true, 
    "msg": "the field 'vars' has an invalid value, which appears to include a variable that is undefined. The error was: {{ openshift_hosted_metrics_storage_labels | default(null) }}: 'null' is undefined\n\nThe error appears to have been in '/home/opsmedic/aos-cd/tmp/tmp.zqPTE6bwRQ/openshift-ansible_extract/roles/openshift_metrics/tasks/install_cassandra.yaml': line 45, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: generate hawkular-cassandra persistent volume claims (dynamic)\n  ^ here\n"
}

PLAY RECAP *********************************************************************
54.145.181.193             : ok=82   changed=17   unreachable=0    failed=1   
localhost                  : ok=10   changed=0    unreachable=0    failed=0   
-------------------

Version-Release number of selected component (if applicable):
oc v3.6.114
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://internal.api.free-int.openshift.com:443
openshift v3.6.114
kubernetes v1.6.1+5115d708d7

(upgrading from v3.6.104)


How reproducible:
Unknown

Additional info:
Full log: https://atomic-e2e-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/aos-cd/job/cluster%252Foperation/234/console

Comment 4 Junqi Zhao 2017-06-23 06:50:07 UTC
same error with https://bugzilla.redhat.com/show_bug.cgi?id=1463055

Comment 6 Junqi Zhao 2017-06-26 09:28:11 UTC
Tested on OCP, this issue is fixed.

# openshift version
openshift v3.6.122
kubernetes v1.6.1+5115d708d7
etcd 3.2.0

https://openshift-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/Launch%20Environment%20Flexy/16559/console

Comment 8 errata-xmlrpc 2017-08-10 05:28:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2017:1716


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