[ovirt-devel] ovirt-engine version problem

Vojtech Szocs vszocs at redhat.com
Thu Apr 13 17:22:43 UTC 2017


You can also try ovirt-vdsmfake [1] if you just need to add some fake hosts
to your dev. env.

[1] https://gerrit.ovirt.org/#/admin/projects/ovirt-vdsmfake

Vojtech


On Wed, Apr 12, 2017 at 7:24 PM, shubham dubey <sdubey504 at gmail.com> wrote:

> Thanks for explanation, I completely understand it now.
>
> On Wed, Apr 12, 2017 at 10:17 PM, Greg Sheremeta <gshereme at redhat.com>
> wrote:
>
>> For pretty much any open source project, you can install previous
>> versions by checking out "tags". That's one very important reason why we
>> tag things.
>>
>> greg at greg-x1:~/projects/ovirt-engine(master|✔) $ git checkout
>> ovirt-engine-4.0.7
>> Note: checking out 'ovirt-engine-4.0.7'.
>>
>> You are in 'detached HEAD' state. You can look around, make experimental
>> changes and commit them, and you can discard any commits you make in this
>> state without impacting any branches by performing another checkout.
>>
>> If you want to create a new branch to retain commits you create, you may
>> do so (now or later) by using -b with the checkout command again. Example:
>>
>>   git checkout -b <new-branch-name>
>>
>> HEAD is now at e00e36d... build: ovirt-engine-4.0.7
>>
>> greg at greg-x1:~/projects/ovirt-engine(:e00e36d|✔) $ make clean
>> install-dev PREFIX=$HOME/ovirt-engine
>>
>>
>> On Wed, Apr 12, 2017 at 12:40 PM, shubham dubey <sdubey504 at gmail.com>
>> wrote:
>>
>>> I just delete the ovirt-engine folder and .m2/repository folder and
>>> recompile it and it just work.:)
>>> But one thing I want to clarify is that can I only install ovirt 4.2
>>> through source or I can install previous versions also?
>>>
>>> Thanks,
>>> Shubham
>>>
>>> On Wed, Apr 12, 2017 at 5:22 PM, Tomas Jelinek <tjelinek at redhat.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Apr 12, 2017 at 1:51 PM, shubham dubey <sdubey504 at gmail.com>
>>>> wrote:
>>>>
>>>>> that doesn't work.
>>>>>
>>>>
>>>> what does it do? Please paste the output
>>>>
>>>>
>>>>>
>>>>> On Wed, Apr 12, 2017 at 4:13 PM, Tomas Jelinek <tjelinek at redhat.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 12, 2017 at 11:34 AM, shubham dubey <sdubey504 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>> Recently I have installed ovirt-engine development environment. The
>>>>>>> snapshot repository I have used
>>>>>>> is ovirt-release-master.
>>>>>>> Now I have installed vdsm in ovirt host with ovirt-release41, so
>>>>>>> when I am trying to add the host it is
>>>>>>> showing that ovirt node support cluster version 3.9,4.0 and 4.1 but
>>>>>>> 4.2 is available.
>>>>>>> So I have decided to installed ovirt engine with ovirt-engine41
>>>>>>> repository. The steps I follow are :-
>>>>>>> 1) yum remove ovirt-release-master.noarch
>>>>>>> 2) yum install ovirt-release41.noarch
>>>>>>> 3) delete $HOME/ovirt-engine and $HOME/git/ovirt-engine
>>>>>>> 4) git clone ovirt-engine again
>>>>>>> 5) make install-dev PREFIX=$HOME/ovirt-engine
>>>>>>>
>>>>>>> The compiling ends successfully but the $HOME/ovirt-engine directory
>>>>>>> is coming out empty.
>>>>>>>
>>>>>>
>>>>>> Maybe some permission or similar issues on the $HOME/ovirt-engine
>>>>>> dir. You can try to redeploy again using:
>>>>>> make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
>>>>>> to see if it passes or if it complains
>>>>>>
>>>>>>
>>>>>>> So $HOME/ovirt-engine/bin/engine-setup is giving error that NO file
>>>>>>> or directory found.
>>>>>>> So can anyone tell me what I am doing wrong?
>>>>>>>
>>>>>>> Note:One more thing I have noticed is that even after changing repo
>>>>>>> to ovirt 4.1 the make is still compiling ovirt 4.2 snapshot.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Shubham
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Devel mailing list
>>>>>>> Devel at ovirt.org
>>>>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>>
>>
>> --
>> Greg Sheremeta, MBA
>> Sr. Software Engineer
>> Red Hat, Inc.
>> gshereme at redhat.com
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170413/418e8fbb/attachment.html>


More information about the Devel mailing list