Thank you both for your advice.

What  did was add a second private IP to both KVM host and Management Host as 
both had public IPs.
I then removed the secondary storage and added it back and this time used the 
private IP ( in the range is the CS internal subnet ) and everything started 
working.

Managemnt Host

network:
  ethernets:
    ens18:
      addresses:
      - XX.XX>XX>XX/28
      - 192.168.1.4/24
      gateway4: XX.XX.XX.XX
      nameservers:
        addresses:
        - 213.186.33.99
        - 1.1.1.1
        - 213.186.33.99
        - 1.1.1.1
        search: []
  version: 2

KVM Host

network:
   version: 2
   renderer: networkd
   ethernets:
     ens18:
       dhcp4: false
       dhcp6: false
       optional: true
   bridges:
     cloudbr0:
       addresses: [XX.XX.XX.XX/28]
       addresses: [192.168.1.3/24]
       gateway4: XX.XX.XX.XX
       nameservers:
         addresses: [213.186.33.99,8.8.8.8]
       interfaces: [ens18]
       dhcp4: false
       dhcp6: false
       parameters:
         stp: false
         forward-delay: 0

Thanks again for your tips!!!

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Thursday, July 8th, 2021 at 1:34 PM, Vivek Kumar 
<[email protected]> wrote:

> Yes, it looks like some permission issue from NFS side, just try to mount 
> manually from the host and see.
> 

> Regards,
> 

> Vivek Kumar
> 

> > On 08-Jul-2021, at 5:59 PM, Daniel Augusto Veronezi Salvador 
> > [email protected] wrote:
> > 

> > Hello John,
> > 

> > This mount is done by the SSVM. Does the SSVM has access to the NFS you 
> > trying to use as a secondary storage?
> > 

> > Best regards,
> > 

> > Daniel Salvador
> > 

> > On 08/07/2021 08:53, John wrote:
> > 

> > > We are having some issues with the latest CS 4.15.1 which we never had 
> > > before.
> > > 

> > > We are using the following:-
> > > 

> > > Ubuntu 20.4
> > > 

> > > CS 4.15.1
> > > 

> > > NFS is on the same host as the KVM server.
> > > 

> > > We can mount the /export/secondary directory successfully from the 
> > > management host.
> > > 

> > > But when CS tries to mount it we get this error is the management log.
> > > 

> > > Unable to mount XXX.XXX.XXXX:/export/secondary at 
> > > /mnt/SecStorage/4891ed6e-23b4-3b63-a190-1298ce00ed8d due to mount.nfs: 
> > > access denied by server while mounting XXX.XXX.XXXX:/export/secondary
> > > 

> > > Further, as we are using the KVM host as the NFS server do we need to 
> > > install NFS on the management host as well as the KVM host ?
> > > 

> > > Here is some further logs which may assist.
> > > 

> > > 2021-07-08 11:36:48,252 DEBUG [c.c.a.t.Request] 
> > > (AgentManager-Handler-9:null) (logid:) Seq 2-5813865643958599684: 
> > > Processing: { Ans: , MgmtId: 148407405838237, via: 2, Ver: v1, Flags: 
> > > 110, 
> > > [{"com.cloud.agent.api.Answer":{"result":"false","details":"com.cloud.utils.exception.CloudRuntimeException:
> > >  GetRootDir for nfs://XX.XX.XX.XX/export/secondary 
> > > nfs://XX.XX.XX.XX/export/secondary <http://XX.XX.XX.XX/export/secondary 
> > > http://xx.xx.xx.xx/export/secondary> failed due to 
> > > com.cloud.utils.exception.CloudRuntimeException: Unable to 
> > > mountXX.XX.XX.XX:/export/secondary at 
> > > /mnt/SecStorage/4891ed6e-23b4-3b63-a190-1298ce00ed8d due to mount.nfs: 
> > > parsing error on 'vers=' option
> > > 

> > > Any tips would be helpful.
> > > 

> > > Sent with ProtonMail <https://protonmail.com/ https://protonmail.com/> 
> > > Secure Email.

Attachment: publickey - [email protected] - 0xAC29B049.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to