docker sleep when building Fuel mirrors

Bug #1318633 reported by Roman Vyalov on 2014-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Matthew Mosesohn

Bug Description

when building mirrors, docker sleep at 30min - 12h

 only_resync_from_srv11=0
+ '[' 0 = 0 ']'
+ make deep_clean
(mount -l | grep -q /home/jenkins/workspace/tmp/fuel_master_mirror/local_mirror/ubuntu/chroot/proc && sudo umount /home/jenkins/workspace/tmp/fuel_master_mirror/local_mirror/ubuntu/chroot/proc) || exit 0
(docker rm -f `docker ps -aq`; docker rmi `docker images -q`) || exit 0

unexpected EOF
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

Roman Vyalov (r0mikiam) on 2014-05-12
Changed in fuel:
importance: Undecided → High
assignee: nobody → Igor Shishkin (teran)
Roman Vyalov (r0mikiam) on 2014-05-12
description: updated
Changed in fuel:
milestone: 5.1 → 5.0
importance: High → Critical
Igor Shishkin (teran) wrote :

Fixed with removing docker package from srv11-msk.
Matthew please fix Makefile to do not run docker when building mirror.

Changed in fuel:
assignee: Igor Shishkin (teran) → Matthew Mosesohn (raytrac3r)
Roman Vyalov (r0mikiam) on 2014-05-12
Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Aleksandra Fedorova (afedorova)
Matthew Mosesohn (raytrac3r) wrote :

Does this happen in build mode PRODUCTION=prod? Srv11-msk cannot build docker because its kernel is too old. It should be taken out of iso servers. There is a microcloud node that should be the primary and is the one for fuel_5_0_iso but not for the gerrit commit task. Just update the server list. This is not a bug but a jenkins conf issue. Assigning back.

Changed in fuel:
assignee: Aleksandra Fedorova (afedorova) → Igor Shishkin (teran)
Igor Shishkin (teran) wrote :

Matthew, the actual problem is when we using docker(which actually not required) when building mirror.

Changed in fuel:
assignee: Igor Shishkin (teran) → Matthew Mosesohn (raytrac3r)
Aleksandra Fedorova (bookwar) wrote :

The 'Critical' part of the issue has been fixed by Igor. srv11 can build mirrors now, thus changing to High.

Note that *we don't need docker for building mirrors*. It is just a make clean process, which needs to be fixed.

Tl;dr: make clean shouldn't fail, if docker is installed but stopped.

Changed in fuel:
importance: Critical → High
status: Triaged → Confirmed
status: Confirmed → Triaged

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

Changed in fuel:
status: Triaged → In Progress
Mike Scherbakov (mihgen) on 2014-05-14
Changed in fuel:
milestone: 5.0 → 5.1

Reviewed: https://review.openstack.org/93325
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=e09af324dac1951d2a4a9098346e317d861daaca
Submitter: Jenkins
Branch: master

commit e09af324dac1951d2a4a9098346e317d861daaca
Author: Matthew Mosesohn <email address hidden>
Date: Mon May 12 19:45:29 2014 +0400

    Skip docker clean if docker is not running

    Change-Id: I40adfe5f7b5ddea7e0d7917f34deb8a8081fe030
    Closes-Bug: #1318633

Changed in fuel:
status: In Progress → Fix Committed
Mike Scherbakov (mihgen) on 2014-05-21
Changed in fuel:
milestone: 5.1 → 5.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers