Comment 2 for bug 1400156

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/139988
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=5b05cab7a648bb4bb9363ba45bff3ce8292ca5b4
Submitter: Jenkins
Branch: master

commit 5b05cab7a648bb4bb9363ba45bff3ce8292ca5b4
Author: Vladyslav Drok <email address hidden>
Date: Mon Dec 8 14:30:09 2014 +0200

    Fix image_info passed to IPA for image download

    It's possible to specify instance_info['image_source'] to be a value
    like 'glance://uuid'. When using AgentDeploy, image_source is passed
    to IPA in image_info dictionary in 'id' field without modification,
    and IPA tries to download image to /tmp/{id} location. Deployment
    fails as /tmp/glance://uuid is invalid location.

    In this change image_source is split to ensure that uuid will be used
    to name the file.

    Closes-bug: #1400156
    Change-Id: Id3658d2a32c87867d828bc3b3fecc94e514a4526