aws-samples / ibm-mas-on-aws

MIT No Attribution
8 stars 9 forks source link

deploy_cluster.sh using ee-assets static URL, should be ws-assets #5

Open mstevenbrown opened 3 months ago

mstevenbrown commented 3 months ago

When doing a self-paced workshop (not in an Event), the deploy OCP step fails when the deploy_cluster.sh script dies at root@ip-10-0-157-49 install-dir]# wget -d -q https://ee-assets-prod-us-east-1.s3.amazonaws.com/modules/59674cf6b6e04aa19cd95f91d5d0dca7/v1/container-runtime-config.yml -P /root/install-dir/ Setting --quiet (quiet) to 1 Setting --directory-prefix (dirprefix) to /root/install-dir/ DEBUG output created by Wget 1.21.3 on linux-gnu.

Reading HSTS entries from /root/.wget-hsts URI encoding = ‘UTF-8’ Converted file name 'container-runtime-config.yml' (UTF-8) -> 'container-runtime-config.yml' (UTF-8) Certificates loaded: 301 Caching ee-assets-prod-us-east-1.s3.amazonaws.com => 3.5.2.219 3.5.17.120 3.5.19.198 3.5.27.27 3.5.30.0 16.182.39.201 54.231.194.137 54.231.232.233 Created socket 3. Releasing 0x0000558ba129f5e0 (new refcount 1).

---request begin--- GET /modules/59674cf6b6e04aa19cd95f91d5d0dca7/v1/container-runtime-config.yml HTTP/1.1 Host: ee-assets-prod-us-east-1.s3.amazonaws.com User-Agent: Wget/1.21.3 Accept: / Accept-Encoding: identity Connection: Keep-Alive

---request end---

---response begin--- HTTP/1.1 403 Forbidden x-amz-request-id: NVEYQXRVXS9WW07N x-amz-id-2: ba044eqcjc7BHiau7LzmAG6Rn2hIJfk33SOeHIqmtHgprx7fEz02KJ2Z8TRa1v4cE+4aI1njtG+B2A7UjENRkw== Content-Type: application/xml Transfer-Encoding: chunked Date: Fri, 17 May 2024 19:20:29 GMT Server: AmazonS3

---response end--- Registered socket 3 for persistent reuse. Skipping 255 bytes of body: [<?xml version="1.0" encoding="UTF-8"?>

AccessDeniedAccess DeniedNVEYQXRVXSkipping 132 bytes of body: [S9WW07Nba044eqcjc7BHiau7LzmAG6Rn2hIJfk33SOeHIqmtHgprx7fEz02KJ2Z8TRa1v4cE+4aI1njtG+B2A7UjENRkw==] done. [root@ip-10-0-157-49 install-dir]#
mstevenbrown commented 3 months ago

I have a fix, will be submitting pull request shortly.