For a research project we have switched to rasa x enterprise (thankfully got a free 1 year licence for our project) and are now trying to install it on our kubernetes cluster using Rancher2 WebUI, but we struggle with the deployment.
First, the installation manual presents a values.yml-file with some fields for custom values. But if we install Rasa X, there already is a yml file.
We’ve tried to delete the default file and replace it with the values from our values.yml and we also tried to set „our“ values in the given yml-file. Both versions attached with newly randomised secrets as placeholders.
Installing just with the values.yml fails. Installing with our edited default yml seems to work but then fails to set up the event service and rasa-x.
Has anyone an idea how we could achieve installing Rasa X?
values.yml
# rasax specific settings
rasax:
# initialUser is the user which is created upon the initial start of Rasa Enterprise
initialUser:
# username specifies a name of this user - defaults to "admin"
username: "Alfa-Admin"
# password for the Rasa Enterprise user
password: "Pt3TzJVwcStq7XXXXXXXX"
# passwordSalt Rasa Enterprise uses to salt the user passwords
passwordSalt: "DHF1UjoCPTygXXXXXXX"
# token Rasa Enterprise accepts as authentication token from other Rasa services
token: "qdSCxRnEhyXXXXXXXXX"
# jwtSecret which is used to sign the jwtTokens of the users
jwtSecret: "R47asTVvLRazVLXXXXXX"
# Version of Rasa X
tag: "1.2.0"
# rasa: Settings common for all Rasa containers
rasa:
# token Rasa accepts as authentication token from other Rasa services
token: "si9ChLUGEB9cjaXXXXXXXX"
# tag refers to the Rasa image tag
tag: "2.8.32-spacy-de"
additionalChannelCredentials:
rest:
# nothing needed here
# RabbitMQ specific settings
rabbitmq:
# rabbitmq settings of the subchart
auth:
# password which is used for the authentication
password: "uVhR3LJMrOXXXXXXXXXX"
# global settings of the used subcharts
global:
# postgresql: global settings of the postgresql subchart
postgresql:
# postgresqlPassword is the password which is used when the postgresqlUsername equals "postgres"
postgresqlPassword: "itywQT0HdiLXXXXXXX"
# redis: global settings of the redis subchart
redis:
# password to use in case there no external secret was provided
password: "KoN6DpV4YXXXXNXXXX"
# additional configuration
separateDBMigrationService: false
# nginx specific settings
nginx:
# enabled should be `true` if you want to use nginx
# if you set false, you will need to set up some other method of routing (VirtualService/Ingress controller)
enabled: false
# app (custom action server) specific settings
app:
install: false
existingUrl: "https://our-domain.de/webhook"
ingress:
hosts:
- host: our domain.de
paths:
- /
edited default.yml
app:
args: []
automountServiceAccountToken: true
command: []
endpoints:
actionEndpointUrl: /webhook
healthCheckUrl: /health
extraEnvs: []
extraVolumeMounts: []
extraVolumes: []
install: false
existingUrl: "https://our-domain.de/webhook"
jaegerSidecar: 'false'
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
name: rasa/rasa-x-demo
nodeSelector: {}
podLabels: {}
port: 5055
readinessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
replicaCount: 1
resources: {}
scheme: http
service:
annotations: {}
tag: 0.38.0
tolerations: []
dbMigrationService:
args: []
automountServiceAccountToken: false
command: []
extraEnvs: []
extraVolumeMounts: []
extraVolumes: []
ignoreVersionCheck: false
initContainer:
command: []
resources: {}
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
name: ''
nodeSelector: {}
podLabels: {}
port: 8000
readinessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
resources: {}
service:
annotations: {}
tag: ''
tolerations: []
debugMode: false
duckling:
args: []
automountServiceAccountToken: false
command: []
enabled: true
extraEnvs: []
extraVolumeMounts: []
extraVolumes: []
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
name: rasa/duckling
nodeSelector: {}
podLabels: {}
port: 8000
readinessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
replicaCount: 1
resources: {}
scheme: http
service:
annotations: {}
tag: 0.2.0.2
tolerations: []
eventService:
args: []
automountServiceAccountToken: false
command: []
databaseName: rasa
extraEnvs: []
extraVolumeMounts: []
extraVolumes: []
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
name: rasa/rasa-x
nodeSelector: {}
podLabels: {}
port: 5673
readinessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
replicaCount: 1
resources: {}
tag: ''
tolerations: []
fullnameOverride: ''
global:
additionalDeploymentLabels: {}
postgresql:
existingSecret: ''
postgresqlDatabase: rasa
postgresqlPassword: 'itywQT0HdiLsXqjCXXXXXX'
postgresqlUsername: postgres
servicePort: 5432
progressDeadlineSeconds: 600
redis:
password: 'KoN6DpV4Y7qLfNBNXXXXX'
storageClass: ''
images:
imagePullSecrets: []
pullPolicy: Always
ingress:
annotations: {}
annotationsRasa: {}
annotationsRasaX:
nginx.ingress.kubernetes.io/proxy-body-size: '0'
nginx.ingress.kubernetes.io/proxy-read-timeout: '3600'
nginx.ingress.kubernetes.io/proxy-send-timeout: '3600'
enabled: false
hosts:
- host: our-domain.de
paths:
- /
ingressClassName: ''
tls: []
nameOverride: ''
networkPolicy:
egress:
apiCIDR: []
rasaxToHttpsCIDR: []
enabled: false
nodeCIDR: []
nginx:
args: []
automountServiceAccountToken: false
certificateSecret: ''
command: []
customConfConfigMap: ''
enabled: false
extraVolumeMounts: []
extraVolumes: []
livenessProbe:
command: []
enabled: true
initialProbeDelay: 10
name: nginx
nodeSelector: {}
podLabels: {}
readinessProbe:
command: []
enabled: true
initialProbeDelay: 10
replicaCount: 1
resources: {}
service:
annotations: {}
externalIPs: []
loadBalancerSourceRanges: []
nodePort: ''
port: 8000
type: LoadBalancer
subPath: ''
tag: '1.19'
tolerations: []
postgresql:
existingHost: ''
existingSecretKey: ''
image:
tag: 12.9.0
install: true
postgresqlPostgresPassword: ''
rabbitmq:
auth:
existingPasswordSecret: ''
password: 'uVhR3LJMrOdY7NaXXXXXX'
username: user
enabled: true
existingHost: ''
existingPasswordSecretKey: ''
install: true
service:
port: 5672
rasa:
additionalChannelCredentials: {
rest:
}
additionalEndpoints: {}
additionalRabbitQueues: []
args: []
automountServiceAccountToken: false
cacheDatabase: '2'
command: []
disableTelemetry: false
extraArgs: []
extraEnvs: []
jaegerSidecar: 'false'
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
lockStoreDatabase: '1'
name: rasa/rasa
podLabels: {}
port: 5005
rabbitQueue: rasa_production_events
scheme: http
tag: '2.8.32-spacy-de'
token: 'si9ChLUGEB9cjaXXXXXX'
tolerations: []
trackerStore:
query: {}
useLoginDatabase: true
version: 2.8.1
versions:
rasaProduction:
enabled: false
external:
enabled: false
url: http://rasa-bot
extraVolumeMounts: []
extraVolumes: []
modelTag: production
nodeSelector: {}
rasaEnvironment: production
replicaCount: 1
resources: {}
service:
annotations: {}
serviceName: rasa-production
trackerDatabase: tracker
rasaWorker:
enabled: true
external:
enabled: false
url: http://rasa-worker
extraVolumeMounts: []
extraVolumes: []
modelTag: production
nodeSelector: {}
rasaEnvironment: worker
replicaCount: 1
resources: {}
service:
annotations: {}
serviceName: rasa-worker
trackerDatabase: worker_tracker
rasaSecret: ''
rasax:
args: []
automountServiceAccountToken: false
command: []
databaseName: ''
disableTelemetry: false
dnsPolicy: ''
extraEnvs: []
extraVolumeMounts: []
extraVolumes: []
hostAliases: []
hostNetwork: false
initialUser:
password: 'Pt3TzJVwcStq7lXXXX'
username: 'Alfa-Admin'
jaegerSidecar: 'false'
jwtSecret: 'R47asTVvLRazVLXXXXX'
livenessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
name: rasa/rasa-x
nodeSelector: {}
overrideHost: ''
passwordSalt: 'DHF1UjoCPTygZOKXXXXXXX'
persistence:
accessModes:
- ReadWriteOnce
annotations: {}
existingClaim: ''
finalizers:
- kubernetes.io/pvc-protection
size: 10Gi
podLabels: {}
port: 5002
readinessProbe:
enabled: true
initialProbeDelay: 10
scheme: HTTP
resources: {}
scheme: http
service:
annotations: {}
type: ClusterIP
tag: '1.0.1'
token: 'qdSCxRnEhyEXAXXXXXX'
tolerations: []
redis:
architecture: standalone
auth:
existingSecret: ''
existingSecretPasswordKey: ''
existingHost: ''
external: false
install: true
master:
service:
port: 6379
securityContext:
fsGroup: 1000
separateDBMigrationService: false
separateEventService: 'true'
Event Service log
INFO:main:Starting event service (standalone: True). |
---|
Tue, Aug 30 2022 3:44:42 pm INFO:rasax.community.services.event_consumers.event_consumer:Started Sanic liveness endpoint at port ‘5673’. |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] Sanic v21.12.1 |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] Goin’ Fast @ http://0.0.0.0:5673 |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] mode: production, single worker |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] server: sanic |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] python: 3.8.10 |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.29 |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] packages: sanic-routing==0.7.2 |
Tue, Aug 30 2022 3:44:42 pm [2022-08-30 13:44:42 +0000] [19] [INFO] Starting worker [19] |
Tue, Aug 30 2022 3:44:59 pm /usr/local/lib/python3.8/dist-packages/sanic/log.py:89: DeprecationWarning: [DEPRECATION v22.3] You are using a deprecated error handler. The lookup method should accept two positional parameters: (exception, route_name: Optional[str]). Until you upgrade your ErrorHandler.lookup, Blueprint specific exceptions will not work properly. Beginning in v22.3, the legacy style lookup method will not work at all. |
Tue, Aug 30 2022 3:44:59 pm warn(version_info + message, DeprecationWarning) |
Tue, Aug 30 2022 3:44:59 pm [2022-08-30 13:44:59 +0000] [19] [ERROR] Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:44:59 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:44:59 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:44:59 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:44:59 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:44:59 pm import asyncio |
Tue, Aug 30 2022 3:44:59 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:44:59 pm ERROR:sanic.error:Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:44:59 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:44:59 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:44:59 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:44:59 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:44:59 pm import asyncio |
Tue, Aug 30 2022 3:44:59 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:44:59 pm [2022-08-30 13:44:59 +0000] [19] [ERROR] Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:44:59 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:44:59 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:44:59 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:44:59 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:44:59 pm import asyncio |
Tue, Aug 30 2022 3:44:59 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:44:59 pm ERROR:sanic.error:Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:44:59 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:44:59 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:44:59 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:44:59 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:44:59 pm import asyncio |
Tue, Aug 30 2022 3:44:59 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:45:09 pm [2022-08-30 13:45:09 +0000] [19] [ERROR] Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:45:09 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:45:09 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:45:09 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:45:09 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:45:09 pm import asyncio |
Tue, Aug 30 2022 3:45:09 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:45:09 pm ERROR:sanic.error:Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:45:09 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:45:09 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:45:09 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:45:09 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:45:09 pm import asyncio |
Tue, Aug 30 2022 3:45:09 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:45:09 pm [2022-08-30 13:45:09 +0000] [19] [ERROR] Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:45:09 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:45:09 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:45:09 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:45:09 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:45:09 pm import asyncio |
Tue, Aug 30 2022 3:45:09 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:45:09 pm ERROR:sanic.error:Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:45:09 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:45:09 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:45:09 pm await self.protocol.request_handler(self.request) |
Tue, Aug 30 2022 3:45:09 pm File “sentry_handle_request”, line 3, in sentry_handle_request |
Tue, Aug 30 2022 3:45:09 pm import asyncio |
Tue, Aug 30 2022 3:45:09 pm NameError: name ‘Hub’ is not defined |
Tue, Aug 30 2022 3:45:19 pm [2022-08-30 13:45:19 +0000] [19] [ERROR] Exception occurred while handling uri: ‘http://10.42.9.10:5673/health’ |
Tue, Aug 30 2022 3:45:19 pm Traceback (most recent call last): |
Tue, Aug 30 2022 3:45:19 pm File “/usr/local/lib/python3.8/dist-packages/sanic/http.py”, line 146, in http1 |
Tue, Aug 30 2022 3:45:19 pm await self.protocol.request_handler(self.request) |
… |
Tue, Aug 30 2022 3:45:19 pm [2022-08-30 13:45:19 +0000] [19] [INFO] Stopping worker [19] |
Tue, Aug 30 2022 3:45:19 pm [2022-08-30 13:45:19 +0000] [19] [INFO] Server Stopped |
Rasa X log:
Starting Rasa Enterprise server (http)… ![]() |
---|
Tue, Aug 30 2022 2:53:22 pm INFO:rasax.community.sql_migrations:Start running database migrations. |
Tue, Aug 30 2022 2:53:22 pm INFO:alembic.runtime.migration:Context impl PostgresqlImpl. |
Tue, Aug 30 2022 2:53:22 pm INFO:alembic.runtime.migration:Will assume transactional DDL. |
Tue, Aug 30 2022 2:53:22 pm INFO:rasax.community.sql_migrations:Database migrations finished. |
Tue, Aug 30 2022 2:53:22 pm ERROR:rasax.community.caches.redis_cache:Connection error while reading from redis, key: a165c160d26e237aac7a5fc2dcb37e27, error: Error 111 connecting to alfa-rasa-x-2-redis-master:6379. 111. |
Tue, Aug 30 2022 2:53:22 pm ERROR:rasax.community.caches.redis_cache:Connection error while reading from redis, key: 1ebf1f881a0d9d5836b4955d900ee9fc, error: Error 111 connecting to alfa-rasa-x-2-redis-master:6379. 111. |
Tue, Aug 30 2022 2:53:22 pm /usr/local/lib/python3.8/dist-packages/apscheduler/util.py:436: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see Migration Guide — pytz_deprecation_shim 0.1.0.post0 documentation |
Tue, Aug 30 2022 2:53:22 pm return tzinfo.localize(dt) |
Tue, Aug 30 2022 2:53:22 pm INFO:rasax.community.services.integrated_version_control.git_service:Git project synchronizaton started. Force injection: False |
Tue, Aug 30 2022 2:53:23 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:23 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:24 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:24 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:25 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:25 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:26 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:26 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:27 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:27 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:28 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:28 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:29 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:29 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:30 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:30 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:31 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:31 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:32 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:53:32 pm INFO:rasax.community.services.model_service:Couldn’t find deployment for production. Failed to get minimum compatible version. It is either not configured or not available. |
Tue, Aug 30 2022 2:54:00 pm INFO:rasax.community.services.integrated_version_control.git_service:Git project synchronizaton started. Force injection: False |
Tue, Aug 30 2022 2:55:00 pm INFO:rasax.community.services.integrated_version_control.git_service:Git project synchronizaton started. Force injection: False |