By using AWS re:Post, you agree to the AWS re:Post Terms of Use

I can't create a sagemaker project

0

I was trying to create a sagemaker project using the template "MLOps template for model building, training, and deployment with third-party Git repositories using Jenkins".

But I kept getting the error shown below: Enter image description here

I tried to add the AWSCodeBuildAdminAccess policy to AmazonSageMaker-ExecutionRole-* and AmazonSageMakerServiceCatalogProductsExecutionRole and AmazonSageMakerServiceCatalogProductsLambdaRole. But I am still getting the same error .

Anyone can help me out ? Thank you in advance !

  • It looks like it's the AWS CodeBuild project the stack ran, to try and check seed code in to your repository, that failed. If the created CodeBuild project still exists, I'd suggest looking in the failed build logs for more details. If it's already been deleted (by the CloudFormation stack rolling back), you could check under the /aws/codebuild group in CloudWatch to try and dig out the relevant logs. Hopefully those CodeBuild logs could shed some more light on what specifically went wrong in the process?

2 Answers
0

This is probably because of Enter image description here

Later on the same resource https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-projects-templates-sm.html, there is a proposal to use third party template. Enter image description here

Please check here: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-projects-walkthrough-3rdgit.html

AWS
answered a month ago
0

I checked the log in CloudWatch and found this:

[GitRepositorySeedCodeBootStrapper.main()] ERROR GitRepositorySeedCodeBootStrapper - Seedcode checkin failed: https://codestar-connections.us-east-1.amazonaws.com/git-http/{my_aws_id}/us-east-1/b9d4f7f3-8626-48c5-96ea-6fc57f12a721/{my_github_id}/abalone-model-deploy.git: git-upload-pack not permitted on 'https://codestar-connections.us-east-1.amazonaws.com/git-http/{my_aws_id}/us-east-1/b9d4f7f3-8626-48c5-96ea-6fc57f12a721/{my_github_id}/abalone-model-deploy.git/'

But I don't know how to solve this.

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions