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

Can't create project when using crc with microshift preset #733

Open
sbouchet opened this issue Mar 4, 2024 · 2 comments
Open

Can't create project when using crc with microshift preset #733

sbouchet opened this issue Mar 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sbouchet
Copy link
Collaborator

sbouchet commented Mar 4, 2024

[kind/bug]

What versions of software are you using?

  • Operating System: Fedora 39
  • IntelliJ version: 2023.3
  • Extension version: 1.8.0
  • Are you targeting a kubernetes or an Openshift cluster ? If possible, provide its version:
  • crc with microshift preset

What did you run exactly?

open openshift view. no current project available.
click on create new project or using context menu leads to a popup error.

Actual behavior

error:
Could not get projects: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://api.crc.testing:6443/apis/project.openshift.io/v1/projects. Message: Not Found.

Expected behavior

can create project ( as it's an openshift cluster )

Any logs, error output, etc?

@sbouchet sbouchet added the bug Something isn't working label Mar 4, 2024
@sbouchet
Copy link
Collaborator Author

sbouchet commented Mar 4, 2024

while debugging, the isOpenshift returns true, so in odocli#getNamespacesOrProjects(), it goes to openshiftclient.projects().list() that returns a 404. in the same method, client.namespaces().list() correctly returns a list

@sbouchet
Copy link
Collaborator Author

sbouchet commented Mar 4, 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
Projects
None yet
Development

No branches or pull requests

1 participant