jkoelker / quark

This is my fork, Quark is now at https://github.com/rackerlabs/quark
Apache License 2.0
0 stars 2 forks source link

create port failure #46

Closed tr3buchet closed 11 years ago

tr3buchet commented 11 years ago
2013-04-09 18:55:51     INFO [quantum.quark] create_port for tenant 546428                                                               
2013-04-09 18:55:51    ERROR [quantum.api.v2.resource] create failed                                                                     
Traceback (most recent call last):                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/api/v2/resource.py", l
ine 82, in resource                                                                                                                      
    result = method(request=request, **args)                                                                                             
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/api/v2/base.py", line 
381, in create                                                                                                                           
    obj = obj_creator(request.context, **kwargs)                                                                                         
  File "/home/trey.morris/quark/quark/plugin.py", line 476, in create_port                                                               
    context, net_id, port_id, self.ipam_reuse_after))                                                                                    
  File "/home/trey.morris/quark/quark/ipam.py", line 110, in allocate_ip_address                                                         
    subnet["next_auto_assign_ip"] += 1                                                                                                   
TypeError: cannot concatenate 'str' and 'int' objects                                                                                    
jkoelker commented 11 years ago

Merged