Bug 963931

Summary: Set correct ownership/SEL context of V2 cartridge directory during migration before re-lock
Product: OKD Reporter: Paul Morie <pmorie>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-11 03:59:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Morie 2013-05-16 19:23:14 UTC
Set correct ownership/SEL context of V2 cartridge directory during migration before re-lock

Comment 1 Paul Morie 2013-05-16 21:28:04 UTC
PR submitted

Comment 3 Meng Bo 2013-05-20 08:26:42 UTC
Checked on devenv_3247, SELinux context had been reset during migration.

Marking step mongodb_hook complete
Marking step mongodb_ownership complete   <------------
Marking step mongodb_connect_frontend complete
Pre-migration state: started
Post-migration response code: 200
Marking step validate_gear complete
Cleaning up after migration***time_migrate_on_node_measured_from_node=89110***

***time_redeploy_httpd_proxy=0***
***time_restart=0***
***time_total_migrate_gear_measured_from_broker=89434***


The current context of the gear dir is:
system_u:object_r:openshift_var_lib_t:s0:c0,c507