[ovirt-devel] Adding Fedora 28 host to engine 4.2 (NotImplementedError: Packager install not implemented)

2018-06-19 Thread Nir Soffer
I'm trying to add a host running Fedora 28 to engine 4.2, and installation
fails with:

2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143
method exception
Traceback (most recent call last):
  File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in
_executeMethod
method['method']()
  File
"/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py",
line 84, in _packages
self.packager.install(('dmidecode',))
  File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in
install
raise NotImplementedError(_('Packager install not implemented'))
NotImplementedError: Packager install not implemented
2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152
Failed to execute stage 'Environment packages setup': Packager install not
implemented

Do we have a way to workaround this?

I must have a host when I can build and test virt-v2v upstream from source,
and virt-v2v requires python 3. So I need some workaround to get the host
connected to engine.

Nir
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/AJRHHOSCNGUO3V5EJ6VCQSBIND4NHJ6N/


[ovirt-devel] Re: Deprecating direct RPM downloads from Jenkins

2018-06-19 Thread Barak Korren
On 19 June 2018 at 17:37, Michal Skrivanek 
wrote:

>
>
> On 19 Jun 2018, at 07:16, Barak Korren  wrote:
>
> Hi there,
>
>
> TL;DR: Is your build/CI/other process consuming RPMs directly from
> Jenkins? Could it be changed to consume from other available places?
>
>
>
> In STDCI V1 we supported obtaining of the latest CI build for a particular
> project in a particular branch on a particular platform directly from
> Jenkins, by using the "latestSuccessfulBuild" dynamic link that Jenkins
> generates.
>
> This was possible in STDCI V1 because we had one-to-one correlation
> between jenkins jobs and project/branch/platform combinations. That is no
> longer the case in STDCI V2 where each project gets just two fixed jobs
> that adjust themselves automatically to run needed functionality.
>
> We could implement some equivalent functionality in STDCI V2 by for e.g.
> uploading builds to some predictable locations on an artifact server, but
> that will take some non-trivial amount of work, so it leads us to the
> question if this functionality is really needed.
>
>
> does this affect the repo/rpms created as part of a “ci please build” run
> in any way?
>

The URL for the RPM will be different but as long as you use the full
job/build URL it will work. In short, no.

This only affects you if you need some kind of a 'meta' URL to find the
build from the lastest _merged_ commit.


>
>
> There are a couple of alternatives locations to get recently built
> packages from:
> - The 'tested' repo which contains all the packages that passed CQ/OST
> - The 'snapshot' repo which contains a nightly snapshot of 'tested'.
>
> So given the options above, if you have a build/CI/other process that
> currently consumes builds from Jenkins, could it be changed to consume from
> the other available locations?
>
> --
> Barak Korren
> RHV DevOps team , RHCE, RHCi
> Red Hat EMEA
> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-le...@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/A5LFDPPFWXTEEZLZFSBGZVJNEIP3H7HC/
>
>
>


-- 
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/GX6GRYIVJ2WE4WGBWFMTGPBT3E4SMTYB/


[ovirt-devel] Re: Deprecating direct RPM downloads from Jenkins

2018-06-19 Thread Michal Skrivanek


> On 19 Jun 2018, at 07:16, Barak Korren  wrote:
> 
> Hi there,
> 
> 
> TL;DR: Is your build/CI/other process consuming RPMs directly from Jenkins? 
> Could it be changed to consume from other available places?
> 
> 
> In STDCI V1 we supported obtaining of the latest CI build for a particular 
> project in a particular branch on a particular platform directly from 
> Jenkins, by using the "latestSuccessfulBuild" dynamic link that Jenkins 
> generates.
> 
> This was possible in STDCI V1 because we had one-to-one correlation between 
> jenkins jobs and project/branch/platform combinations. That is no longer the 
> case in STDCI V2 where each project gets just two fixed jobs that adjust 
> themselves automatically to run needed functionality.
> 
> We could implement some equivalent functionality in STDCI V2 by for e.g. 
> uploading builds to some predictable locations on an artifact server, but 
> that will take some non-trivial amount of work, so it leads us to the 
> question if this functionality is really needed.

does this affect the repo/rpms created as part of a “ci please build” run in 
any way?

> 
> There are a couple of alternatives locations to get recently built packages 
> from:
> - The 'tested' repo which contains all the packages that passed CQ/OST
> - The 'snapshot' repo which contains a nightly snapshot of 'tested'.
> 
> So given the options above, if you have a build/CI/other process that 
> currently consumes builds from Jenkins, could it be changed to consume from 
> the other available locations?
> 
> -- 
> Barak Korren
> RHV DevOps team , RHCE, RHCi
> Red Hat EMEA
> redhat.com  | TRIED. TESTED. TRUSTED. | 
> redhat.com/trusted 
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-le...@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/A5LFDPPFWXTEEZLZFSBGZVJNEIP3H7HC/

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/VYHJDT2ALK6QQT5GBP63SEJFTJVX7UTK/


[ovirt-devel] Re: [ovirt-users] PollVDSCommand Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

2018-06-19 Thread Roy Golan
On Tue, 19 Jun 2018 at 16:04 Greg Sheremeta  wrote:

> Sending to devel list.
>
> Anyone ever seen this before? It sounds like a bad installation if Java
> classes are missing / classloader issues are present.
>
> 2018-06-18 11:23:11,287+05 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74] EVENT_ID:
> VDS_INSTALL_IN_PROGRESS(509), Correlation ID:
> d6a2578b-c58f-43be-b6ad-30a3a0a57a74, Call Stack: null, Custom ID: null,
> Custom Event ID: -1, Message: Installing Host Node. Retrieving installation
> logs to:
> '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20180618112311-mrpl.kvm2-d6a2578b-c58f-43be-b6ad-30a3a0a57a74.log'.
> 2018-06-18 11:23:12,131+05 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74] EVENT_ID:
> VDS_INSTALL_IN_PROGRESS(509), Correlation ID:
> d6a2578b-c58f-43be-b6ad-30a3a0a57a74, Call Stack: null, Custom ID: null,
> Custom Event ID: -1, Message: Installing Host Node. Stage: Termination.
> 2018-06-18 11:23:12,193+05 INFO
> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
> [] Connecting to mrpl.kvm2/172.31.1.32
> 2018-06-18 11:23:12,206+05 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
> (org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
> Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> 2018-06-18 11:23:12,206+05 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
> (org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
> Command 'PollVDSCommand(HostName = Node,
> VdsIdVDSCommandParametersBase:{runAsync='true',
> hostId='d862d5c8-c75e-42ee-867f-ca16a228c2ad'})' execution failed:
> java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError:
> org/apache/commons/lang/StringUtils
> 2018-06-18 11:23:12,707+05 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
> (org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
> Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
>
>
Is that a regular installation and what version?
jdk version?
server.log engine.log


> On Tue, Jun 19, 2018 at 8:50 AM Deekshith 
> wrote:
>
>> Dear team
>>
>> Please find attached ovirt-engine log .
>>
>>
>>
>> Regards
>>
>> Deekshith
>>
>>
>>
>> *From:* Greg Sheremeta [mailto:gsher...@redhat.com]
>> *Sent:* 19 June 2018 05:53
>> *To:* deeksh...@binaryindia.com
>> *Cc:* users
>> *Subject:* Re: [ovirt-users] Unable to start Ovirt engine
>>
>>
>>
>> What does it say in the
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-xx.log?
>>
>>
>>
>> On Sun, Jun 17, 2018 at 6:01 AM Deekshith 
>> wrote:
>>
>> Hi Team
>>
>> Please anyone help me to solve this issue.
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Users mailing list -- us...@ovirt.org
>> To unsubscribe send an email to users-le...@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/us...@ovirt.org/message/QPBXKHLK4NSU62Z3AWVR4QOGXKBCF7C3/
>>
>>
>>
>>
>> --
>>
>> *GREG SHEREMETA*
>>
>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>>
>> Red Hat NA
>>
>> 
>>
>> gsher...@redhat.comIRC: gshereme
>>
>> 
>>
>>
>>
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> 
>
> gsher...@redhat.comIRC: gshereme
> 
> ___
> Users mailing list -- us...@ovirt.org
> To unsubscribe send an email to users-le...@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/us...@ovirt.org/message/2AA4B5IPQL7O2BOMLTOC3U3KXPIJNQR2/
>
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/CNB5GPCOWH6P3BAWBH2W3BZFVUWTQEXO/


[ovirt-devel] PollVDSCommand Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

2018-06-19 Thread Greg Sheremeta
Sending to devel list.

Anyone ever seen this before? It sounds like a bad installation if Java
classes are missing / classloader issues are present.

2018-06-18 11:23:11,287+05 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74] EVENT_ID:
VDS_INSTALL_IN_PROGRESS(509), Correlation ID:
d6a2578b-c58f-43be-b6ad-30a3a0a57a74, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Installing Host Node. Retrieving installation
logs to:
'/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20180618112311-mrpl.kvm2-d6a2578b-c58f-43be-b6ad-30a3a0a57a74.log'.
2018-06-18 11:23:12,131+05 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74] EVENT_ID:
VDS_INSTALL_IN_PROGRESS(509), Correlation ID:
d6a2578b-c58f-43be-b6ad-30a3a0a57a74, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Installing Host Node. Stage: Termination.
2018-06-18 11:23:12,193+05 INFO
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
[] Connecting to mrpl.kvm2/172.31.1.32
2018-06-18 11:23:12,206+05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
2018-06-18 11:23:12,206+05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
Command 'PollVDSCommand(HostName = Node,
VdsIdVDSCommandParametersBase:{runAsync='true',
hostId='d862d5c8-c75e-42ee-867f-ca16a228c2ad'})' execution failed:
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringUtils
2018-06-18 11:23:12,707+05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
(org.ovirt.thread.pool-7-thread-47) [d6a2578b-c58f-43be-b6ad-30a3a0a57a74]
Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils


On Tue, Jun 19, 2018 at 8:50 AM Deekshith  wrote:

> Dear team
>
> Please find attached ovirt-engine log .
>
>
>
> Regards
>
> Deekshith
>
>
>
> *From:* Greg Sheremeta [mailto:gsher...@redhat.com]
> *Sent:* 19 June 2018 05:53
> *To:* deeksh...@binaryindia.com
> *Cc:* users
> *Subject:* Re: [ovirt-users] Unable to start Ovirt engine
>
>
>
> What does it say in the
> /var/log/ovirt-engine/setup/ovirt-engine-setup-xx.log?
>
>
>
> On Sun, Jun 17, 2018 at 6:01 AM Deekshith 
> wrote:
>
> Hi Team
>
> Please anyone help me to solve this issue.
>
>
>
>
>
>
>
> ___
> Users mailing list -- us...@ovirt.org
> To unsubscribe send an email to users-le...@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/us...@ovirt.org/message/QPBXKHLK4NSU62Z3AWVR4QOGXKBCF7C3/
>
>
>
>
> --
>
> *GREG SHEREMETA*
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> 
>
> gsher...@redhat.comIRC: gshereme
>
> 
>
>
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/2AA4B5IPQL7O2BOMLTOC3U3KXPIJNQR2/


[ovirt-devel] Re: Deprecating direct RPM downloads from Jenkins

2018-06-19 Thread Greg Sheremeta
On Tue, Jun 19, 2018 at 1:25 AM Barak Korren  wrote:

> Hi there,
>
>
> TL;DR: Is your build/CI/other process consuming RPMs directly from
> Jenkins? Could it be changed to consume from other available places?
>
>
> In STDCI V1 we supported obtaining of the latest CI build for a particular
> project in a particular branch on a particular platform directly from
> Jenkins, by using the "latestSuccessfulBuild" dynamic link that Jenkins
> generates.
>
> This was possible in STDCI V1 because we had one-to-one correlation
> between jenkins jobs and project/branch/platform combinations. That is no
> longer the case in STDCI V2 where each project gets just two fixed jobs
> that adjust themselves automatically to run needed functionality.
>
> We could implement some equivalent functionality in STDCI V2 by for e.g.
> uploading builds to some predictable locations on an artifact server, but
> that will take some non-trivial amount of work, so it leads us to the
> question if this functionality is really needed.
>
> There are a couple of alternatives locations to get recently built
> packages from:
> - The 'tested' repo which contains all the packages that passed CQ/OST
> - The 'snapshot' repo which contains a nightly snapshot of 'tested'.
>
> So given the options above, if you have a build/CI/other process that
> currently consumes builds from Jenkins, could it be changed to consume from
> the other available locations?
>

Hi Barak,

We had some caching and timing issues with ovirt-engine-nodejs-modules. Our
node-based projects are using nodejs-modules to collectively store all node
modules. When we are developing, say we add some dependencies to nodejs-modules
for a new feature. We need to build nodejs-modules and have it available
via 'official' repos (accessible to jenkins and mock_runner) immediately so
we can iterate / develop.

So we use a 'build.packages.force' file [1], add the repo [2], and 'yum|dnf
install ovirt-engine-nodejs-modules'.
This means we do not have to wait for tested repo, and caches (mock cache,
maybe another?) get invalidated.

I'm happy to change this process in any way that allows us to 'install' a
new nodejs-modules and make it live immediately to all the projects that
need it.

[1]
https://github.com/oVirt/ovirt-engine-dashboard/blob/master/automation/build.packages.force
[2] ovirt-engine-nodejs-modules_master,
http://jenkins.ovirt.org/job/ovirt-engine-nodejs-modules_master_build-artifacts-$distro-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/

Greg


> --
> Barak Korren
> RHV DevOps team , RHCE, RHCi
> Red Hat EMEA
> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-le...@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/A5LFDPPFWXTEEZLZFSBGZVJNEIP3H7HC/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@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/WRLYZ644TNQI2H5EJZJSB55HWFISZ7JN/