Openstack client puppet provider should retry failed commands

Bug #1485638 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Max Yatsenko

Bug Description

Openstack client (OSC) provider raises puppet error on a first keystone service error encountered, like 503 Service unavailable.
While the correct fix would be to ensure keystone service (haproxy backend) always availabe while issuing commands to OSC provider, this seems barely possible in Fuel deploy patterns. Hence, retries should present as well.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

The deployment impact is critical and there are multiple duplicates.

Changed in fuel:
importance: Undecided → Critical
milestone: none → 7.0
assignee: nobody → MOS Deployment Automation Team (mos-da)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Note, this bug must be first fixed for the puppet-openstacklib upstream

tags: added: puppet
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Note, the proper fix should be done here https://bugs.launchpad.net/fuel/+bug/1485644. Fixing that bug first should make this one obsolete as there wouldn't be unexpected backend downtimes.

Changed in fuel:
assignee: MOS Deployment Automation Team (mos-da) → MOS Puppet Team (mos-puppet)
status: New → Confirmed
Max Yatsenko (myatsenko)
Changed in fuel:
assignee: MOS Puppet Team (mos-puppet) → Max Yatsenko (myatsenko)
Changed in fuel:
importance: Critical → High
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Upstream work should be done early at 8.0 timeline.

Changed in fuel:
milestone: 7.0 → 8.0
Revision history for this message
Max Yatsenko (myatsenko) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Lowering to the medium for 8.0 as there were patches accepted which made retries not really needed

Changed in fuel:
importance: High → Medium
Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
Max Yatsenko (myatsenko) wrote :

This patch adds retries to openstack command:

#Add retries to the openstack command
https://review.openstack.org/#/c/220224/

Changed in fuel:
status: Confirmed → In Progress
tags: added: non-release
Revision history for this message
Max Yatsenko (myatsenko) wrote :

The patch: https://review.openstack.org/#/c/220224 was successfully merged.

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Great contribution example to benefit *all*. Kudos to all who participated!

Changed in fuel:
status: Fix Committed → Fix Released
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.