{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/1650","labels_url":"https://api.github.com/repos/openshift/origin/issues/1650/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1650/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/1650/events","html_url":"https://github.com/openshift/origin/issues/1650","id":67195041,"number":1650,"title":"Unable to run start-build after restarting my server","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/openshift/origin/milestones/3","html_url":"https://github.com/openshift/origin/milestones/0.5.0%20(beta3)","labels_url":"https://api.github.com/repos/openshift/origin/milestones/3/labels","id":989681,"number":3,"title":"0.5.0 (beta3)","description":"","creator":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":26,"state":"open","created_at":"2015-02-21T23:15:57Z","updated_at":"2015-04-20T17:03:39Z","due_on":"2015-04-16T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-04-08T18:54:34Z","updated_at":"2015-04-20T19:01:56Z","closed_at":null,"body":"I restarted my server after running a few builds, and now start-build is broken:\r\n\r\n```\r\n$ osc start-build ruby-sample-build\r\nF0408 18:52:44.617205   24019 startbuild.go:41] Error received from API: build \"ruby-sample-build-3\" already exists\r\n```\r\n\r\nThis should never happen\r\n\r\n```\r\n$ osc get bc -o yaml\r\napiVersion: v1beta1\r\ncreationTimestamp: null\r\nitems:\r\n- apiVersion: v1beta1\r\n  kind: BuildConfig\r\n  lastVersion: 4\r\n  metadata:\r\n    creationTimestamp: 2015-04-08T16:48:25Z\r\n    labels:\r\n      name: ruby-sample-build\r\n      template: application-template-stibuild\r\n    name: ruby-sample-build\r\n    namespace: default\r\n    resourceVersion: \"16430\"\r\n    selfLink: /osapi/v1beta1/buildConfigs/ruby-sample-build?namespace=default\r\n    uid: 12eb6b3c-de0f-11e4-9cef-080027c5bfa9\r\n  parameters:\r\n    output:\r\n      to:\r\n        kind: ImageStream\r\n        name: origin-ruby-sample\r\n    source:\r\n      git:\r\n        uri: git://github.com/openshift/ruby-hello-world.git\r\n      type: Git\r\n    strategy:\r\n      stiStrategy:\r\n        builderImage: openshift/ruby-20-centos7\r\n        image: openshift/ruby-20-centos7\r\n      type: STI\r\n  triggers:\r\n  - github:\r\n      secret: secret101\r\n    type: github\r\n  - generic:\r\n      secret: secret101\r\n    type: generic\r\n  - imageChange:\r\n      from:\r\n        name: ruby-20-centos7\r\n      image: openshift/ruby-20-centos7\r\n      imageRepositoryRef:\r\n        name: ruby-20-centos7\r\n      lastTriggeredImageID: openshift/ruby-20-centos7:latest\r\n      tag: latest\r\n    type: imageChange\r\nkind: List\r\nresourceVersion: 16463\r\n```\r\n```\r\n$ osc get builds -o yaml\r\napiVersion: v1beta1\r\ncreationTimestamp: null\r\nitems:\r\n- apiVersion: v1beta1\r\n  completionTimestamp: 2015-04-08T18:50:12Z\r\n  config:\r\n    kind: BuildConfig\r\n    name: ruby-sample-build\r\n    namespace: default\r\n  kind: Build\r\n  metadata:\r\n    creationTimestamp: 2015-04-08T18:43:53Z\r\n    labels:\r\n      buildconfig: ruby-sample-build\r\n      name: ruby-sample-build\r\n      template: application-template-stibuild\r\n    name: ruby-sample-build-3\r\n    namespace: default\r\n    resourceVersion: \"16223\"\r\n    selfLink: /osapi/v1beta1/builds/ruby-sample-build-3?namespace=default\r\n    uid: 34b7250c-de1f-11e4-aca4-080027c5bfa9\r\n  parameters:\r\n    output:\r\n      dockerImageReference: 172.30.17.133:5000/default/origin-ruby-sample\r\n      imageTag: default/origin-ruby-sample\r\n      registry: 172.30.17.133:5000\r\n      to:\r\n        kind: ImageStream\r\n        name: origin-ruby-sample\r\n    source:\r\n      git:\r\n        uri: git://github.com/openshift/ruby-hello-world.git\r\n      type: Git\r\n    strategy:\r\n      stiStrategy:\r\n        builderImage: openshift/ruby-20-centos7:latest\r\n        image: openshift/ruby-20-centos7:latest\r\n      type: STI\r\n  status: Failed\r\n- apiVersion: v1beta1\r\n  completionTimestamp: 2015-04-08T18:50:12Z\r\n  config:\r\n    kind: BuildConfig\r\n    name: ruby-sample-build\r\n    namespace: default\r\n  kind: Build\r\n  metadata:\r\n    creationTimestamp: 2015-04-08T18:46:22Z\r\n    labels:\r\n      buildconfig: ruby-sample-build\r\n      name: ruby-sample-build\r\n      template: application-template-stibuild\r\n    name: ruby-sample-build-4\r\n    namespace: default\r\n    resourceVersion: \"16216\"\r\n    selfLink: /osapi/v1beta1/builds/ruby-sample-build-4?namespace=default\r\n    uid: 8d553178-de1f-11e4-aca4-080027c5bfa9\r\n  parameters:\r\n    output:\r\n      dockerImageReference: 172.30.17.133:5000/default/origin-ruby-sample\r\n      imageTag: default/origin-ruby-sample\r\n      registry: 172.30.17.133:5000\r\n      to:\r\n        kind: ImageStream\r\n        name: origin-ruby-sample\r\n    source:\r\n      git:\r\n        uri: git://github.com/openshift/ruby-hello-world.git\r\n      type: Git\r\n    strategy:\r\n      stiStrategy:\r\n        builderImage: openshift/ruby-20-centos7:latest\r\n        image: openshift/ruby-20-centos7:latest\r\n      type: STI\r\n  status: Failed\r\nkind: List\r\nresourceVersion: 16492\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/94541492","html_url":"https://github.com/openshift/origin/issues/1650#issuecomment-94541492","issue_url":"https://api.github.com/repos/openshift/origin/issues/1650","id":94541492,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T19:01:56Z","updated_at":"2015-04-20T19:01:56Z","body":"This might have been fixed by andy's change to the trigger.\n\n----- Original Message -----\n> otherwise no, nothing that i know of was specifically targeted at or changed\n> this flow.\n> \n> \n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/openshift/origin/issues/1650#issuecomment-94522162\n"}}