Problem creating AMI, fails at SetLogRetentionFunctionRetention
Tarang opened this issue · 4 comments
Tarang commented
It's quite hard to debug this one.
spotty aws create-ami (py37)
Waiting for the AMI to be created...
- creating IAM role for the instance...
Error:
------
Stack "spotty-ami-spottyami" was not created.
Please, see CloudFormation logs for the details.
The Cloudwatch logs (an extract of the issue):
INFO FAILED:
ResourceNotFoundException: The specified log group does not exist.
at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:51:27)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:690:12)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'ResourceNotFoundException'
Spotty Version: 1.2.4
apls777 commented
The functionality of creating an AMI won't be supported anymore. Is there a reason you're not using the default Amazon Deep Learning AMI?
Tarang commented
I didn't know that. So you don't need to do create-ami anymore?
apls777 commented
No, you don't. Spotty is using Amazon Deep Learning AMI by default.
Tarang commented
I missed the update note! Thanks