Giter Club home page Giter Club logo

kubernetes's Introduction

Join Slack chat! stackoverflow GitHub contributors Docker Pulls License Build with Love

This repository houses the Helm chart for ReportPortal, a powerful and flexible TestOps service, that provides increased capabilities to speed up results analysis and reporting through the use of built-in analytic features.

Prerequisites

  • Kubernetes v1.26+
  • Helm Package Manager v3.4+

Documentation

Community / Support

License

Report Portal is Apache 2.0.

kubernetes's People

Contributors

alehb avatar arrase avatar avarabyeu avatar bayaro avatar danuf-zz avatar danufriev88 avatar hardnorth avatar hlebkanonik avatar igrigr avatar ivan-sukhomlyn avatar joeykb avatar jverger avatar mhumesf avatar nbob31 avatar oleksii-kh89 avatar patsevanton avatar pbortnik avatar petrovicboban avatar pressayuliya avatar raikbitters avatar serhiid avatar sijis avatar thasherwin avatar tonynoble avatar valentynkvasov avatar vutny avatar xuoja-acc avatar zopz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kubernetes's Issues

Error: failed pre-install: warning: Hook pre-install reportportal/templates/migrations-job.yaml failed: Job.batch "reportportal-migrations" is invalid

Hello! Thanks for reportportal
I try install reportportal into kubernetes by helm

cd reportportal/
helm dep update

Getting updates for unmanaged Helm repositories...
...Successfully got an update from the "https://helm.elastic.co" chart repository
...Successfully got an update from the "https://charts.bitnami.com/bitnami" chart repository
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 4 charts
Downloading postgresql from repo https://charts.helm.sh/stable
Downloading rabbitmq from repo https://charts.bitnami.com/bitnami
Downloading elasticsearch from repo https://helm.elastic.co
Downloading minio from repo https://charts.helm.sh/stable
Deleting outdated charts

cd ..
helm install reportportal ./reportportal/

Error: failed pre-install: warning: Hook pre-install reportportal/templates/migrations-job.yaml failed: Job.batch "reportportal-migrations" is invalid: spec.template.spec.containers[0].env[4].valueFrom.secretKeyRef.name: Invalid value: "": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')

Getting reportportal-api error For some times

logs reportportal-api : -

Caused by: java.io.IOException: null
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129)
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125)
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147)
at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012)
at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:52)
at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1190)
at com.sun.proxy.$Proxy273.queueDeclarePassive(Unknown Source)
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:692)
... 5 common frames omitted

Unable to install or upgrade chart on Kubernetes 1.16+

Hello.

While enabling MinIO as the dependency, the chart can be neither installed nor upgraded on K8s 1.16 clusters and newer.
Helm outputs following error:

  Error: Failed to render chart: exit status 1: Error: unable to build kubernetes objects from release manifest: unable to recognize "":
no matches for kind "Deployment" in version "apps/v1beta2"

The values are set as:

minio:
  enabled: true
  installdep:
    enable: true
  endpoint: http://reportportal-minio.reportportal.svc.cluster.local:9000
  region:
  secretName: reportportal-minio
  accesskey:
  secretkey:

Dynamic provisionin - improve helm chart

On non-minikube environments, but cloud ones such as aws, gcp, azure, we have dynamic provisioning.
As you provided PersistentVolume and PersistentVolumeClaim, then you should make conditionals to helm chart to not use PersistentVolumes when dynamic provisioning is in use. Therefore, only PVC is need.
vaules.yaml must be updated accoring to that - remove hostPath sections.
More at this link.

reportportal under path

Hello, I need to setup report portal under path, e.g
https://example.com/reportportal

What changes should be done in the ingress template? I've managed to reach login page and nothing more.
My ingress config:

apiVersion: v1
items:
- apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    annotations:
      kubernetes.io/ingress.class: nginx
      nginx.ingress.kubernetes.io/enable-rewrite-log: "true"
      nginx.ingress.kubernetes.io/proxy-body-size: 128m
      nginx.ingress.kubernetes.io/proxy-buffer-size: 512k
      nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
      nginx.ingress.kubernetes.io/proxy-busy-buffers-size: 512k
      nginx.ingress.kubernetes.io/proxy-connect-timeout: "8000"
      nginx.ingress.kubernetes.io/proxy-read-timeout: "4000"
      nginx.ingress.kubernetes.io/proxy-send-timeout: "4000"
      nginx.ingress.kubernetes.io/rewrite-target: /$2
      nginx.ingress.kubernetes.io/ssl-redirect: "false"
      nginx.ingress.kubernetes.io/x-forwarded-prefix: /$1
    generation: 5
    labels:
      app: reportportal
      chart: reportportal-5
      heritage: Helm
      release: reportportal
    name: reportportal-gateway-ingress
    namespace: reportportal
  spec:
    rules:
    - host: example.com
      http:
        paths:
        - backend:
            serviceName: reportportal-index
            servicePort: headless
          path: /reportportal/()?(.*)
        - backend:
            serviceName: reportportal-ui
            servicePort: headless
          path: /reportportal/(ui)/?(.*)
        - backend:
            serviceName: reportportal-uat
            servicePort: headless
          path: /reportportal/(uat)/?(.*)
        - backend:
            serviceName: reportportal-api
            servicePort: headless
          path: /reportportal/(api)/?(.*)
    tls:
    - hosts:
      - example.com
      secretName: example-tls

Support for Kustomize?

Hi,

is there any chance that Report Portal will support deployment via Kustomize?

Has anyone tried to spin up Report Portal via Kustomize?

Thanks

SAML integration with Ping idp throws 403 error

I deployed RP 5.35 using Helm. SAML authentication in Report Portal returns a "HTTP ERROR 403" while integrating with Ping Idp. The error is "ProtocolBinding: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect disallowed for transport of SSO response".

Wrong indent for nodeSelector

Templates files has wrong indent for nodeSelector field in reportportal v5
{{ include "nodeSelector" . | indent 8 }}

With indent=8 I got an error:
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.containers[0]): unknown field "nodeSelector" in io.k8s.api.core.v1.Container

Changing to indent=8 helped

Migrations do not report failure

The logs for the migrations show:

`timeout: unrecognized option: t
BusyBox v1.31.1 () multi-call binary.

Usage: timeout [-s SIG] SECS PROG ARGS

Runs PROG. Sends SIG to it if it is not gone in SECS seconds.
Default SIG: TERM.
wait-for-it.sh: timeout occurred after waiting 15 seconds for report01-psql-postgresql.report01.svc.cluster.local:5432
no change`

However this doesn't cause the migrations pod to go into error state in Kubernetes (just happened to notice while digging around)

Install reportportal v5 chart dependencies automatically

I did not understand why do you suggest installing chart dependencies manually in readme of reportportal v5.

So I prepared values.yaml file which allows to deploy reportportal in three commands. (Name of release should be reportportal in this case)

helm dependencies build ./reportportal/v5
helm package ./reportportal/v5
helm -n rptest install reportportal ./reportportal-5.tgz -f ./values.yaml

values.yaml:

rabbitmq-ha:
  rabbitmqUsername: rabbitmq
  rabbitmqPassword: rabbitmqpass
  replicaCount: 1
  persistentVolume:
    enabled: true
rabbitmq:
  SecretName: reportportal-rabbitmq-ha
  installdep:
    enable: true
  endpoint:
    address: reportportal-rabbitmq-ha
    user: rabbitmq
    apiuser: rabbitmq

postgresql:
  initdbScripts:
    #from /reportportal/v5/postgresql/values.yaml
    init_postgres.sh: |
      #!/bin/sh
      /opt/bitnami/postgresql/bin/psql -U postgres -d ${POSTGRES_DB} -c 'CREATE EXTENSION IF NOT EXISTS ltree; CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE EXTENSION IF NOT EXISTS pg_trgm;'
  postgresqlDatabase: reportportal
  postgresqlUsername: postgres
  postgresqlPassword: reportportalpostgres

  SecretName: reportportal-postgresql
  installdep:
    enable: true
  endpoint:
    address: reportportal-postgresql
    user: postgres
    dbName: reportportal

elasticsearch:
  replicas: 1
  minimumMasterNodes: 1
  installdep:
    enable: true

minio:
  secretName: reportportal-minio
  installdep:
    enable: true
  endpoint: http://reportportal-minio:9000

Additionally, you could add nginx-ingress to requirements.yaml to make instalation even more simper

  - name: nginx-ingress
    version: 1.34.3
    repository: https://kubernetes-charts.storage.googleapis.com/
    condition: nginx-ingress.installdep.enable

reportportal : securitycontext(fsgroup/runAsUser) ?

Hello.,

We want to deploy reportportal to kubernetes (1.14.1), however, we have a security requirement that the pods/statefulset shouldnt' start with root as user, should have securitycontext with annotations enabled. Can any one please share what is the detail of fsgroup, runAsUser ?

ReportPortalExceptionResolver > Launch 'null' not found. Did you use correct Launch ID?

Reportportal is deployed via kubernetes v5 chart.
We are using multiple integrations to this server -- python-client, soapUI client, and java client.
And suddenly all the integrations are breaking.
Error details :
`2020-12-03 04:29:30.499 ERROR 7 --- [o-8585-exec-206] .t.r.c.e.r.ReportPortalExceptionResolver : ReportPortalExceptionResolver > Launch 'null' not found. Did you use correct Launch ID?

com.epam.ta.reportportal.exception.ReportPortalException: Launch 'null' not found. Did you use correct Launch ID?
at com.epam.ta.reportportal.core.log.impl.CreateLogHandlerImpl.lambda$createLog$0(CreateLogHandlerImpl.java:95)
at java.base/java.util.Optional.orElseThrow(Unknown Source)
at com.epam.ta.reportportal.core.log.impl.CreateLogHandlerImpl.createLog(CreateLogHandlerImpl.java:95)
at com.epam.ta.reportportal.core.log.impl.CreateLogHandlerImpl$$FastClassBySpringCGLIB$$1c35ca0e.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:366)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.epam.ta.reportportal.core.log.impl.CreateLogHandlerImpl$$EnhancerBySpringCGLIB$$8d2302d5.createLog()
at com.epam.ta.reportportal.ws.controller.LogController.createLog(LogController.java:101)
at com.epam.ta.reportportal.ws.controller.LogController$$FastClassBySpringCGLIB$$f7673969.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.epam.ta.reportportal.ws.controller.LogController$$EnhancerBySpringCGLIB$$1da3b675.createLog()
at jdk.internal.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
`

NEED HELP HERE ASAP!

Installation of ingress plugin isn't described in the doc

Some comments regarding existing README guide:

  1. Installation of ingress plugin isn't described:
minikube addons enable ingress
  1. Minikube creation details:
minikube --memory 4096 --cpus 4 --vm-driver hyperkit
  1. How to find minikube IP (some static one is present in the docs):
minikube ip

V5: Api error during start: org.jasypt.exceptions.EncryptionOperationNotPossibleException: null and java.nio.file.NoSuchFileException: /data/storage/keystore/secret-integration-salt

Hi,
we are using reportportal v5.3.1 and after a OOM Killed api pod we get the following stacktraces:

2020-12-07 08:51:12.794 ERROR 6 --- [           main] c.e.t.r.filesystem.LocalDataStore        : Unable to find file 'keystore/secret-integration-salt'

java.nio.file.NoSuchFileException: /data/storage/keystore/secret-integration-salt
	at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source)
	at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
	at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
	at java.base/java.nio.file.Files.newInputStream(Unknown Source)
	at com.epam.ta.reportportal.filesystem.LocalDataStore.load(LocalDataStore.java:75)
	at com.epam.ta.reportportal.config.EncryptConfiguration.loadOrGenerateIntegrationSalt(EncryptConfiguration.java:93)
	at com.epam.ta.reportportal.config.EncryptConfiguration.afterPropertiesSet(EncryptConfiguration.java:88)

and

2020-12-07 08:51:39.473 ERROR 6 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.jasypt.exceptions.EncryptionOperationNotPossibleException: null
	at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:1169)
	at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:738)
	at org.jasypt.util.text.BasicTextEncryptor.decrypt(BasicTextEncryptor.java:112)
	at com.epam.ta.reportportal.core.integration.migration.JiraEmailSecretMigrationService.lambda$migrate$1(JiraEmailSecretMigrationService.java:55)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at com.epam.ta.reportportal.core.integration.migration.JiraEmailSecretMigrationService.lambda$migrate$2(JiraEmailSecretMigrationService.java:54)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at com.epam.ta.reportportal.core.integration.migration.JiraEmailSecretMigrationService.migrate(JiraEmailSecretMigrationService.java:52)
	at com.epam.ta.reportportal.core.integration.migration.JiraEmailSecretMigrationService$$FastClassBySpringCGLIB$$4bc27873.invoke(<generated>)

We have no minio deployed (I expect its not needed, because it was working without before)

Any ideas how to solve this issue?

Thanks and best

RP installation - cert/TLS file not working

"kubernetesVersion": "1.19.9"
helm version
version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"clean", GoVersion:"go1.14.11"}

Steps followed:

  1. helm install reportportal-ingress --namespace report-portal stable/nginx-ingress
  2. kubectl get service --namespace="report-portal"
    Updated Values.yaml -> ingress.hosts - with <LoadBalancer's EXTERNAL-IP address>
  3. helm repo add elastic https://helm.elastic.co && helm repo update
  4. helm dependency build ./reportportal/
  5. helm install elasticsearch-chart --namespace="report-portal" --set replicas=1 ./reportportal/charts/elasticsearch-7.6.1.tgz [1 replica - as i have 1 node cluster]
  6. helm install rabbitmq-chart --namespace="report-portal" --set auth.username=rabbitmq,auth.password=rmq_password,replicaCount=1 ./reportportal/charts/rabbitmq-7.5.6.tgz
  7. kubectl exec -it rabbitmq-chart-0 --namespace="report-portal" -- rabbitmqctl set_vm_memory_high_watermark 0.8
  8. helm install postgresql-chart --namespace="report-portal" --set postgresqlUsername=rpuser,postgresqlPassword=rpuser_password,postgresqlDatabase=reportportal,postgresqlPostgresPassword=postgres_password -f ./reportportal/postgresql/values.yaml ./reportportal/charts/postgresql-8.6.2.tgz
  9. helm install minio --namespace="report-portal" --set accessKey=minio_accesskey,secretKey=minio_secretkey,persistence.size=40Gi stable/minio
  10. kubectl get pods --namespace="report-portal"
  11. kubectl get service --namespace="report-portal"
  12. helm package ./reportportal/
  13. helm install reportportal-chart --namespace="report-portal" --set postgresql.SecretName=postgresql-chart,rabbitmq.SecretName=rabbitmq-chart ./reportportal-5.3.5.tgz
  14. kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.0.3/cert-manager.crds.yaml
  15. helm repo add jetstack https://charts.jetstack.io && helm repo update
  16. helm install cert-manager jetstack/cert-manager --namespace="report-portal" --version v1.0.3
  17. Created letsencrypt-clusterissuer.yaml in my local machine. and ran the below command:
    kubectl apply -f letsencrypt-clusterissuer.yaml --namespace="report-portal"

letsencrypt-clusterissuer.txt

  1. helm upgrade reportportal-chart --namespace="report-portal" -f reportportal/values.yaml --set installCRDs=true --set postgresql.SecretName=postgresql-chart,rabbitmq.SecretName=rabbitmq-chart ./reportportal-5.3.5.tgz

values.txt

After this is was able to lauch the URL https://51.105.219.36/ui/#login and login using default/1q2w3e - but it said the site it not secure:
MicrosoftTeams-image

Hence I proceeded with the next step of adding TLS. But I'm getting an error

  1. kubectl apply --namespace="report-portal" -f certificate-tls.yaml - Failed
    Getting Error:
    no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

here is the gateway ingress file and the tls file:
gateway-ingress.txt

Certificate-tls.yaml file.
certificate-tls.txt

Please help me fix this and Do let me know if there r any mismatch in the versions I'm using?
Also, every next day when I log in to work - I see all the pods would have crashed. is there any parameter to let them run forever?

Thanks in advance.

[Feature] Add tolerations to helm chart

Currently you have the capacity to add nodeselectors to helm charts (which is broken, see #125) but not tolerations if said node has taints. It would be nice if pods could also have tolerations attached to them, in case the selected nodes have taints applied. For example, we try and place them exclusively on reportportal nodes, but we don't want to leave them open.

I'm happy to tackle this myself along with the nodeselector issue if they're not in flight already, we've solved it locally already so I should have it quick

"Network Error" when hosted all services in AWS FARGATE ECS

We are using AWS FARGATE ECS to host Report Portal. We have created a Cluster. For each of the Report Portal service, we have created different Task Definition and added container/docker image for respective service. For example, we created task definition for UI, added UI docker image and started task against UI. We created task definition for UAT, added UAT docker image and started task against UAT. Same for other services. Each Task receives different IP Address. Therefore, each services runs using different IP Address.

Appropriate mapping is created using Environment Variables. Each service runs under a Task and has different IP Address. Postgres DB is hosted on AWS RDS. For example, UI service is hosted on http://13.127.217.114:8080/, UAT service runs under different IP Address, Gateway under different IP Address etc etc.

http://13.127.217.114:8080 opens the UI. But, after entering credentials it returns Network Error. When I analysed network tab , I found that token api gets called http://13.127.217.114:8080/uat/api/v1. However, UAT service is running inside another task having different IP Address . So, whats missing here ?

Point 2 - I also tried to create a single Cluster. Created single Task Definition. Added all the containers like UI, UAT, Index, Gateway etc. etc. Now, when I execute Task against this Task Definition, it gets a single IP Address and all the services runs under this. However, for service like Index, I found that it returns error as port 8080 is already in use. I observed that service UI taking 8080 port. Therefore, I have decided to host each RP service under different Task as specified above.

ALL RUNNING SERVICES

CLUSTER

Having an issue with installing reportportal using helm.

I have tried installing reportportal using Helm all dependencies are installed then I actually installing the reportportal helm chart from local package I am getting the following error message:

helm install reportportal -n testing --set postgresql.SecretName=postgresql,rabbitmq.SecretName=rabbitmq ./reportportal-5.3.5.tgz
Error: rendered manifests contain a resource that already exists. Unable to continue with install: PodDisruptionBudget "elasticsearch-master-pdb" in namespace "testing" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "reportportal": current value is "elasticsearch"

Anyone have any idea what is this error message about and how to fix it?

New reportportal release 5.4.0

Hi there,

The reportportal project has released version 5.4.0. I am not sure any plan to update to support new release?

[v4] Helm chart is broken

There were at least a dozen indentation issues that required resolution (subs of containers objects mostly), I would be happy to PR, I've got it fixed local already :)

I understand if it is deprecated, but we needed v4 due to other issues (on our end for how we send items) but it's totally nonfunctional at the moment

External MongoDB restart not reestablishing RP services in K8s.

Our RP 4.3 is in K8s which is connected to an external K8s MongoDB and we have given the connection string directly in Helm values to deploy
Connection string "mongodb://:@:/reportportal?authSource=admin" . Its up and running for . But when ever any DB restart happens due to patch upgrades, Our connection is not reestablishing and API/Authorization/Jira services are going down from RP. But all pods are up and running. What could be the reason.

Exception thrown.
Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=:, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]

Issues with API to MInio Integration

We are trying to deploy Reportportal V5. All the other services are coming up properly. However, API is not coming up when it reaches the stage of NIO file access for /plugins.

  • Tested the Access KEYS/Passwd for MInio in command line - WORKING
  • API can reach Minio IP - Working
  • GUI Minio file/folder creation - WORKING
  • API to MINIO step failing - FAILING

Could you please guide me about where is the issue?

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'infoContributorComposite' defined in URL [jar:file:/service-api-5.2.2-exec.jar!/BOOT-INF/classes!/com/epam/ta/reportportal/info/InfoContributorComposite.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'extensionsInfoContributor': Unsatisfied dependency expressed through field 'pluginBox'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pf4jPluginBox' defined in class path resource [com/epam/ta/reportportal/core/configs/PluginConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.epam.ta.reportportal.core.plugin.Pf4jPluginBox]: Factory method 'pf4jPluginBox' threw exception; nested exception is java.nio.file.AccessDeniedException: /plugins
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
        ... 61 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'infoContributorComposite' defined in URL [jar:file:/service-api-5.2.2-exec.jar!/BOOT-INF/classes!/com/epam/ta/reportportal/info/InfoContributorComposite.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'extensionsInfoContributor': Unsatisfied dependency expressed through field 'pluginBox'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pf4jPluginBox' defined in class path resource [com/epam/ta/reportportal/core/configs/PluginConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.epam.ta.reportportal.core.plugin.Pf4jPluginBox]: Factory method 'pf4jPluginBox' threw exception; nested exception is java.nio.file.AccessDeniedException: /plugins

Load Balancer not coming up

I've set the ingress.enable: true but I don't see the LoadBalancer get setup. When I do a kubectl get all I see the following:

NAME                                      READY   STATUS    RESTARTS   AGE
pod/elasticsearch-master-0                1/1     Running   0          20h
pod/elasticsearch-master-1                1/1     Running   0          20h
pod/elasticsearch-master-2                1/1     Running   0          20h
pod/minio-578445585d-qtdrv                1/1     Running   0          17h
pod/reportportal-analyzer-0               1/1     Running   0          28s
pod/reportportal-analyzer-train-0         1/1     Running   0          28s
pod/reportportal-api-76d4d4f884-rnpdn     0/1     Running   0          28s
pod/reportportal-index-6f6cf45b66-4fz2s   0/1     Running   0          28s
pod/reportportal-jobs-685cc4d4b-hfh2n     1/1     Running   0          28s
pod/reportportal-uat-545ccd85cc-g6w5k     0/1     Running   0          28s
pod/reportportal-ui-778f769866-rxb69      0/1     Running   0          28s

NAME                                    TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
service/elasticsearch-master            ClusterIP   10.100.90.178    <none>        9200/TCP,9300/TCP   20h
service/elasticsearch-master-headless   ClusterIP   None             <none>        9200/TCP,9300/TCP   20h
service/kubernetes                      ClusterIP   10.100.0.1       <none>        443/TCP             49d
service/minio                           ClusterIP   10.100.109.8     <none>        9000/TCP            17h
service/reportportal-analyzer           ClusterIP   10.100.45.32     <none>        8080/TCP            29s
service/reportportal-analyzer-train     ClusterIP   10.100.161.209   <none>        5000/TCP            29s
service/reportportal-api                ClusterIP   10.100.113.218   <none>        8585/TCP            29s
service/reportportal-index              ClusterIP   10.100.7.166     <none>        8080/TCP            29s
service/reportportal-jobs               ClusterIP   10.100.113.13    <none>        8686/TCP            29s
service/reportportal-uat                ClusterIP   10.100.34.248    <none>        9999/TCP            29s
service/reportportal-ui                 ClusterIP   10.100.137.136   <none>        8080/TCP            29s

NAME                                 READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/minio                1/1     1            1           17h
deployment.apps/reportportal-api     0/1     1            0           29s
deployment.apps/reportportal-index   0/1     1            0           29s
deployment.apps/reportportal-jobs    1/1     1            1           29s
deployment.apps/reportportal-uat     0/1     1            0           29s
deployment.apps/reportportal-ui      0/1     1            0           29s

NAME                                            DESIRED   CURRENT   READY   AGE
replicaset.apps/minio-578445585d                1         1         1       17h
replicaset.apps/reportportal-api-76d4d4f884     1         1         0       29s
replicaset.apps/reportportal-index-6f6cf45b66   1         1         0       29s
replicaset.apps/reportportal-jobs-685cc4d4b     1         1         1       29s
replicaset.apps/reportportal-uat-545ccd85cc     1         1         0       29s
replicaset.apps/reportportal-ui-778f769866      1         1         0       29s

NAME                                           READY   AGE
statefulset.apps/elasticsearch-master          3/3     20h
statefulset.apps/reportportal-analyzer         1/1     29s
statefulset.apps/reportportal-analyzer-train   1/1     29s

Error: must either provide a name or specify --generate-name

Hello! I try to install reportportalinto kubernetes by helm

helm version
version.BuildInfo{Version:"v3.6.1", GitCommit:"61d8e8c4a6f95540c15c6a65f36a6dd0a45e7a2f", GitTreeState:"clean", GoVersion:"go1.16.5"}

helm repo add stable https://charts.helm.sh/stable && helm repo update
"stable" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈

helm repo list
NAME URL
stable https://charts.helm.sh/stable

helm install ./reportportal/
Error: must either provide a name or specify --generate-name

Can i fix documentation ?

ReportPortal -- AWS S3 to replace MinIO

Hey guys,

I have couple questions.

  1. Is there any examples on how to use S3 instead of MinIO? Like what permissions should have User/Role to make it work.
  2. Is it possible to use IAM Role based access (we use kube2iam service) for this? Or it's only with keys?

[v5] org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist #1097

Hi,

I tried to deploy an reportportal instance from helm chart but I have the following error when the services api and uat started:

2020-08-04 13:23:26.056 ERROR 11 --- [           main] o.s.b.web.embedded.tomcat.TomcatStarter  : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
2020-08-04 13:23:26.120  INFO 11 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2020-08-04 13:23:26.129  WARN 11 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
2020-08-04 13:23:26.143  INFO 11 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2020-08-04 13:23:26.234  INFO 11 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2020-08-04 13:23:26.324  INFO 11 --- [           main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-08-04 13:23:26.335 ERROR 11 --- [           main] o.s.boot.SpringApplication               : Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
	at com.epam.ta.reportportal.core.configs.ReportPortalApp.main(ReportPortalApp.java:37)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:88)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
	... 16 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
	at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211)
	at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202)
	at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:96)
	at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:85)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:253)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:227)
	at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:53)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.startup.Tomcat.start(Tomcat.java:467)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107)
	... 21 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
	... 61 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/info/InfoEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1108)
	at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.createEndpointBean(EndpointDiscoverer.java:143)
	at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.createEndpointBeans(EndpointDiscoverer.java:133)
	at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.discoverEndpoints(EndpointDiscoverer.java:122)
	at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.getEndpoints(EndpointDiscoverer.java:116)
	at org.springframework.boot.actuate.autoconfigure.endpoint.web.ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.servletEndpointRegistrar(ServletEndpointManagementContextConfiguration.java:65)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
	... 62 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.info.InfoEndpoint]: Factory method 'infoEndpoint' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
	... 82 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobSchedulerInfoContributor': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1510)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1467)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1313)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1245)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.resolveStream(DefaultListableBeanFactory.java:1969)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.orderedStream(DefaultListableBeanFactory.java:1963)
	at org.springframework.boot.actuate.autoconfigure.info.InfoEndpointAutoConfiguration.infoEndpoint(InfoEndpointAutoConfiguration.java:45)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
	... 83 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [com/epam/ta/reportportal/core/configs/SchedulerConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15 [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
	... 105 common frames omitted
Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1538)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1527)
	at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3800)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1524)
	at org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1505)
	at org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508)
	at org.springframework.scheduling.quartz.SchedulerAccessor.addTriggerToScheduler(SchedulerAccessor.java:301)
	at org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:245)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:505)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1855)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1792)
	... 115 common frames omitted
Caused by: org.postgresql.util.PSQLException: ERROR: relation "quartz.scheduler_triggers" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2578)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2313)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:331)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369)
	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:159)
	at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:109)
	at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
	at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1761)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1536)
	... 126 common frames omitted

Can you help me ?

Versions:

  • reportportal/service-authorization:5.3.0
  • reportportal/service-api:5.3.0

Helm chart values:

serviceapi:
  repository: reportportal/service-api
  tag: 5.3.0
  name: api
  pullPolicy: Always
  readinessProbe:
    initialDelaySeconds: 30
    periodSeconds: 20
    timeoutSeconds: 3
    failureThreshold: 20
  resources:
    requests:
      cpu: 500m
      memory: 1024Mi
    limits:
      cpu: 1000m
      memory: 2048Mi
  jvmArgs: "-Djava.security.egd=file:/dev/./urandom -XX:+UseG1GC -XX:MinRAMPercentage=60.0 -XX:InitiatingHeapOccupancyPercent=70 -XX:MaxRAMPercentage=90.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"
  queues:
    totalNumber: 
    perPodNumber: 
  podAnnotations: {}
  securityContext: {}
  serviceAccountName: ""
uat:
  repository: reportportal/service-authorization
  name: uat
  tag: 5.3.0
  pullPolicy: Always
  resources:
    requests:
      cpu: 100m
      memory: 512Mi
    limits:
      cpu: 500m
      memory: 2048Mi
  sessionLiveTime: 86400
  podAnnotations: {}
  jvmArgs: "-Djava.security.egd=file:/dev/./urandom -XX:MinRAMPercentage=60.0 -XX:MaxRAMPercentage=90.0"
  securityContext: {}
  serviceAccountName: ""

Can't see the attachments

After a run with attachments,
image

When I access the log page with the attachments, this message/error appear:

{"errorCode":5000,"message":"Unclassified error [org.hibernate.exception.SQLGrammarException: could not extract ResultSet]"}

And I'm getting this error for each attachment on the console:
{"errorCode":4001,"message":"Incorrect Request. Unable to find file"}

After I checked the postgresql logs and when I'm trying to access the page with the atachments I'm getting this log:

2019-08-28 13:21:05.113 GMT [2678] ERROR: syntax error at or near ")" at character 76
2019-08-28 13:21:05.113 GMT [2678] STATEMENT: SELECT * FROM test_item ti WHERE ti.unique_id IN ($1) AND ti.launch_id IN ()

I think this statement is not really valid. Could you check this out?

Too Many Redirects & Unable to Login

After following the docs on getting everything installed, I'm unable to login with the default credentials: An error occurred while connecting to server: Network Error

I'm not using any external services on AWS/Azure which should make debugging this slightly easier, however there aren't any red flags in the logs that I notice.

Everything in the namespace is running and healthy:

elasticsearch-master-0                   1/1     Running   0          36m
elasticsearch-master-1                   1/1     Running   0          36m
elasticsearch-master-2                   1/1     Running   0          36m
rp-minio-779cbdd9d5-mj26z                1/1     Running   0          27m
rp-psql-postgresql-0                     1/1     Running   0          29m
rp-reportportal-analyzer-0               1/1     Running   0          26m
rp-reportportal-api-6f6dc4c96f-6px22     1/1     Running   1          26m
rp-reportportal-index-744974dbb5-zsktq   1/1     Running   0          26m
rp-reportportal-uat-79d596bdd9-v459r     1/1     Running   0          26m
rp-reportportal-ui-5f678496d8-ttmn5      1/1     Running   0          26m
rp-rmq-rabbitmq-ha-0                     1/1     Running   0          36m

Logs in the uat pod look normal:

2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.u.matcher.AntPathRequestMatcher  : Checking match of request : '/health'; against '/sso/login/**'
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.u.matcher.AntPathRequestMatcher  : Checking match of request : '/health'; against '/epam/**'
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.u.matcher.AntPathRequestMatcher  : Checking match of request : '/health'; against '/info'
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.u.matcher.AntPathRequestMatcher  : Checking match of request : '/health'; against '/health'
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.a.i.FilterSecurityInterceptor    : Secure object: FilterInvocation: URL: /health; Attributes: [permitAll]
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.a.i.FilterSecurityInterceptor    : Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@1b7d758f: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@ffff8868: RemoteIpAddress: 10.43.54.144; SessionId: null; Granted Authorities: ROLE_ANONYMOUS
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.access.vote.AffirmativeBased       : Voter: org.springframework.security.web.access.expression.WebExpressionVoter@77c004d7, returned: 1
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.a.i.FilterSecurityInterceptor    : Authorization successful
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.a.i.FilterSecurityInterceptor    : RunAsManager did not change Authentication object
2020-04-07 20:10:10.856 DEBUG 7 --- [nio-9999-exec-3] o.s.security.web.FilterChainProxy        : /health reached end of additional filter chain; proceeding with original chain
2020-04-07 20:10:10.859 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.header.writers.HstsHeaderWriter  : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@3e1b9fec
2020-04-07 20:10:10.859 DEBUG 7 --- [nio-9999-exec-3] o.s.s.w.a.ExceptionTranslationFilter     : Chain processed normally
2020-04-07 20:10:10.859 DEBUG 7 --- [nio-9999-exec-3] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed

Logs in the API pod look normal:

2020-04-07 19:44:47.177  INFO 7 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler reportportal_$_api:988c14df17f284b540d07fd82cb66a68 started.
2020-04-07 19:44:47.183  INFO 7 --- [_MisfireHandler] o.s.s.quartz.LocalDataSourceJobStore     : Handling 5 trigger(s) that missed their scheduled fire-time.
2020-04-07 19:44:48.445  INFO 7 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8585 (http) with context path ''
2020-04-07 19:44:48.449  INFO 7 --- [           main] c.e.t.r.core.configs.ReportPortalApp     : Started ReportPortalApp in 47.296 seconds (JVM running for 48.975)
2020-04-07 19:44:52.465  INFO 7 --- [nio-8585-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-04-07 19:44:52.465  INFO 7 --- [nio-8585-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2020-04-07 19:44:52.477  INFO 7 --- [nio-8585-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 12 ms
2020-04-07 19:44:52.586  INFO 7 --- [nio-8585-exec-1] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: rp-rmq-rabbitmq-ha.rp.svc.cluster.local:5672
2020-04-07 19:44:52.589  INFO 7 --- [nio-8585-exec-1] o.s.a.r.c.CachingConnectionFactory       : Created new connection: analyzerConnectionFactory#3204e238:0/SimpleConnection@5fe2e9dc [delegate=amqp://[email protected]:5672/analyzer, localPort= 45424]
2020-04-07 19:59:48.561  WARN 7 --- [ ConnectionPool] okhttp3.OkHttpClient                     : A connection to http://rp-minio.rp.svc.cluster.local:9000/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

Logs in the UI pod look strange:

2020/04/07 20:08:11 "POST http://localhost:8080/uat/sso/oauth/token HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 33.997µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 27.118µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 25.612µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 19.416µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 22.081µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 20.383µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 23.832µs
2020/04/07 20:08:11 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 19.722µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 20.838µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 22.687µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 20.573µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 18.556µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 20.172µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 18.482µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 20.428µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 21.73µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 22.183µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 28.027µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 33.315µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 18.116µs
2020/04/07 20:08:12 "POST http://localhost:8080/ui/ HTTP/1.1" from 127.0.0.1:46406 - 307 0B in 40.53µs

Good to note: I followed each step as it was written in the README, minio, elasticsearch and postgres are all running in the cluster with default configurations (no crazy passwords, etc) so I'm extremely confused what's going wrong here. I'm also exposing the UI using kubectl port-forward since exposing the service with an ingress causes my browser to redirect too many times (as shown in the logs)

Any tips or pointers on how to debug this or figure out what is going on would be great!

P.S: yes, I've looked at this however it was extremely unhelpful in figuring out root-cause

mv v5 reportportal .... grrr

According to the docs you should rename the directory "v5" to "reportportal".

This is a bit annoying since you can easily create pull request, since the path of all files in this directory have changed.

It would be cool, if you could find a way to get it working without a "mv".

For example like this: Create a directory in v5:

v5/reportportal/

Set default credentials

A question rather than an issue, what is the recommendation on setting default passwords for superadmin and default? Is it possible to supply these in the helm chart values? Or call an API to reset them? Or create new users and disable these accounts?

RabbitMQ "analyzer" vhost not automatically created or documented

I found that the reportportal-analyzer would not start up and reported:

Exception (403) Reason: "no access to this vhost"

The error above does not include the name of the vhost which isn't in configuration so had to dive into the code which shows it is hard-coded as "analyzer":

https://github.com/reportportal/service-analyzer/blob/master/main.go#L131

Manually creating this vhost in the RabbitMQ portal worked around the issue.

RabbitMQ version 3.7.8

Perhaps this needs to be documented or the vhost automatically created?
https://github.com/reportportal/kubernetes/tree/master/reportportal/v5#5-rabbitmq-installation

List of problems with helm chart.

Hi.

The sense of a helm chart is to have the k8s specs completely free of default values, so a user can overwrite them in the values.yaml as she sees fit.

Furthermore it makes no sense to let a user overwrite to her own registry but tell her to use your specific image. If certain changes are required to run a ES that is fit for RP are needed, i'd either create a sidecar or schedule a k8s-job for this. The customers you'll want to target most likely have their preferred ES version and that way they could make it run. Dictating the specific image leads nowhere. Another one that comes to mind is the data directory path.

RE: #3 - https://github.com/helm/charts/blob/master/stable/mongodb/values.yaml#L147 << storageClass should be defined and listed as "-"

When storageClass is defined and equals to gp2 or something related to cloud envs, then PVC is used and not PV and there is no need for volumeNames.

If storageClass is not default (e.g. "gp2" or whatever), then hostPath is not needed.

Applying ingress as it and creating A record in DNS will not resolve addresses in values.yaml. It should be changed to NodePort, not ClusterIP. ClusterIP is used when you're using minikube because everything is NATed. This does not even remotely cover cloud environments.

missing required field "serviceName" in io.k8s.api.apps.v1beta2.StatefulSetSpec;

Hi,
I'm getting the following error running this on K8s:

Kubectl apply failed. Error: error: error validating "/tmp/app-template407551671": error validating data: ValidationError(StatefulSet.spec): missing required field "serviceName" in io.k8s.api.apps.v1beta2.StatefulSetSpec; if you choose to ignore these errors, turn validation off with --validate=false : exit status 1

Thanks,

Martin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.