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.
Pull request: https://github.com/openshift/origin-server/pull/2874 Also added tests for whether the manifest can validate.
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.
[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.