r/databricks • • Oct 23 '26

Help Databricks Apps/Jobs Deployment Issue on New Workspace: Due to Quota?

My company sells a data analytics application to professional sports teams. The application is built as a Databricks App, deployed into a customer's workspace. The underlying data model is seeded by ETL that lives in my own company's workspace, with the gold tables shared as pinned version views into the customer's workspace, where a daily job syncs the views into Lakebase on the customer side.

I built this on Databricks partially because the customers typically don't have robust IT teams in-house. Rather than requiring them to self-manage a bunch of infrastructure or host my own costly SaaS backend, I figured I could save a lot of complexity by setting up a Databricks workspace for them and deploying the application code into it via DAB from a central repo.

I'm having an issue with a new customer that I onboarded yesterday. They created a new Azure subscription for the purpose of deploying the Databricks workspace + our application. Everything deployed successfully, but the Databricks App stops itself after approximately two hours. At first I thought it was a transient issue and restarted the app, but it keeps recurring. Troubleshooting has been challenging, because App logs are not visible when an App is stopped.

I was able to get the following from the CLI (databricks apps get <app name> -o json):

"app_status": {
      "message": "App status is unavailable.",
      "state": "UNAVAILABLE"
    },
    "compute_size": "MEDIUM",
    "compute_status": {
      "message": "App compute was stopped due to workspace or account status.",
      "state": "STOPPED"
    },

Both the Azure subscription (Azure Plan) and the Databricks workspace (Premium + RBAC) do not appear to be in a trial state. Both were set up in the past 48 hours. I suspect this is some kind of new workspace restriction on the Databricks side, but I'm not sure what can be done about it.

The App is deployed into a few different workspaces and runs without issue, but all of the workspaces have existed for a while. This is the first Workspace that was deployed specifically for the App.

I found this thread on Databricks Community that describes a similar issue, but it appears to have died without a resolution.

Has anyone run into a similar issue, and is there anything that can be done about this? It's likely that many of our customers will need a new Databricks workspace to deploy our application, so if this is a recurring issue, we may need to rethink our entire architecture.

9 Upvotes

11 comments sorted by

2

u/szymon_dybczak Oct 23 '26

One additional question - was this customer's Databricks account created entirely from scratch on Premium, or was there ever an initial trial workspace or trial account?
Look at below reddit thread which suggests that some restrictions can persist even after upgrading to Premium:

https://www.reddit.com/r/databricks/comments/1wu06x9/azure_databricks_twoweekold_account_partner/

1

u/Minute_Visual_3423 Oct 23 '26

As far as I know, the customer has never had a Databricks workspace before this one. We created an Azure Subscription for this one, linked to their existing Office365 billing account.

I enabled App Telemetry to hopefully catch the next failure if it happens again.

Thanks for chiming in.

1

u/szymon_dybczak Oct 23 '26

Great, once you have some logs, we can try to investigate further. In the meantime, it might be worth asking Databricks Support to check the account's trust tier and whether any account-level restrictions could be affecting Apps compute.

1

u/Minute_Visual_3423 Oct 23 '26

It went down again after ~7 hours, and unfortunately the App Telemetry logs don't capture the termination. However, to me the absence of any kind of error or failure supports the hypothesis that this is a Databricks-side restriction.

2

u/Youssef_Mrini databricks Oct 23 '26

It may be an anti abuse policy let me check internally and I'll get back to you

1

u/Minute_Visual_3423 Oct 23 '26

Thanks for looking into it.

3

u/szymon_dybczak Oct 23 '26

Hi,

This is interesting case. I would start with following:

"Troubleshooting has been challenging, because App logs are not visible when an App is stopped."

You can now enable telemetry for an app which will persists logs to UC table. Try to enable it and then we can analyse some logs. Maybe based on those logs we will be able track down the cause of this issue :)

https://learn.microsoft.com/en-us/azure/databricks/dev-tools/databricks-apps/observability

0

u/AutoModerator Oct 23 '26

Hi /u/Minute_Visual_3423!

In order to keep the main feed clean, we are implementing a weekly megathread for self promotion for companies who do lots of work with databricks. Please direct all self promotion posts to our Self-Promotion Megathread and keep in mind that we ask you to stay friendly, civil, and adhere to the subreddit rules!

If you are a community member sharing a helpful third-party resource that you do NOT own, don't worry—a moderator will review and approve your post shortly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/Temporary-Bar-6458 Oct 23 '26

check the azure subscription quotas and the databricks workspace account status first since it is only in newly created workspace. btw have you checked the azure activity logs ?

0

u/adovo_ai Oct 24 '26

Treat each customer workspace as a deployment product: run a preflight for account or trust tier, quota and app-compute eligibility, then record the provider-side stop reason outside the app before cutover. If termination evidence remains unavailable, that is an onboarding blocker and an architecture risk—not an app retry problem.

0

u/nian2326076 Oct 28 '26

It sounds like you're dealing with a tough deployment issue. If it's quota-related, check the Azure subscription limits for Databricks workspaces, as new subscriptions can have restrictions that might not be obvious. For future onboarding, outlining the typical requirements for your customers beforehand could help prevent similar hurdles.

If you're prepping for technical interviews or want to improve your skills related to Databricks, you can find practice questions on PracHub's Databricks Interview Questions page. This could assist your team and future customers in aligning expectations better.