devstack - openstack dev environments

Two bugs for using docker with devstack

Reported by Min Li on 2013-10-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Undecided
Sam Alba

Bug Description

Hi all,

I found two bugs when trying devstack with docker.

The first one is in file "devstack / tools / docker / install_docker.sh", line 41:
    "install_package --force-yes lxc-docker=${DOCKER_PACKAGE_VERSION} socat"
should be:
    "install_package --force-yes lxc-docker-${DOCKER_PACKAGE_VERSION} socat"

The second one is in file "devstack / lib / nova_plugins / hypervisor-docker", line 75:
    "if ! is_package_installed lxc-docker; then"
should be:
    "if ! is_package_installed lxc-docker-${DOCKER_PACKAGE_VERSION}; then"

After fixing these two bugs, docker and devstack installation can proceed as expected.

Thank you!

Min Li (limin-marcus) on 2013-10-09
tags: added: docker
description: updated
Changed in devstack:
assignee: nobody → Min Li (limin-marcus)
status: New → In Progress

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

Changed in devstack:
assignee: Min Li (limin-marcus) → Sam Alba (samalba)

Reviewed: https://review.openstack.org/53031
Committed: http://github.com/openstack-dev/devstack/commit/5a77d03addeab27704eeeb6a43ea75c1a9941764
Submitter: Jenkins
Branch: master

commit 5a77d03addeab27704eeeb6a43ea75c1a9941764
Author: Sam Alba <email address hidden>
Date: Mon Oct 21 16:17:30 2013 -0700

    Removed docker version requirement

    Change-Id: I9f04db46706bf6453def09ca1e22e0db918d811b
    Closes-Bug: #1237581

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

Other bug subscribers