Improve reliability of docker containers

Bug #1415946 reported by Fabrizio Soppelsa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Matthew Mosesohn
5.1.x
Won't Fix
Medium
Fuel Library (Deprecated)
6.0.x
Won't Fix
Medium
Fuel Library (Deprecated)

Bug Description

Improve the reliability of the Fuel Master node docker containers.
A /var partition data fillup should not corrupt them.

Discuss auto-recover, preventive measures, monitoring strategies.

Revision history for this message
Fabrizio Soppelsa (fsoppelsa) wrote :
tags: added: docker
Stanislav Makar (smakar)
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
status: New → Triaged
importance: Undecided → Medium
Changed in fuel:
milestone: 5.1.2 → 6.1
status: Triaged → New
Changed in fuel:
status: New → Confirmed
Changed in fuel:
importance: Medium → High
tags: added: customer-found
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

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

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

commit 5ca339f8ed6e8f2de877eac5f21b2442bae56194
Author: Matthew Mosesohn <email address hidden>
Date: Mon Apr 6 14:48:56 2015 +0300

    Create logvol /var/lib/docker and balance usage

    Modified Fuel Master partition schema to match
    the following schema:
      * swap default
      * / 10gb
      * /var 10gb + 30% of remaining free space
      * /var/log 4gb + 50% of remaining free space
      * /var/lib/docker 17gb + 20% of remaining free space

    Effectively, the following partition changes are made:
      * Reduce /var to 30% of remaining free space (was 60%)
      * Increase /var/log to 50% of remaining free space (was 40%)
      * Add new logvol /var/lib/docker (17gb + 20% remaining)
      * Raise minimum disk size to 41GB

    This new logvol will prevent docker from running out
    of disk space because of logs, diagnostic snapshots,
    or Fuel backup.

    Change-Id: I79b0ebfeeddbef67e4c7c1650b6cdc2b8ea96937
    Closes-Bug: #1415946
    Doc-Impact: ops

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Alexander Arzhanov (aarzhanov) wrote :

Verified on #476 iso

api: '1.0'
astute_sha: 5d570ae5e03909182db8e284fbe6e4468c0a4e3e
auth_required: true
build_id: 2015-05-27_22-12-45
build_number: '476'
feature_groups:
- mirantis
fuel-library_sha: ca9dc7589b9a1f7db945df0fb7c6bd21b60f0280
fuel-ostf_sha: 4cd2fef040ae9e7645a6b17a7cb44d3cd8fbe0be
fuelmain_sha: 6b5712a7197672d588801a1816f56f321cbceebd
nailgun_sha: ac8668cc06368fe22330e293c9ce8655d46846bd
openstack_version: 2014.2.2-6.1
production: docker
python-fuelclient_sha: e19f1b65792f84c4a18b5a9473f85ef3ba172fce
release: '6.1'
release_versions:
  2014.2.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: 5d570ae5e03909182db8e284fbe6e4468c0a4e3e
      build_id: 2015-05-27_22-12-45
      build_number: '476'
      feature_groups:
      - mirantis
      fuel-library_sha: ca9dc7589b9a1f7db945df0fb7c6bd21b60f0280
      fuel-ostf_sha: 4cd2fef040ae9e7645a6b17a7cb44d3cd8fbe0be
      fuelmain_sha: 6b5712a7197672d588801a1816f56f321cbceebd
      nailgun_sha: ac8668cc06368fe22330e293c9ce8655d46846bd
      openstack_version: 2014.2.2-6.1
      production: docker
      python-fuelclient_sha: e19f1b65792f84c4a18b5a9473f85ef3ba172fce
      release: '6.1'

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