I'm trying to spin up an new instance with quantum and it seems to be consistently failing.
This is my net-list
+--------------------------------------+---------+------+
| ID | Label | CIDR |
+--------------------------------------+---------+------+
| 0e67d804-a65b-4b75-9e99-cfb9e0bd07a8 | n1 | None |
| bc751cc1-dfcf-48e7-aa1e-0eae2a6073a0 | private | None |
+--------------------------------------+---------+------+
This is the command I'm using to boot an instance
nova boot --image cirros --flavor m1.tiny --key_name test --nic net-id=0e67d804-a65b-4b75-9e99-cfb9e0bd07a8 my-third-server-1
This is what I see in the quantum server logs (this is with OVS btw).It tries to pick 30.0.0.3 as the IP address, but doesn't proceed further.
2013-04-09 17:33:14.033 17760 DEBUG quantum.plugins.openvswitch.ovs_quantum_plugin [-] OVS create_port create_port /opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py:579
2013-04-09 17:33:14.047 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Recycle 30.0.0.3 _recycle_ip /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:356
2013-04-09 17:33:14.051 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Recycle: created new 30.0.0.3-30.0.0.3 _recycle_ip /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:403
2013-04-09 17:33:14.051 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Delete allocated IP 30.0.0.3 (0e67d804-a65b-4b75-9e99-cfb9e0bd07a8/c77f815a-78e3-4b95-ab64-5c12b1e20ffe) _delete_ip_allocation /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:435
2013-04-09 17:33:14.058 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Generated mac for network 0e67d804-a65b-4b75-9e99-cfb9e0bd07a8 is fa:16:3e:ec:30:ae _generate_mac /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:262
2013-04-09 17:33:14.066 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Allocated IP - 30.0.0.3 from 30.0.0.3 to 30.0.0.3 _generate_ip /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:463
2013-04-09 17:33:14.066 17760 DEBUG quantum.db.db_base_plugin_v2 [-] No more free IP's in slice. Deleting allocation pool. _generate_ip /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:466
2013-04-09 17:33:14.067 17760 DEBUG quantum.db.db_base_plugin_v2 [-] Allocated IP 30.0.0.3 (0e67d804-a65b-4b75-9e99-cfb9e0bd07a8/c77f815a-78e3-4b95-ab64-5c12b1e20ffe/503fa2f2-fa5d-46cf-9924-fe7a2c8cb765) create_port /opt/stack/quantum/quantum/db/db_base_plugin_v2.py:1310
2013-04-09 17:33:14.149 17760 ERROR quantum.api.v2.resource [-] create failed
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource Traceback (most recent call last):
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/resource.py", line 82, in resource
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource result = method(request=request, **args)
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 369, in create
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource obj = obj_creator(request.context, **kwargs)
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 590, in create_port
2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource self.notify_security_groups_member_updated(context, port)2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource AttributeError: 'OVSQuantumPluginV2' object has no attribute 'notify_security_groups_member_updated'2013-04-09 17:33:14.149 17760 TRACE quantum.api.v2.resource
2013-04-09 17:33:14.604 17760 DEBUG quantum.plugins.openvswitch.ovs_quantum_plugin [-] OVS get_ports get_ports /opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py:6052013-04-09 17:33:14.610 17760 DEBUG quantum.policy [-] loading policy file at /opt/stack/quantum/etc/policy.json init /opt/stack/quantum/quantum/policy.py:54
2013-04-09 17:33:14.611 17760 ERROR quantum.api.v2.resource [-] index failed
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource Traceback (most recent call last):
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/resource.py", line 82, in resource2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource result = method(request=request, **args)2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 239, in index2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource return self._items(request, True, parent_id)
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 192, in _items2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 613, in get_ports
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource self._extend_port_dict_binding(context, port)
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 575, in _extend_port_dict_binding2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource 'security-group' in self.supported_extension_aliases}2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 256, in supported_extension_aliases2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource sg_rpc.disable_security_group_extension_if_noop_driver(aliases)2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource AttributeError: 'module' object has no attribute 'disable_security_group_extension_if_noop_driver'
2013-04-09 17:33:14.611 17760 TRACE quantum.api.v2.resource 2013-04-09 17:33:16.741 17760 DEBUG quantum.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_msg_id': u'a037eb9fa66c4d20bb392945ef37c1d2', u'_context_read_deleted': u'no', u'_conte
Any clues on what could be the reason ?
Thanks !
Prashanth