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

[Bug] Cryostat Route still exposes port 9091 jfr-jmx after upgrading from 2.4 to 3.0 #869

Closed
andrewazores opened this issue Jun 7, 2024 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@andrewazores
Copy link
Member

Current Behavior

Since #823 , Cryostat itself does not have a JMX server enabled by default and the corresponding Service has been removed. However, the Route still contains the port definition.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

image

@andrewazores andrewazores added the bug Something isn't working label Jun 7, 2024
@andrewazores andrewazores self-assigned this Jun 7, 2024
@andrewazores andrewazores moved this to Todo in 3.0.0 release Jun 7, 2024
@andrewazores
Copy link
Member Author

andrewazores commented Jun 7, 2024

Actually, this might only be a bug that only occurs when upgrading from 2.4 to 3.0, where this part of the Route gets left behind.

@andrewazores andrewazores changed the title [Bug] Cryostat Route still exposes port 9091 jfr-jmx [Bug] Cryostat Route still exposes port 9091 jfr-jmx after upgrading from 2.4 to 3.0 Jun 7, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in 3.0.0 release Jun 7, 2024
@andrewazores andrewazores removed their assignment Jun 7, 2024
@andrewazores andrewazores added the question Further information is requested label Jun 7, 2024
@andrewazores andrewazores moved this from Done to Stretch Goals in 3.0.0 release Jun 7, 2024
@andrewazores andrewazores reopened this Jun 7, 2024
@tthvo
Copy link
Member

tthvo commented Jun 10, 2024

Do u think it might be due to some delay during upgrading?

When I tried to reproduce, I can see the same issue for the first 1-2 minutes after the operator is marked as "upgraded". I also see the v1beta1 cryostat is stilled returned when using oc get cryostat. But after some time, all appear as expected. The service shows only http below.

image

@tthvo
Copy link
Member

tthvo commented Jun 10, 2024

I built the catalog image with 2.4.0-dev and 3.0.0-dev (must be -dev to have the same alpha channel) as:

make catalog-build CATALOG_IMG=quay.io/thvo/cryostat-operator-catalog:latest BUNDLE_IMGS='quay.io/cryostat/cryostat-operator-bundle:2.4.0-dev,quay.io/cryostat/cryostat-operator-bundle:3.0.0-dev'

The image I use to create CatalogSource: quay.io/thvo/cryostat-operator-catalog:latest

@andrewazores
Copy link
Member Author

It sounds like it probably just was a delay then, I noticed this right away after upgrading and didn't go back to check on it again before uninstalling.

@github-project-automation github-project-automation bot moved this from Stretch Goals to Done in 3.0.0 release Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants