Skip to content

Couldn't update service instance '-uaa' due to issue with a jobscheduler #14

@vera-lazouskaya

Description

@vera-lazouskaya

Issue description

Hello,

I found the following issue, after renaming of jobscheduler instance once, if the old name is reverted back, xs-security.json config can't be applied to xsuaa service.
An example, we renamed ccflex-jobscheduler to jobscheduler and back to ccflex-jobscheduler.
After that the following syntax of xs-security.json does not work.
{
"name": "$XSAPPNAME.JOBSCHEDULER",
"description": "Job Scheduler Scope",
"grant-as-authority-to-apps": [
"$XSSERVICENAME(ccflex-jobscheduler)"
]
}

We repeated the same with another name ccflex-jobs -> ccflex-jobscheduler -> ccflex-jobs

And the error is following:
Error updating application null (Error parsing xs-security.json data: Error reading space ID for service instance 'ccflex-jobs' from cloud controller: '404 Not Found: "{"errors":[{"detail":"Service instance not found","title":"CF-ResourceNotFound","code":10010}]}"')

How can we fix it without deletion of scheduler and recreation of it, since it's time consuming to create all jobs manually?

Feedback Type (Optional)

None

Page Title on SAP Help Portal (prefilled)

What Is SAP Job Scheduling Service?

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/PRODUCT_ID/07b57c2f4b944bcd8470d024723a1631/22c2df4d22cb4a05af4c9502a67597ae.html?state=PRODUCTION&version=Cloud&locale=en-US

Metadata

Metadata

Assignees

Labels

follow-up-with/devClarification with development needed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions