Comment 9 for bug 1616094

Revision history for this message
Turbo Fredriksson (turbo-bayour) wrote :

Sorry for the delay, but it's been _HOT_ (!!!) here in London the last couple of days :)

No, I can't create it using the "neutron" command either :(

----- s n i p -----
# neutron lbaas-loadbalancer-create --name test-lb subnet-97
Created a new loadbalancer:
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| description | |
| id | 349d9824-1692-40a0-a4be-afaef11edd5c |
| listeners | |
| name | test-lb |
| operating_status | OFFLINE |
| pools | |
| provider | haproxy |
| provisioning_status | PENDING_CREATE |
| tenant_id | 04ee0e71babe4fd7aa16c3f64a8fca89 |
| vip_address | 10.97.0.130 |
| vip_port_id | 137d1707-33c6-4f7f-8fc2-123543fa68e5 |
| vip_subnet_id | 9fdea89b-4fab-4b3e-b501-10bae5db289e |
+---------------------+--------------------------------------+
# neutron lbaas-loadbalancer-list
+--------------------------------------+---------+-------------+---------------------+----------+
| id | name | vip_address | provisioning_status | provider |
+--------------------------------------+---------+-------------+---------------------+----------+
| 349d9824-1692-40a0-a4be-afaef11edd5c | test-lb | 10.97.0.130 | ACTIVE | haproxy |
+--------------------------------------+---------+-------------+---------------------+----------+
# neutron lbaas-pool-create --name test-pool --loadbalancer test-lb --lb-algorithm LEAST_CONNECTIONS --protocol TCP
Failed to parse request. Required attribute 'lb_method' not specified
Neutron server returns request_ids: ['req-d3370b8c-bc25-4aa2-8421-6d8daddadf39']
#
----- s n i p -----

And the log say:

----- s n i p -----
==> /var/log/neutron/neutron-server.log <==
2016-08-29 13:55:46.629 4134 INFO neutron.wsgi [req-4ae6aee3-0dc4-459f-b358-470b89e8a40c 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] 10.0.4.1 - - [29/Aug/2016 13:55:46] "GET /v2.0/lbaas/loadbalancers.json?fields=id&name=test-lb HTTP/1.1" 200 586 0.195469
2016-08-29 13:55:46.639 4134 INFO neutron.api.v2.resource [req-d3370b8c-bc25-4aa2-8421-6d8daddadf39 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] create failed (client error): Failed to parse request. Required attribute 'lb_method' not specified
2016-08-29 13:55:46.640 4134 INFO neutron.wsgi [req-d3370b8c-bc25-4aa2-8421-6d8daddadf39 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] 10.0.4.1 - - [29/Aug/2016 13:55:46] "POST /v2.0/lbaas/pools.json HTTP/1.1" 400 365 0.005967
----- s n i p -----