Docker resource does not support mounting directory as volume

Bug #1322205 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
JunJie Nan

Bug Description

Test in the Heat Template
volume_test:
    type: DockerInc::Docker::Container
    properties:
      image: yili/centos-coreos
      privileged: true
      volumes: {"/var/shared1/": "/var/shared1:Read-Only"}

Check the docker container, the volume is not there.

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/94898

Changed in heat:
assignee: nobody → JunJie Nan (nanjj)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit dcdcfcb6af4907822df2a2ee7bf1826c9c7c55bc
Author: JUNJIE NAN <email address hidden>
Date: Thu May 22 22:56:31 2014 +0800

    Fix docker volumes binds issue

    Without the fix, the volumes will not be attached after the container
    started.

    Closes-Bug: #1322205

    Change-Id: Ie8eff402e8714f3c5d478dbc9fc02b43a377dccd

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