dockerctl start all does not work with systemd

Bug #1543110 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Bilunov
8.0.x
Invalid
High
Dmitry Bilunov
Mitaka
Fix Released
High
Dmitry Bilunov

Bug Description

dockerctl start all results in the following:
Failed to issue method call: Unit docker-all.service failed to load: No such file or directory.

It should instead call all the containers one at a time. This is a regression from behavior we had in Fuel 7.0.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "536"
  build_id: "536"
  fuel-nailgun_sha: "baec8643ca624e52b37873f2dbd511c135d236d9"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "e2d79330d5d708796330fac67722c21f85569b87"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "87dfb6bc25d4650264f09c338ed77c21a3d6fe87"

Changed in fuel:
milestone: none → 9.0
Revision history for this message
Dmitry Bilunov (dbilunov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/277735
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=44365f492fb3b0c736ad5bd9fc1c5ee161ca0f26
Submitter: Jenkins
Branch: master

commit 44365f492fb3b0c736ad5bd9fc1c5ee161ca0f26
Author: Dmitry Bilunov <email address hidden>
Date: Tue Feb 9 11:40:26 2016 +0300

    Fix `dockerctl start all' not working with systemd

    There is a missing local variable assignment for "$container" in
    ./files/fuel-docker-utils/functions.sh. Instead an environment
    variable leaks from /usr/bin/dockerctl into functions.sh's
    start_container and it tries to start unit "docker-all" which
    obviously does not exist.

    This patch assigns the first argument of start_container to a
    local variable "$container" which fixes this regression.

    This bug cannot be reproduced on stable/8.0. It can be triggered
    least in fuel-9.0-liberty-195.

    Change-Id: I1a9c7e965b37df90f81f14ddad1513d2914c14ad
    Closes-Bug: #1543110

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mikhail Samoylov (msamoylov) wrote :

We haven't docker in fuel 9.0 mos

Changed in fuel:
status: Fix Committed → Fix Released
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.