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

aurora update should fail gracefully if job is not a service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.5.0
    • 0.8.0
    • Client
    • None
    • Twitter Aurora Q1'15 Sprint 1, Twitter Aurora Q1'15 Sprint 2
    • 2

    Description

      14:31 < bhuvan> a quick note on aurora. when we update a job and if the job is finished before update command, the update command fail. is it a known issue?
      14:32 < wickman> i think updates require that the job is a Service(), which means there is no such thing as "finished"
      14:32 < wickman> since on completion they will just be restarted
      14:34 ! dlester dlester@apache/committer/dlester has joined #aurora
      14:34 < bhuvan> does it mean we can't update a job that is running with service=False?
      14:35 < wickman> i believe so (somebody else correct me if i'm wrong)
      14:35 < wickman> i think the reason it's that way is because kill/create has the same semantics for something with service=False
      14:40 < mkhutornenko> bhuvan: thanks for brining this up. I think the updater should do a pre-check and bail out gracefully if the job is not a service
      14:40 < bhuvan> mkhutornenko: ok. i'll file a bug.
      14:40 < mkhutornenko> bhuvan: thanks, I was just typing to suggest it

      Attachments

        Issue Links

          Activity

            People

              wfarner Bill Farner
              bhuvan Bhuvaneswaran A
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: