yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38603
[Bug 1496893] [NEW] Unable to modify "IP Allocation pool" for public subnet from Horizon but can do it from CLI
Public bug reported:
Running RedHat OSP7 with Kilo installed on my Nodes. T
he topology consist of :
1. Controller + Network
2. Compute1
3. Compute2
The CLI shows this for the public subnet :
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-list
+--------------------------------------+------+----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+----------------+--------------------------------------------------+
| fefa2447-f5db-4ff6-afa9-a669385cfda4 | | 10.30.118.0/27 | {"start": "10.30.118.10", "end": "10.30.118.20"} |
+--------------------------------------+------+----------------+--------------------------------------------------+
[root@g07-controller-1 ~(keystone_admin)]#
Now from the CLI I am able to change the pool :
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-update --allocation-pool start=10.30.118.10,end=10.30.118.25 fefa2447-f5db-4ff6-afa9-a669385cfda4
Updated subnet: fefa2447-f5db-4ff6-afa9-a669385cfda4
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-list
+--------------------------------------+------+----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+----------------+--------------------------------------------------+
| fefa2447-f5db-4ff6-afa9-a669385cfda4 | | 10.30.118.0/27 | {"start": "10.30.118.10", "end": "10.30.118.25"} |
+--------------------------------------+------+----------------+--------------------------------------------------+
When tried to do the same thing from Horizon, I was able to change and also got a success message but when I checked again the pool size had not changed.
Some logs are :
==> /var/log/httpd/horizon_access.log <==
10.131.78.38 - - [17/Sep/2015:07:48:12 -0700] "GET /dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail HTTP/1.1" 200 4415 "http://10.30.118.4/dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17"
10.131.78.38 - - [17/Sep/2015:07:48:12 -0700] "GET /dashboard/i18n/js/horizon/ HTTP/1.1" 200 2372 "http://10.30.118.4/dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17"
==> /var/log/neutron/server.log <==
2015-09-17 07:48:12.409 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60599)
2015-09-17 07:48:12.411 26650 INFO neutron.wsgi [req-66292bc0-ac2c-48eb-972f-fe44673775fc ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/extensions.json HTTP/1.1" 200 4806 0.002139
2015-09-17 07:48:12.414 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60600)
2015-09-17 07:48:12.421 26650 INFO neutron.wsgi [req-d1473f09-183d-4fd0-8739-0d5a87b7a935 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets.json?network_id=d0047805-804b-4a03-942d-b27590d6aef4 HTTP/1.1" 200 670 0.007126
2015-09-17 07:48:12.423 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60601)
2015-09-17 07:48:12.435 26650 INFO neutron.wsgi [req-2fe1133f-d998-41fd-88e4-f90cf97d13f7 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/ports.json?network_id=d0047805-804b-4a03-942d-b27590d6aef4 HTTP/1.1" 200 1444 0.011954
2015-09-17 07:48:12.437 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60602)
2015-09-17 07:48:12.442 26650 INFO neutron.wsgi [req-4e76244a-35b6-46b5-84e4-f845a322f7d8 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4/dhcp-agents.json HTTP/1.1" 200 731 0.005297
2015-09-17 07:48:12.444 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60603)
2015-09-17 07:48:12.455 26650 INFO neutron.wsgi [req-c89b4555-df61-4c98-9d4f-00a26b4db7fd ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4.json HTTP/1.1" 200 598 0.011052
2015-09-17 07:48:12.456 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60604)
2015-09-17 07:48:12.465 26650 INFO neutron.wsgi [req-a4a36cb9-fb80-47de-a033-c9f7c25b6835 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets/fefa2447-f5db-4ff6-afa9-a669385cfda4.json HTTP/1.1" 200 667 0.008141
2015-09-17 07:48:12.506 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60606)
2015-09-17 07:48:12.516 26650 INFO neutron.wsgi [req-4470a72a-142b-4a2a-a76a-1dff9b7657da ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4.json HTTP/1.1" 200 598 0.010351
2015-09-17 07:48:12.518 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60607)
2015-09-17 07:48:12.524 26650 INFO neutron.wsgi [req-768f705c-1cb8-42e0-bfff-b99f1a133138 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets/fefa2447-f5db-4ff6-afa9-a669385cfda4.json HTTP/1.1" 200 667 0.005842
** 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/1496893
Title:
Unable to modify "IP Allocation pool" for public subnet from Horizon
but can do it from CLI
Status in neutron:
New
Bug description:
Running RedHat OSP7 with Kilo installed on my Nodes. T
he topology consist of :
1. Controller + Network
2. Compute1
3. Compute2
The CLI shows this for the public subnet :
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-list
+--------------------------------------+------+----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+----------------+--------------------------------------------------+
| fefa2447-f5db-4ff6-afa9-a669385cfda4 | | 10.30.118.0/27 | {"start": "10.30.118.10", "end": "10.30.118.20"} |
+--------------------------------------+------+----------------+--------------------------------------------------+
[root@g07-controller-1 ~(keystone_admin)]#
Now from the CLI I am able to change the pool :
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-update --allocation-pool start=10.30.118.10,end=10.30.118.25 fefa2447-f5db-4ff6-afa9-a669385cfda4
Updated subnet: fefa2447-f5db-4ff6-afa9-a669385cfda4
[root@g07-controller-1 ~(keystone_admin)]# neutron subnet-list
+--------------------------------------+------+----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+----------------+--------------------------------------------------+
| fefa2447-f5db-4ff6-afa9-a669385cfda4 | | 10.30.118.0/27 | {"start": "10.30.118.10", "end": "10.30.118.25"} |
+--------------------------------------+------+----------------+--------------------------------------------------+
When tried to do the same thing from Horizon, I was able to change and also got a success message but when I checked again the pool size had not changed.
Some logs are :
==> /var/log/httpd/horizon_access.log <==
10.131.78.38 - - [17/Sep/2015:07:48:12 -0700] "GET /dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail HTTP/1.1" 200 4415 "http://10.30.118.4/dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17"
10.131.78.38 - - [17/Sep/2015:07:48:12 -0700] "GET /dashboard/i18n/js/horizon/ HTTP/1.1" 200 2372 "http://10.30.118.4/dashboard/admin/networks/d0047805-804b-4a03-942d-b27590d6aef4/detail" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17"
==> /var/log/neutron/server.log <==
2015-09-17 07:48:12.409 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60599)
2015-09-17 07:48:12.411 26650 INFO neutron.wsgi [req-66292bc0-ac2c-48eb-972f-fe44673775fc ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/extensions.json HTTP/1.1" 200 4806 0.002139
2015-09-17 07:48:12.414 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60600)
2015-09-17 07:48:12.421 26650 INFO neutron.wsgi [req-d1473f09-183d-4fd0-8739-0d5a87b7a935 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets.json?network_id=d0047805-804b-4a03-942d-b27590d6aef4 HTTP/1.1" 200 670 0.007126
2015-09-17 07:48:12.423 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60601)
2015-09-17 07:48:12.435 26650 INFO neutron.wsgi [req-2fe1133f-d998-41fd-88e4-f90cf97d13f7 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/ports.json?network_id=d0047805-804b-4a03-942d-b27590d6aef4 HTTP/1.1" 200 1444 0.011954
2015-09-17 07:48:12.437 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60602)
2015-09-17 07:48:12.442 26650 INFO neutron.wsgi [req-4e76244a-35b6-46b5-84e4-f845a322f7d8 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4/dhcp-agents.json HTTP/1.1" 200 731 0.005297
2015-09-17 07:48:12.444 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60603)
2015-09-17 07:48:12.455 26650 INFO neutron.wsgi [req-c89b4555-df61-4c98-9d4f-00a26b4db7fd ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4.json HTTP/1.1" 200 598 0.011052
2015-09-17 07:48:12.456 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60604)
2015-09-17 07:48:12.465 26650 INFO neutron.wsgi [req-a4a36cb9-fb80-47de-a033-c9f7c25b6835 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets/fefa2447-f5db-4ff6-afa9-a669385cfda4.json HTTP/1.1" 200 667 0.008141
2015-09-17 07:48:12.506 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60606)
2015-09-17 07:48:12.516 26650 INFO neutron.wsgi [req-4470a72a-142b-4a2a-a76a-1dff9b7657da ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/networks/d0047805-804b-4a03-942d-b27590d6aef4.json HTTP/1.1" 200 598 0.010351
2015-09-17 07:48:12.518 26650 INFO neutron.wsgi [-] (26650) accepted ('10.30.118.4', 60607)
2015-09-17 07:48:12.524 26650 INFO neutron.wsgi [req-768f705c-1cb8-42e0-bfff-b99f1a133138 ] 10.30.118.4 - - [17/Sep/2015 07:48:12] "GET /v2.0/subnets/fefa2447-f5db-4ff6-afa9-a669385cfda4.json HTTP/1.1" 200 667 0.005842
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1496893/+subscriptions
Follow ups