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

[16.2]Swift default device still enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhos-16.2.z
    • openstack-swift
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Moderate

      To Reproduce Steps to reproduce the behavior:

      1. Deploy openstack with a custom device as below.

      parameter_defaults:
        SwiftMountCheck: true
        SwiftUseLocalDir: false
        SwiftRawDisks: {"customdevice": {"base_dir":"/dev/mapper"}}
        
        ExtraConfig:
            swift::proxy::copy::object_post_as_copy: False

      1. Check that device "d1" will also be created.
      2. Remove device "d1" and run a new deploy.
      3. Check that device "d1" will also be recreated.

      Expected behavior

      • Not create the "d1" as SwiftUseLocalDir is set to false [1].

      Screenshots

      • Attached Image

      Device Info (please complete the following information):

      • OS Version: RHEL8.4
      • Openstack 16.2

      Bug impact

      • This increase disk usage and logs because Swift try to use the device.

      Known workaround

      • It's possible to remove the device at each deploy with a bunch of commands.

      Additional context

      •  [1]https://opendev.org/openstack/tripleo-heat-templates/commit/813b3dc4fc94745719afce7192ac24b153d1dbd8

              cschwede@redhat.com Christian Schwede
              rh-ee-cgussobo Conrado Gusso Bozza
              rhos-storage-swift
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: