Manila fix_cephfs_owner.yml fails to mount cephfs

Bug #1819502 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

When running the manila role on master, Kolla-Ansible fails to mount cephfs while executing ansible/roles/manila/tasks/fix_cephfs_owner.yml:

    TASK [manila : Mount cephfs] **************************************************************************************************************************************************************************************
    fatal: [controller0]: FAILED! => {
        "changed": false,
        "cmd": [
            "docker",
            "exec",
            "-u",
            "0",
            "manila_share",
            "mount",
            "-t",
            "ceph",
            "10.0.0.1:6789,10.0.0.2:6789,10.0.0.3:6789",
            "/tmp/cephfs",
            "-o",
            "name=manila,secret=REDACTED"
        ],
        "delta": "0:00:00.050025",
        "end": "2019-03-11 18:08:58.678215",
        "rc": 1,
        "start": "2019-03-11 18:08:58.628190"
    }

    STDOUT:

    source mount path was not specified
    failed to resolve source

    MSG:

    non-zero return code

This is due to the source missing the path after the IP:port list.

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

Reviewed: https://review.openstack.org/642535
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=42dd7784de8d1b22cf18a7aefbc6783efe4bd7ea
Submitter: Zuul
Branch: master

commit 42dd7784de8d1b22cf18a7aefbc6783efe4bd7ea
Author: Pierre Riteau <email address hidden>
Date: Mon Mar 11 18:26:12 2019 +0000

    Fix failure to mount cephfs

    Commit 2f6b1c6890cf7ea6b0dd33ac219646e4dcaf1fd6 changed the way the
    cephfs source path was generated and dropped the source path component,
    keeping only the list of IPs and ports. This results in failures to
    mount cephfs with the following message:

        source mount path was not specified
        failed to resolve source

    Change-Id: I94d18ec064971870264ae8d0b279564f2172e548
    Closes-Bug: #1819502

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/643088

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

Reviewed: https://review.openstack.org/643088
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=e2ff275ca07d8627c46f3228cbc8ea670b3ab0b2
Submitter: Zuul
Branch: stable/queens

commit e2ff275ca07d8627c46f3228cbc8ea670b3ab0b2
Author: Pierre Riteau <email address hidden>
Date: Mon Mar 11 18:26:12 2019 +0000

    Fix failure to mount cephfs

    Commit 2f6b1c6890cf7ea6b0dd33ac219646e4dcaf1fd6 changed the way the
    cephfs source path was generated and dropped the source path component,
    keeping only the list of IPs and ports. This results in failures to
    mount cephfs with the following message:

        source mount path was not specified
        failed to resolve source

    Change-Id: I94d18ec064971870264ae8d0b279564f2172e548
    Closes-Bug: #1819502
    (cherry picked from commit 42dd7784de8d1b22cf18a7aefbc6783efe4bd7ea)

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/649164

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

Reviewed: https://review.openstack.org/649164
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a7a6c0acc016b7961e0cb5d388d2e0886752a4b8
Submitter: Zuul
Branch: stable/rocky

commit a7a6c0acc016b7961e0cb5d388d2e0886752a4b8
Author: Pierre Riteau <email address hidden>
Date: Mon Mar 11 18:26:12 2019 +0000

    Fix failure to mount cephfs

    Commit 2f6b1c6890cf7ea6b0dd33ac219646e4dcaf1fd6 changed the way the
    cephfs source path was generated and dropped the source path component,
    keeping only the list of IPs and ports. This results in failures to
    mount cephfs with the following message:

        source mount path was not specified
        failed to resolve source

    Change-Id: I94d18ec064971870264ae8d0b279564f2172e548
    Closes-Bug: #1819502
    (cherry picked from commit 42dd7784de8d1b22cf18a7aefbc6783efe4bd7ea)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 8.0.0.0rc1 release candidate.

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

This issue was fixed in the openstack/kolla-ansible 6.2.0 release.

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

This issue was fixed in the openstack/kolla-ansible 7.1.0 release.

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.