[go: nahoru, domu]

Skip to content
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: org-formation init-pipeline - Stack fails to deploy #161

Closed
travisdieckmann opened this issue Jan 20, 2021 · 5 comments
Closed

bug: org-formation init-pipeline - Stack fails to deploy #161

travisdieckmann opened this issue Jan 20, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@travisdieckmann
Copy link
travisdieckmann commented Jan 20, 2021

Running org-formation-cli v0.9.14 on NodeJS 15.6.0 on Ubuntu Server 20.04.x. Process starts out great but ends with the cli error:

ERROR: unable to create stack organization-formation-build in account 281838181670, region us-east-1, err: ResourceNotReady: Resource is not in the state stackCreateComplete

Investigation into the stack deploy events I find for the OrgRepo logical resource:

Code supplied is not a valid .zip archive

Upon downloading the initial-commit.zip from S3 and unzipping with 7-zip I observe these errors:

CRC failed : buildspec.yml
CRC failed : organization.yml
CRC failed : organization-parameters.yml
CRC failed : 000-organziation-build\organization-tasks.yml
CRC failed : 000-organziation-build\org-formation-build.yml
@travisdieckmann travisdieckmann changed the title BUG: org-formation init-pipeline - Stack fails to deploy bug: org-formation init-pipeline - Stack fails to deploy Jan 20, 2021
@eduardomourar eduardomourar added the bug Something isn't working label Jan 20, 2021
@OlafConijn
Copy link
Member

hi! that sounds rather disappointing...

i think you have ran into the following issue: archiverjs/node-archiver#491
maybe try running that specific command on a different node version?

curious to know whether that solves it.
thanks!

@travisdieckmann
Copy link
Author
travisdieckmann commented Jan 21, 2021

Thank you for the prompt response and also your work on this fantastic tool!

Ah, I totally missed that in my research. Thanks for pointing to that. I have run the same org-formation command successfully with NodeJS 15.5.0!

@hilem
Copy link
hilem commented Apr 4, 2022

Am I right in reading that the thread linked above implies the latest NodeJS 15 will work but not 16 or above?

@hilem
Copy link
hilem commented Apr 4, 2022

I think the crc lib is referencing the old buggy version still. For context, I'm having the same issue as above with multiple NodeJS 16.x versions. NodeJS 15 doesn't have proper arm support.

See the following thread of similar issue and workaround...
serverless/serverless#8772 (comment)

@luis-echegaray
Copy link

reproduced the issue on m1 mac running node 16

org-formation init-pipeline organization.yml --region us-east-1 --profile default -> FAILED in cloudformation with the same error in OP

Downgraded node to 15, and it ran fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants