Hi I am trying to install harness community cd using helm on Kubernetes cluster, below are the errors I am seeing in which ng-manager pod is going into crashloop and the log message attached below.
NAME READY STATUS RESTARTS AGE
redis-c9b4dd6b9-48qz4 1/1 Running 0 19m
proxy-5bfd5cfccb-fvwsc 0/1 Init:0/1 0 19m
delegate-proxy-65c49ff7b4-hb6dr 1/1 Running 0 19m
scm-789ddf8c95-6ftc4 1/1 Running 0 19m
ng-ui-746f8df884-hgs54 1/1 Running 0 19m
ng-auth-ui-5df68d7546-ldc28 1/1 Running 1 (19m ago) 19m
log-service-85774b5fb8-7m4sh 1/1 Running 0 19m
mongodb-replicaset-chart-0 1/1 Running 0 19m
pipeline-service-767476d989-4hjfd 1/1 Running 0 19m
platform-service-6fdfcd9bf6-wkdz4 1/1 Running 0 19m
manager-749b76d95c-4b9mj 1/1 Running 0 19m
ng-manager-78b7b4c978-qkvcp 0/1 CrashLoopBackOff 6 (37s ago) 19m
2022-04-10 18:06:16,845 [main] ERROR io.harness.yaml.schema.YamlSchemaGenerator - We can have some error in schema of node variables with FieldSubtypeData(fieldName=variables, discriminatorName=type, discriminatorType=PROPERTY, subtypesMapping=[SubtypeClassMap(subtypeEnum=Number, subTypeDefinitionKey=NumberNGVariable, subTypeClass=class io.harness.yaml.core.variables.NumberNGVariable), SubtypeClassMap(subtypeEnum=String, subTypeDefinitionKey=StringNGVariable, subTypeClass=class io.harness.yaml.core.variables.StringNGVariable), SubtypeClassMap(subtypeEnum=Secret, subTypeDefinitionKey=SecretNGVariable, subTypeClass=class io.harness.yaml.core.variables.SecretNGVariable)]).
2022-04-10 18:06:16,846 [main] ERROR io.harness.yaml.schema.YamlSchemaGenerator - We can have some error in schema of node variables with FieldSubtypeData(fieldName=variables, discriminatorName=type, discriminatorType=PROPERTY, subtypesMapping=[SubtypeClassMap(subtypeEnum=Number, subTypeDefinitionKey=NumberNGVariable, subTypeClass=class io.harness.yaml.core.variables.NumberNGVariable), SubtypeClassMap(subtypeEnum=String, subTypeDefinitionKey=StringNGVariable, subTypeClass=class io.harness.yaml.core.variables.StringNGVariable), SubtypeClassMap(subtypeEnum=Secret, subTypeDefinitionKey=SecretNGVariable, subTypeClass=class io.harness.yaml.core.variables.SecretNGVariable)]).
2022-04-10 18:06:16,849 [main] ERROR io.harness.yaml.schema.YamlSchemaGenerator - We can have some error in schema of node variables with FieldSubtypeData(fieldName=variables, discriminatorName=type, discriminatorType=PROPERTY, subtypesMapping=[SubtypeClassMap(subtypeEnum=Number, subTypeDefinitionKey=NumberNGVariable, subTypeClass=class io.harness.yaml.core.variables.NumberNGVariable), SubtypeClassMap(subtypeEnum=String, subTypeDefinitionKey=StringNGVariable, subTypeClass=class io.harness.yaml.core.variables.StringNGVariable), SubtypeClassMap(subtypeEnum=Secret, subTypeDefinitionKey=SecretNGVariable, subTypeClass=class io.harness.yaml.core.variables.SecretNGVariable)]).
2022-04-10 18:06:18,842 [main] ERROR io.harness.yaml.schema.YamlSchemaGenerator - We can have some error in schema of node owner with FieldSubtypeData(fieldName=owner, discriminatorName=type, discriminatorType=EXISTING_PROPERTY, subtypesMapping=[SubtypeClassMap(subtypeEnum=SERVICE_ACCOUNT, subTypeDefinitionKey=ServiceAccountPrincipal, subTypeClass=class io.harness.security.dto.ServiceAccountPrincipal), SubtypeClassMap(subtypeEnum=SERVICE, subTypeDefinitionKey=ServicePrincipal, subTypeClass=class io.harness.security.dto.ServicePrincipal), SubtypeClassMap(subtypeEnum=USER, subTypeDefinitionKey=UserPrincipal, subTypeClass=class io.harness.security.dto.UserPrincipal), SubtypeClassMap(subtypeEnum=API_KEY, subTypeDefinitionKey=ApiKeyPrincipal, subTypeClass=class io.harness.security.dto.ApiKeyPrincipal)]).
2022-04-10 18:06:36,743 [main] ERROR io.harness.remote.client.RestClientUtils - IO error while connecting to the service: /api/ng/accounts/list
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at okhttp3.internal.platform.Platform.connectSocket(Platform.java:124)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:220)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:146)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:186)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at io.harness.remote.client.AbstractHttpClientFactory.lambda$getUnsafeOkHttpClient$0(AbstractHttpClientFactory.java:135)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at io.harness.request.RequestContextFilter.lambda$getRequestContextInterceptor$0(RequestContextFilter.java:96)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at io.harness.remote.client.AbstractHttpClientFactory.lambda$getGitContextInterceptor$1(AbstractHttpClientFactory.java:165)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at io.harness.ng.core.CorrelationContext.lambda$getCorrelationIdInterceptor$0(CorrelationContext.java:50)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at io.harness.remote.client.AbstractHttpClientFactory.lambda$getAuthorizationInterceptor$2(AbstractHttpClientFactory.java:190)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
at okhttp3.RealCall.execute(RealCall.java:63)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
at io.harness.remote.client.RestClientUtils.getResponse(RestClientUtils.java:50)
at io.harness.remote.client.RestClientUtils.getResponse(RestClientUtils.java:40)
at io.harness.ng.core.migration.NGAccountSettingsMigration.migrate(NGAccountSettingsMigration.java:27)
at io.harness.migration.service.impl.NGMigrationServiceImpl.doMigration(NGMigrationServiceImpl.java:179)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runForegroundMigrations(NGMigrationServiceImpl.java:142)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runMigrationsInner(NGMigrationServiceImpl.java:125)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runMigrations(NGMigrationServiceImpl.java:110)
at io.harness.migration.NGMigrationSdkInitHelper.initialize(NGMigrationSdkInitHelper.java:25)
at io.harness.ng.NextGenApplication.registerMigrations(NextGenApplication.java:452)
at io.harness.ng.NextGenApplication.run(NextGenApplication.java:412)
at io.harness.ng.NextGenApplication.run(NextGenApplication.java:249)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:93)
at io.harness.ng.NextGenApplication.main(NextGenApplication.java:262)
io.harness.migration.MigrationException: [Migration] - ngmanager : Error while running migration MongoMigration
at io.harness.migration.service.impl.NGMigrationServiceImpl.doMigration(NGMigrationServiceImpl.java:189)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runForegroundMigrations(NGMigrationServiceImpl.java:142)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runMigrationsInner(NGMigrationServiceImpl.java:125)
at io.harness.migration.service.impl.NGMigrationServiceImpl.runMigrations(NGMigrationServiceImpl.java:110)
at io.harness.migration.NGMigrationSdkInitHelper.initialize(NGMigrationSdkInitHelper.java:25)
at io.harness.ng.NextGenApplication.registerMigrations(NextGenApplication.java:452)
at io.harness.ng.NextGenApplication.run(NextGenApplication.java:412)
at io.harness.ng.NextGenApplication.run(NextGenApplication.java:249)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:93)
at io.harness.ng.NextGenApplication.main(NextGenApplication.java:262)
Caused by: io.harness.exception.UnexpectedException: Unable to connect to upstream systems, please try again.
at io.harness.remote.client.RestClientUtils.getResponse(RestClientUtils.java:74)
at io.harness.remote.client.RestClientUtils.getResponse(RestClientUtils.java:40)
at io.harness.ng.core.migration.NGAccountSettingsMigration.migrate(NGAccountSettingsMigration.java:27)
at io.harness.migration.service.impl.NGMigrationServiceImpl.doMigration(NGMigrationServiceImpl.java:179)
⌠12 more
Regards,
Narasimha Reddy.