asgard icon indicating copy to clipboard operation
asgard copied to clipboard

Error 500 when attempting to delete an AMI

Open renaudguerin opened this issue 9 years ago • 2 comments

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]

renaudguerin avatar Jul 10 '14 17:07 renaudguerin

Any idea about this ?

renaudguerin avatar Oct 21 '14 11:10 renaudguerin

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.

csm avatar May 08 '15 22:05 csm