asgard
asgard copied to clipboard
Error 500 when attempting to delete an AMI
I can reproduce reliably on what I believe is the release version of 1.5 :
Version: 1.5 Build: id=2014-06-20_23-15-10 build#255 @c93f536452acffa6bf13a3bf5fb693c3fc9f40c6
After clicking "Delete image", the browser is POSTing : ticket=&id=ami-xxxxxxxx&_action_delete= to /us-east-1/image/index
and this results in :
Error 500: Executing action [delete] of controller [com.netflix.asgard.ImageController] caused exception: Runtime error executing action Servlet: grails URI: /grails/image/delete.dispatch Exception Message: No such property: configService for class: com.netflix.asgard.ImageDeleteCommand Possible solutions: configService Caused by: No such property: configService for class: com.netflix.asgard.ImageDeleteCommand Possible solutions: configService Class: ImageController At Line: [432]
Any idea about this ?
It looks like configService
in ImageDeleteCommand
doesn't get auto wired, or something.
I worked around this by just expanding the call to ConfigService.getPromotionTargetServerRootUrls
, and removed references to configService
.