It is necessary that during deploy Astute waited until the glance is started

Bug #1376198 reported by Stepan Rogov on 2014-10-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Vladimir Sharshov

Bug Description

It is necessary that during deploy Astute waited until the glance is started(and only then create an image), because when vCenter used as a glance backend launch may takes up to 1 minute.

Related BP: https://blueprints.launchpad.net/fuel/+spec/vsphere-glance-backend

Changed in fuel:
milestone: none → 6.0
assignee: nobody → Vladimir Sharshov (vsharshov)
Changed in fuel:
importance: Undecided → High
Changed in fuel:
assignee: Vladimir Sharshov (vsharshov) → Fuel Partner Integration Team (fuel-partner)
status: New → Confirmed
Andrey Danin (gcon-monolake) wrote :

I propose to do multiple retries for 'glance image-list' command with some wait interval between them. Let's assume it should be 5 retries with 10 seconds timeout.
https://github.com/stackforge/fuel-astute/blob/master/lib/astute/post_deployment_actions/upload_cirros_image.rb#L47

Vova Sharshov, could you, please, fix it for us?

Changed in fuel:
assignee: Fuel Partner Integration Team (fuel-partner) → Vladimir Sharshov (vsharshov)
status: Confirmed → Triaged

Fix proposed to branch: master
Review: https://review.openstack.org/127501

Changed in fuel:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/127501
Committed: https://git.openstack.org/cgit/stackforge/fuel-astute/commit/?id=7e48921ab862a3ecefb4ab29a4e1411b9fcc6e3c
Submitter: Jenkins
Branch: master

commit 7e48921ab862a3ecefb4ab29a4e1411b9fcc6e3c
Author: Vladimir Sharshov <email address hidden>
Date: Fri Oct 10 15:46:43 2014 +0400

    Add waiting interval and retries for Glance

    Glance backend launch may takes up to 1 minute
    and without this changes will failed falsely.

    Change-Id: Ie5dfb2ce54b64d6092915599567aa1144cb34b6a
    Closes-Bug: #1376198

Changed in fuel:
status: In Progress → Fix Committed
okosse (okosse) wrote :

I checked it on fuel-6.0-56-2014-12-18_01-32-01.iso

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers