Bill Farner created AURORA-793:
----------------------------------
Summary: Client prints redundant messages
Key: AURORA-793
URL: https://issues.apache.org/jira/browse/AURORA-793
Project: Aurora
Issue Type: Bug
Components: Client, Usability
Reporter: Bill Farner
Priority: Blocker
The client has a tendency to print the same message multiple times:
Job configuration does not exist:
{noformat}
$ aurora2 job create -v devcluster/www-data/devel/not_here
/vagrant/hello_world.aurora
log(info): Error executing command: Error loading configuration: [Errno 2] No
such file or directory: '/vagrant/hello_world.aurora'
log(info): Error executing command: Error loading configuration: [Errno 2] No
such file or directory: '/vagrant/hello_world.aurora'
Error executing command: Error loading configuration: [Errno 2] No such file or
directory: '/vagrant/hello_world.aurora'
{noformat}
Job already exists:
{noformat}
$ aurora2 job create -v devcluster/www-data/devel/hello_world
/vagrant/hello_world.aurora
log(info): Creating job hello_world
log(info): Creating job hello_world
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Message from scheduler: Job already exists:
www-data/devel/hello_world
log(info): Message from scheduler: Job already exists:
www-data/devel/hello_world
job create failed because job not found
log(info): Error executing command: Job not found
log(info): Error executing command: Job not found
Error executing command: Job not found
{noformat}
Referenced job name does not exist:
{noformat}
$ aurora2 job create -v devcluster/www-data/devel/not_here
/vagrant/hello_world.aurora
log(info): Error executing command: Error loading configuration: Could not find
job devcluster/www-data/devel/not_here
Candidates are:
devcluster/www-data/devel/hello_world
log(info): Error executing command: Error loading configuration: Could not find
job devcluster/www-data/devel/not_here
Candidates are:
devcluster/www-data/devel/hello_world
Error executing command: Error loading configuration: Could not find job
devcluster/www-data/devel/not_here
Candidates are:
devcluster/www-data/devel/hello_world
{noformat}
Python error in job configuration:
{noformat}
$ aurora2 job create -v devcluster/www-data/devel/not_here
/vagrant/hello_world.aurora
log(info): Error executing command: Error loading configuration: [Errno 2] No
such file or directory: '/vagrant/hello_world.py'
log(info): Error executing command: Error loading configuration: [Errno 2] No
such file or directory: '/vagrant/hello_world.py'
Error executing command: Error loading configuration: [Errno 2] No such file or
directory: '/vagrant/hello_world.py'
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)