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

Errors during dataplane deployment should be more visible

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Moderate
    • EDPM

      I had a misconfiguration in dataplane deployment in which it was referenced a resource that was not created and dataplane deployment only produced a log error. But there were no failure anywhere and deployment was in progress forever. I think errors should be visible in status conditions

      oc get pods -n openstack-operators -o name| grep dataplane | xargs oc logs -n openstack-operators
      2-29T16:04:41Z ERROR Controllers.OpenStackDataPlaneDeployment OpenStackDeployment error for NodeSet openstack-edpm-ipam {"controller": "openstackdataplanedeployment", "controllerGroup": "dataplane.openstack.org", "controllerKind": "OpenStackDataPlaneDeployment", "OpenStackDataPlaneDeployment":

      {"name":"openstack-edpm-ipam","namespace":"openstack"}

      , "namespace": "openstack", "name": "openstack-edpm-ipam", "reconcileID": "12bd0593-3230-4f8d-a8f5-1e15e28a6963", "ObjectType": "*v1beta1.OpenStackDataPlaneDeployment", "ObjectNamespace": "openstack", "ObjectName": "openstack-edpm-ipam", "error": "OpenStackDataPlaneService.dataplane.openstack.org \"nova-custom-ovsdpdk-sriov\" not found"}

      [ciuser@tigon28 ~]$ oc get openstackdataplanenodeset -w
      NAME STATUS MESSAGE
      openstack-edpm-ipam False Deployment in progress

      [ciuser@tigon28 ~]$ oc get osaee
      NAME NETWORKATTACHMENTS STATUS MESSAGE
      bootstrap-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      configure-network-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      configure-os-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      configure-ovs-dpdk-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      download-cache-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      install-os-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      libvirt-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      neutron-metadata-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      neutron-sriov-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      ovn-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      reboot-os-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      repo-setup-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      run-os-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete
      validate-network-openstack-edpm-ipam ["ctlplane"] True AnsibleExecutionJob complete

      deploymentStatuses:
      openstack-edpm-ipam:

      • lastTransitionTime: "2024-02-29T14:00:17Z"
        message: Init
        reason: Init
        status: Unknown
        type: Deployment ready for NodeSet
      • lastTransitionTime: "2024-02-29T14:25:50Z"
        message: bootstrap Deployment ready
        reason: Ready
        status: "True"
        type: bootstrap Deployment ready
      • lastTransitionTime: "2024-02-29T14:30:29Z"
        message: configure-network Deployment ready
        reason: Ready
        status: "True"
        type: configure-network Deployment ready
      • lastTransitionTime: "2024-02-29T14:31:56Z"
        message: configure-os Deployment ready
        reason: Ready
        status: "True"
        type: configure-os Deployment ready
      • lastTransitionTime: "2024-02-29T14:29:11Z"
        message: configure-ovs-dpdk Deployment ready
        reason: Ready
        status: "True"
        type: configure-ovs-dpdk Deployment ready
      • lastTransitionTime: "2024-02-29T14:24:34Z"
        message: download-cache Deployment ready
        reason: Ready
        status: "True"
        type: download-cache Deployment ready
      • lastTransitionTime: "2024-02-29T14:31:15Z"
        message: install-os Deployment ready
        reason: Ready
        status: "True"
        type: install-os Deployment ready
      • lastTransitionTime: "2024-02-29T14:36:10Z"
        message: libvirt Deployment ready
        reason: Ready
        status: "True"
        type: libvirt Deployment ready
      • lastTransitionTime: "2024-02-29T14:33:41Z"
        message: neutron-metadata Deployment ready
        reason: Ready
        status: "True"
        type: neutron-metadata Deployment ready
      • lastTransitionTime: "2024-02-29T14:34:14Z"
        message: neutron-sriov Deployment ready
        reason: Ready
        status: "True"
        type: neutron-sriov Deployment ready
      • lastTransitionTime: "2024-02-29T14:33:05Z"
        message: ovn Deployment ready
        reason: Ready
        status: "True"
        type: ovn Deployment ready
      • lastTransitionTime: "2024-02-29T14:28:56Z"
        message: reboot-os Deployment ready
        reason: Ready
        status: "True"
        type: reboot-os Deployment ready
      • lastTransitionTime: "2024-02-29T14:21:44Z"
        message: repo-setup Deployment ready
        reason: Ready
        status: "True"
        type: repo-setup Deployment ready
      • lastTransitionTime: "2024-02-29T14:32:20Z"
        message: run-os Deployment ready
        reason: Ready
        status: "True"
        type: run-os Deployment ready
      • lastTransitionTime: "2024-02-29T14:30:40Z"
        message: validate-network Deployment ready
        reason: Ready
        status: "True"
        type: validate-network Deployment ready

            rhn-engineering-faguiard Fabricio Aguiar de Oliveira
            mnietoji@redhat.com Miguel Angel Nieto Jimenez
            Miguel Angel Nieto Jimenez Miguel Angel Nieto Jimenez
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: