building ovirt-engine 4.0

Hi, To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me. If my JAVA_HOME is pointing to where java 7 is installed, I get javac: invalid target release: 1.8 if it points to where java 8 is, checkstyle strikes again: Failed to execute goal on project ovirt-checkstyle-extension: Could not resolve dependencies for project org.ovirt.engine:ovirt-checkstyle-extension:jar:4.0.6: Could not find artifact com.sun:tools:jar:1.7.0 at specified path /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/../lib/tools.jar Is that how it works for everyone? Thanks, Fedor

On Fri, Nov 15, 2019, 19:03 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me.
...
Is that how it works for everyone?
I don't anyone is trying to build 4.0. Why do you need it? I think the easiest way to run older engine is to install release rpm it in a vm running centos 7 from the time 4.0 was released. Nir

Hi Nir, Thanks for the response! That's because the issue is about upgrading from 4.0 to, say, 4.3 when compat version of disks has to be lazily updated. So basically what I need to get is recent installation with an old disk, and installing 4.0 and then uprading is what reproducer suggests. Fedor G ----- Original Message ----- From: "Nir Soffer" <nsoffer@redhat.com> To: "Fedor Gavrilov" <fgavrilo@redhat.com> Cc: "devel" <devel@ovirt.org> Sent: Friday, November 15, 2019 11:22:10 PM Subject: Re: [ovirt-devel] building ovirt-engine 4.0 On Fri, Nov 15, 2019, 19:03 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me.
...
Is that how it works for everyone?
I don't anyone is trying to build 4.0. Why do you need it? I think the easiest way to run older engine is to install release rpm it in a vm running centos 7 from the time 4.0 was released. Nir

On Thu, Nov 21, 2019 at 2:21 PM Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi Nir,
Thanks for the response!
That's because the issue is about upgrading from 4.0 to, say, 4.3 when compat version of disks has to be lazily updated. So basically what I need to get is recent installation with an old disk, and installing 4.0 and then uprading is what reproducer suggests.
I don't think we support upgrade from 4.0 to 4.3. You need to upgrade to 4.1 and then to 4.2, and finally to 4.3. Adding Ryan to confirm. What is the bug? maybe you can easily simulate by modifying engine db to trigger an attempt to upgrade the compat version again? Building ancient engine to reproduce a bug does not look like a good way to spend your time. I would do this only if there is no other way to reproduce the issue. Nir
Fedor G
----- Original Message ----- From: "Nir Soffer" <nsoffer@redhat.com> To: "Fedor Gavrilov" <fgavrilo@redhat.com> Cc: "devel" <devel@ovirt.org> Sent: Friday, November 15, 2019 11:22:10 PM Subject: Re: [ovirt-devel] building ovirt-engine 4.0
On Fri, Nov 15, 2019, 19:03 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me.
...
Is that how it works for everyone?
I don't anyone is trying to build 4.0. Why do you need it?
I think the easiest way to run older engine is to install release rpm it in a vm running centos 7 from the time 4.0 was released.
Nir

On 21 Nov 2019, at 14:06, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Nov 21, 2019 at 2:21 PM Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi Nir,
Thanks for the response!
That's because the issue is about upgrading from 4.0 to, say, 4.3 when compat version of disks has to be lazily updated. So basically what I need to get is recent installation with an old disk, and installing 4.0 and then uprading is what reproducer suggests.
that’s fine, but OS update needs to go along with it. So you install 4.0 on the CentOS which was supported back then. IIRC 7.2
I don't think we support upgrade from 4.0 to 4.3. You need to upgrade to 4.1 and then to 4.2, and finally to 4.3. Adding Ryan to confirm.
yes, one by one
What is the bug? maybe you can easily simulate by modifying engine db to trigger an attempt to upgrade the compat version again?
Building ancient engine to reproduce a bug does not look like a good way to spend your time. I would do this only if there is no other way to reproduce the issue.
right depends on what you’re trying to do indeed, but usually it’s not really required to go through the hassle of installing the whole thing
Nir
Fedor G
----- Original Message ----- From: "Nir Soffer" <nsoffer@redhat.com> To: "Fedor Gavrilov" <fgavrilo@redhat.com> Cc: "devel" <devel@ovirt.org> Sent: Friday, November 15, 2019 11:22:10 PM Subject: Re: [ovirt-devel] building ovirt-engine 4.0
On Fri, Nov 15, 2019, 19:03 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me.
...
Is that how it works for everyone?
I don't anyone is trying to build 4.0. Why do you need it?
I think the easiest way to run older engine is to install release rpm it in a vm running centos 7 from the time 4.0 was released.
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/VHVEXGLIU3JVNC...

Here it is: https://bugzilla.redhat.com/show_bug.cgi?id=1610212 Fedor G ----- Original Message ----- From: "Nir Soffer" <nsoffer@redhat.com> To: "Fedor Gavrilov" <fgavrilo@redhat.com> Cc: "devel" <devel@ovirt.org>, "Ryan Barry" <rbarry@redhat.com> Sent: Thursday, November 21, 2019 2:06:28 PM Subject: Re: [ovirt-devel] building ovirt-engine 4.0 On Thu, Nov 21, 2019 at 2:21 PM Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi Nir,
Thanks for the response!
That's because the issue is about upgrading from 4.0 to, say, 4.3 when compat version of disks has to be lazily updated. So basically what I need to get is recent installation with an old disk, and installing 4.0 and then uprading is what reproducer suggests.
I don't think we support upgrade from 4.0 to 4.3. You need to upgrade to 4.1 and then to 4.2, and finally to 4.3. Adding Ryan to confirm. What is the bug? maybe you can easily simulate by modifying engine db to trigger an attempt to upgrade the compat version again? Building ancient engine to reproduce a bug does not look like a good way to spend your time. I would do this only if there is no other way to reproduce the issue. Nir
Fedor G
----- Original Message ----- From: "Nir Soffer" <nsoffer@redhat.com> To: "Fedor Gavrilov" <fgavrilo@redhat.com> Cc: "devel" <devel@ovirt.org> Sent: Friday, November 15, 2019 11:22:10 PM Subject: Re: [ovirt-devel] building ovirt-engine 4.0
On Fri, Nov 15, 2019, 19:03 Fedor Gavrilov <fgavrilo@redhat.com> wrote:
Hi,
To validate an issue I am working on I was trying to build ovirt-engine 4.0 on my CentOS 7.7 but it seems to fail for me.
...
Is that how it works for everyone?
I don't anyone is trying to build 4.0. Why do you need it?
I think the easiest way to run older engine is to install release rpm it in a vm running centos 7 from the time 4.0 was released.
Nir
participants (3)
-
Fedor Gavrilov
-
Michal Skrivanek
-
Nir Soffer