-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG] CDK bootstrap - Command failed with error 127 #112
Labels
bug
Something isn't working
Comments
This happens because of a cornercase:
Manual workaround: build the project manually before running deploy Fix coming soon |
sperka
added a commit
to sperka/aws-genai-conversational-rag-reference
that referenced
this issue
May 10, 2024
sperka
added a commit
to sperka/aws-genai-conversational-rag-reference
that referenced
this issue
May 10, 2024
sperka
added a commit
to sperka/aws-genai-conversational-rag-reference
that referenced
this issue
May 10, 2024
sperka
added a commit
to sperka/aws-genai-conversational-rag-reference
that referenced
this issue
May 10, 2024
sperka
added a commit
to sperka/aws-genai-conversational-rag-reference
that referenced
this issue
May 10, 2024
martenpayne
pushed a commit
that referenced
this issue
May 13, 2024
* fix: vscode settings update (use v1.85+) * fix(projenrc): configUpgradeDeps at postSynth to conform with pdk upgrade * fix(api): use custom python dep to conform with pdk upgrade * fix(galileo-cdk): bump jsii version and add pnpm-logger dep to conform pdk upgrade * chore(deps): upgrade pdk@0.23.31, cdk@2.137.0 and fix projen dep * chore(deps): remove sdk/smithy version pinning, replace discont'd aws-sdk packages * fix(website): build fails in CI * chore(ws-api): add ws-api bootstrap * fix(cli): non-built project bootstrap fails fixes #112 * fix: adjust tsconfig for api and website * fix(infra): admin user attachment depends on already created group and user * feat(ws-api): rename to ws-api, add model and wire up with infra * chore(deps): bump pdk to 0.23.33 and align tsconfigs for api and web * feat(infra): wire up wsApi with lambdaAuthorizer and bump node runtime (20_x) for lambda handlers * fix(website): popover dismissbutton and header must be present together * feat(galileo-sdk): add streaming support to chain * feat: dependency management and project wiring * feat(infra): add ws connections table * feat(infra): split inference engine handler rest/ws with shared logic * feat(infra): merge inference and presentation stacks to avoid circular deps * feat(ws-api): connection data persistence * feat(website): switch to streaming respose in chat * fix(api): poetry lockfile causes CI build error * fix(ws-api): don't generate code for send-chat-message
jessieweiyi
pushed a commit
to jessieweiyi/aws-genai-conversational-rag-reference
that referenced
this issue
May 15, 2024
* fix: vscode settings update (use v1.85+) * fix(projenrc): configUpgradeDeps at postSynth to conform with pdk upgrade * fix(api): use custom python dep to conform with pdk upgrade * fix(galileo-cdk): bump jsii version and add pnpm-logger dep to conform pdk upgrade * chore(deps): upgrade pdk@0.23.31, cdk@2.137.0 and fix projen dep * chore(deps): remove sdk/smithy version pinning, replace discont'd aws-sdk packages * fix(website): build fails in CI * chore(ws-api): add ws-api bootstrap * fix(cli): non-built project bootstrap fails fixes aws-samples#112 * fix: adjust tsconfig for api and website * fix(infra): admin user attachment depends on already created group and user * feat(ws-api): rename to ws-api, add model and wire up with infra * chore(deps): bump pdk to 0.23.33 and align tsconfigs for api and web * feat(infra): wire up wsApi with lambdaAuthorizer and bump node runtime (20_x) for lambda handlers * fix(website): popover dismissbutton and header must be present together * feat(galileo-sdk): add streaming support to chain * feat: dependency management and project wiring * feat(infra): add ws connections table * feat(infra): split inference engine handler rest/ws with shared logic * feat(infra): merge inference and presentation stacks to avoid circular deps * feat(ws-api): connection data persistence * feat(website): switch to streaming respose in chat * fix(api): poetry lockfile causes CI build error * fix(ws-api): don't generate code for send-chat-message
jessieweiyi
pushed a commit
to jessieweiyi/aws-genai-conversational-rag-reference
that referenced
this issue
May 26, 2024
* fix: vscode settings update (use v1.85+) * fix(projenrc): configUpgradeDeps at postSynth to conform with pdk upgrade * fix(api): use custom python dep to conform with pdk upgrade * fix(galileo-cdk): bump jsii version and add pnpm-logger dep to conform pdk upgrade * chore(deps): upgrade pdk@0.23.31, cdk@2.137.0 and fix projen dep * chore(deps): remove sdk/smithy version pinning, replace discont'd aws-sdk packages * fix(website): build fails in CI * chore(ws-api): add ws-api bootstrap * fix(cli): non-built project bootstrap fails fixes aws-samples#112 * fix: adjust tsconfig for api and website * fix(infra): admin user attachment depends on already created group and user * feat(ws-api): rename to ws-api, add model and wire up with infra * chore(deps): bump pdk to 0.23.33 and align tsconfigs for api and web * feat(infra): wire up wsApi with lambdaAuthorizer and bump node runtime (20_x) for lambda handlers * fix(website): popover dismissbutton and header must be present together * feat(galileo-sdk): add streaming support to chain * feat: dependency management and project wiring * feat(infra): add ws connections table * feat(infra): split inference engine handler rest/ws with shared logic * feat(infra): merge inference and presentation stacks to avoid circular deps * feat(ws-api): connection data persistence * feat(website): switch to streaming respose in chat * fix(api): poetry lockfile causes CI build error * fix(ws-api): don't generate code for send-chat-message
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running through the
galileo-cli deploy
command wizard on a non boostraped account, you will be asked if you want to bootstrap it. Selecting Yes to bootstrap the account will cause a Command failed with exit code 1 error.Expected Behavior
Command to bootstrap AWS account and continue with deployment of Galileo
Current Behavior
Command fails and cli wizard terminates.
CLI output with account number removed:
Update repositories
sudo apt update -y && sudo NEEDRESTART_MODE=a apt upgrade -y
Install Node
nvm install lts/iron
nvm use lts/iron
Install pnpm
npm i -g pnpm
Install JDK
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
sudo add-apt-repository 'deb https://apt.corretto.aws stable main' -y
sudo apt-get update -y; sudo apt-get install -y java-18-amazon-corretto-jdk
Remove old aws cli v1
pip uninstall awscli -y
Install python
sudo apt install -y python3.11
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 110
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 100
NOTE: select python3.11 from the list, should be option 2
sudo update-alternatives --config python3
Install poetry
curl -sSL https://install.python-poetry.org | python3 -
Install aws cli v2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --bin-dir $HOME/.local/bin --update
rm -rf aws
rm awscliv2.zip
pnpm install
export AWS_REGION={current aws region you're in}
export AWS_PROFILE=default
pnpm run galileo-cli deploy
The text was updated successfully, but these errors were encountered: