[Openstack-Staypuft]: When Deployment got stuck in progress there's no way to Remove it or to Retry again. Environment (Havana A4 puddle 2014-04-25.2): --------------------------------------------- ruby193-rubygem-staypuft-0.0.11-5.el6ost.noarch openstack-foreman-installer-1.0.6-2.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-6.el6ost.noarch openstack-puppet-modules-2013.2-9.el6ost.noarch puppet-3.3.2-2.el6.noarch puppet-server-3.3.2-2.el6.noarch katello-installer-0.0.33-1.el6sat.noarch Description: ------------- When attempted to deploy openstack using Staypuft while the deployment was in progress 16% on the controller it got stuck with Error , there was no way to remove that deployment or starting over (Remove / Retry - missing buttons in this situation).
Workaround: ------------ - ssh to the foreman/staypuft server. - run: 'foreman-rake console'. - run (in the console) : 'ForemanTasks::Lock.where(name: 'deploy').destroy_all'
https://github.com/theforeman/staypuft/pull/110
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.
https://github.com/theforeman/foreman-tasks/pull/52
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.