Hi Hendrik, On 09/18/2018 12:57 PM, Hendrik Peyerl wrote: > we just deployed an Object Gateway to our CEPH Cluster via ceph-deploy > in an IPv6 only Mimic Cluster. To make sure the RGW listens on IPv6 we > set the following config: > rgw_frontends = civetweb port=[::]:7480 > > We now tried to enable the dashboard functionality for said gateway but > we are running into an error 500 after trying to access it via the > dashboard, the mgr log shows the following: > > {"status": "500 Internal Server Error", "version": "3.2.2", "detail": > "The server encountered an unexpected condition which prevented it from > fulfilling the request.", "traceback": "Traceback (most recent call > last):\\n File > \\"/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py\\", line 656, > in respond\\n response.body = self.handler()\\n File > \\"/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py\\", line > 188, in __call__\\n self.body = self.oldhandler(*args, **kwargs)\\n > File \\"/usr/lib/python2.7/site-packages/cherrypy/lib/jsontools.py\\", > line 61, in json_handler\\n value = > cherrypy.serving.request._json_inner_handler(*args, **kwargs)\\n File > \\"/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py\\", line 34, > in __call__\\n return self.callable(*self.args, **self.kwargs)\\n > File \\"/usr/lib64/ceph/mgr/dashboard/controllers/rgw.py\\", line 23, in > status\\n instance = RgwClient.admin_instance()\\n File > \\"/usr/lib64/ceph/mgr/dashboard/services/rgw_client.py\\", line 138, in > admin_instance\\n return > RgwClient.instance(RgwClient._SYSTEM_USERID)\\n File > \\"/usr/lib64/ceph/mgr/dashboard/services/rgw_client.py\\", line 121, in > instance\\n RgwClient._load_settings()\\n File > \\"/usr/lib64/ceph/mgr/dashboard/services/rgw_client.py\\", line 102, in > _load_settings\\n host, port = _determine_rgw_addr()\\n File > \\"/usr/lib64/ceph/mgr/dashboard/services/rgw_client.py\\", line 78, in > _determine_rgw_addr\\n raise LookupError(\'Failed to determine RGW > port\')\\nLookupError: Failed to determine RGW port\\n"}'] > > > Any help would be greatly appreciated. Would you mind sharing the commands that you used to configure the RGW connection details? The host and port of the Object Gateway should be determined automatically, I wonder the IPv6 notation gets mangled somewhere here. Have you tried setting them explicitly using "ceph dashboard set-rgw-api-host <host>" and "ceph dashboard set-rgw-api-port <port>"? Thanks, Lenz -- SUSE Linux GmbH - Maxfeldstr. 5 - 90409 Nuernberg (Germany) GF:Felix Imendörffer,Jane Smithard,Graham Norton,HRB 21284 (AG Nürnberg)
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com