Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning to OpenShift fails when using Microprofile GraphQL layer #72

Closed
t1 opened this issue May 1, 2024 · 3 comments
Closed

Provisioning to OpenShift fails when using Microprofile GraphQL layer #72

t1 opened this issue May 1, 2024 · 3 comments

Comments

@t1
Copy link

t1 commented May 1, 2024

But when I try to provision my demo app that provides a Microprofile GraphQL service, the provisioning to OpenShift fails with this error message:

ERROR: Failure executing: POST at: xxx/imagestreams. Message: ImageStream.image.openshift.io "wildfly-server-xxx" is invalid: metadata.labels: Invalid value: "org.wildfly.glow.feature-pack.wildfly-microprofile-graphql-feature-pack": name part must be no more than 63 characters. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=metadata.labels, message=Invalid value: "org.wildfly.glow.feature-pack.wildfly-microprofile-graphql-feature-pack": name part must be no more than 63 characters, reason=FieldValueInvalid, additionalProperties={})], group=image.openshift.io, kind=ImageStream, name=wildfly-server-xxx, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=ImageStream.image.openshift.io "wildfly-server-xxx" is invalid: metadata.labels: Invalid value: "org.wildfly.glow.feature-pack.wildfly-microprofile-graphql-feature-pack": name part must be no more than 63 characters, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).

org.wildfly.glow.feature-pack.wildfly-microprofile-graphql-feature-pack are 71 characters, but the limit seems to be 63, which seems to be an arbitrary and odd limitation to me.

@t1
Copy link
Author

t1 commented May 1, 2024

Maybe getting rid of the -feature-pack suffix would help, but the real cause (in my eyes) is that limitation.

@jfdenise
Copy link
Contributor

@t1 thank-you for your report! I am looking it into it.

jfdenise added a commit to jfdenise/wildfly-glow that referenced this issue May 14, 2024
jfdenise added a commit that referenced this issue May 14, 2024
Fix for Issue #72, Provisioning to OpenShift fails when using Microprofile GraphQL layer
@jfdenise
Copy link
Contributor

@t1 , the 1.0.5.Final version contains the fix: https://github.com/wildfly/wildfly-glow/releases/tag/1.0.5.Final
Thanks again for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants