cancel
Showing results for 
Search instead for 
Did you mean: 

Kerberos Error when task "deploy" from db-deployer

jgonzal
Explorer
0 Kudos

Hi all,

I was following this tutorial for deploying a sap cap mta to hana database, and I'm getting an issue when executing task "deploy" of db-deployer when trying to deploy the app to BTP.

This is the log message retrieved from execution: 

[db-deployer] 4b0ab072-eb88-449c-968f-4cd73283ec89 [2024-04-17T15:17:50.283158] Kerberos error. Major: "No credentials were supplied, or the credentials were unavailable or inaccessible [458752]", minor: "No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_2000) [2529639053/-1765328243]"

Could it be regarding xsuaa configuration? 

This is my yaml.file: 

_schema-version: '3.1'
ID: lre_rx
version: 1.0.0
description: "LORUM Real Estate APP RX"
parameters:
  enable-parallel-deployments: true
build-parameters:
  before-all:
    - builder: custom
      commands:
        - npm ci
        - npx -p @Sap/cds-dk cds build --production
        - npx rimraf gen/db/src/gen/data
modules:
  - name: lre_rx-srv
    type: nodejs
    path: gen/srv
    parameters:
      buildpack: nodejs_buildpack
    build-parameters:
      builder: npm
    provides:
      - name: srv-api # required by consumers of CAP services (e.g. approuter)
        properties:
          srv-url: ${default-url}
    requires:
      - name: L4RE-db
      - name: L4RE-auth

  - name: lre_rx-db-deployer
    type: hdb
    path: gen/db
    parameters:
      buildpack: nodejs_buildpack
    requires:
      - name: L4RE-db

  - name: lre_rx
    type: approuter.nodejs
    path: app/router
    parameters:
      keep-existing-routes: true
      disk-quota: 256M
      memory: 256M
    requires:
      - name: srv-api
        group: destinations
        properties:
          name: srv-api # must be used in xs-app.json as well
          url: ~{srv-url}
          forwardAuthToken: true
      - name: L4RE-auth

resources:
  - name: L4RE-db
    type: com.sap.xs.hdi-container
    parameters:
      service: hana-cloud-trial
      service-plan: hana
  - name: L4RE-auth
    type: org.cloudfoundry.managed-service
    parameters:
      service: xsuaa
      service-plan: application
      path: ./xs-security.json
      config:
        xsappname: lre_rx-${org}-${space}
        tenant-mode: dedicated
 
And this are my instances and subscriptions: 
jgonzal_0-1713430213614.png

Hope you could help me,

Thank you!

Accepted Solutions (0)

Answers (0)