Issue while installing ovirt-imageio-daemon

Hi, just noticed in appliance build at https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/conso... 15:18:22,373 INFO anaconda:program: Installing : ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223 <https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,513> 15:18:22,373 INFO anaconda:program: warning: group Development/Debug does not exist - using root <https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,514> 15:18:22,373 INFO anaconda:program: <https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,515> 15:18:22,374 INFO anaconda:program: Running scriptlet: ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223 Sounds like a bug in the spec file. -- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*

On Wed, Jul 1, 2020 at 7:46 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi, just noticed in appliance build at https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/conso...
15:18:22,373 INFO anaconda:program: Installing : ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,513> 15:18:22,373 INFO anaconda:program: warning: group Development/Debug does not exist - using root
We remove "Group:" from the spec here: https://github.com/oVirt/ovirt-imageio/commit/dd570082896cc410ad28b420ca37dd... Is this an upgrade from an older version that included Group?
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,514> 15:18:22,373 INFO anaconda:program:
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,515> 15:18:22,374 INFO anaconda:program: Running scriptlet: ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223
Sounds like a bug in the spec file.
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*

Il giorno mer 1 lug 2020 alle ore 19:03 Nir Soffer <nsoffer@redhat.com> ha scritto:
On Wed, Jul 1, 2020 at 7:46 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi, just noticed in appliance build at https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/conso...
15:18:22,373 INFO anaconda:program: Installing : ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,513> 15:18:22,373 INFO anaconda:program: warning: group Development/Debug does not exist - using root
We remove "Group:" from the spec here:
https://github.com/oVirt/ovirt-imageio/commit/dd570082896cc410ad28b420ca37dd...
Is this an upgrade from an older version that included Group?
No it's a build from scratch of an ovirt engine appliance. I see you have %dir %attr(755, %{user}, %{group}) %{logdir} Looking at /usr/lib/rpm/macros.d content I see: ./macros.perl: 136 : Group: Development/Debug\ ./macros.scl: 19 : Group: Development/Debug which looks pretty suspicious. I think it would be safer using a different macro name for your spec file changing: %global user ovirtimg %global group ovirtimg to: %global ovirtimg_user ovirtimg %global ovirtimg_group ovirtimg and use them, avoiding to use generic names like "user" and "group" that may conflict with existing macros
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,514> 15:18:22,373 INFO anaconda:program:
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull#L8,515> 15:18:22,374 INFO anaconda:program: Running scriptlet: ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223
Sounds like a bug in the spec file.
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*
-- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*

On čtvrtek 2. července 2020 8:15:59 CEST Sandro Bonazzola wrote:
Il giorno mer 1 lug 2020 alle ore 19:03 Nir Soffer <nsoffer@redhat.com> ha
scritto:
On Wed, Jul 1, 2020 at 7:46 PM Sandro Bonazzola <sbonazzo@redhat.com>
wrote:
Hi, just noticed in appliance build at https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/co nsoleFull>> 15:18:22,373 INFO anaconda:program: Installing : ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/ consoleFull#L8,513> 15:18:22,373 INFO anaconda:program: warning: group Development/Debug does not exist - using root> We remove "Group:" from the spec here:
https://github.com/oVirt/ovirt-imageio/commit/dd570082896cc410ad28b420ca37 dd065ec68831
Is this an upgrade from an older version that included Group?
No it's a build from scratch of an ovirt engine appliance. I see you have %dir %attr(755, %{user}, %{group}) %{logdir}
Looking at /usr/lib/rpm/macros.d content I see: ./macros.perl: 136 : Group: Development/Debug\ ./macros.scl: 19 : Group: Development/Debug
which looks pretty suspicious.
I think it would be safer using a different macro name for your spec file changing: %global user ovirtimg %global group ovirtimg
to:
%global ovirtimg_user ovirtimg %global ovirtimg_group ovirtimg
and use them, avoiding to use generic names like "user" and "group" that may conflict with existing macros
thanks for the hint, should be fixed in https://gerrit.ovirt.org/110066
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/ consoleFull#L8,514> 15:18:22,373 INFO anaconda:program:
<https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/ consoleFull#L8,515> 15:18:22,374 INFO anaconda:program: Running scriptlet: ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223>> Sounds like a bug in the spec file.
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*
participants (3)
-
Nir Soffer
-
Sandro Bonazzola
-
Vojtech Juranek