Bug 1021578

Summary: [deploy] Deployment checksum should exclude metadata.json
Product: OpenShift Online Reporter: Andy Goldstein <agoldste>
Component: ContainersAssignee: Andy Goldstein <agoldste>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: xtian
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: 2014-01-30 00:49:15 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:

Description Andy Goldstein 2013-10-21 14:48:57 UTC
In deployments.rb, calculate_deployment_checksum should be modified to exclude metadata.json from the checksum calculation.

Comment 1 Andy Goldstein 2013-10-24 20:35:36 UTC
https://github.com/openshift/origin-server/pull/3987

Comment 2 openshift-github-bot 2013-10-25 01:10:23 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/49f19c3c51f67e575d672d0f3cf60e3f57edac2f
Exclude metadata.json from deployment checksum

Also sync from runtime to deployment directories prior to doing
checksum calculation.

Bug 1021578

Comment 3 Qiushui Zhang 2013-10-28 03:26:35 UTC
Test on devenv_3953.
The "metadata.json" is already excluded when "calculate_deployment_checksum".

Gear deployment id is created correctly when deploying an app. No related error occurs.

Mark the bug as verified.