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

Knative deployment is broken using OpenShift extension in v3.3.0 and v.3.3.1 #35647

Closed
danieloh30 opened this issue Aug 30, 2023 · 7 comments · Fixed by #35695
Closed

Knative deployment is broken using OpenShift extension in v3.3.0 and v.3.3.1 #35647

danieloh30 opened this issue Aug 30, 2023 · 7 comments · Fixed by #35695
Assignees
Labels
area/kubernetes kind/bug Something isn't working
Milestone

Comments

@danieloh30
Copy link

Describe the bug

After a new project on v3.3.0 or v.3.3.1 is created with an openshift extension, the app is deployed to the OpenShift serverless. But the Quarkus serverless app never came up with the following issue:

image

Knative service has an error:
image

When I created a new project based on v3.2.4.Final, it works well.

Expected behavior

Quarkus app should run as a knative service.

Actual behavior

The revision status is "ContainerMissing"

image

How to Reproduce?

  1. quarkus create kube-native-java
  2. quarkus ext add openshift
  3. Update the application.properties
    quarkus.container-image.group={YOUR_PROJECT_NAME}
    quarkus.container-image.registry=image-registry.openshift-image-registry.svc:5000
    quarkus.kubernetes-client.trust-certs=true
    quarkus.kubernetes.deployment-target=knative
    quarkus.kubernetes.deploy=true
    quarkus.openshift.build-strategy=docker
  4. quarkus build --no-test

Be sure to install OpenShift serverless in your OpenShift cluster.

Output of uname -a or ver

Darwin doh-mac 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64

Output of java -version

openjdk version "17.0.5" 2022-10-18

GraalVM version (if different from Java)

No response

Quarkus version or git rev

3.3.0 and 3.3.1

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.3

Additional information

No response

@danieloh30 danieloh30 added the kind/bug Something isn't working label Aug 30, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 30, 2023

/cc @geoand (knative,kubernetes,openshift), @iocanel (knative,kubernetes,openshift)

@geoand
Copy link
Contributor

geoand commented Aug 31, 2023

@iocanel has something changed in this areas in 3.3?

@iocanel
Copy link
Contributor

iocanel commented Aug 31, 2023

There are some changes related to image building / handling in open shift.

I will take a look.

@danieloh30
Copy link
Author

Thanks @iocanel

@iocanel iocanel self-assigned this Sep 1, 2023
@iocanel
Copy link
Contributor

iocanel commented Sep 1, 2023

I managed to reproduce the issue.
It seems that a push secret is wrongly set to the build configuration.

@iocanel
Copy link
Contributor

iocanel commented Sep 1, 2023

I'll create a PR shortly.

@danieloh30
Copy link
Author

Cool. Let me the PR (url link) when you create it! I'd chase when this will be fixed and apply for the quarkus release as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants