Re: [PATCH nfs-utils v3 00/14] add NFS over AF_VSOCK support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 19, 2017 at 05:44:27PM +0100, Daniel P. Berrange wrote:
> On Tue, Sep 19, 2017 at 11:48:10AM -0400, Chuck Lever wrote:
> > 
> > > On Sep 19, 2017, at 11:10 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> > > 
> > > On Tue, Sep 19, 2017 at 10:35:49AM -0400, Chuck Lever wrote:
> > >> 
> > >>> On Sep 19, 2017, at 5:31 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> > >>> 
> > >>> On Mon, Sep 18, 2017 at 07:09:27PM +0100, Stefan Hajnoczi wrote:
> > >>>> There are 2 main use cases:
> > >>>> 
> > >>>> 1. Easy file sharing between host & guest
> > >>>> 
> > >>>>  It's true that a disk image can be used but that's often inconvenient
> > >>>>  when the data comes in individual files.  Making throwaway ISO or
> > >>>>  disk image from those files requires extra disk space, is slow, etc.
> > >>> 
> > >>> More critically, it cannot be easily live-updated for a running guest.
> > >>> Not all of the setup data that the hypervisor wants to share with the
> > >>> guest is boot-time only - some may be access repeatedly post boot &
> > >>> have a need to update it dynamically. Currently OpenStack can only
> > >>> satisfy this if using its network based metadata REST service, but
> > >>> many cloud operators refuse to deploy this because they are not happy
> > >>> with the guest and host sharing a LAN, leaving only the virtual disk
> > >>> option which can not support dynamic update.
> > >> 
> > >> Hi Daniel-
> > >> 
> > >> OK, but why can't the REST service run on VSOCK, for instance?
> > > 
> > > That is a possibility, though cloud-init/OpenStack maintainers are
> > > reluctant to add support for new features for the metadata REST
> > > service, because the spec being followed is defined by Amazon (as
> > > part of EC2), not by OpenStack. So adding new features would be
> > > effectively forking the spec by adding stuff Amazon doesn't (yet)
> > > support - this is why its IPv4 only, with no IPv6 support too,
> > > as Amazon has not defined a standardized IPv6 address for the
> > > metadata service at this time.
> > 
> > You guys are asking the NFS community for a similar kind of
> > specification change here. We would prefer that you seek that change
> > with the relevant authority (the IETF) first before trying to merge
> > an implementation of it.
> > 
> > As a first step we have to define RPC operation on VSOCK transports.
> > That's the smallest piece of it. Dealing with some of the NFS issues
> > (like, what happens to filehandles and lock state during a live
> > guest migration) is an even larger challenge.
> > 
> > Sorry, but you can't avoid one interoperability problem (Amazon)
> > by introducing another (NFS).
> 
> Agreed, I can't argue with that. It does feel overdue to get NFS-over-VSOCK
> defined as a formal spec, especially since it was already implemented in
> the NFS-ganesha userspace server.

Getting the RPC over AF_VSOCK details through the IETF process is my
next goal.

Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux