Bug 1463372 - hawkular-cassandra-pvc1.yaml is generated with 'g' rather than 'Gi' when specifying storage size
hawkular-cassandra-pvc1.yaml is generated with 'g' rather than 'Gi' when spec...
Status: CLOSED NOTABUG
Product: OpenShift Container Platform
Classification: Red Hat
Component: Metrics (Show other bugs)
3.5.1
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Matt Wringe
Junqi Zhao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-20 12:38 EDT by emahoney
Modified: 2017-06-20 15:42 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-20 15:42:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description emahoney 2017-06-20 12:38:46 EDT
Description of problem: When deploying metrics, <DIR>/templates/hawkular-cassandra-pvc1.yaml is being populated with 'g' rather than 'Gi'. When the playbook is ran, then we receive the error below:

error: unable to decode "/tmp/openshift-metrics-ansible-tsGwOp/templates/hawkular-cassandra-pvc1.yaml": quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'

Version-Release number of selected component (if applicable):
openshift-ansible-playbooks-3.5.53-1.git.0.8ade9f2.el7.noarch
ansible-2.2.1.0-2.el7.noarch
openshift-ansible-3.5.53-1.git.0.8ade9f2.el7.noarch
docker-1.12.6-16.el7.x86_64
atomic-openshift-3.5.5.5-1.git.0.f2e87ab.el7.x86_64


How reproducible:
Only able to reproduce this once. Second clean install ran without this issue. 

Steps to Reproduce:
1. N/A
2.
3.

Actual results: Was not able to deploy metrics. 


Expected results: Metrics deployed using storage in gibibytes.


Additional info:
Comment 1 Matt Wringe 2017-06-20 14:53:40 EDT
Can you please attach the inventory file used and the roles/openshift_metrics/default/main.yaml?

We don't specify a value which has a 'g' in it: https://github.com/openshift/openshift-ansible/blob/release-1.5/roles/openshift_metrics/defaults/main.yaml

Are you sure the value being used is not something you have specified in your inventory file?

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