Bug 1464164 - Metrics upgrade from 3.4 problems when using hostPath for cassandra persistent volume
Summary: Metrics upgrade from 3.4 problems when using hostPath for cassandra persisten...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.6.z
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-22 14:44 UTC by Sergi Jimenez Romero
Modified: 2021-09-09 12:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-18 18:48:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/openshift openshift-ansible issues 4625 0 None None None 2017-07-07 16:02:27 UTC
Github https://github.com/openshift openshift-ansible issues 4627 0 None None None 2017-07-07 16:02:02 UTC

Description Sergi Jimenez Romero 2017-06-22 14:44:03 UTC
Description of problem:

After upgrading OCP from 3.4 to 3.5, an issue was found when upgrading the metrics stack. Cassandra RC won't be modified when using hostPath for PV.

Version-Release number of selected component (if applicable):
3.5

How reproducible:
Always

Steps to Reproduce:
1. Upgrade OCP from 3.4 to 3.5.
2. Upgrade metrics stack using the ansible playbook using hostPath for cassandra PV.

Actual results:

The playbook keeps going but fails to update the hawkular-cassandra RC, the following error was found:

STDERR:

The ReplicationController "hawkular-cassandra-1" is invalid:
* spec.template.spec.volumes[0].hostPath: Forbidden: may not specify more than 1 volume type
* spec.template.spec.containers[0].volumeMounts[0].name: Not found: "cassandra-data"


Expected results:

The RC would be updated.

Additional info:

Workaround was found to change the RC definition to use emptyDir and after the upgrade finishes, modify it back to use hostPath.

The issues sounds a lot like: https://bugzilla.redhat.com/show_bug.cgi?id=1428249#c10

Comment 4 Scott Dodson 2019-02-18 18:48:50 UTC
There appear to be no active cases related to this bug. As such we're closing this bug in order to focus on bugs that are still tied to active customer cases. Please re-open this bug if you feel it was closed in error or a new active case is attached.


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