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-23741] Cannot install mpack due to No Environment present #1183

Merged
merged 1 commit into from May 7, 2018

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Fix missing Environment:

[root@c7401 ~]# ambari-server install-mpack --mpack=http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.1.1.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.1.1.0-35.tar.gz
Using python  /usr/bin/python
Installing management pack

ERROR: Unexpected Exception: No Environment present for retrieving for thread <_MainThread(MainThread, started 139831451010880)>

How was this patch tested?

[root@c7401 ~]# ambari-server install-mpack --mpack=http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.1.1.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.1.1.0-35.tar.gz
Using python  /usr/bin/python
Installing management pack

2018-05-04 16:38:08,739 - Execute[('tar', '-xf', '/var/lib/ambari-server/data/tmp/hdf-ambari-mpack-3.1.1.0-35.tar.gz', '-C', '/var/lib/ambari-server/data/tmp/')] {'tries': 3, 'sudo': True, 'try_sleep': 1}
Ambari Server 'install-mpack' completed successfully.

@asfgit
Copy link

asfgit commented May 4, 2018

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

@adoroszlai
Copy link
Contributor Author

Failure is unreleated, environment-specific.

retest this please

@asfgit
Copy link

asfgit commented May 4, 2018

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

@adoroszlai
Copy link
Contributor Author

retest this please

@asfgit
Copy link

asfgit commented May 4, 2018

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

@adoroszlai
Copy link
Contributor Author

retest this please

@asfgit
Copy link

asfgit commented May 4, 2018

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

@adoroszlai
Copy link
Contributor Author

retest this please

@asfgit
Copy link

asfgit commented May 5, 2018

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

@adoroszlai adoroszlai requested a review from oleewere May 5, 2018 08:23
@adoroszlai adoroszlai merged commit b207020 into apache:trunk May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants