Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMBARI-22946]. Download client configs API failing with 500 server err… #308

Merged
merged 2 commits into from
Feb 9, 2018

Conversation

zeroflag
Copy link
Contributor

@zeroflag zeroflag commented Feb 9, 2018

What changes were proposed in this pull request?

Client config generation causes an import error when ambari-server tries to execute python script.

I added /usr/lib/ambari-agent/lib to PYTHONPATH used by ambari-server.

edit: moving constant to commons.

How was this patch tested?

  • created a cluster with kerberos=enabled
  • downloaded client configuration of kerberos client

@asfgit
Copy link

asfgit commented Feb 9, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/503/
Test PASSed.

@zeroflag
Copy link
Contributor Author

zeroflag commented Feb 9, 2018

cc: @smolnar82

@rlevas rlevas requested review from a user and echekanskiy February 9, 2018 12:00
Copy link
Contributor

@smolnar82 smolnar82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adoroszlai
Copy link
Contributor

Nice.

@asfgit
Copy link

asfgit commented Feb 9, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/509/
Test PASSed.

@zeroflag zeroflag merged commit ea971eb into apache:branch-2.6 Feb 9, 2018
@zeroflag zeroflag deleted the AMBARI-22946-branch-2.6 branch February 9, 2018 14:29
mpapirkovskyy pushed a commit to mpapirkovskyy/ambari that referenced this pull request Apr 12, 2019
…rr… (apache#308)

* AMBARI-22946. Download client configs API failing with 500 server error (amagyar)

* AMBARI-22946. Download client configs API failing with 500 server error (amagyar)

(cherry picked from commit ea971eb)

Change-Id: Id3f350d4eff98085ec33b8a6be8242ad332e2d3d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants