[NEUTRON-99] null tenant id in MD model causes nullpoint exception Created: 30/Dec/15 Updated: 31/Dec/15 |
|
| Status: | In Review |
| Project: | neutron |
| Component/s: | neutron-spi |
| Affects Version/s: | master |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | yong sheng gong | Assignee: | yong sheng gong |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4847 |
| Description |
|
above line seems we support null tenant id into neutron MD model, but when it is passed backed into SPI model, we will run into null point failure |
| Comments |
| Comment by Isaku Yamahata [ 30/Dec/15 ] |
|
How did you encouter this? |
| Comment by Isaku Yamahata [ 30/Dec/15 ] |
| Comment by yong sheng gong [ 30/Dec/15 ] |
|
(In reply to Isaku Yamahata from comment #1) curl --user admin:admin -X POST -H "Content-Type: application/json" -d '{"networks": [ {"name": "private1", "id": "8fff19c7-f008-42e2-a664-f409cf55e45b" }]}' http://localhost:8181/controller/nb/v2/neutron/networks and then get it: |
| Comment by Isaku Yamahata [ 31/Dec/15 ] |
|
Thanks for the command line. Did you see the issue with openstack neutron? |