-
Notifications
You must be signed in to change notification settings - Fork 9
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
Do entitlement check before any Azure resources are created #111
Conversation
52ddbf2
to
9d1ccc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @rk thanks for bringing my focus to this thread. Here is my argument for why the ~8 minute addition is worthwhile:
My interpretation of the spirt of the business agreement IBM and Microsoft entered in March 2021 is that the Marketplace Offers we create support lead generation, prototyping, and awareness raising. At Microsoft, we call this sort of thing “the top of the funnel” (personally I hate the term). For such offers, we want to optimize for frustration minimization. If I was a user testing this stuff out, I’d find the following scenarios so frustrating I might just give up and go to a competitor.
I have an entitlement but there is a typo in the credentials. I’d rather know in 8 minutes than in 20.
I don’t have an entitlement, but I think I do. Again, I’d rather know sooner.
So, I continue to +1 this PR.
Signed-off-by: Jianguo Ma <[email protected]>
Signed-off-by: Jianguo Ma <[email protected]>
Signed-off-by: Jianguo Ma <[email protected]>
Signed-off-by: Jianguo Ma <[email protected]>
Signed-off-by: Jianguo Ma <[email protected]>
Signed-off-by: Jianguo Ma <[email protected]>
9d1ccc7
to
e2f3c99
Compare
Signed-off-by: Jianguo Ma <[email protected]>
At the 2021-10-26 weekly meeting, we decided the approval of this approach depends on the answer to this question:
If the answer is yes, we can proceed with this approach. If the answer is no, we must find an approach for which the answer is yes before we can proceed, or we must abandon this idea entirely. |
@edburns @gcharters @NottyCode @git4rk The answer is I think the better solution is to refine the entitlement check logic at the IBM side (e.g., using a session or token to cache/carry the entitlement check result), but I don't think it's feasible as for now. So I will just close the PR now and maybe reopen it if a smarter idea comes out in the future. |
@majguo Are we not able to stop/fail the provisioning right after the entitlement check fails on one or more of the cluster VMs? If yes, then this should also take around 8 mins, right? |
@git4rk Entitlement check is executed in cloud-init stage of VM provisioning, but Azure doesn't support to propagate the state of cloud-init script execution which can be used to control the process. That's said, yes, we will wait until entitlement check in all of VMs completed no matter it succeeded or not, as what I observed during the testing before. For your question:
As these check are executed in the VM extension running phase which are expected running in parallel, so ideally they won't use 8 mins * number_of_VM in total. |
Description
This PR is to fix the following issues:
Change summary
Testing
The following test cases have been passed before opening the PR:
DefaultApplication
to the cluster and IHS, which is accessible later;Here is the preview link for testing.
Signed-off-by: Jianguo Ma [email protected]