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

Latest Snapshot (0.1.0-SNAPSHOT-20211029.071023) CRD Error #22

Closed
nik-humphries opened this issue Nov 3, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nik-humphries
Copy link

nik-humphries commented Nov 3, 2021

Issue:

Using the latest snapshot 0.1.0-SNAPSHOT-20211029.071023 causes the following error when ShinyProxy Operator is starting.

Warning: could not check whether ShinyProxy CRD exits.
This is normal when the ServiceAccount of the operator does not have permission to access CRDs (at cluster scope).
If you get an unexpected error after this message, make sure that the CRD exists.
10:13:25.040 [main           ] WARN  eu.op.sh.Main                        - Kubernetes Client Exception : Failure executing: GET at: https://10.96.0.1/apis/openanalytics.eu/v1/namespaces/shinyproxy/shinyproxies. Message: 404 page not found
.
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://10.96.0.1/apis/openanalytics.eu/v1/namespaces/shinyproxy/shinyproxies. Message: 404 page not found
.

It is trying to access the wrong version of the API, v1 instead of v1alpha1.

https://10.0.0.1/apis/openanalytics.eu/v1/namespaces/nwr/shinyproxies <- THIS
https://10.0.0.1/apis/openanalytics.eu/v1alpha1/namespaces/nwr/shinyproxies <- INSTEAD OF THIS

Solution 1:
Use a previous snapshot of operator (0.1.0-SNAPSHOT-20210923.115703).

# had to use a specific image because the latest tag ( which points to 0.1.0-SNAPSHOT-20211029.071023) one broke the deployments
          image: openanalytics/shinyproxy-operator-snapshot:0.1.0-SNAPSHOT-20210923.115703

Solution 2:
Rename the CRD from v1alpha1 to v1 and use the latest 0.1.0-SNAPSHOT-20211029.071023

@LEDfan
Copy link
Member

LEDfan commented Nov 8, 2021

Hi

This is a similar problem as in #21. The problem was that the documentation was too old compared to the docker images we released. With the release of version 1.0.0, the docker image and documentation are gain in sync. With the release of 1.0.0, it will be easier for us to manage the documentation and docker images and therefore this should not happen anymore.

@LEDfan LEDfan closed this as completed Nov 8, 2021
@LEDfan LEDfan added the bug Something isn't working label Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants