Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-26012

Support share attach/detach workflow with openstack client

XMLWordPrintable

    • Moderate

      Goal:

      Implement OpenStack CLI commands to support attaching and detaching Manila shared filesystems to Nova instances, exposing the functionality enabled by the recent SDK updates (specifically for virtio-fs support).

      Acceptance Criteria

      • Command Implementation: The following commands are implemented and functional:
        • openstack server add share <server> <share>: Attaches a Manila share to a specified server.
        • openstack server remove share <server> <share>: Detaches a Manila share from a specified server.
        • openstack server share list <server>: Lists all shares attached to a specific server.
        • openstack server share show <server> <share>: Displays details of a specific share attachment.
      • Parameter Support: The attach command supports the --tag argument to allow specifying a device tag (crucial for virtio-fs mounting in the guest).
      • SDK Usage: The CLI properly consumes the new create_share_attachment and related methods from openstacksdk.
      • Testing: Unit tests are added to verify argument parsing and proper API calls for the new commands.
      • Documentation: The command-line reference documentation is updated to include server * share commands.

              rribaud@redhat.com Rene Ribaud
              rribaud@redhat.com Rene Ribaud
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: