-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-BcContainerTenants fails if called immediately after Restore-DatabasesInBcContainer #3532
Comments
Using |
Did you test whether this is related to 6.0.17 or BC 24.0 ? You could try to use Wait-BcContainerReady, which also waits for tenants to be mounted instead of your loop. |
As far as I'm aware it only happens with the latest version of the BCContainerHelper and the latest version of BC yes. If I understood |
Wait-BcContainerReady might actually have a bug as it doesn't wait for a new occurance of Ready for conenctions - but accepts an earlier one - will test restart-bccontainer. But anyway, you can run this:
To wait for all tenants are mounted. That is being run in the end of Wait-BcContainerReady as well. |
Ahh - I added a parameter called startLog - which is the part of the log to be ignored. |
Describe the issue
The commandlet Get-BcContainerTenants fails if called immediately after Restore-DatabasesInBcContainer with the following error message:
Scripts used to create container and cause the issue
Script used to create the container and to backup the database:
Script used to restore the database:
Full output of scripts
Output for container creation:
Output for restoring the database
Additional context
It was working until the 29th and thus was likely broken with the 6.0.17 update of the BcContainerHelper on the 30th.
The text was updated successfully, but these errors were encountered: