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

neutron - tripleo Services are not cleaned after adoption

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhos-18.0.4
    • None
    • edpm-ansible
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Hide
      .Legacy tripleo Networking services (neutron) after adoption

      After edpm_tripleo_cleanup task, there are still legacy tripleo Networking service (neutron) services. These services are stopped after adoption, so the RHOSO services are not affected.

      *Workaround:* Perform the following steps to remove the legacy services manually:

      ----
      - Check tripleo neutron services list: systemctl list-unit-files --type service
      - Remove tripleo services from: /etc/systemd/system/
      ----
      Show
      .Legacy tripleo Networking services (neutron) after adoption After edpm_tripleo_cleanup task, there are still legacy tripleo Networking service (neutron) services. These services are stopped after adoption, so the RHOSO services are not affected. *Workaround:* Perform the following steps to remove the legacy services manually: ---- - Check tripleo neutron services list: systemctl list-unit-files --type service - Remove tripleo services from: /etc/systemd/system/ ----
    • Known Issue
    • Done
    • Important

      Neutron ovn -tripleo services are still running after adoption. 

      [zuul@np0002126855 ~]$ systemctl | grep tri
        systemd-udev-trigger.service                                                                                                         loaded active exited    Coldplug All udev Devices
      ● tripleo_metrics_qdr.service                                                                                                          loaded failed failed    metrics_qdr container
      ● tripleo_nova_virtlogd_wrapper.service                                                                                                loaded failed failed    nova_virtlogd_wrapper container
      ● tripleo_nova_virtqemud.service                                                                                                       loaded failed failed    nova_virtqemud container
      ● tripleo_ovn_metadata_agent.service                                                                                                   loaded failed failed    ovn_metadata_agent container
      ● tripleo_rsyslog.service                                                                                                              loaded failed failed    rsyslog container
      [zuul@np0002126855 ~]$ systemctl list-unit-files --type service | grep tripleo
      tripleo-container-shutdown.service                                       masked          enabled
      tripleo_ceilometer_agent_compute.service                                 disabled        disabled
      tripleo_ceilometer_agent_ipmi.service                                    disabled        disabled
      tripleo_collectd.service                                                 disabled        disabled
      tripleo_iscsid.service                                                   disabled        disabled
      tripleo_logrotate_crond.service                                          disabled        disabled
      tripleo_metrics_qdr.service                                              disabled        disabled
      tripleo_neutron_dhcp.service                                             masked          disabled
      tripleo_neutron_l3_agent.service                                         masked          disabled
      tripleo_neutron_ovs_agent.service                                        masked          disabled
      tripleo_nova_api.service                                                 masked          disabled
      tripleo_nova_api_cron.service                                            masked          disabled
      tripleo_nova_compute.service                                             disabled        disabled
      tripleo_nova_conductor.service                                           masked          disabled
      tripleo_nova_metadata.service                                            masked          disabled
      tripleo_nova_migration_target.service                                    disabled        disabled
      tripleo_nova_scheduler.service                                           masked          disabled
      tripleo_nova_virtlogd_wrapper.service                                    disabled        disabled
      tripleo_nova_virtnodedevd.service                                        disabled        disabled
      tripleo_nova_virtproxyd.service                                          disabled        disabled
      tripleo_nova_virtqemud.service                                           disabled        disabled
      tripleo_nova_virtsecretd.service                                         disabled        disabled
      tripleo_nova_virtstoraged.service                                        disabled        disabled
      tripleo_nova_vnc_proxy.service                                           masked          disabled
      tripleo_ovn_controller.service                                           disabled        disabled
      tripleo_ovn_metadata_agent.service                                       disabled        disabled
      tripleo_rsyslog.service                                                  disabled        disabled
      [zuul@np0002126855 ~]$ 
       

      It find tripleo_services name as 

      TASK [osp.edpm.edpm_tripleo_cleanup : Filter for tripleo services and skip the ones in skip list] ***
      [1;30mtask path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_tripleo_cleanup/tasks/main.yml:40[0m
      Wednesday 06 November 2024  20:58:19 +0000 (0:00:06.102)       0:00:14.461 **** 
      [0;32mok: [np0002126855] => {[0m
      [0;32m    "ansible_facts": {[0m
      [0;32m        "tripleo_services": [[0m
      [0;32m            "tripleo-container-shutdown.service",[0m
      [0;32m            "tripleo_ceilometer_agent_compute.service",[0m
      [0;32m            "tripleo_ceilometer_agent_ipmi.service",[0m
      [0;32m            "tripleo_collectd.service",[0m
      [0;32m            "tripleo_iscsid.service",[0m
      [0;32m            "tripleo_logrotate_crond.service",[0m
      [0;32m            "tripleo_metrics_qdr.service",[0m
      [0;32m            "tripleo_neutron_dhcp.service",[0m
      [0;32m            "tripleo_neutron_l3_agent.service",[0m
      [0;32m            "tripleo_neutron_ovs_agent.service",[0m
      [0;32m            "tripleo_nova_compute.service",[0m
      [0;32m            "tripleo_nova_migration_target.service",[0m
      [0;32m            "tripleo_nova_virtlogd_wrapper.service",[0m
      [0;32m            "tripleo_nova_virtnodedevd.service",[0m
      [0;32m            "tripleo_nova_virtproxyd.service",[0m
      [0;32m            "tripleo_nova_virtqemud.service",[0m
      [0;32m            "tripleo_nova_virtsecretd.service",[0m
      [0;32m            "tripleo_nova_virtstoraged.service",[0m
      [0;32m            "tripleo_ovn_controller.service",[0m
      [0;32m            "tripleo_ovn_metadata_agent.service",[0m
      [0;32m            "tripleo_rsyslog.service"[0m 

      but It tried to delete: (with name ending service.service)
      /usr/lib/systemd/system/tripleo-container-shutdown.service.service

      [0;32mok: [np0002126855] => (item=tripleo-container-shutdown.service) => {[0m
      [0;32m    "ansible_loop_var": "service_name",[0m
      [0;32m    "changed": false,[0m
      [0;32m    "invocation": {[0m
      [0;32m        "module_args": {[0m
      [0;32m            "_diff_peek": null,[0m
      [0;32m            "_original_basename": null,[0m
      [0;32m            "access_time": null,[0m
      [0;32m            "access_time_format": "%Y%m%d%H%M.%S",[0m
      [0;32m            "attributes": null,[0m
      [0;32m            "follow": true,[0m
      [0;32m            "force": false,[0m
      [0;32m            "group": null,[0m
      [0;32m            "mode": null,[0m
      [0;32m            "modification_time": null,[0m
      [0;32m            "modification_time_format": "%Y%m%d%H%M.%S",[0m
      [0;32m            "owner": null,[0m
      [0;32m            "path": "/usr/lib/systemd/system/tripleo-container-shutdown.service.service",[0m
      [0;32m            "recurse": false,[0m
      [0;32m            "selevel": null,[0m
      [0;32m            "serole": null,[0m
      [0;32m            "setype": null,[0m
      [0;32m            "seuser": null,[0m
      [0;32m            "src": null,[0m
      [0;32m            "state": "absent",[0m
      [0;32m            "unsafe_writes": false[0m
      [0;32m        }[0m
      [0;32m    },[0m
      [0;32m    "path": "/usr/lib/systemd/system/tripleo-container-shutdown.service.service",[0m
      [0;32m    "service_name": "tripleo-container-shutdown.service",[0m
      [0;32m    "state": "absent"[0m 

      Logs: https://sf.hosted.upshift.rdu2.redhat.com/logs/66/666/31a8a159099f297beda2895905d05450ffd2eace/check-gitlab-cee/component-network-edpm-adoption-multinode-networker-to-crc-fyanac/ce845ec/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/tripleo-cleanup-tripleo-cleanup-openstack-cdhqf/logs/tripleo-cleanup-tripleo-cleanup-openstack.log 

      The current version on upstream: 
      https://sf.hosted.upshift.rdu2.redhat.com/logs/66/666/31a8a159099f297beda2895905d05450ffd2eace/check-gitlab-cee/component-network-edpm-adoption-multinode-networker-to-crc-fyanac/ce845ec/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/tripleo-cleanup-tripleo-cleanup-openstack-cdhqf/tripleo-cleanup-tripleo-cleanup-openstack-cdhqf-describe 

      Containers:
        tripleo-cleanup-tripleo-cleanup-openstack:
          Container ID:  cri-o://744050b07d1e668999fa33f3642403146ca74af52afc0703f570ada2ec9be479
          Image:         quay.io/openstack-k8s-operators/openstack-ansibleee-runner:latest
          Image ID:      quay.io/openstack-k8s-operators/openstack-ansibleee-runner@sha256:eaf5c99074b4bcff75cac916e2d24b8015fcf4dce4a1c72886bdd8ffa39940ce 

              skaplons@redhat.com Slawomir Kaplonski
              rh-ee-fyanac Fiorella Yanac
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: