-
Notifications
You must be signed in to change notification settings - Fork 24
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
P2 Test Preview Image using the stack #13
Comments
@VarunChopraAccolite @ashutosh-kumar1
Use the template in its original condition and ensure you chose the PREVIEW option for the Also use the production git branch. The default value in the template. So remove I also think it may be best for the 2 new Regions to let the template create the database rather than manually setup the database server in those Regions. So for those 2 Regions, set |
Hi @robe070 , I had created a new vmss with name 'rgakvmss' and new database with name 'test-ak1' and provided them as deployment parameters. Attaching screenshot for the diffs too |
Its quite clear what the issue is: Just go to the portal and create a VM from the preview image. |
@ashutosh-kumar1 I have created the VM for you. You will now be able to create the stack. When creating a stack the directive is:
So, I've deleted your Resource Group and you can create a database in Shared using the existing Database Server |
@robe070 , Thanks for creating a dummy-VM. I was able to deploy the template using the market place preview image in Australia East location. Can you tell me the necessity of creating a VM from the preview image? |
@robe070 I tried manually executing the script for the mentioned regions. I was successfully able to execute the script for US East and Australia East locations but it failed for West India with the attached 'invalid template deployment error'. Couldn't figure out why the template was valid for the other two regions but not for the 'West India' region. |
Just go to the url provided in the error message and you'll get your answer: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/error-sku-not-available The VM Size is almost certainly invalid. Use the technique described in the url to determine what IS available to you in that region. Make sure you check both VM Sizes. |
As the error message describes, the baking Images subscription needed to be subscribed to the preview. That occurs when you create a VM from it in the Azure Portal. Its possible to do it from Powershell, but its a one off and quick to do so its unnecessary to code for it. It will never need to be subscribed to again for subsequent versions. Its now subscribed to the Offer/SKU combination. It may be that I've subscribed to the complete Offer, If so the following will not need to be done... When the image is published into production, I'll need to repeat the exercise. And again when the new images are created for preview and production. |
@robe070 I have tested the deployment of the preview image manually in the 3 locations: Australia East, US East and France Central. The resource groups are present in the Azure portal for your reference (named as rgak). Meanwhile, I am creating a script to do the same as per this issue and will start working on the solution template thereafter. |
I have checked your tests as it was not possible for you to provide test results easily as they are not yet automated. They all run successfully. I am now publishing the image. |
I've realised that even though the image has passed the tests, the script thats required of this Issue has not yet been completed. So I've move it to Phase 2. |
Heads up - this issue was moved between project columns. cc @VarunChopraAccolite, @ashutosh-kumar1 |
@rob, I have already started automating the script for testing the preview image. Parallelly I have also written a test script to test the 4 URLs mentioned in issue #7. The only thing left in it is to get the lbfqdn value which is pending. |
Heads up - this issue was moved between project columns. cc @VarunChopraAccolite, @ashutosh-kumar1 |
hi @robe070 Thanks |
Heads up - this issue was moved between project columns. cc @VarunChopraAccolite, @ashutosh-kumar1 |
Ref: Testing Preview Template or Preview Image
lansa-scalable-license-preview
. If the image is in production then the Offer will belansa-scalable-license
. If its a Custom Image the developer will need to ascertain themselves what the values should be. The SKU is the text version of the Plan Id. Presumably the Powershell cmdlet will use the Plan ID. For the current image the Plan ID does not match the image name. The Plan ID islansa-scalable-license-14-2
. For all other images it is the Image Name minus the version number. Refer to the table in P4 Azure Plan & Image Naming #4 for the mapping.The text was updated successfully, but these errors were encountered: