Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

FrontendHttpServer: Recover from missing manifest#6285

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
Miciah:bug-1273658-FrontendHttpServer-recover-from-missing-manifest
Oct 22, 2015
Merged

FrontendHttpServer: Recover from missing manifest#6285
openshift-bot merged 1 commit intoopenshift:masterfrom
Miciah:bug-1273658-FrontendHttpServer-recover-from-missing-manifest

Conversation

@Miciah
Copy link
Copy Markdown
Contributor

@Miciah Miciah commented Oct 21, 2015

OpenShift::Runtime::FrontendHttpServer#initialize: Rescue any exception from initializing the cartridge model, and set @standalone_web_proxy to false in that contingency.

Before this commit, failure to initialize the cartridge model would cause a failure to initialize the frontend http server, which would cause a failure to initialize the container plugin, which would prevent the container plugin's destroy method from finishing. Consequently, it was impossible to delete a gear with a bad manifest.yml file.

This commit fixes bug 1273658.

[test] [extended:gear]

@jwhonce, does this look reasonable?

OpenShift::Runtime::FrontendHttpServer#initialize: Rescue any exception
from initializing the cartridge model, and set @standalone_web_proxy to
false in that contingency.

Before this commit, failure to initialize the cartridge model would cause
a failure to initialize the frontend http server, which would cause
a failure to initialize the container plugin, which would prevent the
container plugin's destroy method from finishing.  Consequently, it was
impossible to delete a gear with a bad manifest.yml file.

This commit fixes bug 1273658.
@openshift-bot
Copy link
Copy Markdown

@openshift-bot
Copy link
Copy Markdown

Evaluated for online test up to 650f836

@jwhonce
Copy link
Copy Markdown
Contributor

jwhonce commented Oct 22, 2015

@Miciah Seems to be a reasonable compromise for these errors. LGTM.

@Miciah
Copy link
Copy Markdown
Contributor Author

Miciah commented Oct 22, 2015

Thanks!

openshift-bot, please [merge]!

@openshift-bot
Copy link
Copy Markdown

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6588/) (Image: devenv_5677)

@openshift-bot
Copy link
Copy Markdown

Evaluated for online merge up to 650f836

openshift-bot pushed a commit that referenced this pull request Oct 22, 2015
…ecover-from-missing-manifest

Merged by openshift-bot
@openshift-bot openshift-bot merged commit 43112af into openshift:master Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants