Bug 971176 - oo-accept-node doesn't catch when the .cartridge_repository is out of date
Summary: oo-accept-node doesn't catch when the .cartridge_repository is out of date
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: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-05 21:50 UTC by Thomas Wiest
Modified: 2015-05-14 23:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-24 14:51:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Wiest 2013-06-05 21:50:34 UTC
Description of problem:
We ran into an issue today in PROD where:
/var/lib/openshift/.cartridge_repository

didn't contain the latest cartridge information.

To fix it, we simply ran this:
oo-admin-cartridge -R -a install -s /usr/libexec/openshift/cartridges/v2/

Dan McPherson asked me to file a bug for this against oo-accept-node.


Version-Release number of selected component (if applicable):
openshift-origin-node-util-1.9.9-1.el6oso.noarch


How reproducible:
unknown

Steps to Reproduce:
1. unknown, found in PROD


Actual results:
oo-accept-node didn't find the discrepancy. 


Expected results:
oo-accept-node should find the discrepancy.

Comment 1 Rob Millner 2013-06-18 03:28:09 UTC
Pull request:
https://github.com/openshift/origin-server/pull/2874

Also added tests for whether the manifest can validate.

Comment 2 openshift-github-bot 2013-06-18 04:35:02 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/115a0649cd6f82684498b2b6f52c13a98972da43
Bug 971176 - Catch cartridge repository issues.

Comment 3 Meng Bo 2013-06-18 08:05:50 UTC
[root@ip-10-151-124-228 metadata]# oo-accept-node 
FAIL: failed to parse manifest file: /usr/libexec/openshift/cartridges/v2/mock/metadata/manifest.yml
1 ERRORS

[root@ip-10-151-124-228 metadata]# oo-accept-node 
FAIL: cart repo version is older than /usr/libexec/openshift/cartridges/v2/mock/metadata/manifest.yml
1 ERRORS


Checked on devenv_3376, the inconsistent manifest file will be reported by oo-accept-node.


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