The oo-accept-node tool should detect the presence of V1 cartridge directories in gears to ensure that no V1 -> V2 cartridge migrations were skipped. This check should only run when upgrade checks are included.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/303d190915427512b0240d2eccc8000ad890f70d Fix bug 974203: add checks for V1 cartridge directories in gears
Will be in devenv 3358
Tested this bug on devenv_3660: Add a v1 cartridge directory into a v2 app to simulate v1 cartridge: [root@ip-10-194-25-230 phpv2-domx1]# ls -lh total 16K drwxr-xr-x. 4 root 263432635838294241837056 4.0K Jun 14 06:13 app-root drwxr-xr-x. 3 root root 4.0K Jun 14 06:14 git drwxr-xr-x. 14 263432635838294241837056 263432635838294241837056 4.0K Jun 14 06:14 php drwxr-xr-x. 14 263432635838294241837056 263432635838294241837056 4.0K Jun 14 06:16 php-5.3 Add a v1 cartridge symlink into a v2 app to simulate a app migrated from v1 to v2: [root@ip-10-194-25-230 rubyapp-domx1]# ls -lh total 12K drwxr-xr-x. 4 root 311378562301222535036928 4.0K Jun 14 06:18 app-root drwxr-xr-x. 3 root root 4.0K Jun 14 06:19 git drwxr-xr-x. 13 311378562301222535036928 311378562301222535036928 4.0K Jun 14 06:21 ruby lrwxrwxrwx. 1 root root 4 Jun 14 06:20 ruby-1.9 -> ruby [root@ip-10-194-25-230 rubyapp-domx1]# oo-accept-node --include-upgrade-checks FAIL: directory 263432635838294241837056 contains a V1 cartridge directory 1 ERRORS