IU Shared Secret Key authentication and encryption
(LU-3289)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.3.0, Lustre 2.4.0, Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.5.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Andrew Korty (Inactive) | Assignee: | Minh Diep |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SSK, gssapi, kerberos | ||
| Environment: |
any |
||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 8142 | ||||||||||||||||
| Description |
|
Lustre's autoconf scripts require Kerberos to be installed when --enable-gss is specified. Currently, only the Kerberos GSSAPI mechanism supported by Lustre, but others are planned in the future, such as those being developed for shared key authentication (project SFS-DEV-001.2). GSSAPI is meant to allow calling code to be mechanism-agnostic, so requiring Kerberos defeats that purpose. The definition of the LC_CONFIG_GSS macro in lustre/autoconf/lustre-core.m4 unconditionally calls AC_KERBEROS_V5 from lustre/autoconf/kerberos.m4, which fails when Kerberos isn't found: dnl We didn't find a usable Kerberos environment This macro ought to instead note the location of the Kerberos headers and libraries but not result in a fatal error if they don't exist. I don't know if this approach will result in link-time or runtime errors that would also need to be corrected. Ubuntu also needs GSS libraries: configure: error: libkeyutils is not found, which is required by gss keyring backend |
| Comments |
| Comment by Bryon Neitzel (Inactive) [ 16/May/13 ] |
|
Assigning to Chris for initial assessment of changes required. |
| Comment by Bryon Neitzel (Inactive) [ 16/May/13 ] |
|
Also making this a major for now so it doesn't get lost in Chris's queue. |
| Comment by Nathan Rutman [ 21/May/13 ] |
|
So it sounds like first of all there should be two separate options:
Secondly Andreas suggested that these both should be enabled automatically, if the required packages are found in the build environment. |
| Comment by Andreas Dilger [ 28/May/13 ] |
|
Is there a specific list of GSS/Kerberos -devel RPMs that are needed for RHEL6 and SLES11SP2? |
| Comment by Nathan Rutman [ 28/May/13 ] |
|
Some more from Alex K: ./configure - It is required in checklist to have gss libraries installed (libgssapi* / libgssglue* ) and krb* rpms . 2) Here at FNAL the following was used to build lustre servers with kerberised flavor on Scientific Linux ( which is RHEL rebuild which includes kerberos) : ./configure \ Alex. |
| Comment by Nathan Rutman [ 28/May/13 ] |
Note the separation of the build options also implies a separation of #ifdef macros inside of Lustre. Also, the existing Lustre security tests eventually need to be separated – what follows is a wishlist:
|
| Comment by Justin Miller (Inactive) [ 20/Jun/13 ] |
|
These are the packages that are needed to configure Lustre with --enable-gss on a basic RHEL6.4 x86_64 install: keyutils-libs-devel-1.4-4.el6.x86_64 |
| Comment by Andreas Dilger [ 09/Jul/13 ] |
|
Joshua, could you please check that the above list of RPM packages (or their SLES equivalent) is available on our build nodes. |
| Comment by Joshua Kugler (Inactive) [ 21/Aug/13 ] |
|
Ubuntu SUSE The other packages will get pulled since they are dependencies. |
| Comment by Joshua Kugler (Inactive) [ 21/Aug/13 ] |
|
Looks like EL5 needs: keyutils-libs-devel |
| Comment by Joshua Kugler (Inactive) [ 21/Aug/13 ] |
|
I have installed the packages referenced. I have retriggered http://review.whamcloud.com/#/c/6740/ |
| Comment by Joshua Kugler (Inactive) [ 22/Aug/13 ] |
|
http://review.whamcloud.com/#/c/6740/ passed its build. Can someone verify that it contains the proper build products, and make sure it has linked against the proper libraries? ajk ? |
| Comment by Stephen Simms (Inactive) [ 22/Aug/13 ] |
|
I'm presuming that Andrew doesn't have privileges to view the build node. Is that presumption correct or is there a way he could do what you've asked? |
| Comment by Joshua Kugler (Inactive) [ 22/Aug/13 ] |
|
ssimms: The above link gives a link to the build products which can be found here: http://build.whamcloud.com/job/lustre-reviews/17615/ That is a public link, no special permissions required. |
| Comment by Andrew Korty (Inactive) [ 22/Aug/13 ] |
|
Thanks, I'll look through these. |
| Comment by Andreas Dilger [ 27/Aug/13 ] |
|
From the meeting today, it at least looks like the packages are running configure and completing the build. At this point, we aren't yet sure if the gssd is actually being built, or if it is missing from the lustre.spec file, but it looks like that needs to be tested locally by Andrew (using "make rpms" on a system with http://review.whamcloud.com/6740/ applied is probably the easiest). Any issues with what gets built will probably be addressed by a patch to the Lustre code. |
| Comment by Cory Spitz [ 09/Sep/13 ] |
|
FYI, we caught a problem with GSSAPI prerequisites checking from change #6740 and updated |
| Comment by Minh Diep [ 17/Sep/13 ] |
|
seems like we need krb5-libs for suse. build on suse failed due to |
| Comment by Minh Diep [ 18/Sep/13 ] |
|
we also need gssapi for ubuntu |
| Comment by Joshua Kugler (Inactive) [ 27/Sep/13 ] |
|
Assign-ing to Minh, as I believe he is working on the Ubuntu libs issue. |
| Comment by Minh Diep [ 27/Sep/13 ] |
|
afaik, |
| Comment by Joshua Kugler (Inactive) [ 27/Sep/13 ] |
|
Sounds good. Probably a good idea, then, to close this ticket and open one specifically for Ubuntu. |
| Comment by Minh Diep [ 30/Sep/13 ] |
|
Andrew, Let me know if there's anything else or I can close this ticket. I will close if I don't hear from you by the end of this week. |
| Comment by Andrew Korty (Inactive) [ 02/Oct/13 ] |
|
Yes, I believe this ticket has been resolved. Thanks! |