Missing support for nfs backends

Bug #1816820 reported by Liam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Charm
Fix Released
High
Liam Young
OpenStack Nova Compute Charm
Fix Released
High
Liam Young

Bug Description

When provisioning a volume through cinder which is provisioned from the storage array as nfs both cinder and nova-compute fail to mount the nfs volume because nfs-common is not installed. NOTE: it is presented to the guest as a block device not as an nfs mount this is not the manilla use case.

Error in logs:

2019-02-20 16:57:20.643 30983 ERROR nova.virt.block_device [instance: 627e98b2-45d3-420c-abaa-fe1949b019a5] Command: mount -t nfs 10.5.0.41:/tank/data/volume-0087df85-caa5-4bd2-9af4-8b874e4af7e7 /var/lib/nova/mnt/216fd175b2d9c11a1ed12927a346c4d6
2019-02-20 16:57:20.643 30983 ERROR nova.virt.block_device [instance: 627e98b2-45d3-420c-abaa-fe1949b019a5] Exit code: 32
2019-02-20 16:57:20.643 30983 ERROR nova.virt.block_device [instance: 627e98b2-45d3-420c-abaa-fe1949b019a5] Stdout: u''
2019-02-20 16:57:20.643 30983 ERROR nova.virt.block_device [instance: 627e98b2-45d3-420c-abaa-fe1949b019a5] Stderr: u'mount: /var/lib/nova/mnt/216fd175b2d9c11a1ed12927a346c4d6: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.\n'

Liam Young (gnuoy)
Changed in charm-cinder:
status: New → Confirmed
Changed in charm-nova-compute:
status: New → Confirmed
Changed in charm-cinder:
importance: Undecided → High
Changed in charm-nova-compute:
importance: Undecided → High
Changed in charm-cinder:
assignee: nobody → Liam Young (gnuoy)
Changed in charm-nova-compute:
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder (master)

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

Changed in charm-cinder:
status: Confirmed → In Progress
Changed in charm-nova-compute:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)

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

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

Reviewed: https://review.openstack.org/638222
Committed: https://git.openstack.org/cgit/openstack/charm-cinder/commit/?id=233dc6a7605b38fb22868b4253112471eada8683
Submitter: Zuul
Branch: master

commit 233dc6a7605b38fb22868b4253112471eada8683
Author: Liam Young <email address hidden>
Date: Wed Feb 20 17:23:08 2019 +0000

    Add support for nfs cinder volumes

    Cinder volumes which are provisioned via nfs are initially mounted
    on the cinder node. For this to work the nfs-common package is
    needed.

    Change-Id: Iac11c262c6e5408303b3afda8633b0252055cfec
    Closes-Bug: #1816820

Changed in charm-cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.openstack.org/638223
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=e5fc658b26105eed7ac97eeb52174b3e51ab0a62
Submitter: Zuul
Branch: master

commit e5fc658b26105eed7ac97eeb52174b3e51ab0a62
Author: Liam Young <email address hidden>
Date: Wed Feb 20 17:20:10 2019 +0000

    Add support for nfs cinder volumes

    Cinder volumes which are provisioned via nfs need to be mounted on
    the compute nodes. For this to work the nfs-common package is needed.

    Closes-Bug: #1816820
    Change-Id: I5d536817b2098698cecd4627408a82321bf7fb9b

Changed in charm-nova-compute:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-nova-compute:
milestone: none → 19.04
Changed in charm-cinder:
milestone: none → 19.04
David Ames (thedac)
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
Changed in charm-cinder:
status: Fix Committed → Fix Released
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.