Bug 2277924 - Take snapshot is having permission issue error:
Summary: Take snapshot is having permission issue error:
Keywords:
Status: CLOSED DUPLICATE of bug 2277830
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: vSphere plugin
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 8.1
Assignee: Ernesto Puerta
QA Contact: Krishna Ramaswamy
Krishna Ramaswamy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-30 04:57 UTC by Krishna Ramaswamy
Modified: 2024-04-30 09:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-30 09:04:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8906 0 None None None 2024-04-30 04:58:13 UTC

Description Krishna Ramaswamy 2024-04-30 04:57:42 UTC
2024-04-30 04:03:35,485 - ceph_exception_manager.py[line:57] - vsphere-plugin.ceph_exception_manager - ERROR : Status code: 400, detail: {"detail": "[errno 1] RBD permission error (error creating snapshot b'ganga-snap2' from b'ganga-ds')", "code": "1", "component": "rbd", "status": 400, "task": {"name": "rbd/snap/create", "metadata": {"image_spec": "rbd/ganga-ds", "snapshot_name": "ganga-snap2", "mirrorImageSnapshot": ""}}}
Traceback (most recent call last):
  File "/app/ceph_manager.py", line 488, in _make_request
    response.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/httpx/_models.py", line 758, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://dhcp47-89.lab.eng.blr.redhat.com:8443/api/block/image/rbd%2Fganga-ds/snap'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/ceph_exception_manager.py", line 53, in wrapper
    return await fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/volume_group_endpoints.py", line 34, in make_basic_request
    return await fs.make_basic_request(command)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/ceph_manager.py", line 272, in make_basic_request
    response = await self._make_request(request, headers=headers,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/ceph_manager.py", line 502, in _make_request
    raise ceph_exception.ConnectionErrorException(status_code, detail) from err
ceph_exception_manager.ConnectionErrorException: (400, '{"detail": "[errno 1] RBD permission error (error creating snapshot b\'ganga-snap2\' from b\'ganga-ds\')", "code": "1", "component": "rbd", "status": 400, "task": {"name": "rbd/snap/create", "metadata": {"image_spec": "rbd/ganga-ds", "snapshot_name": "ganga-snap2", "mirrorImageSnapshot": ""}}}')

Comment 1 Ernesto Puerta 2024-04-30 09:04:34 UTC

*** This bug has been marked as a duplicate of bug 2277830 ***


Note You need to log in before you can comment on or make changes to this bug.