Install and configure a storage node in cinder

Bug #1738409 reported by Joao Pagaime
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sean McGinnis

Bug Description

I have a fix to the document that I can paste below

cinder-volume started but not functioning correctly. It appear "down" in an output of " openstack volume service list"

problem: missing “/usr/sbin/thin_check”
fix: “# apt-get -y install thin-provisioning-tools”
(on a 16.04.1-Ubuntu )

-----------------------------------
Release: 11.0.2.dev29 on 2017-12-13 22:18
SHA: c709fd13beb7fefcd23b204dca7c77b2e586c75a
Source: https://git.openstack.org/cgit/openstack/cinder/tree/doc/source/install/cinder-storage-install-ubuntu.rst
URL: https://docs.openstack.org/cinder/pike/install/cinder-storage-install-ubuntu.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/528372
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=78fa04624d8ab07203a028b256e7001c1ce18679
Submitter: Zuul
Branch: master

commit 78fa04624d8ab07203a028b256e7001c1ce18679
Author: Sean McGinnis <email address hidden>
Date: Fri Dec 15 12:58:58 2017 -0600

    Add thin provisioning package to install guide

    Our installation guide walks through configuring storage nodes
    using the LVM driver. LVM now defaults to thinly provisioned,
    which requires thing-provisioning-tools to be installed on the
    host. So by default, our instructions will result in failure
    when we attempt to perform thin provision operations.

    This adds mention of installing the required package for each
    platform's instructions to get the necessary tools installed.

    It also adds device-mapper-persistent-data to bindep for Red
    Hat based platforms to get those thin provisioning tools that
    were previously missing for these platforms.

    Tools appear to be installed by default on Suse platforms.

    Change-Id: I2a84ae99d71c3551814197917d114057430858b7
    Closes-bug: #1738409

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/530360

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/pike)

Reviewed: https://review.openstack.org/530360
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=8518fe30685fd3a47c3f4372b67bd27d28ee19b2
Submitter: Zuul
Branch: stable/pike

commit 8518fe30685fd3a47c3f4372b67bd27d28ee19b2
Author: Sean McGinnis <email address hidden>
Date: Fri Dec 15 12:58:58 2017 -0600

    Add thin provisioning package to install guide

    Our installation guide walks through configuring storage nodes
    using the LVM driver. LVM now defaults to thinly provisioned,
    which requires thing-provisioning-tools to be installed on the
    host. So by default, our instructions will result in failure
    when we attempt to perform thin provision operations.

    This adds mention of installing the required package for each
    platform's instructions to get the necessary tools installed.

    It also adds device-mapper-persistent-data to bindep for Red
    Hat based platforms to get those thin provisioning tools that
    were previously missing for these platforms.

    Tools appear to be installed by default on Suse platforms.

    Change-Id: I2a84ae99d71c3551814197917d114057430858b7
    Closes-bug: #1738409
    Closes-bug: #1740262
    (cherry picked from commit 78fa04624d8ab07203a028b256e7001c1ce18679)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.0.0b3

This issue was fixed in the openstack/cinder 12.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.1.0

This issue was fixed in the openstack/cinder 11.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.opendev.org/667375

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/ocata)

Reviewed: https://review.opendev.org/667375
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=73e5a7bbd54a5fa0462e08842aa9b5fe3ea4d373
Submitter: Zuul
Branch: stable/ocata

commit 73e5a7bbd54a5fa0462e08842aa9b5fe3ea4d373
Author: Dirk Mueller <email address hidden>
Date: Mon Jan 2 10:56:25 2017 +0100

    Add bindep.txt

    This is a combination of 4 commits to solve the issue created by the
    removal of global bindep-fallback.txt.

    1. Add a local bindep.txt override

    This avoids falling back to the global bindep-fallback.txt which
    installs a pretty big environment. Without this change, a lot
    of additional but unnecessary packages are installed on the nodepool
    workers.

    Conflicts:
        tox.ini
    Note(elod.illes): Due to not having patch
    If247add30d8dc4761dacb82c8d02ea4bd71546f0 on stable/ocata

    (cherry picked from commit 2db0497fde2e26f09f23a4af4c8a253fc3190227)

    2. Add libssl to bindep

    Source builds using cryptography need libssl-dev (and assorted other
    platform package names) to compile. Adding package declaration for
    dpkg, rpm, and suse.

    Closes-bug: #1696262
    (cherry picked from commit 9151ea2719deb28930084c562ed08c404367ed74)

    3. Add thin-provisioning-tools to bindep

    If we're going to use auto we should make sure we add
    thin-provisioning-tools to bindep. I think RHEL/CentOS
    variants include this by default.

    (cherry picked from commit c6a4a6b2f27d1031a6e2398e9f0674ff8dd01d6d)

    4. Add thin provisioning package to install guide

    Our installation guide walks through configuring storage nodes
    using the LVM driver. LVM now defaults to thinly provisioned,
    which requires thing-provisioning-tools to be installed on the
    host. So by default, our instructions will result in failure
    when we attempt to perform thin provision operations.

    This adds mention of installing the required package for each
    platform's instructions to get the necessary tools installed.

    It also adds device-mapper-persistent-data to bindep for Red
    Hat based platforms to get those thin provisioning tools that
    were previously missing for these platforms.

    Tools appear to be installed by default on Suse platforms.

    Closes-bug: #1738409
    Closes-bug: #1740262
    (cherry picked from commit 78fa04624d8ab07203a028b256e7001c1ce18679)
    (cherry picked from commit 8518fe30685fd3a47c3f4372b67bd27d28ee19b2)

    Conflicts:
        doc/source/install/cinder-storage-install-rdo.rst
        doc/source/install/cinder-storage-install-ubuntu.rst
    Note(elod.illes): conflict is caused by not having these documentation
    files on ocata.

    Change-Id: I8c581225eada929bc947b13f851bb228000f32fe

tags: added: in-stable-ocata
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.