Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-334

Stack data is stored in user-specific "Application Data" directory

XMLWordPrintableJSON

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Normal Normal
    • Labs Workbench - Beta
    • None
    • Backend
    • None

      With ndslabs-1.0-alpha, stack data is stored in /<volumes>/projects/<volume UID> and the Volume UID is mapped into the stack spec. We are moving to the concept of "home directories" for user accounts. Volume information should be stored in a special user directory, similar to the "Application Data" directory used by an OS.

      This includes the following changes:

      • When a new account is created, a "home directory" is created for the user under /home/username.
      • In the home directory, a new subdirectory is created, such as .appdata
      • When the user configures a stack, a subdirectory is created for each stack service: /home/user/.appdata/<uid>
      • This volume UID and directory are used in place of the current volume scheme.

      Note: We might consider restructuring this to stack/service, for example: /home/user/.appdata/clowder/mongo. However, we will run into problems if there are multiple instances of the same service (e.g., clowder). This could be solved by using the stack name (sxxxx), but this would prevent re-use of data across stacks.

              lambert8 Sara Lambert
              willis8 Craig Willis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified