[astute] false positive result of reboot for reprovisioning task fails provisioning

Bug #1629946 reported by Alexander Gordeev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Incomplete
High
Vladimir Sharshov

Bug Description

This is the actual reason for https://bugs.launchpad.net/fuel/+bug/1616925 (since it was fixed in a different scope let's keep it as is, meanwhile this new bug is still valid)

Detailed bug description:
 For some unknown reasons soft_reboot for provisioned nodes could fail and trigger false positive results, so astute didn't know that reboot was never occurred, but it kept reprovisioning task to go further. In result, provisioning will fail later with the following error message:

 flock: provision: No such file or directory

Possibly affected code area: https://github.com/openstack/fuel-astute/blob/stable/mitaka/lib/astute/provision.rb#L536-L543

Steps to reproduce:
 Happens from time to time. Could be tricky to reproduce. No known exact steps for reproducing.

Expected results:
 Astute shouldn't continue to provision nodes which aren't loaded into bootstrap image. Perhaps, it should retry to reboot nodes failed to boot to bootstrap or abort provisioning earlier.
Actual results:
 Astute runs provisioning further until it fails due to missing 'provision' executable script.

Additional information:
For more information please take a look to comments and attachments from #21 till #25 of original bug https://bugs.launchpad.net/fuel/+bug/1616925

summary: - [astute] fake positive result of reboot for reprovisioning task fails
+ [astute] false positive result of reboot for reprovisioning task fails
provisioning
description: updated
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Looks like a duplicate for a 1629301

Changed in fuel:
milestone: none → 9.2
importance: Undecided → High
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Vladimir Sharshov (vsharshov)
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Not reproducible. Please reopen if you have more data.

Changed in fuel:
status: Confirmed → Incomplete
Changed in fuel:
milestone: 9.2 → 9.3
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Looks like it duplicate of 1656269. Please reopen if you have more data.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.