Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Long value for Zookeeper and Kafka persistent volume name field causes error #16

Closed
EmmaHumber opened this issue Feb 1, 2019 · 0 comments
Labels
2019.1.1 Issues resolved in 2019.1.1 bug Something isn't working

Comments

@EmmaHumber
Copy link
Contributor

EmmaHumber commented Feb 1, 2019

Issue Description

The following event is seen after install:

I0201 09:50:05.715206 1 event.go:221] Event(v1.ObjectReference{Kind:"StatefulSet", Namespace:"event-streams", Name:"evtstr-ibm-es-zookeeper-sts", UID:"800de1d1-2587-11e9-9317-0a0c9eb925fe", APIVersion:"apps/v1", ResourceVersion:"15048940", FieldPath:""}): type: 'Warning' reason: 'FailedCreate' create Pod evtstrbai-ibm-es-zookeeper-sts-0 in StatefulSet evtstrbai-ibm-es-zookeeper-sts failed error: Pod "evtstr-ibm-es-zookeeper-sts-0" is invalid: spec.containers[0].volumeMounts[0].name: Not found: "zookeeper-vol-pv"

The value supplied for the Zookeeper persistent volume name during install was too long resulting in an internal mapping of the name to fail.

This issue can also be seen with the Kafka persistent volume name.

Issue Resolution

The internal value sused for both the Zookeeper and Kafka persistent volume claim names are now all now shortened to matching values, and so the mapping no longer fails.

Workaround

Reduce the length of the name of the Zookeeper persistent volume name.

Fix details

IBM Internal issue number - 2449
Fix target - 2019.1.1

@EmmaHumber EmmaHumber added the bug Something isn't working label Feb 1, 2019
@EmmaHumber EmmaHumber added the 2019.1.1 Issues resolved in 2019.1.1 label Mar 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2019.1.1 Issues resolved in 2019.1.1 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant