manila-share container failed

Bug #1824511 reported by Chiawei Xie
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned
Stein
Fix Released
Medium
Unassigned
Train
Fix Released
Medium
Unassigned

Bug Description

kolla-ansible version: stein
container OS: ubuntu
image: source
openstack version: stein

When kolla-ansible used enable_manila_backend_cephfs_nfs: "yes",
the manila-share container can't start.

The error message was:

Error encountered during initialization of driver CephFSDriver@kolla1@cephfsnfs1: OSError: [Errno 2] No such file or directory

Detail logs:
http://paste.openstack.org/raw/749231/

Chiawei Xie (dommgifer)
description: updated
Revision history for this message
Mark Goddard (mgoddard) wrote :

It's not very clear from the error message, but looking at the code, it seems that the command being executed here is sqlite3: https://github.com/openstack/manila/blob/2736d4adcc7d5f8d8d41ae040d31557a77a2a717/manila/share/drivers/ganesha/manager.py#L276

Revision history for this message
Mark Goddard (mgoddard) wrote :

Could you check whether adding sqlite3 to the image fixes the problem, then submit a patch?

Revision history for this message
Rafal Wadolowski (xelexin) wrote :

Yeah, adding sqlite3 in manila-share container resolved issue.

Revision history for this message
Rafal Wadolowski (xelexin) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/657560
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=771584cbb5ecd089d273078ae68fb92ece42e47f
Submitter: Zuul
Branch: master

commit 771584cbb5ecd089d273078ae68fb92ece42e47f
Author: Rafal Wadolowski <email address hidden>
Date: Tue May 7 11:35:23 2019 +0200

    Add sqlite package to manila-share

    The docker image was built without sqlite package, which is required for
    nfs backend. Without this package manila-share fails to start.

    Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4
    Closes-Bug: #1824511

Changed in kolla:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/657982

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/657983

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

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/657984

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

Fix proposed to branch: stable/pike
Review: https://review.opendev.org/657987

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

Reviewed: https://review.opendev.org/657984
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d8a1c3eb7527154b0128b3363b8f62f6b7d4a195
Submitter: Zuul
Branch: stable/queens

commit d8a1c3eb7527154b0128b3363b8f62f6b7d4a195
Author: Rafal Wadolowski <email address hidden>
Date: Tue May 7 11:35:23 2019 +0200

    Add sqlite package to manila-share

    The docker image was built without sqlite package, which is required for
    nfs backend. Without this package manila-share fails to start.

    Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4
    Closes-Bug: #1824511
    (cherry picked from commit 771584cbb5ecd089d273078ae68fb92ece42e47f)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/stein)

Reviewed: https://review.opendev.org/657982
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=81c325048c843815dbcc3ca86b12108aff8abef7
Submitter: Zuul
Branch: stable/stein

commit 81c325048c843815dbcc3ca86b12108aff8abef7
Author: Rafal Wadolowski <email address hidden>
Date: Tue May 7 11:35:23 2019 +0200

    Add sqlite package to manila-share

    The docker image was built without sqlite package, which is required for
    nfs backend. Without this package manila-share fails to start.

    Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4
    Closes-Bug: #1824511
    (cherry picked from commit 771584cbb5ecd089d273078ae68fb92ece42e47f)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/rocky)

Reviewed: https://review.opendev.org/657983
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d0cc542d8fe3314b7730750367ac853afecf4425
Submitter: Zuul
Branch: stable/rocky

commit d0cc542d8fe3314b7730750367ac853afecf4425
Author: Rafal Wadolowski <email address hidden>
Date: Tue May 7 11:35:23 2019 +0200

    Add sqlite package to manila-share

    The docker image was built without sqlite package, which is required for
    nfs backend. Without this package manila-share fails to start.

    Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4
    Closes-Bug: #1824511
    (cherry picked from commit 771584cbb5ecd089d273078ae68fb92ece42e47f)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/pike)

Reviewed: https://review.opendev.org/657987
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=9458153859538e2da1000fdaeb0ae6d64fffabb1
Submitter: Zuul
Branch: stable/pike

commit 9458153859538e2da1000fdaeb0ae6d64fffabb1
Author: Rafal Wadolowski <email address hidden>
Date: Tue May 7 11:35:23 2019 +0200

    Add sqlite package to manila-share

    The docker image was built without sqlite package, which is required for
    nfs backend. Without this package manila-share fails to start.

    Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4
    Closes-Bug: #1824511
    (cherry picked from commit 771584cbb5ecd089d273078ae68fb92ece42e47f)

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

This issue was fixed in the openstack/kolla 6.2.2 release.

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

This issue was fixed in the openstack/kolla 7.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 8.0.0.0rc2

This issue was fixed in the openstack/kolla 8.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla pike-eol

This issue was fixed in the openstack/kolla pike-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.0.0.0rc1

This issue was fixed in the openstack/kolla 9.0.0.0rc1 release candidate.

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.