obj_from_name fails on glance images with no name

Bug #1746539 reported by Charles Farquhar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Unassigned

Bug Description

In some cases glance images can end up in a "queued" status with a NULL name. When this happens, rally skips running the task with no associated stack trace or useful error. The issues is here [1]. For some reason this failure scenario does not raise InvalidScenarioArgument.

[1] https://github.com/openstack/rally/blob/57c6936/rally/task/types.py#L169-L170

Revision history for this message
Charles Farquhar (cfarquhar) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/539573
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=ed1a2581825effe63277f5620f2b126c1ff7c999
Submitter: Zuul
Branch: master

commit ed1a2581825effe63277f5620f2b126c1ff7c999
Author: Charles Farquhar <email address hidden>
Date: Wed Jan 31 09:29:51 2018 -0600

    Handle resources with no name

    This commit prevents silent failures when encountering a resource with no name,
    which has been observed with glance images that are in a "queued" state.

    Change-Id: I65aec02c4e5ac66811006ec7f6ab0c17056ffdb7
    Closes-Bug: #1746539

Changed in rally:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (stable/0.10)

Fix proposed to branch: stable/0.10
Review: https://review.openstack.org/542274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (stable/0.9)

Fix proposed to branch: stable/0.9
Review: https://review.openstack.org/542304

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (stable/0.10)

Reviewed: https://review.openstack.org/542274
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=43f06171d2c8ce3fa8a491482e41eaa807eb5933
Submitter: Zuul
Branch: stable/0.10

commit 43f06171d2c8ce3fa8a491482e41eaa807eb5933
Author: Charles Farquhar <email address hidden>
Date: Wed Jan 31 09:29:51 2018 -0600

    Handle resources with no name

    This commit prevents silent failures when encountering a resource with no name,
    which has been observed with glance images that are in a "queued" state.

    Change-Id: I65aec02c4e5ac66811006ec7f6ab0c17056ffdb7
    Closes-Bug: #1746539
    (cherry picked from commit ed1a2581825effe63277f5620f2b126c1ff7c999)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (stable/0.9)

Change abandoned by Andrey Kurilin (<email address hidden>) on branch: stable/0.9
Review: https://review.opendev.org/542304

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.