[OpenDaylight TSC] OVSDB-467 Neon-MRI: Bump odlparent, yangtools, mdsal


Brady Johnson
 

The OVSDB project is also blocking the Neon MRI version bump for the SFC project.

I saw that Vishal created this patch [0], but locally for me, I get this build error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project hwvtepsouthbound-impl: Compilation failure
[ERROR] /home/bjohnson/projects/odl/ovsdb/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java:[374,57] incompatible types: java.util.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState> cannot be converted to com.google.common.base.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState>


In SFC I get this error:

[ERROR] Failed to execute goal on project odl-sfc-ovs: Could not resolve dependencies for project org.opendaylight.sfc:odl-sfc-ovs:feature:0.9.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odl-jackson-2.8:xml:features:4.0.0 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced -> [Help 1]

On Thu, Sep 20, 2018 at 3:30 PM Michael Vorburger <vorburger@...> wrote:

On Tue, Sep 18, 2018 at 12:02 AM Michael Vorburger <vorburger@...> wrote:
Good people (committers) of OVSDB,

are you planning to work on https://jira.opendaylight.org/browse/OVSDB-467 this week? 

I have just realized it's a (hard) dependency for https://jira.opendaylight.org/browse/NEUTRON-197, and genius, and netvirt, ...

If this is only started to be looked into during the week of Oct 1st - 5th, after the DDF / ONS in AMS next week, then I do not think that the "Version bump on October 6" mentioned in https://meetings.opendaylight.org/opendaylight-meeting/2018/tsc/opendaylight-meeting-tsc.2018-09-13-16.00.html is realistic. 
 
bump... hello, anyone home at project ovsdb? ;-) just FYI the way I look at the plan, you guys are now on the "critical path" (blocking neutron -> genius -> netvirt) in the overall Neon-MRI move... it would be great to hear your intentions in reply on this thread.

Tx,
M.
--
Michael Vorburger, Red Hat
vorburger@... | IRC: vorburger @freenode | ~ = http://vorburger.ch
_______________________________________________
TSC mailing list
TSC@...
https://lists.opendaylight.org/mailman/listinfo/tsc


Vishal Thapar <vthapar@...>
 

HI Brady,

Yes, this is the error I too was getting and wanted help with. That is why pushed the patch so someone can help figure it out, as well asked for a session where we can just get together and resolve issues we're running into.

Regards,
Vishal.

On Mon, Sep 24, 2018 at 2:43 PM Brady Johnson <bjohnson@...> wrote:
The OVSDB project is also blocking the Neon MRI version bump for the SFC project.

I saw that Vishal created this patch [0], but locally for me, I get this build error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project hwvtepsouthbound-impl: Compilation failure
[ERROR] /home/bjohnson/projects/odl/ovsdb/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java:[374,57] incompatible types: java.util.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState> cannot be converted to com.google.common.base.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState>


In SFC I get this error:

[ERROR] Failed to execute goal on project odl-sfc-ovs: Could not resolve dependencies for project org.opendaylight.sfc:odl-sfc-ovs:feature:0.9.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odl-jackson-2.8:xml:features:4.0.0 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced -> [Help 1]

On Thu, Sep 20, 2018 at 3:30 PM Michael Vorburger <vorburger@...> wrote:

On Tue, Sep 18, 2018 at 12:02 AM Michael Vorburger <vorburger@...> wrote:
Good people (committers) of OVSDB,

are you planning to work on https://jira.opendaylight.org/browse/OVSDB-467 this week? 

I have just realized it's a (hard) dependency for https://jira.opendaylight.org/browse/NEUTRON-197, and genius, and netvirt, ...

If this is only started to be looked into during the week of Oct 1st - 5th, after the DDF / ONS in AMS next week, then I do not think that the "Version bump on October 6" mentioned in https://meetings.opendaylight.org/opendaylight-meeting/2018/tsc/opendaylight-meeting-tsc.2018-09-13-16.00.html is realistic. 
 
bump... hello, anyone home at project ovsdb? ;-) just FYI the way I look at the plan, you guys are now on the "critical path" (blocking neutron -> genius -> netvirt) in the overall Neon-MRI move... it would be great to hear your intentions in reply on this thread.

Tx,
M.
--
Michael Vorburger, Red Hat
vorburger@... | IRC: vorburger @freenode | ~ = http://vorburger.ch
_______________________________________________
TSC mailing list
TSC@...
https://lists.opendaylight.org/mailman/listinfo/tsc
_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Brady Johnson
 

This change fixes that particular build failure:

$ git diff hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
diff --git a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
index 567389a39..8f885a498 100644
--- a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
+++ b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
@@ -370,7 +370,7 @@ public class HwvtepConnectionManager implements OvsdbConnectionListener, AutoClo
     private void handleOwnershipState(Entity candidateEntity, HwvtepConnectionInstance hwvtepConnectionInstance) {
         //If entity already has owner, it won't get notification from EntityOwnershipService
         //so cache the connection instances.
-        Optional<EntityOwnershipState> ownershipStateOpt =
+        java.util.Optional<EntityOwnershipState> ownershipStateOpt =
                 entityOwnershipService.getOwnershipState(candidateEntity);
         if (ownershipStateOpt.isPresent()) {
             EntityOwnershipState ownershipState = ownershipStateOpt.get();

But, now I get this build failure, which should be an easy fix too that I'll look into now.

[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly (process-resources) on project hwvtepsouthbound-karaf: Unable to build assembly: Could not find matching feature for odl-jackson-2.9/[3.1.0,4) -> [Help 1]


Regards,

Brady Johnson





On Mon, Sep 24, 2018 at 10:36 AM Vishal Thapar <vthapar@...> wrote:
HI Brady,

Yes, this is the error I too was getting and wanted help with. That is why pushed the patch so someone can help figure it out, as well asked for a session where we can just get together and resolve issues we're running into.

Regards,
Vishal.

On Mon, Sep 24, 2018 at 2:43 PM Brady Johnson <bjohnson@...> wrote:
The OVSDB project is also blocking the Neon MRI version bump for the SFC project.

I saw that Vishal created this patch [0], but locally for me, I get this build error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project hwvtepsouthbound-impl: Compilation failure
[ERROR] /home/bjohnson/projects/odl/ovsdb/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java:[374,57] incompatible types: java.util.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState> cannot be converted to com.google.common.base.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState>


In SFC I get this error:

[ERROR] Failed to execute goal on project odl-sfc-ovs: Could not resolve dependencies for project org.opendaylight.sfc:odl-sfc-ovs:feature:0.9.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odl-jackson-2.8:xml:features:4.0.0 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced -> [Help 1]

On Thu, Sep 20, 2018 at 3:30 PM Michael Vorburger <vorburger@...> wrote:

On Tue, Sep 18, 2018 at 12:02 AM Michael Vorburger <vorburger@...> wrote:
Good people (committers) of OVSDB,

are you planning to work on https://jira.opendaylight.org/browse/OVSDB-467 this week? 

I have just realized it's a (hard) dependency for https://jira.opendaylight.org/browse/NEUTRON-197, and genius, and netvirt, ...

If this is only started to be looked into during the week of Oct 1st - 5th, after the DDF / ONS in AMS next week, then I do not think that the "Version bump on October 6" mentioned in https://meetings.opendaylight.org/opendaylight-meeting/2018/tsc/opendaylight-meeting-tsc.2018-09-13-16.00.html is realistic. 
 
bump... hello, anyone home at project ovsdb? ;-) just FYI the way I look at the plan, you guys are now on the "critical path" (blocking neutron -> genius -> netvirt) in the overall Neon-MRI move... it would be great to hear your intentions in reply on this thread.

Tx,
M.
--
Michael Vorburger, Red Hat
vorburger@... | IRC: vorburger @freenode | ~ = http://vorburger.ch
_______________________________________________
TSC mailing list
TSC@...
https://lists.opendaylight.org/mailman/listinfo/tsc
_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Vishal Thapar <vthapar@...>
 

Thanks for the fix. Am working on getting rest of it working.

On Mon, Sep 24, 2018 at 3:19 PM Brady Johnson <bjohnson@...> wrote:
This change fixes that particular build failure:

$ git diff hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
diff --git a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
index 567389a39..8f885a498 100644
--- a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
+++ b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
@@ -370,7 +370,7 @@ public class HwvtepConnectionManager implements OvsdbConnectionListener, AutoClo
     private void handleOwnershipState(Entity candidateEntity, HwvtepConnectionInstance hwvtepConnectionInstance) {
         //If entity already has owner, it won't get notification from EntityOwnershipService
         //so cache the connection instances.
-        Optional<EntityOwnershipState> ownershipStateOpt =
+        java.util.Optional<EntityOwnershipState> ownershipStateOpt =
                 entityOwnershipService.getOwnershipState(candidateEntity);
         if (ownershipStateOpt.isPresent()) {
             EntityOwnershipState ownershipState = ownershipStateOpt.get();

But, now I get this build failure, which should be an easy fix too that I'll look into now.

[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly (process-resources) on project hwvtepsouthbound-karaf: Unable to build assembly: Could not find matching feature for odl-jackson-2.9/[3.1.0,4) -> [Help 1]


Regards,

Brady Johnson





On Mon, Sep 24, 2018 at 10:36 AM Vishal Thapar <vthapar@...> wrote:
HI Brady,

Yes, this is the error I too was getting and wanted help with. That is why pushed the patch so someone can help figure it out, as well asked for a session where we can just get together and resolve issues we're running into.

Regards,
Vishal.

On Mon, Sep 24, 2018 at 2:43 PM Brady Johnson <bjohnson@...> wrote:
The OVSDB project is also blocking the Neon MRI version bump for the SFC project.

I saw that Vishal created this patch [0], but locally for me, I get this build error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project hwvtepsouthbound-impl: Compilation failure
[ERROR] /home/bjohnson/projects/odl/ovsdb/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java:[374,57] incompatible types: java.util.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState> cannot be converted to com.google.common.base.Optional<org.opendaylight.mdsal.eos.common.api.EntityOwnershipState>


In SFC I get this error:

[ERROR] Failed to execute goal on project odl-sfc-ovs: Could not resolve dependencies for project org.opendaylight.sfc:odl-sfc-ovs:feature:0.9.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odl-jackson-2.8:xml:features:4.0.0 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced -> [Help 1]

On Thu, Sep 20, 2018 at 3:30 PM Michael Vorburger <vorburger@...> wrote:

On Tue, Sep 18, 2018 at 12:02 AM Michael Vorburger <vorburger@...> wrote:
Good people (committers) of OVSDB,

are you planning to work on https://jira.opendaylight.org/browse/OVSDB-467 this week? 

I have just realized it's a (hard) dependency for https://jira.opendaylight.org/browse/NEUTRON-197, and genius, and netvirt, ...

If this is only started to be looked into during the week of Oct 1st - 5th, after the DDF / ONS in AMS next week, then I do not think that the "Version bump on October 6" mentioned in https://meetings.opendaylight.org/opendaylight-meeting/2018/tsc/opendaylight-meeting-tsc.2018-09-13-16.00.html is realistic. 
 
bump... hello, anyone home at project ovsdb? ;-) just FYI the way I look at the plan, you guys are now on the "critical path" (blocking neutron -> genius -> netvirt) in the overall Neon-MRI move... it would be great to hear your intentions in reply on this thread.

Tx,
M.
--
Michael Vorburger, Red Hat
vorburger@... | IRC: vorburger @freenode | ~ = http://vorburger.ch
_______________________________________________
TSC mailing list
TSC@...
https://lists.opendaylight.org/mailman/listinfo/tsc
_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Robert Varga <nite@...>
 

On 24/09/2018 11:49, Brady Johnson wrote:

But, now I get this build failure, which should be an easy fix too that
I'll look into now.

[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly
(process-resources) on project hwvtepsouthbound-karaf: Unable to
build assembly: Could not find matching feature for
odl-jackson-2.9/[3.1.0,4) -> [Help 1]
Search **/src/main/feature/feature.xml for odl-jackson, adjust it from
[3.1.0,4) to [4,5).

Regards,
Robert


Stephen Kitt <skitt@...>
 

On Tue, 25 Sep 2018 14:41:09 +0200
Robert Varga <nite@...> wrote:
On 24/09/2018 11:49, Brady Johnson wrote:
But, now I get this build failure, which should be an easy fix too
that I'll look into now.

[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly
(process-resources) on project hwvtepsouthbound-karaf: Unable to
build assembly: Could not find matching feature for
odl-jackson-2.9/[3.1.0,4) -> [Help 1]
Search **/src/main/feature/feature.xml for odl-jackson, adjust it from
[3.1.0,4) to [4,5).
That wasn’t the problem: the problem was that Brady hadn’t locally
rebuilt NETCONF with the MRI patch.

Regards,

Stephen