[neutron-dev] A large number of hostconfig related WARN and ERROR karaf logs keep showing after executed OVS set manager command

Isaku Yamahata yamahata at private.email.ne.jp
Tue Nov 21 07:44:08 UTC 2017


Looks like the issue in Neutron Northbound.
Can you please file a bug?

Ritu, can you look into it? I suppose similar thing is already logged by OpenStack CI too.


On Thu, Nov 16, 2017 at 06:07:23AM +0000,
Ran Xiao <ran-xiao at vf.jp.nec.com> wrote:

> Hi,
> 
> I'm facing the following issue in configuring Openstack Pike + ODL Nitrogen environment.
> Could someone please help me to find out what caused these warns and errors keep showing?
> Did I missed something?
> 
> The following hostconfig related WARN and ERROR karaf logs keeps showing after we executed
> ovs-vsctl set-manager in Controller Node and Compute Node.
> #We checked ODL operational datastore, the hostconfig information shows successfully. 
> 
> 2017-10-31 15:38:11,169 | WARN  | rd-dispatcher-32 | ShardDataTree                    | 214 - org.opendaylight.controller.sal-distributed-datastore - 1.6.0 | member-1-shard-default-operational: Store Tx member-1-datastore-operational-fe-0-txn-53-0: Conflicting modification for path /(urn:opendaylight:neutron?revision=2015-07-12)neutron/hostconfigs/hostconfig/hostconfig[{(urn:opendaylight:neutron?revision=2015-07-12)host-id=nitrogen-controller, (urn:opendaylight:neutron?revision=2015-07-12)host-type=ODL L2}].
> 2017-10-31 15:38:11,170 | WARN  | ult-dispatcher-8 | ConcurrentDOMDataBroker          | 214 - org.opendaylight.controller.sal-distributed-datastore - 1.6.0 | Tx: DOM-190 Error during phase CAN_COMMIT, starting Abort
> OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}
>         at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:731)[214:org.opendaylight.controller.sal-distributed-datastore:1.6.0]
>         ......
> 2017-10-31 15:38:11,170 | ERROR | lt-dispatcher-21 | LocalThreePhaseCommitCohort      | 214 - org.opendaylight.controller.sal-distributed-datastore - 1.6.0 | Failed to prepare transaction member-1-datastore-operational-fe-0-txn-53-0 on backend
> OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}
>         at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:731)[214:org.opendaylight.controller.sal-distributed-datastore:1.6.0]
>         ......
> 2017-10-31 15:38:11,188 | WARN  | eChangeHandler-0 | MdsalUtils                       | 363 - org.opendaylight.ovsdb.utils.mdsal-utils - 1.5.0 | Failed to put KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.rev150712.Neutron, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.Hostconfigs, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig[key=HostconfigKey [_hostId=nitrogen-controller, _hostType=ODL L2]]]}
> OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}
>         at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:731)[214:org.opendaylight.controller.sal-distributed-datastore:1.6.0]
>         at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:769)[214:org.opendaylight.controller.sal-distributed-datastore:1.6.0]
>         ......
> 
> 
> I followed the following page to set hostconfig.
> #<https://docs.openstack.org/networking-odl/latest/contributor/hostconfig.html>
> 
> Environment Details:
>   OpenStack Version: pike
>   ODL Version: Nitrongen FR
>        features: odl-netvirt-openstack odl-neutron-hostconfig-ovs odl-mdsal-apidocs odl-mdsal-clustering
>   Node:
>     OpenStack Controller Node: 1 Node
>     OpenStack Compute Node: 2 Nodes
>     ODL Node: 3 Nodes(cluster)
> 
> Regards,
> Ran Xiao
> 
> _______________________________________________
> neutron-dev mailing list
> neutron-dev at lists.opendaylight.org
> https://lists.opendaylight.org/mailman/listinfo/neutron-dev
> 

-- 
Isaku Yamahata <isaku.yamahata at gmail.com>


More information about the neutron-dev mailing list