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

After deleting a project, Log file storage resume might cause exception in logs #1384

Closed
joshuaspence opened this issue Aug 6, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@joshuaspence
Copy link

I attempted to delete a project through the UI but I suspect that it didn't work properly. I'm not getting this exception:

2015-08-06 09:37:04,082 [main] ERROR org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener - Error initializing Grails: Project does not exist: FLN
FrameworkException{message='Project does not exist: FLN', resource='FrameworkProjectMgr{name=name, baseDir=/var/rundeck/projects}'}
    at com.dtolabs.rundeck.core.common.FrameworkProjectMgr.getFrameworkProject(FrameworkProjectMgr.java:159)
    at com.dtolabs.rundeck.core.common.FrameworkProjectMgr.getFrameworkProject(FrameworkProjectMgr.java:27)
    at rundeck.services.FrameworkService.getFrameworkProject(FrameworkService.groovy:156)
    at rundeck.services.FrameworkService.getFrameworkPropertyResolver(FrameworkService.groovy:260)
    at rundeck.services.LogFileStorageService$_resumeIncompleteLogStorage_closure7.doCall(LogFileStorageService.groovy:302)
    at rundeck.services.LogFileStorageService.resumeIncompleteLogStorage(LogFileStorageService.groovy:297)
    at BootStrap$_closure1.doCall(BootStrap.groovy:272)
    at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
    at grails.util.Environment.executeForEnvironment(Environment.java:320)
    at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
    at org.eclipse.jetty.server.Server.doStart(Server.java:261)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at com.dtolabs.rundeck.RunServer.run(RunServer.java:118)
    at com.dtolabs.rundeck.RunServer.main(RunServer.java:78)
@gschueler
Copy link
Member

are you using db storage for project configuration? If not try just creating the directory: /var/rundeck/projects/FLN

@gschueler gschueler added the bug label Aug 6, 2015
@gschueler gschueler added this to the 2.6.0 milestone Aug 6, 2015
@joshuaspence
Copy link
Author

I ended up just deleting a bunch of stuff from the database.

@gschueler gschueler modified the milestones: 2.7.0, 2.6.0 Oct 7, 2015
@gschueler gschueler changed the title Project does not exist After deleting a project, Log file storage resume might cause exception in logs Jun 8, 2016
@gschueler gschueler modified the milestones: 2.7.0, 2.7.x Nov 16, 2016
@ahonor ahonor closed this as completed Nov 17, 2017
@ahonor ahonor reopened this Nov 21, 2017
@gschueler gschueler modified the milestones: 2.9.x, 2.10.x Mar 27, 2018
@gschueler gschueler modified the milestones: 2.10.x, 2.11.x Apr 3, 2018
@gschueler gschueler self-assigned this Apr 16, 2018
gschueler added a commit that referenced this issue Apr 16, 2018
Fix #1384 clean up invalid storage requests if project dne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants