-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27434/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-8073
https://issues.apache.org/jira/browse/AMBARI-8073
Repository: ambari
Description
-------
Ambari cluster can't be deployed on hosts with previously installed cluster
cleaned by HostCleanup.py.
Deploy HDP-2.2 cluster with all services (except kafka).
Use 4 nodes (5'th node with Postgres 9 db was used as Ambari DB, but that
probably doesn't matter).
Use default component layout on 'assign masters' page.
Deploy cluster. (cluster is green)
stop all services.
stop all ambari-agents
stop ambari-server
make ambari-server reset
setup ambari-server -s
start ambari-server
perform hosts registration (with all 4 hosts used while deploying first time
in same order).
execute 'python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py
--silent --skip processes'
on each host.
Setup ambari-server again and start it.
Try deploying cluster like before.
Result:
Cluster deployed, but many services can't start.
Diffs
-----
ambari-agent/src/main/python/ambari_agent/HostInfo.py 9a02027
ambari-agent/src/test/python/resource_management/TestPackageResource.py
7ec7494
ambari-common/src/main/python/resource_management/core/providers/package/apt.py
e71361b
ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py
a53fadc
Diff: https://reviews.apache.org/r/27434/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk