events.action: opened
events.author: SkippingAdi
events.masked_author: username_0
events.text: As of 2019-12-26 this script seems not to work, when executed from within docs.learn at: https://docs.microsoft.com/en-us/learn/modules/distribute-load-with-traffic-manager/3-exercise-priority-routing?source=learn
  
  Executing the script with:
  az group deployment create     --resource-group learn-26597206-c2fc-4c02-9809-e3a76b92b72c     --template-uri  https://raw.githubusercontent.com/MicrosoftDocs/mslearn-distribute-load-with-traffic-manager/master/azuredeploy.json     --parameters password="$(head /dev/urandom | tr -dc A-Za-z0-9| head -c 32)"
  
  Error message a few minutes of execution:
  Deployment failed. Correlation ID: 83128136-b02d-495e-a15f-4de156f6340f. {
    "status": "Failed",
    "error": {
      "code": "ResourceDeploymentFailure",
      "message": "The resource operation completed with terminal provisioning state 'Failed'.",
      "details": [
        {
          "code": "VMExtensionProvisioningError",
          "message": "VM has reported a failure when processing extension 'apache-ext'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=8\n[stdout]\n0ubuntu2_amd64.deb ...\r\nUnpacking libfontconfig1:amd64 (2.12.6-0ubuntu2) ...\r\nSelecting previously unselected package libjpeg8:amd64.\r\nPreparing to unpack .../04-libjpeg8_8c-2ubuntu8_amd64.deb ...\r\nUnpacking libjpeg8:amd64 (8c-2ubuntu8) ...\r\nSelecting previously unselected package libjbig0:amd64.\r\nPreparing to unpack .../05-libjbig0_2.1-3.1build1_amd64.deb ...\r\nUnpacking libjbig0:amd64 (2.1-3.1build1) ...\r\nSelecting previously unselected package libtiff5:amd64.\r\nPreparing to unpack .../06-libtiff5_4.0.9-5ubuntu0.3_amd64.deb ...\r\nUnpacking libtiff5:amd64 (4.0.9-5ubuntu0.3) ...\r\nSelecting previously unselectedpackage libwebp6:amd64.\r\nPreparing to unpack .../07-libwebp6_0.6.1-2_amd64.deb ...\r\nUnpacking libwebp6:amd64 (0.6.1-2) ...\r\nSelecting previously unselected package libxpm4:amd64.\r\nPreparing to unpack.../08-libxpm4_1%3a3.5.12-1_amd64.deb ...\r\nUnpacking libxpm4:amd64 (1:3.5.12-1) ...\r\nSelecting previously unselected package libgd3:amd64.\r\nPreparing to unpack .../09-libgd3_2.2.5-4ubuntu0.3_amd64.deb ...\r\nUnpacking libgd3:amd64 (2.2.5-4ubuntu0.3) ...\r\nSelecting previously unselected package nginx-common.\r\nPreparing to unpack .../10-nginx-common_1.14.0-0ubuntu1.6_all.deb ...\r\nUnpacking nginx-common(1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package libnginx-mod-http-geoip.\r\nPreparing to unpack .../11-libnginx-mod-http-geoip_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking libnginx-mod-http-geoip (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package libnginx-mod-http-image-filter.\r\nPreparing to unpack .../12-libnginx-mod-http-image-filter_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking libnginx-mod-http-image-filter (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package libnginx-mod-http-xslt-filter.\r\nPreparing to unpack .../13-libnginx-mod-http-xslt-filter_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package libnginx-mod-mail.\r\nPreparing to unpack .../14-libnginx-mod-mail_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking libnginx-mod-mail (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package libnginx-mod-stream.\r\nPreparing to unpack .../15-libnginx-mod-stream_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking libnginx-mod-stream (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package nginx-core.\r\nPreparing to unpack .../16-nginx-core_1.14.0-0ubuntu1.6_amd64.deb ...\r\nUnpacking nginx-core (1.14.0-0ubuntu1.6) ...\r\nSelecting previously unselected package nginx.\r\nPreparing to unpack .../17-nginx_1.14.0-0ubuntu1.6_all.deb ...\r\nUnpacking nginx (1.14.0-0ubuntu1.6) ...\r\nSetting up libjbig0:amd64 (2.1-3.1build1) ...\r\nSetting up fonts-dejavu-core (2.37-1) ...\r\nSetting up nginx-common (1.14.0-0ubuntu1.6) ...\r\ndebconf: unable to initialize frontend: Dialog\r\ndebconf: (TERM is not set, so the dialog frontend is not usable.)\r\ndebconf: falling back to frontend: Readline\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.\r\nSetting up libjpeg-turbo8:amd64 (1.5.2-0ubuntu5.18.04.3) ...\r\nSetting up libnginx-mod-mail (1.14.0-0ubuntu1.6) ...\r\nSetting up libxpm4:amd64 (1:3.5.12-1) ...\r\nSetting up libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.6) ...\r\nSetting up libnginx-mod-http-geoip (1.14.0-0ubuntu1.6) ...\r\nSetting up libwebp6:amd64 (0.6.1-2) ...\r\nSetting up libjpeg8:amd64 (8c-2ubuntu8) ...\r\nSetting up fontconfig-config (2.12.6-0ubuntu2) ...\r\nSetting up libnginx-mod-stream (1.14.0-0ubuntu1.6) ...\r\nSetting up libtiff5:amd64 (4.0.9-5ubuntu0.3) ...\r\nSetting up libfontconfig1:amd64 (2.12.6-0ubuntu2) ...\r\nSetting up libgd3:amd64 (2.2.5-4ubuntu0.3) ...\r\nSetting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.6) ...\r\nSetting up nginx-core (1.14.0-0ubuntu1.6) ...\r\nSetting up nginx (1.14.0-0ubuntu1.6) ...\r\nProcessing triggers for systemd (237-3ubuntu10.33) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\nProcessing triggers for ufw (0.36-0ubuntu0.18.04.1) ...\r\nProcessing triggers for ureadahead (0.100.0-21) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1) ...\r\n\n[stderr]\n\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\ndebconf: unable to initialize frontend: Dialog\ndebconf: (TERM is not set, so the dialog frontend is not usable.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controllingtty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n--2019-12-26 13:12:54--  https://raw.githubusercontent.com/MicrosoftDocs/mslearn-distribute-load-with-traffic-manager/module-update/index.eastasia.html\nResolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.76.133\nConnecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.76.133|:443... connected.\nHTTP request sent, awaiting response... 404 Not Found\n2019-12-26 13:12:55 ERROR 404: Not Found.\n\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "
        }
      ]
    }
  }
events.title: VMExtensionProvisioningError
events.type: issue
events.action: created
events.author: phhlho
events.masked_author: username_1
events.text: There is currently a pull request with the fix for this issue outstanding [PR#3](https://github.com/MicrosoftDocs/mslearn-distribute-load-with-traffic-manager/pull/3). In case someone else stumbles on this issue before it's merged in, I've forked the code and made the change. You can run the command from the exercise and aim it at my fork:
  ` az group deployment create     --resource-group learn-57aa8379-db66-4216-803f-f03630e0dcda     --template-uri  https://raw.githubusercontent.com/username_1/mslearn-distribute-load-with-traffic-manager/master/azuredeploy.json     --parameters password="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"`
events.type: comment
events.action: created
events.author: jboeshart
events.masked_author: username_2
events.text: Fixed in #3
events.type: comment
events.action: closed
events.author: jboeshart
events.masked_author: username_2
events.type: issue