← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1449286] [NEW] lb's operating_status is not in DISABLED state when an user creates a loadbalancer with admin_state_up field as 'False'

 

Public bug reported:

when I create a loadbalancer with the following body, I could see the
'operating_status' is still showing 'ONLINE', it should be 'DISABLED'. I
also believe 'provisioning_status' should be shown as 'OFFLINE' , but I
could see as 'ONLINE'

Steps can be reproduced:

POST http://<ip>:9696/v2.0/lbaas/loadbalancers with the required
headers:

Body:

{
    "loadbalancer": {
        "vip_subnet_id": "<subnet_id>",
        "admin_state_up": false
    }
}

Response:

{
  "loadbalancers": [
    {
      "description": "",
      "admin_state_up": false,
      "tenant_id": "aad7bae2df174c1291bf994a8b8fac89",
      "provisioning_status": "ACTIVE",
      "listeners": [],
      "vip_address": "10.0.0.5",
      "vip_port_id": "59104203-e503-4d67-93ff-70a8df3c53c4",
      "provider": "haproxy",
      "vip_subnet_id": "94672fbb-0f7e-4c54-a538-a9826bd616d1",
      "id": "e1976562-b1f6-45cd-8e32-5b961f80fa24",
      "operating_status": "ONLINE",
      "name": ""
    }
  ]
}

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  lb's operating_status is not in DISABLED state when an user creates a
  loadbalancer with admin_state_up field as 'False'

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  when I create a loadbalancer with the following body, I could see the
  'operating_status' is still showing 'ONLINE', it should be 'DISABLED'.
  I also believe 'provisioning_status' should be shown as 'OFFLINE' ,
  but I could see as 'ONLINE'

  Steps can be reproduced:

  POST http://<ip>:9696/v2.0/lbaas/loadbalancers with the required
  headers:

  Body:

  {
      "loadbalancer": {
          "vip_subnet_id": "<subnet_id>",
          "admin_state_up": false
      }
  }

  Response:

  {
    "loadbalancers": [
      {
        "description": "",
        "admin_state_up": false,
        "tenant_id": "aad7bae2df174c1291bf994a8b8fac89",
        "provisioning_status": "ACTIVE",
        "listeners": [],
        "vip_address": "10.0.0.5",
        "vip_port_id": "59104203-e503-4d67-93ff-70a8df3c53c4",
        "provider": "haproxy",
        "vip_subnet_id": "94672fbb-0f7e-4c54-a538-a9826bd616d1",
        "id": "e1976562-b1f6-45cd-8e32-5b961f80fa24",
        "operating_status": "ONLINE",
        "name": ""
      }
    ]
  }

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


Follow ups

References