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

BZ#1918077 Volume backups can be created in any Ceph pools like "vms"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.0, rhos-16.2.z, rhos-17.1.z
    • openstack-cinder
    • False
    • False
    • ?
    • rhos-storage-cinder
    • None
    • Undefined
    • Moderate

      Description of problem:

      Currently CephBackupDriver implements backup containers as ceph pools in backend Ceph cluster.
      It uses backups pool by default but user can select any pools by setting the target container when creating a backup.
      This results in unexpected situation where users create backups in any other pools like vms, volumes or etc, because we use the same credential which has access to all pools.
      We should restrict available pools for cinder-backup to ensure that volume backups are created in dedicated ceph pools.

      Version-Release number of selected component (if applicable):

      How reproducible:
      Always

      Steps to Reproduce:
      1. Deploy overcloud with Ceph and cinder-backup

      2. Create an empty volume
      $ openstack volume create testbackup

      3. Create a backup from the volume, with a target container
      $ openstack volume backup create testbackup --container vms

      Actual results:
      The volume backup is created in vms pool, which should be dedicated for ephemeral disks

      Expected results:
      Cinder-backup fails (or rejects) to create the volume backup.

      Additional info:

              Unassigned Unassigned
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-storage-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: