nfs-common not installed inside cinder_volume containers if netapp/NFS is configured

Bug #1408419 reported by Rev. Dr. Aaron M. Segura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Invalid
High
Miguel Grinberg
Icehouse
Fix Released
High
Miguel Grinberg
Juno
Fix Released
High
Miguel Grinberg
Trunk
Invalid
High
Miguel Grinberg

Bug Description

This is for v9.0.1

Configured netapp NFS for cinder in rpc_user_config.yml (see below), but received errors regarding invalid filesystem in the cinder-volume logs while trying to mount the share defined in /etc/cinder/nfs_shares. Installed nfs-common via apt and restarted cinder-volume service, which fixed the issue.

root@infra01:/opt/ansible-lxc-rpc/rpc_deployment# grep -r nfs-common *
root@infra01:/opt/ansible-lxc-rpc/rpc_deployment#

...clip...
      cinder_backends:
        limit_container_types: cinder_volume
        netapp_1:
          netapp_storage_family: ontap_7mode
          netapp_storage_protocol: nfs
          netapp_server_hostname: <REDACTED>
          netapp_server_port: 80
          netapp_login: cinder_api
          netapp_password: <REDACTED>
          volume_driver: cinder.volume.drivers.netapp.common.NetAppDriver
          volume_backend_name: netapp_1
        netapp_2:
          netapp_storage_family: ontap_7mode
          netapp_storage_protocol: nfs
          netapp_server_hostname: <REDACTED>
          netapp_server_port: 80
          netapp_login: cinder_api
          netapp_password: <REDACTED>
          volume_driver: cinder.volume.drivers.netapp.common.NetAppDriver
          volume_backend_name: netapp_2

Revision history for this message
Bjoern (bjoern-t) wrote :
Revision history for this message
Miguel Grinberg (miguelgrinberg) wrote :

Did you include the configuration for the NFS client in your rpc_user_config.yml file? When this is done the nfs client is installed for you (at least that was the intention!).

See https://github.com/stackforge/os-ansible-deployment/blob/stable/juno/etc/rpc_deploy/rpc_user_config.yml.example#L193 for an example.

Changed in openstack-ansible:
status: New → Incomplete
Revision history for this message
Miguel Grinberg (miguelgrinberg) wrote :

Sorry, just realize you are using v9. Right, it appears this was not backported, it's only in v10.

Changed in openstack-ansible:
status: Incomplete → Confirmed
Changed in openstack-ansible:
assignee: nobody → Miguel Grinberg (miguelgrinberg)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (icehouse)

Fix proposed to branch: icehouse
Review: https://review.openstack.org/145817

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (icehouse)

Reviewed: https://review.openstack.org/145817
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=e26ab415615483231d2162f7041bfda30f83cd12
Submitter: Jenkins
Branch: icehouse

commit e26ab415615483231d2162f7041bfda30f83cd12
Author: Miguel Grinberg <email address hidden>
Date: Mon Nov 17 16:23:09 2014 -0800

    NFS client configuration for cinder

    This change adds the NFS client configuration in the cinder_volume hosts,
    necessary when using a netapp backend over NFS.

    Change-Id: I6169a2c72f2e477a8fa751ee9f8de0ecac3c5988
    Closes-Bug: 1408419
    (cherry-picked from commit ed15550a141813b85cd75c8774439a250871fa62)

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.