OpenStack Manila Driver
Dear All, We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns... Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment. Has this scenario been addressed at all? Cheers, Luke. Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE E: luke.raimbach@crick.ac.uk<mailto:luke.raimbach@crick.ac.uk> W: www.crick.ac.uk<http://www.crick.ac.uk/> The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
Perhaps I misunderstand here, but if the tenants have administrative (ie:root) privileges to the underlying file system management commands I think mmunlinkfileset might be a minor concern here. There are FAR more destructive things that could occur. I am not an OpenStack expert and I've not even looked at anything past Kilo, but my understanding was that these commands were not necessary for tenants. They access a virtual block device that backs to GPFS, correct? Ed Wahl OSC ________________________________ ++ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Luke Raimbach [Luke.Raimbach@crick.ac.uk] Sent: Monday, June 15, 2015 4:35 AM To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] OpenStack Manila Driver Dear All, We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns... Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment. Has this scenario been addressed at all? Cheers, Luke. Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE E: luke.raimbach@crick.ac.uk<mailto:luke.raimbach@crick.ac.uk> W: www.crick.ac.uk<http://www.crick.ac.uk/> The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
So as I understand things, Manila is an OpenStack component which allows tenants to create and destroy shares for their instances which would be accessed over NFS. Perhaps I’ve not done enough research in to this though – I’m also not an OpenStack expert. The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS. The unlinking of the fileset worries me for the reasons stated previously. From: gpfsug-discuss-bounces@gpfsug.org [mailto:gpfsug-discuss-bounces@gpfsug.org] On Behalf Of Wahl, Edward Sent: 15 June 2015 15:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] OpenStack Manila Driver Perhaps I misunderstand here, but if the tenants have administrative (ie:root) privileges to the underlying file system management commands I think mmunlinkfileset might be a minor concern here. There are FAR more destructive things that could occur. I am not an OpenStack expert and I've not even looked at anything past Kilo, but my understanding was that these commands were not necessary for tenants. They access a virtual block device that backs to GPFS, correct? Ed Wahl OSC ________________________________ ++ From: gpfsug-discuss-bounces@gpfsug.org<mailto:gpfsug-discuss-bounces@gpfsug.org> [gpfsug-discuss-bounces@gpfsug.org] on behalf of Luke Raimbach [Luke.Raimbach@crick.ac.uk] Sent: Monday, June 15, 2015 4:35 AM To: gpfsug-discuss@gpfsug.org<mailto:gpfsug-discuss@gpfsug.org> Subject: [gpfsug-discuss] OpenStack Manila Driver Dear All, We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns... Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment. Has this scenario been addressed at all? Cheers, Luke. Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE E: luke.raimbach@crick.ac.uk<mailto:luke.raimbach@crick.ac.uk> W: www.crick.ac.uk<http://www.crick.ac.uk/> The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
On Tue, 2015-06-16 at 07:36 +0000, Luke Raimbach wrote: [SNIP]
The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS.
What makes you think the it creates filesets as opposed to just sharing out a normal directory? I had a quick peruse over the documentation and source code and saw no mention of filesets, though I could have missed it. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
[SNIP]
The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS.
What makes you think the it creates filesets as opposed to just sharing out a normal directory? I had a quick peruse over the documentation and source code and saw no mention of filesets, though I could have missed it.
I think you are right. Looking over the various resources I have available, the creation, deletion, linking and unlinking of filesets is not implemented, but commented on as needing to be done. The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
On Tue, 2015-06-16 at 08:48 +0000, Luke Raimbach wrote: [SNIP]
I think you are right. Looking over the various resources I have available, the creation, deletion, linking and unlinking of filesets is not implemented, but commented on as needing to be done.
That's going to be a right barrel of laughs as reliability goes out the window if they do implement it. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
The presentation of shared storage by Manila isn’t necessarily via NFS. Some of the drivers, I believe the GPFS one amongst them, allow some form of native connection either via the guest or via a VirtFS connection to the client on the hypervisor. Best Wishes, Adam —
On 16 Jun 2015, at 08:36, Luke Raimbach <Luke.Raimbach@crick.ac.uk> wrote:
So as I understand things, Manila is an OpenStack component which allows tenants to create and destroy shares for their instances which would be accessed over NFS. Perhaps I’ve not done enough research in to this though – I’m also not an OpenStack expert.
The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS.
The unlinking of the fileset worries me for the reasons stated previously.
From: gpfsug-discuss-bounces@gpfsug.org [mailto:gpfsug-discuss-bounces@gpfsug.org] On Behalf Of Wahl, Edward Sent: 15 June 2015 15:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] OpenStack Manila Driver
Perhaps I misunderstand here, but if the tenants have administrative (ie:root) privileges to the underlying file system management commands I think mmunlinkfileset might be a minor concern here. There are FAR more destructive things that could occur.
I am not an OpenStack expert and I've not even looked at anything past Kilo, but my understanding was that these commands were not necessary for tenants. They access a virtual block device that backs to GPFS, correct?
Ed Wahl OSC
++ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Luke Raimbach [Luke.Raimbach@crick.ac.uk] Sent: Monday, June 15, 2015 4:35 AM To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] OpenStack Manila Driver
Dear All,
We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns...
Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment.
Has this scenario been addressed at all?
Cheers, Luke.
Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE
E: luke.raimbach@crick.ac.uk W: www.crick.ac.uk
The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
I didn;t think that the *current* Manilla driver user GPFS protocol, but sat on top of Ganesha server. Simon On 16/06/2015 09:41, "Adam Huffman" <adam.huffman@crick.ac.uk> wrote:
The presentation of shared storage by Manila isn’t necessarily via NFS. Some of the drivers, I believe the GPFS one amongst them, allow some form of native connection either via the guest or via a VirtFS connection to the client on the hypervisor.
Best Wishes, Adam
—
On 16 Jun 2015, at 08:36, Luke Raimbach <Luke.Raimbach@crick.ac.uk> wrote:
So as I understand things, Manila is an OpenStack component which allows tenants to create and destroy shares for their instances which would be accessed over NFS. Perhaps I’ve not done enough research in to this though – I’m also not an OpenStack expert.
The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS.
The unlinking of the fileset worries me for the reasons stated previously.
From: gpfsug-discuss-bounces@gpfsug.org [mailto:gpfsug-discuss-bounces@gpfsug.org] On Behalf Of Wahl, Edward Sent: 15 June 2015 15:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] OpenStack Manila Driver
Perhaps I misunderstand here, but if the tenants have administrative (ie:root) privileges to the underlying file system management commands I think mmunlinkfileset might be a minor concern here. There are FAR more destructive things that could occur.
I am not an OpenStack expert and I've not even looked at anything past Kilo, but my understanding was that these commands were not necessary for tenants. They access a virtual block device that backs to GPFS, correct?
Ed Wahl OSC
++ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Luke Raimbach [Luke.Raimbach@crick.ac.uk] Sent: Monday, June 15, 2015 4:35 AM To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] OpenStack Manila Driver
Dear All,
We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns...
Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment.
Has this scenario been addressed at all?
Cheers, Luke.
Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE
E: luke.raimbach@crick.ac.uk W: www.crick.ac.uk
The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Luke, Your explanation below is correct, with some minor clarifications Manila is an OpenStack project which allows storage admins to create and destroy filesystem shares and make those available to vm instances and bare metal servers which would be accessed over NFS. The Manila driver runs in the control plane and creates a new gpfs independent fileset for each new share. It provides automation for giving vm's (and also bare metal servers) acces to the shares so that they can mount and use the share. There is work being done to allow automating the mount process when the vm instance boots. The tenants don’t have root access to the file system, but the Manila component acts as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS. The manila driver uses the following gpfs commands: When a share is created: mmcrfileset mmlinkfileset mmsetquota When a share is deleted: mmunlinkfileset mmdelfileset Snapshots of shares can be created and deleted: mmcrsnapshot mmdelsnapshot Today, the GPFS Manila driver supports creating NFS exports to VMs. We are considering adding native GPFS client support in the VM, but not sure if the benefit justifies the extra complexity of having gpfs client in vm image, and also the impact to cluster as vm's come up and down in a more dynamic way than physical nodes. For multi-tenant deployments, we recommend using a different filesystem per tenant to provide better separation of data, and to minimize the "noisy neighbor" effect for operations like mmunlinkfileset. Here is a presentation that shows an overview of the GPFS Manila driver: (See attached file: OpenStack_Storage_Manila_with_GPFS.pdf) Perhaps this, and other GPFS & OpenStack topics could be the subject of a future user group session. Regards, Bill Owen billowen@us.ibm.com GPFS and OpenStack 520-799-4829 From: Luke Raimbach <Luke.Raimbach@crick.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Date: 06/16/2015 12:37 AM Subject: Re: [gpfsug-discuss] OpenStack Manila Driver Sent by: gpfsug-discuss-bounces@gpfsug.org So as I understand things, Manila is an OpenStack component which allows tenants to create and destroy shares for their instances which would be accessed over NFS. Perhaps I’ve not done enough research in to this though – I’m also not an OpenStack expert. The tenants don’t have root access to the file system, but the Manila component must act as a wrapper to file system administrative equivalents like mmcrfileset, mmdelfileset, link and unlink. The shares are created as GPFS filesets which are then presented over NFS. The unlinking of the fileset worries me for the reasons stated previously. From: gpfsug-discuss-bounces@gpfsug.org [ mailto:gpfsug-discuss-bounces@gpfsug.org] On Behalf Of Wahl, Edward Sent: 15 June 2015 15:00 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] OpenStack Manila Driver Perhaps I misunderstand here, but if the tenants have administrative (ie:root) privileges to the underlying file system management commands I think mmunlinkfileset might be a minor concern here. There are FAR more destructive things that could occur. I am not an OpenStack expert and I've not even looked at anything past Kilo, but my understanding was that these commands were not necessary for tenants. They access a virtual block device that backs to GPFS, correct? Ed Wahl OSC ++ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Luke Raimbach [Luke.Raimbach@crick.ac.uk] Sent: Monday, June 15, 2015 4:35 AM To: gpfsug-discuss@gpfsug.org Subject: [gpfsug-discuss] OpenStack Manila Driver Dear All, We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns... Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment. Has this scenario been addressed at all? Cheers, Luke. Luke Raimbach Senior HPC Data and Storage Systems Engineer The Francis Crick Institute Gibbs Building 215 Euston Road London NW1 2BE E: luke.raimbach@crick.ac.uk W: www.crick.ac.uk The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Mon, 2015-06-15 at 08:35 +0000, Luke Raimbach wrote:
Dear All,
We are looking forward to using the manila driver for auto-provisioning of file shares using GPFS. However, I have some concerns...
Manila presumably gives tenant users access to file system commands like mmlinkfileset and mmunlinkfileset. Given that mmunlinkfileset quiesces the file system, there is potentially an impact from one tenant on another - i.e. someone unlinking and deleting a lot of filesets during a tenancy cleanup might cause a cluster pause long enough to trigger other failure events or even start evicting nodes. You can see why this would be bad in a cloud environment.
Er as far as I can see in the documentation no you don't. My personal experience is mmunlinkfileset has a habit of locking the file system up; aka don't do while the file system is busy. On the other hand mmlinkfileset you can do with gay abandonment. Might have changed in more recent version of GPFS. On the other hand you do get access to creating/deleting snapshots which on the deleting side has in the past for me personally has caused file system lockups. Similarly creating a snapshot no problem. The difference between the two is things that require quiescence to take away from the file system can cause bad things happen. Quiescence to add things to the file system rarely if ever cause problems. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (6)
-
Adam Huffman -
Bill Owen -
Jonathan Buzzard -
Luke Raimbach -
Simon Thompson (Research Computing - IT Services) -
Wahl, Edward
