Uploaded image for project: 'Cockpit'
  1. Cockpit
  2. COCKPIT-1272

Start using "r8" revision of the Stratis API when available

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Storage
    • 7
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable
    • ?
    • ?
    • rhel-cockpit
    • ?
    • Quarterly Plan 25Q2, 25Q3 - July/30, 25Q3 - Aug/27

      This API revision is needed to take full advantage of V2 pools.

      Changes that I know about right now:

      • The KeyDescriptions and ClevisInfo is different for V2 pools and now contains a list of items, instead of a single (optional) one.
      • The StartPool method now reads the passphrase directly.

      Questions:

      • Does it still make sense to use key descriptions with V1 pools or can we remove that concept completely from Cockpit (once r8 is the only API we need to support)? Would be nice.

      Cockpit of course needs to still support the "r6" API revision for older Stratis versions, and still needs to support V1 pools even with the "r8" revision.

      We need to test V1 and V2 pools explicitly with r8. The /bin/stratis tool can not create V1 pools anymore since 3.8, but there is a "stratisd-tools" package with a tool that can create them.

      Anticipated UI changes:

      • Instead of working with a single or no passphrase, the UI now needs to work with a list of passphrases. Same for keyservers.

      Design: https://github.com/cockpit-project/cockpit/issues/21836

              mvollmer1@redhat.com Marius Vollmer
              mvollmer1@redhat.com Marius Vollmer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: