Bug 1073720 - OVIRT35 - [RFE] Add --update option to edit-node
Summary: OVIRT35 - [RFE] Add --update option to edit-node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.5.0
Assignee: Fabian Deutsch
QA Contact: bugs@ovirt.org
URL:
Whiteboard: node
Depends On:
Blocks: 1073724
TreeView+ depends on / blocked
 
Reported: 2014-03-07 02:56 UTC by haiyang,dong
Modified: 2016-02-10 19:39 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1073724 (view as bug list)
Environment:
Last Closed: 2014-10-17 12:42:32 UTC
oVirt Team: Node
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 25470 0 None None None Never
oVirt gerrit 26778 0 master MERGED re-use install instead of update function Never

Description haiyang,dong 2014-03-07 02:56:45 UTC
Description of problem:
Better to add --update option to edit-node to support update packages
by using edit-node tools

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 haiyang,dong 2014-04-15 06:18:59 UTC
Two patches to achieve add --update option to edit-node:
http://gerrit.ovirt.org/#/c/26778/
http://gerrit.ovirt.org/#/c/25470/

Comment 2 haiyang,dong 2014-04-15 06:24:39 UTC
Using the edit-node tools that depends on  two patches of Comment 1 to test follow:
[root@hp-z600-04 iso]# ./edit-node --repo=edit-node.repo --update=ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch.rpm rhevh-6.5-20140312.0.iso

rhevh-6.5-20140312.0.iso
Warning: the state of SELinux is disabled
Updating packages: ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch.rpm
Setting Up DNS For Chroot
Configuring Yum Repo
Running Yum Install
['ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch.rpm']
Setting up Local Package Process
Examining /tmp/yumrepo/ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch.rpm: ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch
Marking /tmp/yumrepo/ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch.rpm as an update to ovirt-node-plugin-cim-3.0.1-18.el6_5.7.noarch
Resolving Dependencies
--> Running transaction check
---> Package ovirt-node-plugin-cim.noarch 0:3.0.1-18.el6_5.7 will be updated
---> Package ovirt-node-plugin-cim.noarch 0:3.0.1-18.el6_5.8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
   Arch   Version          Repository                                      Size
================================================================================
Updating:
 ovirt-node-plugin-cim
   noarch 3.0.1-18.el6_5.8 /ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch  23 k

Transaction Summary
================================================================================
Upgrade       1 Package(s)
....
useradd: user 'cim' already exists
  Cleanup    : ovirt-node-plugin-cim-3.0.1-18.el6_5.7.noarch                2/2 
  Verifying  : ovirt-node-plugin-cim-3.0.1-18.el6_5.8.noarch                1/2 
  Verifying  : ovirt-node-plugin-cim-3.0.1-18.el6_5.7.noarch                2/2 

Updated:
  ovirt-node-plugin-cim.noarch 0:3.0.1-18.el6_5.8                               

Complete!

done
...
Setting supported flag to 0
Moving 'rhevh-6.5-20140312.0.iso.edited.iso' to 'rhevh-6.5-20140312.0.iso.edited.iso'

so this bug has been fixed by these two patches of Comment 1

Comment 3 Sandro Bonazzola 2014-10-17 12:42:32 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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