[jboss-jira] [JBoss JIRA] (WFWIP-184) Cant specify arbitrary Persistent Volume Claim Name
Jeff Mesnil (Jira)
issues at jboss.org
Mon Sep 9 05:35:00 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781570#comment-13781570 ]
Jeff Mesnil commented on WFWIP-184:
-----------------------------------
[~mchoma]what's the use case to explicitly specify the persistentVolumeClaim name?
Could you provide the CRD that you use to test it please?
> Cant specify arbitrary Persistent Volume Claim Name
> ---------------------------------------------------
>
> Key: WFWIP-184
> URL: https://issues.jboss.org/browse/WFWIP-184
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Martin Choma
> Assignee: Jeff Mesnil
> Priority: Major
>
> I cant create PVC with arbitrary name. It must be empty [3] or "<CR name>-volume" [2]
> When I specify PVC name I get error like
> {code}
> create Pod simple-jaxrs-eap72-0 in StatefulSet simple-jaxrs-eap72 failed error: Pod "simple-jaxrs-eap72-0" is invalid: spec.containers[0].volumeMounts[0].name: Not found: "simple-jaxrs-eap72-volume"
> {code}
> Is there any reason to not permit arbitrary PVC name?
> [1] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L401
> [2] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L309
> [3] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L348
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list