ml2 create_port_bulk produces incompatible port context to drivers
Bug #1822999 reported by
YAMAMOTO Takashi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-midonet |
New
|
Critical
|
Unassigned | ||
neutron |
Fix Released
|
Critical
|
Nate Johnston |
Bug Description
recently the following tests are failing on the networking-midonet gate.
test_create_
test_bulk_
probably due to https:/
Changed in neutron: | |
assignee: | Nate Johnston (nate-johnston) → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
assignee: | Rodolfo Alonso (rodolfo-alonso-hernandez) → Nate Johnston (nate-johnston) |
Changed in neutron: | |
importance: | High → Critical |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.
eg. http:// logs.openstack. org/09/ 649309/ 5/check/ networking- midonet- tempest- aio-ml2- centos- 7/3eacd96/ logs/screen- neutron- api.txt. gz
Apr 03 10:08:00.677015 centos- 7-rax-ord- 0004668020 neutron- server[ 25158]: ERROR midonetclient. api_lib [None req-5eeb7ca7- 74b2-4e1b- a9dc-06d9ae280a 79 tempest- PortsTestJSON- 2026194086 tempest- PortsTestJSON- 2026194086] Got http error(response= {'status' : '400', 'content-length': '577', 'access- control- expose- headers' : 'Location', 'vary': 'Accept-Encoding', 'server': 'Jetty( 9.3.z-SNAPSHOT) ', '-content- encoding' : 'gzip', 'date': 'Wed, 03 Apr 2019 10:08:00 GMT', 'access- control- allow-origin' : '*', 'access- control- allow-methods' : 'GET, POST, PUT, DELETE, OPTIONS', 'content-type': 'application/ vnd.org. midonet. Error-v1+ json'}, content= '{"message" :"Failed to Create(id {\\n msb: 158981817993923 31650\\ n lsb: 984381961515255 5231\\n} \\nnetwork_ id {\\n msb: 870056749007858 9787\\n lsb: 136864177135396 52156\\ n}\\ntenant_ id: \\"ced3c8b9c726 46f8a7982cad1b1 c21e2\\ "\\nname: \\"\\"\ \nmac_address: \\"FA-16- 3E-29-79- FB\\"\\ nadmin_ state_up: true\\ndevice_id: \\"\\"\\nstatus: \\"DOWN\ \"\\nsecurity_ groups {\\n msb: 120677966475152 10832\\ n lsb: 117094301061142 41901\\ n}\\nhost_ id: \\"\\"\\nprofile {\\n}\\ nport_security_ enabled: true\\n); MAC address string must be 6 words of 1 or 2 hex digits joined with 5 \':\' but was FA-16-3E- 29-79-FB. ","code" :400}') for request(uri=u'http:// 198.61. 190.60: 8181/midonet- api/neutron/ ports', method='POST', body={'status': u'DOWN', 'binding:host_id': u'', 'description': u'', 'allowed_ address_ pairs': [], 'tags': [], 'extra_dhcp_opts': [], 'updated_at': '2019-04- 03T10:07: 59Z', 'device_owner': u'', 'revision_number': 1, 'binding:profile': {}, 'port_security_ enabled' : True, 'fixed_ips': [], 'id': 'dca1b01d- 475c-4782- 889c-45c90230c4 df', 'security_groups': [u'a7796d1c- eccb-4450- a280-40a46d3435 6d'], 'device_id': u'', 'name': u'', 'admin_state_up': True, 'network_id': '78bea008- de72-435b- bdef-ec658f251a 3c', 'tenant_id': u'ced3c8b9c7264 6f8a7982cad1b1c 21e2', 'binding: vif_details' : {}, 'binding: vnic_type' : u'normal', 'binding:vif_type': u'unbound', 'mac_address': 'FA-16- 3E-29-79- FB', 'project_id': u'ced3c8b9c7264 6f8a7982cad1b1c 21e2', 'created_at': '2019-04- 03T10:07: 59Z'}, query={ },headers= {'Content- Type': 'application/ vnd.org. midonet. neutron. Port-v1+ json', 'Accept': 'application/ vnd.org. midonet. neutron. Port-v1+ json', 'X-Auth-Token': 'gAAAAABcpIPh3w Se1nx5LZ5ioHg- GPxjswIAFaw6I23 3MGXgwklTQWuAS3 DYuQ3NhqG5hLCBH 3svPdMvtchFXsW- P8BWanvoQlk6qb8 Oi6NZ8zgDZFFBOn Fhf-7qx8UN8yYKo wJnVGu0XfM8R73w me572cYUKVXYQoE sDqI6h1NiqPpKnZ FOEjI'} ). Raising exception= <HTTPBadRequest at 0x7fb7e154b050 400 Bad Request> 7-rax-ord- 0004668020 neutron- server[ 25158]: ERROR neutron. plugins. ml2.managers [None req-5eeb7ca7- 74b2-4e1b- a9dc-06d9ae280a 79 tempest- PortsTestJSON- 2026194086 tempest- PortsTestJSON- 2026194086] Mechanism driver 'midonet' failed in create_ port_postcommit : HTTPBadRequest: {"message":"Failed to Create(id {\n msb: 158981817993923 31650\n lsb: 984381961515255 5231\n} \nnetwork_ id {\n msb: 870056749007858 9787\n lsb: 136864177135396 52156\n} \ntenant_ id: \"ced3c8b9c7264 6f8a7982cad1b1c 21e2\"\ nname: \"\"\nmac_addres...
Apr 03 10:08:00.681144 centos-