Skip to content

Troubleshooting empty HDI if subscribed on Windows#2550

Open
vkozyura wants to merge 2 commits intomainfrom
troubleshooting-empty-hdi
Open

Troubleshooting empty HDI if subscribed on Windows#2550
vkozyura wants to merge 2 commits intomainfrom
troubleshooting-empty-hdi

Conversation

@vkozyura
Copy link
Copy Markdown
Contributor

@vkozyura vkozyura commented May 4, 2026

No description provided.

@vkozyura vkozyura requested a review from renejeglinsky as a code owner May 4, 2026 08:23
@vkozyura vkozyura requested a review from stewsk May 4, 2026 08:24
@renejeglinsky renejeglinsky requested review from ecklie and swaldmann May 4, 2026 08:29
Comment thread get-started/get-help.md Outdated
```
On macOS and Linux, the built-in implementation continues to be used.

### Why are tenant HDI containers empty after subscription on Windows?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only valid for hybrid testing, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, in production you usually sibscribe in CF cockpit

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what difference does this make? If you have built your app on windows, then the resources.tgz is missing (or empty), and then nothing gets deployed to the HDI container, no matter how you subscribe.
So I think this applies also to production.
Or am I wrong here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I mean: it doesn't matter how you subscribe, but how the app is built

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stewsk: Agree, then we should change from "troubleshooting empty HDI" - just copied it from the issue :) - to "issues building MTX resources". And for the last one we already have troubleshooting item above - I will modify it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the visible impact is on the deployed application

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ecklie: In some cases we obtain an explicite error "tar: Error is not recoverable" by cds build. In some other cases cds build may silently fail, which can be seen only on the deployed application. My question for now: In troubleshooting guide - should it be one or two sections?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the error message we do have the troubleshooting info already. So this can be found. How would we describe the other case? How would one notice on the deployed application if the build doesn't throw an error?

Copy link
Copy Markdown
Contributor Author

@vkozyura vkozyura May 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would we describe the other case? How would one notice on the deployed application if the build doesn't throw an error?

This is exactly what the newly added section does: "Why are tenant HDI containers empty after building app on Windows?"

My question was if we should merge those two section?

Copy link
Copy Markdown
Contributor

@ecklie ecklie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the problem is caused by the build. It also has impact on the productive app. We need to check if we can improve the build and add a consistency check.

Comment thread get-started/get-help.md
```
On macOS and Linux, the built-in implementation continues to be used.

### Why are tenant HDI containers empty after building app on Windows?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be wrong or simplify it too much, but to me this reads as if there's is already a first analysis done and I found that HDI containers are empty.
What is it that makes me investigate? Like "Can't get/read data from customer tenant"?. So folks who have not done an initial analysis and found the empty containers, what would they look for in our troubleshooting?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the ticket describibg the issue: https://github.tools.sap/cap/issues/issues/19999.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in my case the "symptom" was that I got funny runtime errors from the Node.js runtime saying that table xyz is not there (don't remember the precise error message)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. It is not after building an app but after subscription.
"Why are tenant HDI containers empty after tenant subscription"
It think the error message is something like "table not found". I will check it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SqlError: invalid table name: Could not find table/view ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants