Ask Your Question
0

Unexpected API Error (nova/neutron port issue) [closed]

asked 2016-11-15 22:26:34 -0600

updated 2016-11-16 11:17:27 -0600

trying to create instance with reserved ip, seems to be crashing. May be the mapped volume as well. Will troubleshoot and refine.

UPDATE: Fails on assigning reserved ports. Fails using UUID as well

This works:

port create --network polaris_external_15 --fixed-ip subnet=4072fea3-59d7-4bd3-bbbe-b95ac66315d9,ip-address=10.1.15.38 orbdev1.orbit8.com

Port list shows:

| a2ad1af6-112e-43a1-bc95-68beb71d41e5 | orbdev1.orbit8.com | fa:16:3e:7e:2a:14 | ip_address='10.1.15.38', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9'    |

Both ways fail:

server create --volume b2f1db21-463a-47b8-bbc5-45c670752fd2 --flavor Orbit.large --security-group default --nic port-id=a2ad1af6-112e-43a1-bc95-68beb71d41e5 orbdev1.orbit8.com

server create --volume b2f1db21-463a-47b8-bbc5-45c670752fd2 --flavor Orbit.large --security-group default --nic port-id=orbdev1.orbit8.com orbdev1.orbit8.com
#

using command:

server create --volume b2f1db21-463a-47b8-bbc5-45c670752fd2 --flavor Orbit.large --security-group default --nic port-id=orbdev1.orbit8.com orbdev1.orbit8.com

(openstack) server list
+--------------------------------------+---------+--------+--------------------------------+------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+---------+--------+--------------------------------+------------+
| e1492d01-748e-4c4b-81c4-320d81e2c7a7 | sddf | ACTIVE | polaris_external_15=10.1.15.34 | cirros |
| e736d645-7738-4119-8ffa-88e07c52bb2f | orbdev2 | ACTIVE | polaris_external_15=10.1.15.29 | |
+--------------------------------------+---------+--------+--------------------------------+------------+
(openstack) volume list
+--------------------------------------+--------------+-----------+------+----------------------------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+----------------------------------+
| f991c440-edf4-4492-846f-bdd0928687de | | in-use | 100 | Attached to orbdev2 on /dev/vda |
| b2f1db21-463a-47b8-bbc5-45c670752fd2 | | available | 200 | |
+--------------------------------------+--------------+-----------+------+----------------------------------+
(openstack) port list
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+
| ID | Name | MAC Address | Fixed IP Addresses |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+
| 0737228d-da99-471b-ba78-621068dbc97b | rwb2.orbit8.com | fa:16:3e:11:e4:b8 | ip_address='10.1.15.56', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 13aeb33e-de25-4d4a-8a25-2ec17933ddd0 | | fa:16:3e:13:ef:69 | ip_address='172.17.0.1', subnet_id='8410f6ef-d264-4509-b295-5b0a268f7cd0' |
| 14ae55b8-9b40-435d-9bd1-72987a76d304 | | fa:16:3e:a3:61:95 | ip_address='172.16.0.1', subnet_id='8036a43e-3cd9-402b-9898-b6314766f099' |
| 1d994403-0204-4b48-a0bf-00db14a55bb6 | | fa:16:3e:77:e0:74 | ip_address='50.205.206.34', subnet_id='fe5c5d21-16e6-494f-8247-bd0df84ed31c' |
| 2092a1d9-95aa-475d-b069-b0ad17eed85d | | fa:16:3e:e8:8e:1b | ip_address='172.16.0.2', subnet_id='8036a43e-3cd9-402b-9898-b6314766f099' |
| 2404e63c-8b9b-475d-85a9-7ef0c483f6b7 | | fa:16:3e:6c:e7:2b | ip_address='192.168.10.2', subnet_id='aaf18006-4f66-45aa-8003-fd3d64e68fe6' |
| 2f6aad25-3091-446b-adf7-d8bbfceb4a0a | | fa:16:3e:f8:c3:3b | ip_address='50.205.206.54', subnet_id='fe5c5d21-16e6-494f-8247-bd0df84ed31c' |
| 31daa221-cb9c-4345-9416-7773039bbb17 | | fa:16:3e:87:98:e0 | ip_address='10.1.15.26', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 4376a9e5-2c89-475a-9efb-57ae3c4e88ff | | fa:16:3e:90:1f:ae | ip_address='10.1.15.34', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 45605cf4-3ebb-4fbf-94f6-29bf9ca288ef | | fa:16:3e:55:d8:95 | ip_address='10.1.15.25', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 48f85efc-d02b-4e9c-8783-1ea534b0e3d3 | rwb1.orbit8.com | fa:16:3e:ea:b4:9d | ip_address='10.1.15.55', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 48fd38b1-9517-47bd-8cd6-32c5f0e5175d | | fa:16:3e:5f:69:0c | ip_address='50.205.206.42', subnet_id='fe5c5d21-16e6-494f-8247-bd0df84ed31c' |
| 5057a4d2-1147-47c3-a725-0cb14ea7cb29 | | fa:16:3e:51:0e:85 | ip_address='192.168.10.16', subnet_id='aaf18006-4f66-45aa-8003-fd3d64e68fe6' |
| 64e5d10f-c257-42b9-a911-b66d4c4d877b | | fa:16:3e:6b:bb:e0 | ip_address='172.17.0.6', subnet_id='8410f6ef-d264-4509-b295-5b0a268f7cd0' |
| 66c3f100-1269-41a6-9a8a-ac28e4124925 | | fa:16:3e:8d:78:2e | ip_address='192.168.10.1', subnet_id='aaf18006-4f66-45aa-8003-fd3d64e68fe6' |
| 6e755e56-0a9a-420f-99e6-056a51eab0b3 | rwb3.orbit8.com | fa:16:3e:ed:86:af | ip_address='10.1.15.57', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 70e27604-712e-427f-b1f4-6358e3154d7a | | fa:16:3e:53:a7:80 | ip_address='10.1.15.2', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| 88779531-91d6-479c-b59b-15b588fab9b3 | | fa:16:3e:42:8b:55 | ip_address='172.17.0.2', subnet_id='8410f6ef-d264-4509-b295-5b0a268f7cd0' |
| 8bd37cd1-35ea-4082-96aa-5637398c6f27 | | fa:16:3e:60:ff:19 | ip_address='172.16.0.23', subnet_id='8036a43e-3cd9-402b-9898-b6314766f099' |
| 8c1a82be-208b-428f-8b2f-16bcd6f36f8e | | fa:16:3e:5a:2e:fb | ip_address='50.205.206.43', subnet_id='fe5c5d21-16e6-494f-8247-bd0df84ed31c' |
| 9b8990f2-2557-4d0a-901c-c776e21f13b6 | | fa:16:3e:3f:af:ce | ip_address='10.1.15.29', subnet_id='4072fea3-59d7-4bd3-bbbe-b95ac66315d9' |
| a2ad1af6-112e-43a1-bc95-68beb71d41e5 | orbdev1.orbit8.com | fa:16:3e:7e:2a:14 | ip_address='10.1.15.38 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bcollins
close date 2016-12-13 17:24:47.014382

Comments

https://bugs.launchpad.net/nova/+bug/...

hoping to hear from this group. turning on debug and checking hypervisor / openvswitch logs to attempt to debug...

bcollins gravatar imagebcollins ( 2016-11-15 23:23:42 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-13 17:24:13 -0600

API mismatch.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-15 22:26:34 -0600

Seen: 177 times

Last updated: Dec 13 '16