Bug 1035185

Summary: logrotate cronjob error
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: libvirt-sandboxAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: amit.shah, berrange, dwalsh, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 09:42:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amit Shah 2013-11-27 09:10:20 UTC
Description of problem:

I'm getting this in my mail after installing libvirt-sandbox:


/etc/cron.daily/virt-sandbox-service.logrotate:

usage: virt-sandbox-service [-h] [-c URI]

                            {create,clone,connect,delete,execute,reload,upgrade}
                            ...
virt-sandbox-service: error: invalid choice: 'list' (choose from 'create', 'clone', 'connect', 'delete', 'execute', 'reload', 'upgrade')

--

libvirt-sandbox-0.5.1-1.fc20.x86_64

Comment 1 Daniel Berrangé 2013-11-27 09:22:02 UTC
Are you sure you are still getting that mail now.  That was a bug in 0.5.0 which is fixed in 0.5.1. The Cron file now uses 'virsh list' instead.

Comment 2 Amit Shah 2013-11-27 09:42:11 UTC
(In reply to Daniel Berrange from comment #1)
> Are you sure you are still getting that mail now.  That was a bug in 0.5.0
> which is fixed in 0.5.1. The Cron file now uses 'virsh list' instead.

Looks like I updated libvirt-sandbox just a few mins back, and the last cron run happened just before the update.  Sorry for the noise.