[ 
https://issues.apache.org/jira/browse/AMBARI-19904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Toader updated AMBARI-19904:
--------------------------------------
    Attachment:     (was: AMBARI-19904.v1.patch)

> 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)

Reply via email to