Bug 1021578 - [deploy] Deployment checksum should exclude metadata.json
Summary: [deploy] Deployment checksum should exclude metadata.json
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-21 14:48 UTC by Andy Goldstein
Modified: 2015-05-14 23:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:49:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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