<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to access Live Ganglia UI in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/93204#M2007</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/616"&gt;@shan_chandra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! We encountered the same issue, and your solution was very helpful in resolving it. We have a follow-up question: how can we revoke the permissions granted through this method using the REST API? I couldn’t find any REST API methods for revoking or deleting object permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 00:38:33 GMT</pubDate>
    <dc:creator>reddybhargava</dc:creator>
    <dc:date>2024-10-09T00:38:33Z</dc:date>
    <item>
      <title>Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/56472#M727</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I’m having a trouble accessing Ganglia UI on a job run cluster. The job run is executed by a service principal and I would like to enable the Ganglia UI view to an user/admin group in Databricks. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error I get is:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;HTTP ERROR 403 PERMISSION_DENIED: Cannot use the cluster as user (my_email@email.com&lt;/STRONG&gt;&lt;STRONG&gt;) must have at least 'Bind' permission on the service principal.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The situation occurs only during job run, screenshots taken from Ganglia UI are accessible.&lt;/SPAN&gt;&lt;SPAN&gt;Following the documentation, I’ve tried to set&amp;nbsp;&lt;/SPAN&gt;access_control_list&lt;SPAN&gt;&amp;nbsp;property. When I set&amp;nbsp;&lt;/SPAN&gt;access_control_list&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;[{"user_name": "my_email@email.com", "permission_level": "CAN_VIEW"}]&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;then request was accepted (200), but Ganglia UI is still not accessible, however when I’ve tried&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;[{"user_name": "my_email@email.com", "permission_level": "CAN_BIND"}]&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;then I got Bad Request (400) and a message&amp;nbsp;&lt;/SPAN&gt;Permission type not defined&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/api/workspace/jobs/submit" target="_blank" rel="noopener noreferrer"&gt;https://docs.databricks.com/api/workspace/jobs/submit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;&lt;/SPAN&gt;CAN_BIND&lt;SPAN&gt; value is not described in this documentation:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/en/security/auth-authz/access-control/jobs-acl.html" target="_blank" rel="noopener noreferrer"&gt;https://docs.databricks.com/en/security/auth-authz/access-control/jobs-acl.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;so I'm a little confused.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’m also not sure I have chosen the right path since Ganglia UI can also belong to the cluster rather than to a job. Can you point me in a right direction?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 09:41:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/56472#M727</guid>
      <dc:creator>arkadiuszr</dc:creator>
      <dc:date>2024-01-05T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/56992#M736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/80359"&gt;@arkadiuszr&lt;/a&gt;&amp;nbsp; -&amp;nbsp; can you please try the following steps and let us know?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To resolve this error, first you want to add your service principal to the workspace:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to admin console as a workspace admin&lt;/LI&gt;
&lt;LI&gt;Select “service principal tab”&lt;/LI&gt;
&lt;LI&gt;Click “Add service principal button”&lt;/LI&gt;
&lt;LI&gt;Select the account service principals in the dropdown and add them into this workspace.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;then bind your user to the service principal:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You must have the&amp;nbsp;`can_bind` permission on a service principal.&lt;/LI&gt;
&lt;LI&gt;If you are a workspace admin you will already have this permission.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;To grant this permission to users, the workflow is as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;As a workspace admin, goto the Admin Console.&lt;/LI&gt;
&lt;LI&gt;Get or create a PAT token.&lt;/LI&gt;
&lt;LI&gt;Get or create a service principal in the workspace.&lt;/LI&gt;
&lt;LI&gt;Get the id of the service principal, this should look like a GUID and not the descriptive name.&lt;/LI&gt;
&lt;LI&gt;Grant permission for your user to bind to that service principal.&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="markup"&gt;$ vim grant-service-principal.json
{
"access_control_list": [
{
"user_name": "{username}",
"permission_level": "CAN_BIND"
}
]
}
$ curl -X PATCH {DATABRICKS_HOST}/api/2.0/permissions/service-principals/{SP_ID}
header "Content-type: application/json" header "Authorization: Bearer
${DATABRICKS_TOKEN}" data @grant-service-principal.json&lt;/LI-CODE&gt;
&lt;P&gt;Reference on Service Principal:&amp;nbsp;&lt;A href="https://docs.databricks.com/administration-guide/users-groups/service-principals.html#what-is-a-service-principal" target="_blank" rel="noopener"&gt;https://docs.databricks.com/administration-guide/users-groups/service-principals.html#what-is-a-service-principal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 20:38:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/56992#M736</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2024-01-11T20:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57073#M737</link>
      <description>&lt;P&gt;Thank you for the time you spent to clarify a few things to me. Yes it worked indeed with one remark {SP_ID} is not the GUID but a numeric one instead. To fetch it I. had to make a call to that endpoint "api/2.0/preview/scim/v2/ServicePrincipals"&lt;/P&gt;&lt;P&gt;Do you know if there is a terraform component that allows that? I've searched a little and couldn't find.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 14:55:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57073#M737</guid>
      <dc:creator>arkadiuszr</dc:creator>
      <dc:date>2024-01-12T14:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57482#M740</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/80359"&gt;@arkadiuszr&lt;/a&gt;&amp;nbsp;- Can you please check the documentation for SP here for examples -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/service-principals-tools-apis.html" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/service-principals-tools-apis.html&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:39:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57482#M740</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2024-01-16T15:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57664#M749</link>
      <description>&lt;P&gt;Ok, there is no terraform component that does that yet. &lt;A href="https://docs.databricks.com/en/dev-tools/service-principals-tools-apis.html" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/service-principals-tools-apis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/service_principal" target="_blank"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/service_principal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 08:44:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/57664#M749</guid>
      <dc:creator>arkadiuszr</dc:creator>
      <dc:date>2024-01-18T08:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Live Ganglia UI</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/93204#M2007</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/616"&gt;@shan_chandra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! We encountered the same issue, and your solution was very helpful in resolving it. We have a follow-up question: how can we revoke the permissions granted through this method using the REST API? I couldn’t find any REST API methods for revoking or deleting object permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 00:38:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-access-live-ganglia-ui/m-p/93204#M2007</guid>
      <dc:creator>reddybhargava</dc:creator>
      <dc:date>2024-10-09T00:38:33Z</dc:date>
    </item>
  </channel>
</rss>

