ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20178) Add authentication for Topology tasks
Date Thu, 02 Mar 2017 18:59:45 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-20178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892794#comment-15892794
] 

Hudson commented on AMBARI-20178:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1158 (See [https://builds.apache.org/job/Ambari-branch-2.5/1158/])
AMBARI-20178. Add authentication for Topology tasks (magyari_sandor) (smagyari: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ac167d09ea91ce99f203325f5d5aa72724536ad4])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/StartHostTask.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterDeployWithStartOnlyTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/utils/StageUtilsTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterInstallWithoutStartTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/HostOfferResponse.java
* (delete) ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyTask.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/ConfigureClusterTaskFactory.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/TopologyManagerTest.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/RegisterWithConfigGroupTask.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/PersistHostResourcesTask.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/TopologyTask.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ConfigureClusterTaskTest.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/ConfigureClusterTask.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/security/authorization/internal/RunWithInternalSecurityContext.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/security/authorization/internal/InternalAuthenticationInterceptor.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClustersTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterInstallWithoutStartOnComponentLevelTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/InstallHostTask.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/tasks/TopologyHostTask.java


> Add authentication for Topology tasks
> -------------------------------------
>
>                 Key: AMBARI-20178
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20178
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20178.patch, AMBARI-20178_v2.patch, AMBARI-20178_v3.patch
>
>
> Replaying persisted requests on ambari-server start fail due to authorization error.
> Requests issued by an authenticated user that doesn't succeed are replayed on ambari
server start. The replay is issued during the server start, so there is no authenticated user
in the security context, thus the request fail over and over till the retry period is exceeded
and this repeats when the server is restarted.
> The unprocessed requests get stuck in the database.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message