You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7:15:02 AM | CREATE_FAILED | Custom::RFDK_X509Generator | RenderQueueRootCA4708D079
Received response status [FAILED] from custom resource. Message returned: Command failed: openssl req -x509 -passout env:CERT_PASSPHRASE -newkey
rsa:2048 -days 1095 -extensions v3_ca -keyout /tmp/tmp.metU8N/key -out /tmp/tmp.metU8N/crt -subj /CN=RenderQueueRootCA/O=AWS/OU=Thinkbox
/bin/sh: openssl: command not found
Error: Command failed: openssl req -x509 -passout env:CERT_PASSPHRASE -newkey rsa:2048 -days 1095 -extensions v3_ca -keyout /tmp/tmp.metU8N/key -
out /tmp/tmp.metU8N/crt -subj /CN=RenderQueueRootCA/O=AWS/OU=Thinkbox
/bin/sh: openssl: command not found
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1100:16)
at Socket.<anonymous> (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:301:12) (RequestId: 7a1fa905-f9e4-4643-9db6-9d250c8ec59c)
Reproduction Steps
This is my CDK code
import * as cdk from 'aws-cdk-lib';
import { aws_s3 as s3,
aws_lambda as lambda,
aws_apigateway as apigateway,
aws_ecr_assets as ecr_assets,
aws_ecr as ecr,
aws_ec2 as ec2,
aws_efs as efs } from 'aws-cdk-lib';
import * as ecrdeploy from 'cdk-ecr-deployment';
import {deadline as deadline} from 'aws-rfdk';
import * as rdfk from 'aws-rfdk';
import { Construct } from 'constructs';
import * as path from 'path';
import * as fs from 'fs';
function build_thinkbox(scope: Construct){
const vpc = new ec2.Vpc(scope, 'Vpc', { maxAzs: 2 });
const version = new deadline.VersionQuery(scope, 'Version', {
version: '10.2.0',
});
let imgs = new deadline.ThinkboxDockerImages(scope,'Thinkbox Images', {
version:version,
userAwsCustomerAgreementAndIpLicenseAcceptance: deadline.AwsCustomerAgreementAndIpLicenseAcceptance.USER_ACCEPTS_AWS_CUSTOMER_AGREEMENT_AND_IP_LICENSE
});
const repo = new deadline.Repository(scope, 'Repository', {
vpc:vpc,
version:version,
// Allow resources to be deleted when we delete the sample
removalPolicy: {
database: cdk.RemovalPolicy.DESTROY,
filesystem: cdk.RemovalPolicy.DESTROY
},
});
const renderQueue = new deadline.RenderQueue(scope, 'RenderQueue', {
vpc:vpc,
version:version,
images:imgs.forRenderQueue(),
repository:repo,
// Allow the load-balancer to be deleted when we delete the sample
deletionProtection: false,
});
}
export class AppStack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
build_thinkbox(this);
}
}
I've been running this on eu-west-1 the whole time. I just tried to switch to us-east-1 and now everything works perfectly fine. So the issue is basically that something is wrong with those lambdas here on different regions.
I get the following error
Reproduction Steps
This is my CDK code
this is my
package.json
I'm running inside docker
which I invoke with the following parameters
then inside docker I do
I also get an identical error when running on my windows host instead of inside docker. I have openssl installed and on PATH both inside docker
and on host machine
Error Log
This is the full error log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: