-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area/che-serverkind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.team/AThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted CheThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Description
Describe the bug
We still support the Azure DevOps oauth until the existed oauth applications work, despite that creating new applications is not possible, see https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops#azure-devops-oauth-deprecated
If an Azure DevOps oauth is applied, che-server pod fails to start.
Che version
7.116@latest
Steps to reproduce
- Apply an Azure DevOps oauth config
- Go to the
che-serpod logs and see the error:
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) [Guice/ErrorInjectingConstructor]: NoSuchFileException: /che-conf/oauth/azure-devops/tenant-id
at AzureDevOpsOAuthAuthenticatorProvider.<init>(AzureDevOpsOAuthAuthenticatorProvider.java:50)
at AzureDevOpsOAuthAuthenticatorProvider.class(AzureDevOpsOAuthAuthenticatorProvider.java:32)
while locating AzureDevOpsOAuthAuthenticatorProvider
while locating OAuthAuthenticator annotated with @Element(setName=,uniqueId=61, type=MULTIBINDER, keyType=)
at OAuthAuthenticatorProviderImpl.<init>(OAuthAuthenticatorProviderImpl.java:26)
\_ for 1st parameter
at OAuthAuthenticatorProviderImpl.class(OAuthAuthenticatorProviderImpl.java:23)
while locating OAuthAuthenticatorProviderImpl
at EmbeddedOAuthAPI.oauth2Providers(EmbeddedOAuthAPI.java:65)
\_ for field oauth2Providers
at EmbeddedOAuthAPI.class(EmbeddedOAuthAPI.java:65)
while locating EmbeddedOAuthAPI
at WsMasterModule.configureMultiUserMode(WsMasterModule.java:357)
at BitbucketServerApiProvider.<init>(BitbucketServerApiProvider.java:51)
\_ for 4th parameter
at BitbucketServerApiProvider.class(BitbucketServerApiProvider.java:36)
while locating BitbucketServerApiProvider
at BitbucketServerUserDataFetcher.<init>(BitbucketServerUserDataFetcher.java:59)
\_ for 3rd parameter
while locating BitbucketServerUserDataFetcher
while locating GitUserDataFetcher annotated with @Element(setName=,uniqueId=23, type=MULTIBINDER, keyType=)
at GitconfigConfigurator.<init>(GitconfigConfigurator.java:68)
\_ for 2nd parameter
while locating GitconfigConfigurator
while locating NamespaceConfigurator annotated with @Element(setName=,uniqueId=86, type=MULTIBINDER, keyType=)
at OpenShiftProjectFactory.<init>(OpenShiftProjectFactory.java:90)
\_ for 8th parameter
at OpenShiftProjectFactory.class(OpenShiftProjectFactory.java:59)
while locating OpenShiftProjectFactory
at KubernetesPersonalAccessTokenManager.<init>(KubernetesPersonalAccessTokenManager.java:92)
\_ for 1st parameter
at KubernetesPersonalAccessTokenManager.class(KubernetesPersonalAccessTokenManager.java:60)
while locating KubernetesPersonalAccessTokenManager
at GithubURLParser.<init>(GithubURLParser.java:39)
\_ for 1st parameter
at GithubURLParser.class(GithubURLParser.java:39)
at GithubFactoryParametersResolver.<init>(GithubFactoryParametersResolver.java:39)
\_ for 1st parameter
at GithubFactoryParametersResolver.class(GithubFactoryParametersResolver.java:39)
while locating GithubFactoryParametersResolver
while locating FactoryParametersResolver annotated with @Element(setName=,uniqueId=5, type=MULTIBINDER, keyType=)
Expected behavior
The pod must start successfully
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/latest
Environment
macOS
Eclipse Che Logs
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/che-serverkind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.team/AThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted CheThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Type
Projects
Status
Unplanned Tasks