Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-794

Client erroneously prints "Job not found" when job exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 0.8.0
    • Client, Usability
    • None
    • Twitter Aurora Q4 Sprint 3

    Description

      In this case, i'm trying to create a job that already exists. The 'message from scheduler' lines have the correct error, but the client goes on to claim "Job not found". I'm not sure if there is really a good string for the client to make up in this case, as the scheduler will have the real reason the request failed.

      $ 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
      

      Attachments

        Issue Links

          Activity

            People

              zmanji Zameer Manji
              wfarner Bill Farner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: