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:
Two patches to achieve add --update option to edit-node: http://gerrit.ovirt.org/#/c/26778/ http://gerrit.ovirt.org/#/c/25470/
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
oVirt 3.5 has been released and should include the fix for this issue.