Cannot attach a DHCP network to VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When a network is created and an attempt is made to attach a network interface to a VM, it fails with an error :
2016-06-27 03:26:14.857 32668 ERROR nova.api.
2016-06-27 03:26:14.857 32668 ERROR nova.api.
Debugging, the code breaking is :
and network is :
(Pdb) p network
{u'status': u'ACTIVE', u'subnets': [], u'availability_
(Pub)
this code returns True in this context. port_security_
This code needs to be :
port_security_
I do not see port_security_
Changed in nova: | |
assignee: | nobody → Sridhar Venkat (svenkat) |
status: | New → In Progress |
This bug is applicable to networks with no port_security_ enabled and no subnets in it. (DHCP network).