Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-13127

FFU upgrade from 16.2.6 to 17.1.4 failed on nested "name" in upgrade_tasks_step3.yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • rhos-17.1.z
    • rhos-17.1.4
    • documentation
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-day1day2-upgrades
    • None
    • Hide
      .Unsupported service causes upgrade to fail
      During an upgrade from RHOSP 16.2 to 17.1, the overcloud upgrade fails because the environment uses the following unsupported service in the `upgrade_tasks_step3.yaml` file:
      `OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-pacemaker-puppet.yaml`

      *Workaround:*

      . Replace `OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-pacemaker-puppet.yaml` with the following service:
      +
      ----
      OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-cluster-ansible.yaml
      ----
      . Update the configuration:
      +
      ----
      $ source stackrc
      $ chmod 755 /home/stack/overcloud_upgrade_prepare.sh
      $ sh /home/stack/overcloud_upgrade_prepare.sh
      ----
      . Run the overcloud upgrade:
      +
      ----
      $ openstack overcloud upgrade run --yes --stack <stack> --debug --limit allovercloud,undercloud --playbook all
      ----
      Show
      .Unsupported service causes upgrade to fail During an upgrade from RHOSP 16.2 to 17.1, the overcloud upgrade fails because the environment uses the following unsupported service in the `upgrade_tasks_step3.yaml` file: `OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-pacemaker-puppet.yaml` *Workaround:* . Replace `OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-pacemaker-puppet.yaml` with the following service: + ---- OS::TripleO::Services::OVNDBs: deployment/ovn/ovn-dbs-cluster-ansible.yaml ---- . Update the configuration: + ---- $ source stackrc $ chmod 755 /home/stack/overcloud_upgrade_prepare.sh $ sh /home/stack/overcloud_upgrade_prepare.sh ---- . Run the overcloud upgrade: + ---- $ openstack overcloud upgrade run --yes --stack <stack> --debug --limit allovercloud,undercloud --playbook all ----
    • Known Issue
    • Done
    • Important

      The FFU upgrade from 16.2.6 to 17.1.4 failed on a nested "name" found at:
      /home/stack/overcloud-deploy/overcloud/config-download/overcloud/Controller/upgrade_tasks_step3.yaml (line 292)

      Below the issue observed in the production environment:

      2025-01-17 15:01:25.830613 | 566fdea1-0004-e53a-fb9d-000000000037 | FATAL | include_tasks | control0001-naz91 | error={"reason": "no module/action detected in task.\n\nThe error appears to be in '/home/stack/overcloud-deploy/overcloud/config-download/overcloud/Controller/upgrade_tasks_step3.yaml': line 292, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - step|int == 3\n- name: Retag ovn_dbs container image\n ^ here\n"}

      Looking at */home/stack/overcloud-deploy/overcloud/config-download/overcloud/Controller/upgrade_tasks_step3.yaml (line 292)* I can see a syntax error of nested "name" in task:

      292 *- name: Retag ovn_dbs container image*
      293 when:
      294 - step|int == 3
      295 *- name: Check for ovn_dbs retag statefile*
      296 register: ovn_dbs_retag_state_file
      297 stat:
      298 path: /var/lib/tripleo/ovn_dbs_needs_retag
       

      This issue seems today tracked and fixed at:
      https://code.engineering.redhat.com/gerrit/c/openstack-tripleo-heat-templates/+/454509

              kgilliga@redhat.com Katie Gilligan
              rhn-support-rbruzzon Riccardo Bruzzone
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: