Comment 10 for bug 1839665

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/681805
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=783ed056966344b4c3a715bae470a149798957d1
Submitter: Zuul
Branch: master

commit 783ed056966344b4c3a715bae470a149798957d1
Author: Alex Kozyrev <email address hidden>
Date: Thu Sep 12 12:07:54 2019 -0400

    Move Helm chart repo refresh from Sysinv conductor to agent

    sysinv-conductor is stuck for 2 minutes during startup and unable to
    handle any RPC requests. The refresh_helm_repo_information() function
    executes “sudo -u sysadmin helm repo update” and waits for it.
    Helm tries to reach external repo and timeouts after 2 minutes.
    Any command (since sysinv-api is up and allows to execute them)
    is expected to fail during this time window. Unblock conductor by
    moving actual "helm repo update" invokation to sysinv agent.
    Let conductor make a RPC call instead. And remove helm refresh from
    conductor init - this would be called as part of application upload.

    Change-Id: I29249146eaaebfe51a0f67e3ffaae9ce48784107
    Closes-Bug: 1839665
    Signed-off-by: Alex Kozyrev <email address hidden>