GithubHelp home page GithubHelp logo

Your deployment failed about moodle HOT 18 CLOSED

Aman123mishra avatar Aman123mishra commented on June 27, 2024 1
Your deployment failed

from moodle.

Comments (18)

MarekSuwart avatar MarekSuwart commented on June 27, 2024 1

thanks, but all resources are already gone :)

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024 1

fully customizeable also works

from moodle.

naioja avatar naioja commented on June 27, 2024 1

@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.

Please make sure you are deploying from our master branch and if you use your own fork please update it.

Make sure that the _artifacts Location points to the right updated repo branch https://raw.githubusercontent.com/Azure/Moodle/master/ as in the screenshot below. Basically you would need to make sure the following PR is present #285

image

from moodle.

saikondapalli11 avatar saikondapalli11 commented on June 27, 2024 1

@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.

Hi Aman,

Please retry the steps as naioja mentioned and let us know how the deployment goes on.

Thanks

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024 1

Hi @naioja, Now Maximum template deployed successfully.
There was so many conflicts because previously so many time i tried to deploy these templates in different different resource groups but now finally its done.
Now i have start to migrate current running Moodle into this template.
I will keep updating.
Thanks for you support.🙂

@saikondapalli11 Yes, Now its working Thanks for your support. 🙂

from moodle.

naioja avatar naioja commented on June 27, 2024 1

@Aman123mishra for any other problem with this deployment please open another issue.

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024

Same here (error when deploying scale set template):

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'setup_moodle'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n### Script Start Fri Jun 2 10:16:05 UTC 2023###\nInvalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed. Exiting\n\n[stderr]\nluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n++ jq -r .fileServerProfile.fileServerDiskSize\n/usr/bin/jq: line 1: syntax error near unexpected token newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export fileServerDiskSize=\n+ fileServerDiskSize=\n++ jq -r .phpProfile.phpVersion\n++ echo '{\"siteProfile\":{\"siteURL\":\"lb-v74jpr.northeurope.cloudapp.azure.com\",\"httpsTermination\":\"VMSS\",\"thumbprintSslCert\":\"None\",\"thumbprintCaCert\":\"None\"},\"moodleProfile\":{\"version\":\"MOODLE_38_STABLE\",\"dbName\":\"moodle\",\"dbUser\":\"moodle\",\"dbUserAzure\":\"moodle\",\"dbPassword\":\"9#36^4jprfjhkERCQ\",\"adminPassword\":\"XLjprfjhk,1*8\",\"storageAccountName\":\"absv74jprnaf\",\"storageAccountKey\":\"IF3oa847XHA88TrSWRy090OT07NNrUx9C8wk0hYY1N6iZi9/8yVrfNJEGFfz1WJ1mmuBzULUjEE7+AStYQPd6Q==\",\"storageAccountType\":\"Standard_LRS\",\"redisDns\":\"redis-v74jpr.redis.cache.windows.net\",\"redisKey\":\"None\",\"elasticVm1IP\":\"172.31.5.20\",\"installO365pluginsSwitch\":false,\"installObjectFsSwitch\":false,\"installGdprPluginsSwitch\":false,\"searchType\":\"none\",\"azureSearchKey\":\"None\",\"azureSearchNameHost\":\"azure-search-v74jpr.search.windows.net\",\"tikaVmIP\":\"none\",\"syslogServer\":\"controller-vm-v74jpr\",\"webServerType\":\"nginx\",\"htmlLocalCopySwitch\":true,\"isMigration\":false},\"dbServerProfile\":{\"type\":\"mysql\",\"fqdn\":\"mysqlflex-v74jpr.mysql.database.azure.com\",\"adminLogin\":\"dbadmin\",\"adminLoginAzure\":\"dbadmin\",\"adminPassword\":\"bv74jprfjhk*7PFIWB\",\"mssqlDbServiceObjectiveName\":\"S1\",\"mssqlDbEdition\":\"Standard\",\"mssqlDbSize\":\"250GB\"},\"fileServerProfile\":{\"type\":\"nfs\",\"nfsVmName\":\"controller-vm-v74jpr\",\"glusterVmName\":\"gluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n/usr/bin/jq: line 1: syntax error near unexpected token newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export phpVersion=\n+ phpVersion=\n++ echo '{\"siteProfile\":{\"siteURL\":\"lb-v74jpr.northeurope.cloudapp.azure.com\",\"httpsTermination\":\"VMSS\",\"thumbprintSslCert\":\"None\",\"thumbprintCaCert\":\"None\"},\"moodleProfile\":{\"version\":\"MOODLE_38_STABLE\",\"dbName\":\"moodle\",\"dbUser\":\"moodle\",\"dbUserAzure\":\"moodle\",\"dbPassword\":\"9#36^4jprfjhkERCQ\",\"adminPassword\":\"XLjprfjhk,1*8\",\"storageAccountName\":\"absv74jprnaf\",\"storageAccountKey\":\"IF3oa847XHA88TrSWRy090OT07NNrUx9C8wk0hYY1N6iZi9/8yVrfNJEGFfz1WJ1mmuBzULUjEE7+AStYQPd6Q==\",\"storageAccountType\":\"Standard_LRS\",\"redisDns\":\"redis-v74jpr.redis.cache.windows.net\",\"redisKey\":\"None\",\"elasticVm1IP\":\"172.31.5.20\",\"installO365pluginsSwitch\":false,\"installObjectFsSwitch\":false,\"installGdprPluginsSwitch\":false,\"searchType\":\"none\",\"azureSearchKey\":\"None\",\"azureSearchNameHost\":\"azure-search-v74jpr.search.windows.net\",\"tikaVmIP\":\"none\",\"syslogServer\":\"controller-vm-v74jpr\",\"webServerType\":\"nginx\",\"htmlLocalCopySwitch\":true,\"isMigration\":false},\"dbServerProfile\":{\"type\":\"mysql\",\"fqdn\":\"mysqlflex-v74jpr.mysql.database.azure.com\",\"adminLogin\":\"dbadmin\",\"adminLoginAzure\":\"dbadmin\",\"adminPassword\":\"bv74jprfjhk*7PFIWB\",\"mssqlDbServiceObjectiveName\":\"S1\",\"mssqlDbEdition\":\"Standard\",\"mssqlDbSize\":\"250GB\"},\"fileServerProfile\":{\"type\":\"nfs\",\"nfsVmName\":\"controller-vm-v74jpr\",\"glusterVmName\":\"gluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n++ jq -r .moodleProfile.isMigration\n/usr/bin/jq: line 1: syntax error near unexpected token newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export isMigration=\n+ isMigration=\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ check_fileServerType_param\n+ local fileServerType=\n+ '[' '' '!=' gluster -a '' '!=' azurefiles -a '' '!=' nfs -a '' '!=' nfs-ha -a '' '!=' nfs-byo ']'\n+ echo 'Invalid fileServerType () given. Only '\\''gluster'\\'', '\\''azurefiles'\\'', '\\''nfs'\\'', '\\''nfs-ha'\\'' or '\\''nfs-byo'\\'' are allowed. Exiting'\n+ exit 1\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "}]}

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024

looks like the storage account needs to be in Premium SKU, so it can have NFS enabled (currently the standard sku is in the template))

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024

I don't think so, Bcz in my case already in premium and in the march month i was successfully deployed Large size template for the testing purpose but this time all template getting same error.
As i have seen in the helper_function.sh file, check_fileServerType_parm() function where fileservertype not passed may be that is the reason.
3214b6b1-6870-446c-8a66-722ebd044508

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024

yes, thou not Premium but i think NFS should be enabled on the storage account, and what i can see after the deployment it is not.

from moodle.

naioja avatar naioja commented on June 27, 2024

The PR #285 should fix the issue.

@MarekSuwart please make sure that you edit your comment #284 (comment) as it contains sensitive data.

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024

The PR #285 should fix the issue.

@MarekSuwart please make sure that you edit your comment #284 (comment) as it contains sensitive data.

Hi Joian,

Thanks, but still facing same issue.

The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure)

VM has reported a failure when processing extension 'setup_moodle'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1
[stdout]

Script Start Thu Jun 8 07:01:56 UTC 2023###

Invalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed. Exiting

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024

it works fine for me :)

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024

@MarekSuwart
Which template you using ?

from moodle.

MarekSuwart avatar MarekSuwart commented on June 27, 2024

minimal

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024

I don't know why i am getting same error.

@MarekSuwart getting this error with minimal template

VM has reported a failure when processing extension 'setup_moodle'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1
[stdout]

Script Start Thu Jun 8 10:20:15 UTC 2023###

Invalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed.

@naioja can you please help.

from moodle.

naioja avatar naioja commented on June 27, 2024

@Aman123mishra I actually tested with the Minimal deployment as well and that was successful, I wondering if there's not something else. Are you doing any customizations to the deployment template ?

from moodle.

Aman123mishra avatar Aman123mishra commented on June 27, 2024

@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.

from moodle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.