Bug 688329

Summary: Support for limited ability to upgrade/install RPMs during runtime
Product: Red Hat Enterprise Linux 6 Reporter: Perry Myers <pmyers>
Component: ovirt-nodeAssignee: Alan Pevec <apevec>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: acathrow, apevec, bsarathy, cshao, gouyang, leiwang, moli, ovirt-maint, ycui
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-11 16:04:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 688330    

Description Perry Myers 2011-03-16 19:57:58 UTC
Description of problem:
In some very limited use cases (including support situations) it may be necessary to upgrade or install RPMs during RHEVH runtime.  These modifications would be non-persistent since RHEVH filesystem is backed by an ISO image, but for some usages this is ok.

In order to support this in a controlled manner we need:
* wrapper around rpm command that remounts the rootfs as read/write
* does a dry run of the rpm install to determine what files would be installed 
  or modified and uses this info and a policy file to determine if the operation
  should be permitted
* creates a manifest file with sha1 hashes so that the pre and post hashes can 
  be compared

Certain rpms would never be applicable for this operation, such as the kernel and low level storage RPMs (lvm2, dmm)