Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-2114

helm deploy of sub-project fails and re-installs onap on new release name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • El Alto Release
    • El Alto Release
    • None

       

      if a helm deploy operation on a sub-project fails or has an error an attempt to do a "helm deploy dev-vid .." cause a new onap release to be deployed name dev-vid such as dev-vid-aai, dev-vid-aaf etc.

       

      Seems that

       

       

      {{ # determine if upgrading individual subchart or entire parent + subcharts SUBCHART_RELEASE="$(cut d'' -f2 <<<"$RELEASE")"if [[ ! -d "$CACHE_SUBCHART_DIR/$SUBCHART_RELEASE" ]]; then
      SUBCHART_RELEASE= else# update specified subchart without parent RELEASE="$(cut d'' -f1 <<<"$RELEASE")" fi}}

      {{}}

      can result in a blank SUBCHART_RELEASE and leads to bad deployment. Only recover is to delete the ONAP namespace and start over. We ahve run into this  multiple times {{}}

            melliott melliott
            bdfreeman1421 bdfreeman1421
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: