Docker plugin "volumes_from" parameter results in an error

Bug #1364039 reported by Lars Kellogg-Stedman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Lars Kellogg-Stedman

Bug Description

The docker plugin passes the volumes_from parameter to the create_container() method, which results in the following error:

  DockerException: 'volumes_from' parameter has no effect on create_container(). It has been moved to start()

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

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

Changed in heat:
assignee: nobody → Lars Kellogg-Stedman (larsks)
status: New → In Progress
Changed in heat:
importance: Undecided → Medium
Thomas Herve (therve)
summary: - Docker plugin "volumes+_from" parameter results in an error
+ Docker plugin "volumes_from" parameter results in an error
Steven Hardy (shardy)
Changed in heat:
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/118177
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=03638b3e739d19831910a5be8d231e30cadfb545
Submitter: Jenkins
Branch: master

commit 03638b3e739d19831910a5be8d231e30cadfb545
Author: Lars Kellogg-Stedman <email address hidden>
Date: Mon Sep 1 11:29:11 2014 -0400

    correctly implement volumes_from property

    The Docker plugin incorrectly implements the 'volumes_from' option:

    - The property is marked as a string when it should be a list, and
    - The property needs to be passed to start_container rather than
      create_container.

    Change-Id: I617a4d29a9edbb45d80c7b8abb8f87eeaf795a8b
    closes-bug: #1364041
    closes-bug: #1364039

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-3 → 2014.2
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.