[ https://issues.apache.org/jira/browse/AMBARI-19904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861649#comment-15861649 ]
Hudson commented on AMBARI-19904: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6704 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6704/]) AMBARI-19904. Upgrade: Package Install stuck in Installing state (stoader: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=33caec24a8742666a7190f38f5ebd71c54b2a405]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionDBAccessor.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionDBAccessorImpl.java > Upgrade: Package Install stuck in "Installing" state forever > ------------------------------------------------------------ > > Key: AMBARI-19904 > URL: https://issues.apache.org/jira/browse/AMBARI-19904 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.2, 2.4.1 > Reporter: Sebastian Toader > Assignee: Sebastian Toader > Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-19904.v2.patch > > > Install Packages part of the upgrade got stuck in the "Installing" state > forever. > Steps to reproduce: > # Install Ambari 2.4.1 with HDP 2.4.0.0 on at least 3 hosts > # Register a repo for HDP 2.4+ or 2.5 > # Modify the ambari properties "agent.package.parallel.commands.limit=1" > and "agent.auto.cache.update=false" > # Modify > _/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py_ such > as the {{def install_packages}} method always returns with {{1}} on at least > 2 agents. Also delete the > _/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.pyo_ > file on these agents. > # Restart the agents to pick up the modified {{install_packages.py}} > # Restart ambari server > # Install bits for HDP 2.5 -- This message was sent by Atlassian JIRA (v6.3.15#6346)