Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] NFS Storage for Epiphany #1233

Closed
20 tasks
baurbaniak opened this issue Apr 30, 2020 · 5 comments
Closed
20 tasks

[FEATURE REQUEST] NFS Storage for Epiphany #1233

baurbaniak opened this issue Apr 30, 2020 · 5 comments

Comments

@baurbaniak
Copy link
Contributor

baurbaniak commented Apr 30, 2020

Is your feature request related to a problem? Please describe.
We need to check if feature/nfs-storage branch if it is implementing complete solution for NFS storage.

Describe the solution you'd like
We need to verify implementation in if feature/nfs-storage branch for different environments:

  • AWS: EFS
  • Azure: NFS server
  • On-premise: Linux VM with NFS server

Describe alternatives you've considered
No alternatives.

Additional context
None


DoD checklist

  • Changelog
    • updated
    • not needed
  • COMPONENTS.md
    • updated
    • not needed
  • Schema
    • updated
    • not needed
  • Backport tasks
    • created
    • not needed
  • Documentation
    • added
    • updated
    • not needed
  • Feature has automated tests
  • Automated tests passed (QA pipelines)
    • apply
    • upgrade
    • backup/restore
  • Idempotency tested
  • All conversations in PR resolved
  • Solution meets requirements and is done according to design doc
  • Usage compliant with license
@baurbaniak baurbaniak added this to the Image Repository milestone Apr 30, 2020
@to-bar to-bar changed the title NFS Storage for epiphany k8s NFS Storage for Epiphany (K8s + ES backup) May 20, 2020
@to-bar to-bar changed the title NFS Storage for Epiphany (K8s + ES backup) NFS Storage for Epiphany May 20, 2020
@to-bar
Copy link
Contributor

to-bar commented Jun 10, 2020

Tasks left to do:

  1. Files created by any user on NFS client are saved on NFS server as owned by the anonymous user (nfsnobody on RHEL) when NFS share is kerberized (i.e. sec=krb5p). The behavior is the same as using all_squash option. For sec=sys this issue is not present. It's similar to the one described here but not limited to root.

  2. Test scenario when domain is undefined (on-premise it's possible). In such case ansible_domain may contain empty string. Depending on the test result we may need to add a pre-flight check to fail if domain is undefined.

  3. Ensure time synchronization (NTP). Kerberos permits only small differences in the system times of the server and its clients. There is separate issue #1298 for that.

  4. Review and refactor Kerberos config files (Jinja templates) - the default configuration (provided with packages) differs between RHEL and Ubuntu. Nice to have the same settings for both distros for easier maintenance (where it makes sense).

  5. Update list of ports (used by NFS and Kerberos) in SECURITY.md.

  6. Verify rules of Security Groups, they were added but access from Kerberos server to NFS clients was not tested (see point "Source port 88 UDP inbound from Kerberos KDCs" at https://uit.stanford.edu/service/kerberos/firewalls)

  7. Add nfs OS group and use it when creating non-existing directories to be exported. See section "Create NFS Group and Configure NFS Share Directory" at https://www.tecmint.com/setting-up-nfs-server-with-kerberos-based-authentication/

  8. Verify configuration of logging (locations, verbosity, rotation).

  9. Add information about NFS to Epiphany docs.

@mkyc
Copy link
Contributor

mkyc commented Jul 13, 2020

@to-bar @rafzei @toszo I just added it to Cloud Native Storage epic, but I would like to know from you if that should even be left here. Are we going to use NFS? That is not what current approach with Rook Operator defined but I might not be aware of something.

@to-bar
Copy link
Contributor

to-bar commented Oct 23, 2020

The solution with Kerberos has failed due to permissions issue (manual ownership mapping or LDAP required).
The new approach is to use NFS over stunnel. PoC succeded.

@mkyc mkyc removed the size/M label Oct 29, 2020
@seriva seriva changed the title NFS Storage for Epiphany [FEATURE REQUEST] NFS Storage for Epiphany Apr 20, 2022
@seriva
Copy link
Collaborator

seriva commented Nov 16, 2022

Not going todo anymore feature requests for Epiphany.

@seriva seriva closed this as completed Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants