Comments (5)
For issue with service-api trying connect to OpenSearch is my bad, cause there is doubleEntry enabled and need to set env vars:
- RP_ELASTICSEARCH_USERNAME
- RP_ELASTICSEARCH_PASSWORD
That is automaticly added to service jobs, but not api.
Also service-api trying connect to binded dns for service-jobs, using var
- RP_JOBS_BASEURL
The problem is that this var has almost static value:
{{ ternary "https" "http" .Values.k8s.networking.ssl }}://{{ include "reportportal.fullname" . }}-jobs{{ printf ".%s.svc.cluster.local" .Release.Namespace }}:8686/jobs
But most production clusters use other domain than .svc.cluster.local
That could be fixed on Chart level, I will send PR.
After changes I got new errors from service-api:
2024-04-08 09:53:17.172 ERROR 1 --- [a.Spring.bean-9] c.e.t.r.w.rabbit.AsyncReportingListener : exception : javax.persistence.PersistenceException, message : org.hibernate.exception.ConstraintViolationException: could not execute statement, cause : could not execute statement
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "test_item_uuid_key"
2024-04-08 09:54:17.490 ERROR 1 --- [a.Spring.bean-9] c.e.t.r.w.rabbit.AsyncReportingListener : Dropping on maximum retry limit request of type = START_TEST, for target id = jfud7re-5054-fvfm54-aaa4-38108cb11bc6
2024-04-08 10:02:50.612 ERROR 1 --- [nio-8585-exec-3] o.s.t.i.TransactionInterceptor : Application exception overridden by rollback exception
2024-04-08 10:02:50.615 ERROR 1 --- [nio-8585-exec-3] c.e.t.r.c.e.rest.RestExceptionHandler : Handled error:
2024-04-08 10:02:50.616 ERROR 1 --- [nio-8585-exec-3] .t.r.c.e.r.ReportPortalExceptionResolver : ReportPortalExceptionResolver > Could not roll back JPA transaction; nested exception is org.hibernate.TransactionException: Unable to rollback against JDBC Connection
2024-04-08 10:02:50.617 ERROR 1 --- [nio-8585-exec-3] c.e.t.r.c.e.rest.Default
and
2024-04-08 10:02:50.612 ERROR 1 --- [nio-8585-exec-3] o.s.t.i.TransactionInterceptor : Application exception overridden by rollback exception
2024-04-08 10:02:50.615 ERROR 1 --- [nio-8585-exec-3] c.e.t.r.c.e.rest.RestExceptionHandler : Handled error:
2024-04-08 10:02:50.616 ERROR 1 --- [nio-8585-exec-3] .t.r.c.e.r.ReportPortalExceptionResolver : ReportPortalExceptionResolver > Could not roll back JPA transaction; nested exception is org.hibernate.TransactionException: Unable to rollback against JDBC Connection
2024-04-08 10:02:50.617 ERROR 1 --- [nio-8585-exec-3] c.e.t.r.c.e.rest.DefaultErrorResolver : Could not roll back JPA transaction; nested exception is org.hibernate.TransactionException: Unable to rollback against JDBC Connection
For service-jobs error remaining the same
from reportportal.
I've added PR that would fix issues with env variables, still problem need attention
from reportportal.
After recreating job migration, logs from service-api is normal now.
From my investigation, after adding env vars to service-api regards doubleEntry feature, it finally has access to OpenSearch with credentials, so after that move need to run migration job
from reportportal.
Waiting for review reportportal/kubernetes#375
from reportportal.
Hello @ifurs,
If I understood correctly, we are waiting for the PR updates according to the comments there in order to apply your changes.
from reportportal.
Related Issues (20)
- Reportportal migrations: Installing the image for the first time and booting it on its own will exit HOT 2
- Report portal api: Connection refused
- Okta SAML not working. Error 403 HOT 2
- Ability to configure Pass Rate in widgets HOT 1
- Status comes as Passed while it has Failed in "statistics" api response.
- Cannot connect to postgresql from outside of docker container
- docker-compose.yaml contains the non Latin1 character HOT 2
- Security-Context policies
- Socket timeout error / com.rabbitmq.client.ChannelContinuationTimeoutException: Continuation call for method HOT 5
- Allow component health check to have a minimum passing threshold that is lower than 50%
- Report portal Email notification not worked fine HOT 2
- Even though the suites are completed but in reporting portal still it is showing as running state. HOT 7
- APIMADMIN Suite data visible on APIM Suite. HOT 9
- Tree View in Test Logs Screen HOT 1
- How to integrate with Golang testify?
- Report Portal is not displaying the cucumber steps under the scenarios
- Unclassified error [could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement] HOT 2
- unable to download SAML metadata HOT 1
- robot framework log does not get published on report portal sometime.
- Unable to login into report portal UI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reportportal.