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

[OSP 17.1] Cinder HPE3PARISCSIDriver fails initialize_connection with "LUN exists"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • openstack-cinder
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Important

      New config; no volumes will attach with this specific storage backend. There is another 3par storage backend that works fine on the same network.

      I'll provide detailed logs and config in private attachment.

      Storage is:

      Model: HPE Alletra Storage MP B10100
      Firmware Version: 10.4.8

      OSP 17.1

      $ grep url sos_commands/podman/containers/podman_inspect_733953807bcb
      "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp17/openstack-cinder-volume/images/17.1.5-3",

      The cinder volume is successfully created:

      2025-06-23 22:00:46.869 8 INFO cinder.volume.flows.manager.create_volume [req-f19784df-38c5-41d7-84b4-0f07eb908e14 1a3acce714bb490ea503183c26c82d9c a70
      cd070fdf04e50865de47b5d0751cb - - -] Volume volume-b7d8f655-c25b-4c96-815c-4b13b7edb09d (b7d8f655-c25b-4c96-815c-4b13b7edb09d): created successfully

      However, after creation, initialize connection fails with the following exception as it seems to not find the vlun and tries to create then hits the LUN exists exception

      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager [req-56cf10d2-8ceb-493d-9d93-fd399a8b81fe 1a3acce714bb490ea503183c26c82d9c a70cd070fdf04e50865de47b5d0751cb - - -] Driver initialize connection failed (error: Conflict (HTTP 409) 18 - LUN exists).: hpe3parclient.exceptions.HTTPConflict: Conflict (HTTP 409) 18 - LUN exists
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager Traceback (most recent call last):
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/manager.py", line 4673, in _connection_create
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager conn_info = self.driver.initialize_connection(volume, connector)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/volume_utils.py", line 1432, in trace_logging_wrapper
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager result = f(*args, **kwargs)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "<decorator-gen-17>", line 2, in initialize_connection
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/coordination.py", line 151, in _synchronized
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager return f(*a, **k)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/hpe/hpe_3par_iscsi.py", line 400, in initialize_connection
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager self._initialize_connection_common(
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/hpe/hpe_3par_iscsi.py", line 326, in _initialize_connection_common
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager self._vlun_create_or_use_existing(
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/hpe/hpe_3par_iscsi.py", line 271, in _vlun_create_or_use_existing
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager vlun = common.create_vlun(
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/hpe/hpe_3par_common.py", line 1752, in create_vlun
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager vlun_info = self._create_3par_vlun(volume_name, host['name'], nsp,
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/hpe/hpe_3par_common.py", line 1441, in _create_3par_vlun
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager location = client_obj.createVLUN(volume, hostname=hostname,
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/local/lib/python3.9/site-packages/hpe3parclient/client.py", line 2286, in createVLUN
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager headers, body = self.http.post('/vluns', body=info)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/local/lib/python3.9/site-packages/hpe3parclient/http.py", line 376, in post
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager return self._cs_request(url, 'POST', **kwargs)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/local/lib/python3.9/site-packages/hpe3parclient/http.py", line 320, in _cs_request
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager resp, body = self.request(url, method, **kwargs)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager File "/usr/local/lib/python3.9/site-packages/hpe3parclient/http.py", line 262, in request
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager raise exceptions.from_response(resp, body)
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager hpe3parclient.exceptions.HTTPConflict: Conflict (HTTP 409) 18 - LUN exists
      2025-06-23 22:02:45.012 8 ERROR cinder.volume.manager
      2025-06-23 22:02:45.013 8 ERROR oslo_messaging.rpc.server [req-56cf10d2-8ceb-493d-9d93-fd399a8b81fe 1a3acce714bb490ea503183c26c82d9c a70cd070fdf04e50865de47b5d0751cb - - -] Exception during message handling: cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Conflict (HTTP 409) 18 - LUN exists).

      Additional details to follow

              Unassigned Unassigned
              mflusche@redhat.com Mathew Flusche
              rhos-storage-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: