| Summary: | "Scale up" can end successfully when non-zero exit code is returned during the process | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Qiushui Zhang <qiuzhang> | ||||
| Component: | Pod | Assignee: | Rajat Chopra <rchopra> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.x | CC: | dmcphers, xtian | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-20 18:16:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Qiushui Zhang
2013-09-25 08:00:04 UTC
Created attachment 802625 [details]
Platform.log from instance
The broker's responsible for interpreting the non-zero exit codes from the node for each lifecycle action and making the decision about whether to stop/rollback. Also, this may be appropriate to close as upstream on the scheduler work. I'll leave that up to the broker team. deploy/post-install steps are invoked through the post-configure hook call from the broker. However, during scale-up of a web_framework cartridge, the post-configure hook is not called. The post-install/deploy actions are called from executing the connection hooks and the results/failures are ignored by the broker. We need to figure out a way to distinguish between acceptable failures in connection hooks (essentially warnings/messages) and failures that should cause a rollback. This logic/separation may need to be handled in the connection hook implementation itself. Marking this bug as UpcomingRelease for now and will create a trello card for it subsequently. To be fixed upstream with the user story - https://trello.com/c/o3KaRNRk/188-execution-of-connections-should-handle-errors |