[NEUTRON-34] java.lang.IllegalArgumentException: All keys must be specified for class org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev141002.routers.attributes.routers.RouterKey. Missing key is getUuid. Supplied key is RouterKey [] Created: 04/May/15 Updated: 10/Jul/15 Resolved: 10/Jul/15 |
|
| Status: | Resolved |
| Project: | neutron |
| Component/s: | transcriber |
| Affects Version/s: | Multiple |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Flavio Fernandes | Assignee: | Isaku Yamahata |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3111 |
| Description |
|
While trying to create router interface.... 2015-05-04 10:22:31,622 | WARN | qtp157046019-745 | NeutronRouterInterface | 344 - org.opendaylight.neutron.transcriber - 0.5.0.SNAPSHOT | Attempting to write neutron router without UUID |
| Comments |
| Comment by Flavio Fernandes [ 04/May/15 ] |
|
Steps to reproduce. Stack. source openrc admin admin sudo rm -f /root/.ssh/known_hosts rm -f id_rsa_demo* ; ssh-keygen -t rsa -b 2048 -N '' -f id_rsa_demo neutron net-create net1 --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk ' {print $2}') \--provider:network_type gre --provider:segmentation_id 555 neutron subnet-create --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk '{print $2} ') \ neutron net-create net2 --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk ' {print $2}') \--provider:network_type gre --provider:segmentation_id 556 neutron subnet-create --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk '{print $2} ') \ neutron router-create demorouter --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk ' {print $2}') neutron net-create ext-net – --router:external=True neutron router-gateway-set demorouter ext-net |
| Comment by Isaku Yamahata [ 10/Jul/15 ] |
|
Works for me now. Yang model clean up patch which adds "key" to lists fixed it, I guess. Can you please recheck again? |
| Comment by Flavio Fernandes [ 10/Jul/15 ] |
|
(In reply to Flavio Fernandes from comment #1) > --provider:network_type gre --provider:segmentation_id 555 > neutron subnet-create --tenant-id $(keystone tenant-list | grep '\s'admin'' > | awk '{print $2} ') \ > --provider:network_type gre --provider:segmentation_id 556 > neutron subnet-create --tenant-id $(keystone tenant-list | grep '\s'admin'' > | awk '{print $2} ') \ ') > neutron subnet-create ext-net --allocation-pool This command is actually the following: neutron subnet-create ext-net 192.168.111.0/24 \ > neutron router-gateway-set demorouter ext-net |
| Comment by Flavio Fernandes [ 10/Jul/15 ] |
|
(In reply to Isaku Yamahata from comment #2) yes! it works fine for me now. Thanks Isaku ! |