← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1958964] [NEW] Fully Populated Load Balancer creation with OVN provider leaves pools as PENDING_CREATE

 

Public bug reported:

Creating a Fully Populated Load Balancer with OVN as provider
successfully creates the LB but the pool stays in PENDING_CREATE state
forever.

How reproducible:
Send the fully populated request to the API in JSON format following https://docs.openstack.org/api-ref/load-balancer/v2/index.html?expanded=create-pool-detail,create-a-load-balancer-detail#creating-a-fully-populated-load-balancer


Steps to Reproduce:
1.
#!/bin/sh
 
set -e
 
subnet_id=$(openstack subnet show private-subnet -c id -f value)
 
TOKEN=$(openstack token issue -f value -c id)
OCTAVIA_BASE_URL=$(openstack endpoint list --service octavia --interface public -c URL -f value)
 
cat <<EOF > tree.json
{
    "loadbalancer": {
        "name": "lb1",
        "vip_subnet_id": "$subnet_id",
        "provider": "ovn",
        "listeners": [
            {
                "name": "listener1",
                "protocol": "TCP",
                "protocol_port": 80,
                "default_pool": {
                    "name": "pool1",
                    "protocol": "TCP",
                    "lb_algorithm": "SOURCE_IP_PORT",
                    "members": [
                        {
                            "address": "192.168.122.18",
                            "protocol_port": 8080
                        }, {
                            "address": "192.168.122.19",
                            "protocol_port": 8080
                        }
                    ]
                }
        }
        ]
    }
}
EOF
 
curl -X POST \
    -H "Content-Type: application/json" \
    -H "X-Auth-Token: $TOKEN" \
    -d @tree.json \
    ${OCTAVIA_BASE_URL}/v2.0/lbaas/loadbalancers


2. openstack loadbalancer pool list


LB created but listeners, pool and members stays in PENDING_CREATE status

** Affects: neutron
     Importance: Undecided
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1958964

Title:
  Fully Populated Load Balancer creation with OVN provider leaves pools
  as PENDING_CREATE

Status in neutron:
  In Progress

Bug description:
  Creating a Fully Populated Load Balancer with OVN as provider
  successfully creates the LB but the pool stays in PENDING_CREATE state
  forever.

  How reproducible:
  Send the fully populated request to the API in JSON format following https://docs.openstack.org/api-ref/load-balancer/v2/index.html?expanded=create-pool-detail,create-a-load-balancer-detail#creating-a-fully-populated-load-balancer

  
  Steps to Reproduce:
  1.
  #!/bin/sh
   
  set -e
   
  subnet_id=$(openstack subnet show private-subnet -c id -f value)
   
  TOKEN=$(openstack token issue -f value -c id)
  OCTAVIA_BASE_URL=$(openstack endpoint list --service octavia --interface public -c URL -f value)
   
  cat <<EOF > tree.json
  {
      "loadbalancer": {
          "name": "lb1",
          "vip_subnet_id": "$subnet_id",
          "provider": "ovn",
          "listeners": [
              {
                  "name": "listener1",
                  "protocol": "TCP",
                  "protocol_port": 80,
                  "default_pool": {
                      "name": "pool1",
                      "protocol": "TCP",
                      "lb_algorithm": "SOURCE_IP_PORT",
                      "members": [
                          {
                              "address": "192.168.122.18",
                              "protocol_port": 8080
                          }, {
                              "address": "192.168.122.19",
                              "protocol_port": 8080
                          }
                      ]
                  }
          }
          ]
      }
  }
  EOF
   
  curl -X POST \
      -H "Content-Type: application/json" \
      -H "X-Auth-Token: $TOKEN" \
      -d @tree.json \
      ${OCTAVIA_BASE_URL}/v2.0/lbaas/loadbalancers

  
  2. openstack loadbalancer pool list

  
  LB created but listeners, pool and members stays in PENDING_CREATE status

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1958964/+subscriptions



Follow ups