Skip to content

OSC start-build does not work when running all-in-on with https #947

Closed

Description

@jcantrill

Started all-in-one server with https

I0209 13:35:08.571943   17842 master.go:419] Started Kubernetes API at https://10.0.2.15:8443/api/v1beta1
I0209 13:35:08.572001   17842 master.go:419] Started Kubernetes API at https://10.0.2.15:8443/api/v1beta2
I0209 13:35:08.572019   17842 master.go:419] Started Kubernetes API at https://10.0.2.15:8443/api/v1beta3 (experimental)
I0209 13:35:08.572035   17842 master.go:419] Started OpenShift API at https://10.0.2.15:8443/osapi/v1beta1

Created a buildconfig and tried to start a build
$ osc start-build ruby-sample-build

Connection refused:

F0209 14:03:45.607945   18188 startbuild.go:46] Get http://localhost:8080/osapi/v1beta1/buildConfigs/ruby-sample-build?namespace=default: dial tcp 127.0.0.1:8080: connection refused

The URL is completely wrong and should be something like:

https://localhost:8443/osapi/v1beta1/buildConfigHooks/ruby-sample-build/secret101/generic?namespace=test

Activity

  1. smarterclayton commented on Feb 10, 2015

    @smarterclayton
    Contributor

    start-build creates a new build directly. It's not firing hooks.

  2. smarterclayton commented on Feb 10, 2015

    @smarterclayton
    Contributor

    The URL being wrong seems like you have a bad config somewhere on disk (or the KUBERNETES_MASTER or KUBECONFIG env vars set and pointing to an older file)?

  3. added
    kind/bug
    on Feb 10, 2015
  4. jcantrill commented on Feb 19, 2015

    @jcantrill
    ContributorAuthor

    closing..tried again after pull and removing artifacts on disk....chaulking up to user error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions