Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1) Install a custom cartridge with two software versions. Easiest way to do this is to copy the mysql cartridge and modify the menifest.yml to have a different cartirdge-version and name
2) Install the custom cartridge
oo-admin-cartridge -a install -s /path/to/custom/cart/source
3) Check the cartridge list to verify the new versions are installed
4) Attempt to remove one of the cartridge versions:
oo-admin-cartridge -a erase -c ... -v 5.1
The command reports 'success', but the cartridge is still shown in `oo-admin-cartridge --list`
The command reports 'success' and the cartridge is actually deleted.
Manually deleting the cartridge resolves the issue, but removes both versions of the cartridge.
In step 4, the command should include the -n argument.
Commit pushed to master at https://github.com/openshift/origin-server
Bug 1311722 Modify docs for oo-admin-cartridge -a erase command
This PR modifies the manpage and the output of --help option to
highlight the fact that 'oo-admin-cartridge -a erase' will remove all
version of given cartridge version despite users may only specify
only one version in '-v' argument.
Signed-off-by: Vu Dinh <firstname.lastname@example.org>
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.