microsoft / oxa-tools

Open edX on Azure Tools
MIT License
36 stars 103 forks source link

bvt.sh not available #459

Closed lukeduffyQuill closed 5 years ago

lukeduffyQuill commented 5 years ago

Hi

Im trying to create a new VMSS instance. When I try to increase the count, my provisioning fails. It appears that the bvt.sh file is removed and not reinstated.

I have added the relevant parts of the log generated.

06/02/19 03:45:09 :: Syncing the 'https://github.com/Microsoft/oxa-tools.git' repository (Branch='oxa/master.fic', Tag='') Cloning into '/oxa/oxa-tools'... /oxa/oxa-tools ~ Switched to a new branch 'oxa/master.fic' Branch oxa/master.fic set up to track remote branch oxa/master.fic from origin. ~ 06/02/19 03:45:14 :: Download configurations from keyvault 06/02/19 03:45:14 :: Removing the existing configuration from '/oxa/oxa-tools-config/env/bvt' [2019-06-02 03:45:16Z] :: Logging in as service principal for '1ccef4ae-9c4d-417e-aadc-83b5651833f1' [2019-06-02 03:45:18Z] :: Setting execution context to the '88848249-c93c-4f46-91a3-545ee11601ff' azure subscription [2019-06-02 03:45:19Z] :: Secrets Download - Downloading secrets from 'EDXAzurePrdV-kv' [2019-06-02 03:45:21Z] :: Secrets Download - Creating /oxa/oxa-tools-config/env/bvt [2019-06-02 03:45:21Z] :: Secrets Download - Filtering to 'OxaToolsConfigxxx' secrets only [2019-06-02 03:45:21Z] :: Downloading secret: 'OxaToolsConfigxxxbvtyyysh' to '/oxa/oxa-tools-config/env/bvt/bvt.sh' gc : Cannot find path '/oxa/oxa-tools-config/env/bvt/bvt.sh' because it does not exist. At /oxa/oxa-tools/scripts/Process-OxaToolsKeyVaultConfiguration.ps1:231 char:24

prabhanshu commented 5 years ago

oxa-tools points to 'oxa-tools-config' as a default value which occurs when there is a missing parameter. Please check your parameters, script should never point to deprecated path (oxa-tools-config). You can reopen the issue is you have any concerns.