Bug 1494390 - On a clean CentOS 7.4 minimal, yum install ovirt-scheduler-proxy fails
Summary: On a clean CentOS 7.4 minimal, yum install ovirt-scheduler-proxy fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-scheduler-proxy
Classification: oVirt
Component: Packaging.rpm
Version: 0.1.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.0
: 0.1.8
Assignee: Andrej Krejcir
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-22 07:43 UTC by Sandro Bonazzola
Modified: 2017-12-20 11:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:42:55 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83846 0 master MERGED Do not create home directory for the new user during installation 2020-07-27 12:37:56 UTC

Description Sandro Bonazzola 2017-09-22 07:43:24 UTC
Description of problem:
On a clean CentOS 7.4 minimal, yum install ovirt-scheduler-proxy fails.

Version-Release number of selected component (if applicable):
0.1.7-1.el7.centos

How reproducible: 100%

Steps to Reproduce:
1. provision a minimal CentOS 7.4 VM
2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42-pre.rpm
3. yum install ovirt-scheduler-proxy

Actual results: (sorry, system was set in italian, translation: can't create directory /usr/share/ovirt-scheduler-proxy)
Running transaction
useradd: impossibile creare la directory /usr/share/ovirt-scheduler-proxy
error: %pre(ovirt-scheduler-proxy-0.1.7-1.el7.centos.noarch) scriptlet failed, exit status 12
Error in PREIN scriptlet in rpm package ovirt-scheduler-proxy-0.1.7-1.el7.centos.noarch


Expected results:
No error in %pre scriptlet

Comment 1 Artyom 2017-12-07 20:05:29 UTC
I tried on the build from 
http://resources.ovirt.org/pub/ovirt-4.2-snapshot/rpm/el7/noarch/ovirt-release42-pre-4.2.0-0.4.rc1.el7.centos.noarch.rpm

and I still see the same problem
Running transaction
useradd: cannot create directory /usr/share/ovirt-scheduler-proxy
error: %pre(ovirt-scheduler-proxy-0.1.7-1.el7.centos.noarch) scriptlet failed, exit status 12
Error in PREIN scriptlet in rpm package ovirt-scheduler-proxy-0.1.7-1.el7.centos.noarch
  Verifying  : ovirt-scheduler-proxy-0.1.7-1.el7.centos.noarch                                                                                        1/1 

Failed:
  ovirt-scheduler-proxy.noarch 0:0.1.7-1.el7.centos 

Re-run of the command solve the problem

Comment 2 Martin Sivák 2017-12-08 12:05:23 UTC
Well since you tested exactly the same version where you found the bug.. it is kind of expected it fails.

Comment 3 Martin Sivák 2017-12-08 12:14:21 UTC
The build created 0.1.7.0.1 for some reason. I triggered it again and got the proper 0.1.8. You check the package here: http://jenkins.ovirt.org/job/ovirt-scheduler-proxy_master_build-artifacts-fc25-x86_64/10/

I need to check with Sandro whether it will be picked up automatically or not.

Comment 4 Sandro Bonazzola 2017-12-11 16:33:50 UTC
0.1.8 published to ovirt-4.2-pre repo for testing.

Comment 5 Artyom 2017-12-13 07:46:26 UTC
Verified on repo http://resources.ovirt.org/pub/yum-repo/ovirt-release42-pre.rpm (ovirt-scheduler-proxy-0.1.8-1.el7.centos.noarch)

Comment 6 Sandro Bonazzola 2017-12-20 11:42:55 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.