|
A Null pointer exception is seen while spawning a VM with the default security group.
Build used- Beryllium (distribution-karaf-0.4.0-20150922.050705-1532.zip)
java.lang.NullPointerException
at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.services.EgressAclService.programPortSecurityAcl(EgressAclService.java:82)[256:org.opendaylight.ovsdb.openstack.net-virt-providers:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.programLocalSecurityGroupRules(OF13Provider.java:1039)[256:org.opendaylight.ovsdb.openstack.net-virt-providers:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.programLocalRules(OF13Provider.java:765)[256:org.opendaylight.ovsdb.openstack.net-virt-providers:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.handleInterfaceUpdate(OF13Provider.java:1057)[256:org.opendaylight.ovsdb.openstack.net-virt-providers:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.handleInterfaceUpdate(SouthboundHandler.java:87)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortUpdate(SouthboundHandler.java:299)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortEvent(SouthboundHandler.java:287)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processEvent(SouthboundHandler.java:233)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:95)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.access$200(EventDispatcherImpl.java:28)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:57)[255:org.opendaylight.ovsdb.openstack.net-virt:1.2.1.SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
It can be noticed that the contents of the security group rules is missing the "ethertype" field.
GET http://105.0.1.234:8181/restconf/config/neutron:neutron/security-rules/
In Failed conditions,
{
"id": "e4130a1d-5dd3-4d8f-925e-ea1d09b9121b",
"direction": "neutron-constants:direction-egress",
"security-group-id": "eaadd82d-9b7f-419e-8e10-83a3a2bd4e01",
"tenant-id": "cdadb751-577d-47b7-874e-d61707a52279"
}
,
In passed conditions,
{
"id": "a56e606a-b8b4-4701-af6f-5e5f0badccc9",
"ethertype": "ipv4", <===
"direction": "egress",
"security-group-id": "d7ccf240-6eab-455c-b108-f7085a7f9dcf",
"tenant-id": "02e7df81-c395-4665-9dc4-df7c39a0cd35"
}
|