Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82D9918B62 for ; Tue, 9 Feb 2016 05:21:18 +0000 (UTC) Received: (qmail 1781 invoked by uid 500); 9 Feb 2016 05:21:18 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 1662 invoked by uid 500); 9 Feb 2016 05:21:18 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 1653 invoked by uid 500); 9 Feb 2016 05:21:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 1646 invoked by uid 99); 9 Feb 2016 05:21:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 05:21:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 152F92C1F5B for ; Tue, 9 Feb 2016 05:21:18 +0000 (UTC) Date: Tue, 9 Feb 2016 05:21:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9252) Support configurable NFS version for Secondary Storage mounts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138371#comment-15138371 ] ASF GitHub Bot commented on CLOUDSTACK-9252: -------------------------------------------- Github user kishankavala commented on the pull request: https://github.com/apache/cloudstack/pull/1361#issuecomment-181715514 @nvazquez Apologies for reviewing it late. 1. Since version is fetched from image_store_details, can we send a map with all details for the image_store instead of just the version. This will make the approach more generic. In case more info is required for other vendors in future, too many changes can be avoided 2. Nfsversion param and corresponding getter/setter methods can be moved to a base class (something like BaseImageStoreCommand) > Support configurable NFS version for Secondary Storage mounts > ------------------------------------------------------------- > > Key: CLOUDSTACK-9252 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9252 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: VMware > Reporter: Nicolas Vazquez > > After starting secondary storage VM, secondary storage tries to be mounted but fails with error: {{Protocol family not supported}} > It was found out that adding {{-o vers=X}} to mount command it would work, where {{X}} is the desired NFS version to use. > If it is desired to mount a store with a specific NFS version, it has passed in {{image_store_details}} table for a store with id {{Y}} as a property: > ||store_id||||name||value|| > |Y|nfs.version|X| > Where X stands for NFS version -- This message was sent by Atlassian JIRA (v6.3.4#6332)