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

OpenStacDataPlane CR allows creating and empty deployment without NodeSets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhos-18.0.0
    • None
    • dataplane-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • Low

      The following CR is accepted by the dataplane-operator and quickly set to Ready. I think an empty deployment does not make sense as it does nothing, so it has to be a mistake from the user. Therefore I suggest to reject the CR from the validaton webhook if nodeSets is empty.

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-deployment-ipam
        namespace: openstack
      spec:
        deploymentRequeueTime: 15
        nodeSets: []
        servicesOverride:[]
      

            rhn-engineering-faguiard Fabricio Aguiar de Oliveira
            rh-ee-bgibizer Balazs Gibizer
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: