Hi Jaime,


I set up devstack with ODL manually . And I installed feature:install 
odl-infrautils-ready odl-netvirt-sfc odl-mdsal-apidocs odl-dlux-core.



I tried to create VM , then I got below error .Some time I retry it , then 
works. I am not sure what is exact reason for this error .


Error: Failed to perform requested operation on instance "Source", the instance 
has an error status: Please try again later [Error: Exceeded maximum number of 
retries. Exhausted all hosts available for retrying build failures for instance 
cd7518d7-6e5a-4f92-919d-c2a2a38a044a.].



And I see in the ODL log , below exception are flooded every where.



2018-05-31T16:39:50,157 | INFO  | 
opendaylight-cluster-data-notification-dispatcher-205 | 
NeutronHostconfigOvsListener     | 376 - 
org.opendaylight.neutron.hostconfig-ovs - 0.10.1 | onDataTreeChanged: Received 
Data Tree Changed Update of Type=SUBTREE_MODIFIED for 
Key=KeyedInstanceIdentifier{targetType=interface 
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node,
 
path=[org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology,
 
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology[key=TopologyKey
 [_topologyId=Uri [_value=ovsdb:1]]], 
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node[key=NodeKey
 [_nodeId=Uri [_value=ovsdb://uuid/29109745-3075-4bb0-81fd-ffe2b6b65f9f]]]]}

2018-05-31T16:39:50,159 | WARN  | opendaylight-cluster-data-shard-dispatcher-27 
| ShardDataTree                    | 228 - 
org.opendaylight.controller.sal-distributed-datastore - 1.7.1 | 
member-1-shard-default-operational: Store Tx 
member-1-datastore-operational-fe-0-txn-939-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=master,
 (urn:opendaylight:neutron?revision=2015-07-12)host-type=ODL L2}].

2018-05-31T16:39:50,160 | ERROR | 
opendaylight-cluster-data-akka.actor.default-dispatcher-31 | 
LocalThreePhaseCommitCohort      | 228 - 
org.opendaylight.controller.sal-distributed-datastore - 1.7.1 | Failed to 
prepare transaction member-1-datastore-operational-fe-0-txn-939-0 on backend

org.opendaylight.controller.md.sal.common.api.data.OptimisticLockFailedException:
 Optimistic lock failed.

               at 
org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:740)
 ~[228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]

               at 
org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:778)
 [228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]

               at 
org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPendingTransaction(ShardDataTree.java:725)
 [228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]

               at 
org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:808)
 [228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]

               at 
org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:84)
 [228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]

               at 
org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)
 [228:org.opendaylight.controller.sal-distributed-datastore:1.7.1]



Thanks

Om Prakash





-----Original Message-----
From: Jaime Caamaño Ruiz [mailto:[email protected]]
Sent: Thursday, May 31, 2018 12:16 PM
To: om prakash <[email protected]>
Cc: SINGH, ABHIJEET K <[email protected]>; FREEMAN, BRIAN D <[email protected]>; 
PRAKASH, OM <[email protected]>; [email protected]; 
[email protected]; Sam Hague <[email protected]>
Subject: Re: [sfc-dev] Opendaylight support for networking-sfc





Hello



It never hurts to try but it may not work. Some of this config ends up both in 
ODL & neutron databases and it may not be updated correctly. So you may need to 
stop neutron & ODL, reset both of it's databases and restart them.



You may reference ODL docs [1] on how to do that. Refer to "Ensuring OpenStack 
network state is clean", "Ensure Neutron is stopped", "Reset Neutron’s 
database", "Restart neutron-server"...Make sure you start ODL with 'clean' 
argument to clean it up too.



[1] 
https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.opendaylight.org_projects_netvirt_en_stable-2Doxygen_openstack-2Dguide_openstack-2Dwith-2Dnetvirt.html-23installing-2Dopendaylight-2Don-2Dan-2Dexisting-2Dopenstack&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=cx6yvFycLIjCM9cdXszkyk814X3PyLKc3mE0mV-NZ0c&s=KaK2fapCykjuvVklIqccPt6COgW_1xR3A3aRLKeygVU&e=



BR

Jaime.




_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to