Manila shares on internal cephfs can not be mounted when network isolation is used

Bug #1680749 reported by Jan Provaznik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Jan Provaznik

Bug Description

When ceph cluster is deployed in overcloud and manila is configured to use it as a backend, then users can create cephfs shares and mount them from inside user instances. The problem is that to mount a ceph share access to ceph public network (which is mapped to Overcloud StorageNetwork) is required. This works without network isolation but when network isolation is enabled, then user instances running in overcloud can not access StorageNetwork through which ceph is accessible.

steps to reproduce:
1) deploy OC with anila and ceph, quickstart config:
# Define a controller node, a compute node, and a ceph node.
overcloud_nodes:
  - name: control_0
    flavor: control
    virtualbmc_port: 6230

  - name: compute_0
    flavor: compute
    virtualbmc_port: 6231

  - name: ceph_0
    flavor: ceph
    virtualbmc_port: 6232

# Tell tripleo which nodes to deploy.
topology: >-
  --ceph-storage-scale 1
  -e {{overcloud_templates_path}}/environments/storage-environment.yaml
  -e {{overcloud_templates_path}}/environments/services/ceph-mds.yaml
  -e {{overcloud_templates_path}}/environments/manila-cephfsnative-config.yaml
  -e {{overcloud_templates_path}}/environments/puppet-pacemaker.yaml

network_isolation: true
network_isolation_type: 'single-nic-vlans'

2) create a testing stack in OC which includes manila share:
openstack stack create test1 --template /usr/share/openstack-tripleo-heat-templates/ci/pingtests/scenario004-multinode.yaml

3) get share export location with "manila show <share_id>"

4) try to access the export host/port from inside the running instance

description: updated
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → pike-2
Changed in tripleo:
assignee: nobody → Jan Provaznik (jan-provaznik)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-docs (master)

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

Changed in tripleo:
assignee: Jan Provaznik (jan-provaznik) → Ben Nemec (bnemec)
Ben Nemec (bnemec)
Changed in tripleo:
assignee: Ben Nemec (bnemec) → Jan Provaznik (jan-provaznik)
Changed in tripleo:
assignee: Jan Provaznik (jan-provaznik) → Ben Nemec (bnemec)
Ben Nemec (bnemec)
Changed in tripleo:
assignee: Ben Nemec (bnemec) → Jan Provaznik (jan-provaznik)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-docs (master)

Reviewed: https://review.openstack.org/459244
Committed: https://git.openstack.org/cgit/openstack/tripleo-docs/commit/?id=a8a576fb378fea99ba0f672c8a16ee3583178a73
Submitter: Jenkins
Branch: master

commit a8a576fb378fea99ba0f672c8a16ee3583178a73
Author: Jan Provaznik <email address hidden>
Date: Mon Apr 24 12:37:36 2017 +0200

    Add documentation how to access manila shares

    Adds steps how to create neutron provider network to access
    Ceph storage from user instances.

    Change-Id: I640984c2d14650e3abf982d4f8a3d9eb65380a26
    Closes-Bug: #1680749

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Jan Provaznik (<email address hidden>) on branch: master
Review: https://review.openstack.org/459242

Revision history for this message
Jan Provaznik (jan-provaznik) wrote :

Addressed by documentation patch - https://review.openstack.org/#/c/459244/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers