Bug 1093044
Summary: | [Openstack-Staypuft]: When Deployment got stuck in progress there's no way to Remove it or to Retry again. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> |
Component: | rubygem-staypuft | Assignee: | Petr Chalupa <pchalupa> |
Status: | CLOSED WONTFIX | QA Contact: | Omri Hochman <ohochman> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.0 | CC: | aberezin, mburns, mlopes, morazi, mtaylor, pchalupa, rhos-maint, tsanders, yeylon |
Target Milestone: | z4 | Keywords: | TestOnly, ZStream |
Target Release: | 4.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ruby193-rubygem-foreman-tasks-0.5.4-1 | Doc Type: | Bug Fix |
Doc Text: |
Prior to this update, the foreman-tasks module did not correctly support cancellation of running tasks.
Consequently, failed deployments would get stuck with no way of cancelling to restart; the deployment would need to be manually handled through a rails console.
This fix adds a new cancellation option to foreman-tasks which allows users to cancel and restart tasks.
The result is that users can now stop and restart Red Hat Enterprise Linux OpenStack Platform deployments when an invalid configuration is present.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-15 16:59:13 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1093126 |
Description
Omri Hochman
2014-04-30 13:17:24 UTC
Workaround: ------------ - ssh to the foreman/staypuft server. - run: 'foreman-rake console'. - run (in the console) : 'ForemanTasks::Lock.where(name: 'deploy').destroy_all' The PR above needs updating to properly terminate tasks. Right now it removes the lock but not the task. We are currently waiting on support for this in Foreman via ForemanTasks. Once this is in we should be OK to move foreward with the above PR. This will be solved in and included in new version of ForemanTasks. Verified with : ruby193-rubygem-staypuft-0.0.16-1.el6ost.noarch the "Force-Stop" button - is providing the requested functionality and then it's possible to delete the stuck deployment. |