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

During update the remaining services on the data plane - Could not find the requested service edpm_openstack_network_exporter.service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • rhos-18.0.7
    • rhos-18.0 FR 2 (Mar 2025)
    • edpm-ansible
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-dfg-nfv
    • None
    • Hide
      .Fixes minor update failures starting with updates from 18.0.6

      This update fixes a bug that causes minor update failures during updates from RHOSO 18.0.1 through 18.0.5 to 18.0.6 or later.
      The failure no longer occurs if you update from RHOSO 18.0.6 or later to any version.

      [IMPORTANT]
      If you update from 18.0.1 through 18.0.5 to any version, the update fails because the `edpm_openstack_network_exporter.service` cannot be found. Before you perform these updates, you must perform the following workaround.

      *Workaround:*
      Add the telemetry service to the `servicesOverride` field in the `openstack-edpm-update-services.yaml` file before you update the `OpenStackDataplaneService`custom resource. For example:
      ----
      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-deployment-ipam-update-dataplane-services
      spec:
        nodeSets:
          - openstack-edpm-ipam
        servicesOverride:
          - telemetry
          - update
      ----
      Show
      .Fixes minor update failures starting with updates from 18.0.6 This update fixes a bug that causes minor update failures during updates from RHOSO 18.0.1 through 18.0.5 to 18.0.6 or later. The failure no longer occurs if you update from RHOSO 18.0.6 or later to any version. [IMPORTANT] If you update from 18.0.1 through 18.0.5 to any version, the update fails because the `edpm_openstack_network_exporter.service` cannot be found. Before you perform these updates, you must perform the following workaround. *Workaround:* Add the telemetry service to the `servicesOverride` field in the `openstack-edpm-update-services.yaml` file before you update the `OpenStackDataplaneService`custom resource. For example: ---- apiVersion: dataplane.openstack.org/v1beta1 kind: OpenStackDataPlaneDeployment metadata:   name: edpm-deployment-ipam-update-dataplane-services spec:   nodeSets:     - openstack-edpm-ipam   servicesOverride:     - telemetry     - update ----
    • Bug Fix
    • Done
    • Critical

      Environment:

      Source operators: 1.0.5

      Target: 1.0.7 (FR2)

      During the last step of the update: Update the remaining services of the dataplane. The job fails with the following error:

       

      TASK [osp.edpm.edpm_container_manage : Create containers from /var/lib/openstack/config/telemetry] ***
      ESC[1;30mtask path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_container_manage/tasks/main.yml:53ESC[0m
      ESC[0;36mskipping: [edpm-compute-0] => {"changed": false, "false_condition": "(all_containers_hash|length) > 0", "skip_reason": "Conditional result was False"}ESC[0mTASK [osp.edpm.edpm_telemetry : Restart exporter container] ********************
      ESC[1;30mtask path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_telemetry/tasks/exporter.yml:22ESC[0m
      ESC[0;31mfatal: [edpm-compute-0]: FAILED! => {"changed": false, "msg": "Could not find the requested service edpm_openstack_network_exporter.service: host"}ESC[0m 

      Attaching logs of the job update-edpm-deployment-ipam-update-dataplane-services-openstack.logs

      Workaround:

      Add the telemetry OpenStackDataplanService before you launch the update command. Make sure you add it before the update OpenStackDataplaneService:

      Use:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-deployment-ipam-update-dataplane-services
      spec:
        nodeSets:
          - openstack-edpm-ipam
        servicesOverride:
          - telemetry
          - update 

      Instead of:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-deployment-ipam-update-dataplane-services
      spec:
        nodeSets:
          - openstack-edpm-ipam
        servicesOverride:
          - update  

       

              aasmith1@redhat.com Aaron Smith
              pnavarro@redhat.com Pedro Navarro Perez
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 1 hour
                  2d 1h