Bug 1133482 - edit-node:Using "--list-plugins" parameter to list Installed Plugins failed
Summary: edit-node:Using "--list-plugins" parameter to list Installed Plugins failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.5.0
Assignee: Douglas Schilling Landgraf
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-25 09:20 UTC by haiyang,dong
Modified: 2016-02-10 20:04 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 21:01:32 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 31887 0 None ABANDONED remove "-a" parameter from rpm cmd Never
oVirt gerrit 31910 0 None ABANDONED ipmi: add ipmi.minimize Never
oVirt gerrit 32065 0 master MERGED edit-node: fix --install=package.rpm use Never
oVirt gerrit 32500 0 ovirt-3.5 ABANDONED edit-node: fix --install=package.rpm use Never

Description haiyang,dong 2014-08-25 09:20:40 UTC
Description of problem:
1.Using the follow command to install ipmi plugin into rhev-hypervisor7-7.0-20140815.0.iso:
#edit-node --repo=edit-node.repo --install=ovirt-node-plugin-ipmi-3.1.0-0.9.20140815gitee21d9b.el7.noarch.rpm rhev-hypervisor7-7.0-20140815.0.iso

2.Using the follow command to list Installed Plugins of "rhev-hypervisor7-7.0-20140815.ipmi.0.iso":
[root@dhcp-8-228 rhev-hypervisor7-7.0-20140815.0]# edit-node --list-plugins rhev-hypervisor7-7.0-20140815.ipmi.0.iso
rhev-hypervisor7-7.0-20140815.ipmi.0.iso

Installed Plugins:


Warning: the state of SELinux is disabled

Using "--list-plugins" parameter to list Installed Plugins failed, it didn't 
list Installed Plugins:
ovirt-node-plugin-ipmi


Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20140815.0.iso
ovirt-node-3.1.0-0.9.20140815gitee21d9b.el7.noarch
ovirt-node-tools-3.1.0-0.9.20140815gitee21d9b.el7.noarch
ovirt-node-plugin-ipmi-3.1.0-0.9.20140815gitee21d9b.el7.noarch.rpm

How reproducible:
100% 
 
Steps to Reproduce:

Actual result:

Expect result:


Additional info:

Comment 2 Douglas Schilling Landgraf 2014-08-25 15:51:58 UTC
Hi, 

IMO, it's not a regression. The patch which create the ipmi plugin sub-package (commit 5de7215 in Sep 26 2013) didn't include the file /etc/ovirt-plugins.d/ipmi.minimize. 

I have sent patch to gerrit which resolve this issue: http://gerrit.ovirt.org/#/c/31910/1

Comment 3 Douglas Schilling Landgraf 2014-08-26 03:28:26 UTC
Assigning back, I will send a second patch too.

Comment 4 haiyang,dong 2014-08-27 08:50:44 UTC
(In reply to Douglas Schilling Landgraf from comment #2)
> Hi, 
> 
> IMO, it's not a regression. The patch which create the ipmi plugin
> sub-package (commit 5de7215 in Sep 26 2013) didn't include the file
> /etc/ovirt-plugins.d/ipmi.minimize. 
> 
> I have sent patch to gerrit which resolve this issue:
> http://gerrit.ovirt.org/#/c/31910/1

actually it's a regression bug due to Using "--list-plugins" parameter of edit-node to list Installed Plugins work well in rhevh6.5.
Also i noticed it's due to patch http://gerrit.ovirt.org/#/c/31428/ merged to lead 
to this bug occur.

Comment 5 Douglas Schilling Landgraf 2014-08-27 15:55:34 UTC
(In reply to haiyang,dong from comment #4)
> (In reply to Douglas Schilling Landgraf from comment #2)
> > Hi, 
> > 
> > IMO, it's not a regression. The patch which create the ipmi plugin
> > sub-package (commit 5de7215 in Sep 26 2013) didn't include the file
> > /etc/ovirt-plugins.d/ipmi.minimize. 
> > 
> > I have sent patch to gerrit which resolve this issue:
> > http://gerrit.ovirt.org/#/c/31910/1
> 
> actually it's a regression bug due to Using "--list-plugins" parameter of
> edit-node to list Installed Plugins work well in rhevh6.5.
> Also i noticed it's due to patch http://gerrit.ovirt.org/#/c/31428/ merged
> to lead 
> to this bug occur.

Hi haiyang,dong,

Correct, I misunderstood the use of edit-node. I have sent a patch to fix it. 

Thanks!

Comment 7 haiyang,dong 2014-10-11 06:48:46 UTC
Test version:
ovirt-node-tools-3.1.0-0.20.20141006gitc421e04.el7.noarch
ovirt-node-minimizer-3.1.0-0.20.20141006gitc421e04.el7.noarch
rhevh-7.0-20141006.0.el7ev.iso

Test step:
1. [root@dhcp-8-228 home]# edit-node --repo=edit-node.repo --install=ovirt-node-plugin-ipmi-3.1.0-0.19.20141001gitecafa88.el7.noarch.rpm rhevh-7.0-20141006.0.el7ev.iso 
rhevh-7.0-20141006.0.el7ev.iso
Warning: the state of SELinux is disabled
Installing Packages
Setting Up DNS For Chroot
Configuring Yum Repo
Setting pki entitlement
WARNING: rpm directory None does not exist
Running Yum Install
['ovirt-node-plugin-ipmi-3.1.0-0.19.20141001gitecafa88.el7.noarch.rpm']
..
fragmd5 = cda67547fbedcd2c69231457e4b765b3b88ae7e7485ae633a7962a7681dc
frags = 20
Setting supported flag to 0
Moving 'rhevh-7.0-20141006.0.el7ev.iso.edited.iso' to 'rhevh-7.0-20141006.0.ipmi.el7ev.iso'

2. [root@dhcp-8-228 home]# edit-node --list-plugins rhevh-7.0-20141006.0.ipmi.el7ev.iso 
rhevh-7.0-20141006.0.ipmi.el7ev.iso

Installed Plugins:

ovirt-node-plugin-ipmi

Warning: the state of SELinux is disabled


Now edit-node tools to use "--list-plugins" parameter to list Installed Plugins successfully.

So this bug has been fixed,change the status into "VERIFIED".

Comment 9 errata-xmlrpc 2015-02-11 21:01:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://rhn.redhat.com/errata/RHEA-2015-0160.html


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