Description of problem: Cluster upgrade from 4.x to 5.x failed in task TASK [ceph-dashboard : add iscsi gateways - ipv4] [1] saying- stderr: |-' Error EINVAL: iscsi REST API failed request with status code 500' (b\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\\n<title>500 Inter\'' b'nal Server Error</title>\\n<h1>Internal Server Error</h1>\\n<p>The server en'" b'countered an internal error and was unable to complete your request. Either '" b'the server is overloaded or there is an error in the application.</p>\\n')" Checked rbd target api and gw services, they were stuck in AttributeError: 'Request' object has no attribute 'is_xhr' Version-Release number of selected component (if applicable): ceph-version: 16.2.10-17.el8cp container-tag: ceph-5.3-rhel-8-containers-candidate-66238-20220822205728 6.0.28.0-1.el8cp.noarch How reproducible: once Steps to Reproduce: 1. Configure 4.x cluster with iscsigws 2. Upgrade clusters to 5.x Actual results: (Mentioned in description) Expected results: Upgrade must be successful Additional info: [1] ceph-ansible code - https://github.com/ceph/ceph-ansible/blob/stable-6.0/roles/ceph-dashboard/tasks/configure_dashboard.yml#L364-L372
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:0076