← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1650170] Re: Return error but create successfully when create lbaas pool with a PENDING_UPDATE loadbalancer

 

** Project changed: neutron => octavia

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

Title:
  Return error but create successfully when create lbaas pool with a
  PENDING_UPDATE loadbalancer

Status in octavia:
  New

Bug description:
  In my newest devstack encironment with lbaas v2, when I create a lbaas
  pool with a PENDING_UPDATE state loadbalancer , the server return
  error with "Invalid state PENDING_UPDATE of loadbalancer resource
  422c211a-ca32-4def-9681-a80f37375191", but when I do "neutron lbaas-
  pool-list", the failed pool is shown on the screen.


  Before creating:
  [stack@devstack ~]$ neutron lbaas-loadbalancer-list
  +-----------------------------+--------+-------------+---------------------+----------+
  | id                          | name   | vip_address | provisioning_status | provider |
  +-----------------------------+--------+-------------+---------------------+----------+
  | 422c211a-                   | test-0 | 10.0.0.7    | PENDING_UPDATE      | haproxy  |
  | ca32-4def-9681-a80f37375191 |        |             |                     |          |
  +-----------------------------+--------+-------------+---------------------+----------+
  [stack@devstack ~]$ neutron lbaas-pool-list 
  +--------------------------------------+--------+----------+----------------+
  | id                                   | name   | protocol | admin_state_up |
  +--------------------------------------+--------+----------+----------------+
  | 77e03124-4ac3-474c-a52d-5c9c74073e2b | test-1 | TCP      | True           |
  | 898152e0-938e-43a0-83f3-2b93b0b60883 | test-2 | TCP      | True           |
  | 8ff3ed37-b56d-4524-a416-fdba697003ea | test-3 | TCP      | True           |
  +--------------------------------------+--------+----------+----------------+

  Creating pool:

  [stack@devstack ~]$ neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --protocol TCP --loadb
  alancer test-0 --name test-4
  Invalid state PENDING_UPDATE of loadbalancer resource 422c211a-ca32-4def-9681-a80f37375191
  Neutron server returns request_ids: ['req-47f3d03f-b51e-427e-9a9a-38ddbdd581a5']

  After creating:

  [stack@devstack ~]$ neutron lbaas-pool-list                                                    
  +--------------------------------------+--------+----------+----------------+
  | id                                   | name   | protocol | admin_state_up |
  +--------------------------------------+--------+----------+----------------+
  | 77e03124-4ac3-474c-a52d-5c9c74073e2b | test-1 | TCP      | True           |
  | 898152e0-938e-43a0-83f3-2b93b0b60883 | test-2 | TCP      | True           |
  | 8ff3ed37-b56d-4524-a416-fdba697003ea | test-3 | TCP      | True           |
  | ffa0acec-9b53-4931-8a52-0c6d10d87f1f | test-4 | TCP      | True           |
  +--------------------------------------+--------+----------+----------------+

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


References