[ovirt-devel] custom exit codes from engine-setup/cleanup

Sandro Bonazzola sbonazzo at redhat.com
Thu Feb 12 10:41:15 UTC 2015


Adding infra.

Il 12/02/2015 11:29, Yedidyah Bar David ha scritto:
> Hi all,
> 
> The patch [1] for [2] is mostly ready.
> 
> The patch [3] for otopi was already merged (by Alon) to master.
> It includes the following codes:
> 0 - success
> 1 - general error - the default if there was an error
> 2 - initialization error - returned if there was an error while loading
> plugins, before actually starting to run them
> 
> These apply to all otopi-based tools.
> 
> patch [1], not merged yet, currently adds this code, affecting engine-cleanup:
> 11 - cleanup called without setup.
> Returned in addition to the existing message:
> Could not detect a completed product setup
> Please use the cleanup utility only after a setup or after an upgrade from an older installation.
> 
> Comments are welcome:
> 
> What other codes do you want to see?
> For automated testing or any other use?
> 
> Do you think we should group them and allocate somehow?
> Just add a code whenever needed?
> 
> If last is 'Yes', no need to think very much about the previous ones...
> 
> [1] http://gerrit.ovirt.org/35503
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1079726
> [3] http://gerrit.ovirt.org/35632
> 
> Thanks,
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Infra mailing list