Błąd przy instalacji EZD-RP (3.13)

W waitfor:
nc: 10.0.8.202:5432 (10.0.8.202:5432): Connection timed out
10.0.8.202:5432 is unavailable - sleeping
nc: 10.0.8.202:5432 (10.0.8.202:5432): Connection timed out
10.0.8.202:5432 is unavailable - sleeping
nc: 10.0.8.202:5432 (10.0.8.202:5432): Connection timed out
10.0.8.202:5432 is unavailable - sleeping
10.0.8.202:5432 (10.0.8.202:5432) open
10.0.8.202:5432 is up
nc: bad address ‘10.08.202:6379’
10.08.202:6379 is unavailable - sleeping
nc: bad address ‘10.08.202:6379’
10.08.202:6379 is unavailable - sleeping
nc: bad address ‘10.08.202:6379’
10.08.202:6379 is unavailable - sleeping

Po poprawieniu literówki :slight_smile:
10.0.8.202:5432 (10.0.8.202:5432) open
10.0.8.202:5432 is up
10.0.8.202:6379 (10.0.8.202:6379) open
10.0.8.202:6379 is up
10.0.8.202:6380 (10.0.8.202:6380) open
10.0.8.202:6380 is up
10.0.8.202:5672 (10.0.8.202:5672) open
10.0.8.202:5672 is up
cloudadmin:2000 is unavailable - sleeping
cloudadmin:2000 is unavailable - sleeping

Wygląda jakby jakiś wewnętrzny firewall coś blokował, lub konfiguracja została źle wpisana dla baz. Z serwera z bazami danych wykonaj

systemctl status redis-server.service
systemctl status redis-append-server.service
systemctl status rabbitmq-server.service
systemctl status postgresql.service




To teraz restart serwera aplikacyjnego i sprawdzamy, czy wszystko wstanie.

Po restarcie serwera aplikacyjnego. i wykonaniu “EDIT/UPGRADE”

Waiting for Kubernetes API to be available
helm upgrade --history-max=5 --install=true --namespace=ezd --timeout=10m0s --values=/home/shell/helm/values-nask-ezdrp-ha-19.7.51.yaml --version=19.7.51 --wait=true ezdrpapp /home/shell/helm/nask-ezdrp-ha-19.7.51.tgz
Starting delete for “ezdrp” ServiceAccount
creating 1 resource(s)
Starting delete for “ezdrp-role” Role
creating 1 resource(s)
Starting delete for “ezdrp-rolebindng” RoleBinding
creating 1 resource(s)
Starting delete for “filerepohelm-cacert” Secret
Ignoring delete failure for “filerepohelm-cacert” /v1, Kind=Secret: secrets “filerepohelm-cacert” not found
creating 1 resource(s)
Starting delete for “filerepohelm-cacert” Secret
checking 60 resources for changes
Looks like there are no changes for Secret “sso-ezdrpservercert”
Looks like there are no changes for PersistentVolumeClaim “ezdrp-api-edoreczenia-storage”
Looks like there are no changes for PersistentVolumeClaim “ezdrp-api-epuap-storage”
Looks like there are no changes for PersistentVolumeClaim “ezdrp-api-kontakty-storage”
Looks like there are no changes for PersistentVolumeClaim “filerepo-api-storage”
Looks like there are no changes for PersistentVolumeClaim “sso-identityserver-storage”
Looks like there are no changes for PersistentVolumeClaim “wpe-rest-storage”
Looks like there are no changes for Service “anonimizator-api”
Looks like there are no changes for Service “bpmn-java-validators”
Looks like there are no changes for Service “btm”
Looks like there are no changes for Service “cloudadmin”
Looks like there are no changes for Service “ezdrp-api”
Looks like there are no changes for Service “ezdrp-web”
Looks like there are no changes for Service “filerepo-api”
Looks like there are no changes for Service “ezdrp-forms”
Looks like there are no changes for Service “integrator-api”
Looks like there are no changes for Service “job-trigger”
Looks like there are no changes for Service “kuip-api”
Looks like there are no changes for Service “kuip-web”
Looks like there are no changes for Service “ocr-api”
Looks like there are no changes for Service “razor”
Looks like there are no changes for Service “sso-apigateway”
Looks like there are no changes for Service “sso-customexternalproviders”
Looks like there are no changes for Service “sso-identityserver”
Looks like there are no changes for Service “teryt”
Looks like there are no changes for Service “wpe-rest”
Patch Deployment “anonimizator-api” in namespace ezd
Patch Deployment “bpmn-java-validators” in namespace ezd
Patch Deployment “btm” in namespace ezd
Patch Deployment “cloudadmin” in namespace ezd
Patch Deployment “ezdrp-api-bpmn” in namespace ezd
Patch Deployment “ezdrp-api” in namespace ezd
Patch Deployment “ezdrp-web” in namespace ezd
Patch Deployment “filerepo-api” in namespace ezd
Patch Deployment “ezdrp-forms” in namespace ezd
Patch Deployment “integrator-api” in namespace ezd
Patch Deployment “job-trigger” in namespace ezd
Patch Deployment “kuip-api” in namespace ezd
Looks like there are no changes for Deployment “kuip-web”
Patch Deployment “ocr-api” in namespace ezd
Patch Deployment “razor” in namespace ezd
Patch Deployment “sso-apigateway” in namespace ezd
Looks like there are no changes for Deployment “sso-customexternalproviders”
Looks like there are no changes for Deployment “sso-identityserver”
Patch Deployment “teryt” in namespace ezd
Patch Deployment “wpe-rest” in namespace ezd
Looks like there are no changes for HorizontalPodAutoscaler “bpmn-java-validators”
Looks like there are no changes for HorizontalPodAutoscaler “btm”
Looks like there are no changes for HorizontalPodAutoscaler “ezdrp-api-bpmn”
Looks like there are no changes for HorizontalPodAutoscaler “job-trigger”
Looks like there are no changes for Ingress “bpmn-java-validators”
Looks like there are no changes for Ingress “ezdrp-api”
Looks like there are no changes for Ingress “ezdrp-web”
Looks like there are no changes for Ingress “filerepo-api”
Looks like there are no changes for Ingress “ezdrp-forms”
Looks like there are no changes for Ingress “integrator-api”
Looks like there are no changes for Ingress “kuip-api”
Looks like there are no changes for Ingress “kuip-web”
Looks like there are no changes for Ingress “sso-customexternalproviders”
Looks like there are no changes for Ingress “sso-identityserver”
beginning wait for 60 resources with timeout of 10m0s
Deployment is not ready: ezd/btm. 0 out of 1 expected pods are ready
Deployment is not ready: ezd/btm. 0 out of 1 expected pods are ready
Deployment is not ready: ezd/btm. 0 out of 1 expected pods are ready

i tak ok 10 minut leci, kończy się błędem a w wait for :

cloudadmin:2000 is unavailable - sleeping

To trzeba zobaczyć co się dzieje logo cloudadmina.

W logach cloudamina

/run-services.sh
/services/01-dnsmasq.sh
/scripts/99-app-script.sh
EZD
Found env variables for this container :
EZD_INTERNAL_FILEREPOSITORY_HOST - filerepo-api
EZD_EXTERNALPROVIDER_1_HANDLER_TYPE - Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler, Microsoft.AspNetCore.Authentication.OpenIdConnect
EZD_INTERNAL_SSO_APIGATEWAY_HOST - sso-apigateway
EZD_CENTRUM_STATYSTYK_READER_SERVICE_URL - https://reader.stats.ezdrp.gov.pl
EZD_EMAIL_SMTP_PASSWORD - ********
EZD_INTERNAL_MUAS_HOST - muas-api
EZD_INTERNAL_CRM_PORT - 5000
EZD_INTERNAL_BTM_PORT - 5000
EZD_CENTRUM_STATYSTYK_WRITER_SERVICE_URL - https://writer.stats.ezdrp.gov.pl
EZD_INTERNAL_OCR_PORT - 5000
EZD_EMAIL_SMTP_HOST - smtp-mail.outlook.com
EZD_INTERNAL_KUIP_HOST - kuip-api
EZD_EXTERNALPROVIDER_WK_IS_ENABLED - false
EZD_INTERNAL_WPE_HOST - wpe-rest
EZD_INTERNAL_FILEREPOSITORY_PORT - 5000
EZD_INTERNAL_RABBIT_PASSWORD - *****************
EZD_INTERNAL_MUAS_PORT - 5000
EZD_INTERNAL_EZDRPFORMS_WEB_HOST - ezdrp-forms
EZD_INTERNAL_BPMNCAMUNDACOCKPIT_HOST - camunda
EZD_EXTERNALPROVIDER_1_IS_ENABLED - false
EZD_INTERNAL_RABBIT_HOST - 10.0.8.202
EZD_INTERNAL_KUIP_PORT - 5000
EZD_NAMESPACE - ezd
EZD_EMAIL_SMTP_PORT - 587
EZD_INTERNAL_RABBIT_USER - ezdrpadmin
EZD_REDIS_APPEND_SERVICENAME -
EZD_INTERNAL_RAZOR_HOST - razor
EZD_INTERNAL_WPE_PORT - 8080
EZD_INTERNAL_SSO_APIGATEWAY_CACHE_PORT - 10000
EZD_INTERNAL_ELASTIC_HOST - elasticsearch
EZD_INTERNAL_ARCHIWUM_DATASOURCE_CONFIGURATION - Host=10.0.8.202;Port=5432;Database=archiwum;Username=ezdrpadmin;Password=**********
EZD_INTERNAL_SSO_HOST - sso-identityserver
EZD_INTERNAL_ARCHIWUM_DATASOURCE_TYPE - POSTGRESQL
EZD_EXTERNALPROVIDER_WK_OPTIONS - false
EZD_REDIS_APPEND_PASSWORD - ***********************
EZD_TRACING_STRATEGY - AlwaysOff
EZD_EXTERNALPROVIDER_1_SCHEME_DISPLAY_NAME - Logowanie symulator
EZD_INTERNAL_EZDRP_ODCZYT_DATASOURCE_CONFIGURATION - Host=10.0.8.202;Port=5432;Database=ezdrp_odczyt;Username=ezdrpadmin;Password=********
EZD_EXTERNALPROVIDER_LDAP_IS_ENABLED - false
EZD_EXTERNALPROVIDER_AD_IS_ENABLED - false
EZD_SSO_MINIMUM_LOG_LEVEL - Warning
EZD_EXTERNALPROVIDER_1_SCHEME - symulator
EZD_INTERNAL_EZDRP_ODCZYT_DATASOURCE_TYPE - POSTGRESQL
EZD_INTERNAL_RABBIT_PORT - 5672
EZD_INTERNAL_RAZOR_PORT - 5000
EZD_REDIS_APPEND_HOST - 10.0.8.202
EZD_EXTERNALPROVIDER_1_OPTIONS - false
EZD_EXTERNALPROVIDER_LDAP_BIND_DN_SCHEME -
EZD_QUICKSCAN_UPDATE_URL - https://pliki.ezdrp.eadministracja.nask.pl/quickscan/version.xml
EZD_INTERNAL_ELASTIC_PORT - 8200
EZD_LOKI_SERVER_ADDRESS - http://loki.loki.svc.cluster.local:3100
EZD_INTERNAL_SSO_PORT - 5000
EZD_INTERNAL_RABBIT_DB - ezdrp
EZD_INTERNAL_TERYT_HOST - teryt
EZD_INTERNAL_RABBIT_ARCHIWUM_DB - arch
EZD_LOG_SERVER_ADDRESS - http://seq.seq.svc.cluster.local
EZD_REDIS_SERVICENAME -
EZD_INTERNAL_SEAL_HOST - seal-web
EZD_TRANSACTION_TIMEOUT - 30
EZD_EXTERNALPROVIDER_LDAP_OPTIONS - false
EZD_EXTERNALPROVIDER_AD_OPTIONS - false
EZD_EXTERNALPROVIDER_WK_DISPLAY_NAME - Logowanie INT
EZD_REDIS_APPEND_PORT - 6380
EZD_INTERNAL_ARCHIWUM_HOST - ezdrp-api
EZD_INTERNAL_API_HOST - ezdrp-api
EZD_REDIS_PASSWORD - *****************
EZD_MINIMUM_LOG_LEVEL - Information
EZD_USE_DTOCACHE - true
EZD_INTERNAL_TERYT_PORT - 5000
EZD_INTERNAL_EZDRP_DATASOURCE_CONFIGURATION - Host=10.0.8.202;Port=5432;Database=ezdrp;Username=ezdrpadmin;Password=*********
EZD_REDIS_HOST - 10.0.8.202
EZD_INTERNAL_ANONIMIZATOR_HOST - anonimizator-api
EZD_INTERNAL_EZDRP_DATASOURCE_TYPE - POSTGRESQL
EZD_INTERNAL_INTEGRATOR_HOST - integrator-api
EZD_INTERNAL_SEAL_PORT - 5000

W deployments dla cloudadmina proszę zmienić wartości na te ze zrzutu i zapisać. Po zapisaniu odczekać chwilę i zobaczyć, czy wstanie.

Tzn. puste wartości mają w tych polach być.