Comments (6)
Hi @ehsanmok, are you using the latest code in master. The deploy role requires permissions to create monitoring schedule. The specific errors are not visible from CFN.
from amazon-sagemaker-safe-deployment-pipeline.
Yes, it's the latest CFT from the one-click launch button. The error is too generic and I can't find more details about it as well.
from amazon-sagemaker-safe-deployment-pipeline.
Hi @ehsanmok the CFN stack in s3 was out of date with the repository pipeline.yml. It has now been updated, but you can fix your stack by updating it with the pipeline.yml
in the master branch.
This will update the DeployRole
with the permissions sufficient to create the monitoring schedule.
from amazon-sagemaker-safe-deployment-pipeline.
Just updated with the master but still failed with the same error.
from amazon-sagemaker-safe-deployment-pipeline.
Hi @ehsanmok please ensure you updated the main nyctaxi
stack, this will update the DeployRole
which is used by the nyctaxi-deploy-prd
stack. I've re-tested this from scratch and validate the the pipeline works, so perhaps start again with a clean CFN setup to re-test if still having issues.
from amazon-sagemaker-safe-deployment-pipeline.
Yes, updated the main CFT and released the changes.
First initial attempt to delete the main stack gave this error:
mlops-nyctaxi-deploy-role is invalid or cannot be assumed
though second attempt worked but had to delete all the artifacts, s3 bucket, endpoint, model etc. manually (can be automated with lambda and crhelper
package). After recreating the entire stack again and running the mlops notebook, the pipeline fails to create nyctaxi-workflow
with
Resource handler returned message: "State Machine is being deleted: 'arn:aws:states:us-east-1:ACCOUNT:stateMachine:nyctaxi' (Service: AWSStepFunctions; Status Code: 400; Error Code: StateMachineDeleting; Request ID: 218c294f-53a2-44ba-9256-4cb227b43fa9; Proxy: null)" (RequestToken: 66428fdb-9fb6-3309-5ed8-04e7d868dbd1, HandlerErrorCode: GeneralServiceException)
For the third time, deleted everything and recreated the stack. Now the prod is successful! Thanks for the very useful design :)
from amazon-sagemaker-safe-deployment-pipeline.
Related Issues (16)
- feat: Add native CloudFormation support for MonitoringSchedule HOT 1
- Fix: Upgrade awscli for code build job HOT 1
- feat: Trigger retraining on CloudWatch alarm drift detection HOT 1
- fix: Update notebook link in CodePipeline approval stage
- "Launch Stack" link is not working HOT 1
- Custom resources are not deleted HOT 3
- Update solution to use AWS Step Functions Data Science SDK offical v2 HOT 1
- Build error in nyctaxi pipeline HOT 3
- CFN error HOT 1
- AWS Cloud Formation failing with 403 s3 forbidden error HOT 6
- Why not using CDK to build the Pipeline and WorkFlow with stepfunctions?
- Not able to create the SageMaker project
- feat: Update prod deploy to enable DataCaptureConfig on create HOT 1
- feat: Add support for StepFunctions to run Training and Baseline jobs. HOT 2
- enhancement: Add support for Version 2.x of SageMaker Python SDK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-sagemaker-safe-deployment-pipeline.