Comments (7)
are you able to get the complete logs from the codebuild execution?
from aws-orbit-workbench.
did you actually install the foundation or did you use existing vpcs, subnets, etc? I was able to reproduce the cdk hangup and have determined the cause, but the same issue would have affected the foundation deployment as well as the env deployment.
from aws-orbit-workbench.
@chamcca you are correct I had to use existing VPCs and subnets, so I didn't run the foundation. There aren't additional logs, it just hangs.
I followed the guideline:
"If the above is defined, then you can populate the manifest with these values, removing the need to deploy a separate foundation."
The generated manifest file has this layout (I can't spot an issue with it):
{
"AccountId":"0000000000",
"CdkToolkit":{
"S3Bucket":"orbit-f-orbit-cdk-toolkit-0000000000-vtbduy",
"StackName":"orbit-f-orbit-cdk-toolkit"
},
"CodeartifactDomain":null,
"CodeartifactRepository":null,
"CognitoExternalProviderDomain":null,
"CognitoExternalProviderRedirect":null,
"CognitoUsersUrl":null,
"EnvTag":"orbit-f-orbit",
"Images":{
"CodeBuild":{
"Path":null,
"Repository":"public.ecr.aws/0000000000/aws-codeseeder/code-build-base",
"Version":"2.0.0"
}
},
"IsCodeartifactExternal":null,
"Name":"orbit",
"Networking":{
"AvailabilityZones":[
"eu-central-1a",
"eu-central-1b"
],
"Data":{
"InternetAccessible":false,
"NodesSubnets":[
"subnet-0000000000",
"subnet-0000000000"
]
},
"Frontend":{
"CustomDomainName":null,
"LoadBalancersSubnets":[
"subnet-111111111",
"subnet-111111111"
],
"SslCertArn":null
},
"IsolatedSubnets":[
],
"MaxAvailabilityZones":null,
"PrivateSubnets":[
{
"AvailabilityZone":"eu-central-1a",
"CidrBlock":"10.10.9.0/21",
"Kind":"private",
"RouteTableId":"rtb-0000000000",
"SubnetId":"subnet-0000000000",
"VpcId":"vpc-0000000000"
},
{
"AvailabilityZone":"eu-central-1b",
"CidrBlock":"10.10.9.0/21",
"Kind":"private",
"RouteTableId":"rtb-0000000000",
"SubnetId":"subnet-0000000000",
"VpcId":"vpc-0000000000"
}
],
"PublicSubnets":[
{
"AvailabilityZone":"eu-central-1b",
"CidrBlock":"10.10.40.20/28",
"Kind":"public",
"RouteTableId":"rtb-111111111",
"SubnetId":"subnet-111111111",
"VpcId":"vpc-0000000000"
},
{
"AvailabilityZone":"eu-central-1a",
"CidrBlock":"00.04.04.24/28",
"Kind":"public",
"RouteTableId":"rtb-111111111",
"SubnetId":"subnet-111111111",
"VpcId":"vpc-0000000000"
}
],
"SecondaryCidr":false,
"VpcCidrBlock":"10.20.11.000/27",
"VpcId":"vpc-0000000000"
},
"OrbitVersion":"1.6.0.dev0",
"Policies":[
],
"Region":"eu-central-1",
"ResourcesSsmParameterName":"/orbit-f/orbit/resources",
"RolePrefix":null,
"ScratchBucketArn":null,
"SsmParameterName":"/orbit-f/orbit/context",
"StackName":"orbit-f-orbit",
"Toolkit":{
"AdminRole":"orbit-f-orbit-eu-central-1-admin",
"AdminRoleArn":"arn:aws:iam::0000000000:role/orbit-f-orbit-eu-central-1-admin",
"CodeartifactDomain":"aws-codeseeder-orbit",
"CodeartifactRepo":"python-repository",
"CodebuildProject":"codeseeder-orbit",
"CodeseederPolicy":"arn:aws:iam::0000000000:policy/codeseeder-orbit-eu-central-1-resources",
"DeployId":"vtbduy",
"KmsAlias":null,
"KmsArn":"arn:aws:kms:eu-central-1:0000000000:key/0000000000-b691-4992-be04-0000000000",
"S3Bucket":"codeseeder-orbit-0000000000-qqqqq",
"StackName":"orbit-f-orbit-toolkit"
},
"UserPoolId":null
}
from aws-orbit-workbench.
@[chamcca]I have the same issue as well but my deployment get stack at foundation stage. It just stack on below stage (/remote_files/cdk/foundation.py ).
[2022-07-12 16:32:52,007][deploy.py :337] CDK Toolkit Stack deployed
578 | [2022-07-12 16:32:52,007][foundation.py: 34] Deploying self signed cert...
579 | [2022-07-12 16:32:52,007][cert.py : 35] Generating self-signed certificate...
580 | [2022-07-12 16:32:52,007][cert.py : 37] Creating private key...
581 | [2022-07-12 16:32:52,158][cert.py : 41] Creating Certificate signing request...
582 | [2022-07-12 16:32:52,166][cert.py : 49] Creating Public certificate...
583 | [2022-07-12 16:32:52,172][cert.py : 59] Uploading the cert to IAM...
584 | [2022-07-12 16:32:52,698][foundation.py: 37] Deploying orbit-f-dev-env Foundation...
585 | [2022-07-12 16:32:52,698][sh.py : 28] + cdk deploy --require-approval never --progress events --toolkit-stack-name orbit-f-dev-env-cdk-toolkit --app "python /root/.venv/lib/python3.7/site-packages/aws_orbit/remote_files/cdk/foundation.py dev-env arn:aws:iam::903917712828:server-certificate/dev-env-eu-west-1" --output .orbit.out/dev-env/cdk/orbit-f-dev-env
from aws-orbit-workbench.
I've tracked this down to an incompatibility between the version of the CDK used for deployment and newer versions of the jsii library. with jsii > 1.60.0 the CDK cli will hang indefinitely. I was able to deploy by adding the following lines to the cli/remote-requirements.txt
file:
constructs~=3.3.161
jsii~=1.42.0
I'll be issuing a PR with update later today after some additional testing and discussion with the team on cutting a patch release.
from aws-orbit-workbench.
Thank you @chamcca we have also verified that this allowed progress.
from aws-orbit-workbench.
Thanks @chamcca. Adding constructs and jsii fixed the problem.
from aws-orbit-workbench.
Related Issues (20)
- Add slack notification on the failure/success of merging to main
- [BUG] - SSM TooManyUpdates
- [BUG] - Policy limit exceeded HOT 2
- [BUG] - env context is missing after destroy env HOT 1
- [FEATURE] - Update Installation Docs
- [FEATURE] - Release 1.5 HOT 1
- [BUG] - Updates to Plugins are not taking on redeploy HOT 1
- [BUG] - SM Operator Plugin does not support / pull region-specific SM Operator image HOT 2
- [BUG] - SM-Operator Regression test fails
- [BUG] - Remove hard-coded regions (mostly us-west-2) for Docker images HOT 1
- Add Spark Support with AWS Glue Interactive Sessions HOT 3
- [BUG] -POD imagereplication-operator stack in Init:0/1 HOT 8
- [BUG] -Waiting for for Ingress istio-ingress.istio-system failed HOT 4
- [BUG] - error: a container name must be specified for pod istio-pilot HOT 28
- [BUG] - Failed in cdk publishAsset during env deployment HOT 18
- [BUG] - add R-studio via custom image HOT 3
- [BUG] - CloudFormation template not found HOT 4
- [BUG] - Updating requirements.txt `ipython-sql` HOT 1
- [BUG] - Unable to deploy orbit workbench 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 aws-orbit-workbench.