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

post-upgrade validation after FFU upgrade (16.2 >17.1) on undercloud-service-status

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-day1day2-upgrades
    • None
    • Hide
      .Validation fails because inventory file contains wrong parameter

      If you use an inventory file that is located in a RHOSP 16.2 `/var/lib/mistral` directory, the `undercloud-service-status` validation fails when you run `validation run -i inventory.yaml --group post-upgrade`. The failure occurs because the `undercloud_service_list` parameter either exists with the wrong services, or it does not exist and the wrong default value is used in its place.

      *Workaround:*

      . Use one of the following options:

      * Use the inventory file that is created on `/home/stack/overcloud-deploy/${stack}/`
      * Add the following configuration to the inventory file:
      +
      ----
      Undercloud:
        hosts:
          undercloud: {}
        vars:
          ...
          undercloud_service_list:
          - tripleo_ironic_conductor
          …
      ----

      . Run the validation again and confirm that the status is `PASSED`:
      +
      ----
      $ validation run -i inventory.yaml --group post-upgrade
      ----
      Show
      .Validation fails because inventory file contains wrong parameter If you use an inventory file that is located in a RHOSP 16.2 `/var/lib/mistral` directory, the `undercloud-service-status` validation fails when you run `validation run -i inventory.yaml --group post-upgrade`. The failure occurs because the `undercloud_service_list` parameter either exists with the wrong services, or it does not exist and the wrong default value is used in its place. *Workaround:* . Use one of the following options: * Use the inventory file that is created on `/home/stack/overcloud-deploy/${stack}/` * Add the following configuration to the inventory file: + ---- Undercloud:   hosts:     undercloud: {}   vars:     ...     undercloud_service_list:     - tripleo_ironic_conductor     … ---- . Run the validation again and confirm that the status is `PASSED`: + ---- $ validation run -i inventory.yaml --group post-upgrade ----
    • Known Issue
    • Done
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. After FFU upgrade from 16.2 > 17.1 completed, Run:
      2. $ validation run -i inventory.yaml --group post-upgrade 
      3. aa31ef96-4f2e-478e-9231-af098d4ec77f undercloud-service-status FAILED undercloud undercloud   0:00:02.649 undercloud: One or more items failed

      Expected behavior

      • the validation task 'PASSED'

      Bug impact

      • The Customer needs to run the validation post-upgrade to ensure all service are active and running, Feedback on the upgrade in this current site will be implemented in all customer prod. sites.

      Additional context

      • The output of : #openstack tripleo validator show run --full "of_the_task" is attached on the case
      • found those services are inactive :
      • #openstack tripleo validator show run --full "aa31ef96-4f2e-478e-9231-af098d4ec77f"
                                            "item": "tripleo_nova_compute",
        "msg": "",
        "rc": 0,
        "start": "2025-02-10 11:27:28.006674",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "ActiveState=inactive",
        "stdout_lines": [
        "ActiveState=inactive"
        ]
        },
        "item": "tripleo_heat_engine",
        "msg": "",
        "rc": 0,
        "start": "2025-02-10 11:27:28.242350",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "ActiveState=inactive",
        "stdout_lines": [
        "ActiveState=inactive"
        ]
        },
        "item": "tripleo_swift_container_server",
        "msg": "",
        "rc": 0,
        "start": "2025-02-10 11:27:28.692564",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "ActiveState=inactive",
        "stdout_lines": [
        "ActiveState=inactive"
        ]
        },
        "item": "tripleo_swift_object_server",
        "msg": "",
        "rc": 0,
        "start": "2025-02-10 11:27:29.923258",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "ActiveState=inactive",
        "stdout_lines": [
        "ActiveState=inactive"
        ]
        },
        "item": "tripleo_mistral_engine",
        "msg": "",
        "rc": 0,
        "start": "2025-02-10 11:27:30.147462",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "ActiveState=inactive",
        "stdout_lines": [
        "ActiveState=inactive"
        ]

              jbadiapa@redhat.com Juan Payno
              rh-ee-jsoliman John Soliman
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: