Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline failing with no error description (web) and log message "Error occurred propagating authentication context" #932

Closed
nathan-v opened this issue Jun 10, 2016 · 2 comments

Comments

@nathan-v
Copy link

AWS AMI using AWS IAM role for permissions. All functionality (Creating ASGs, ELBs, SGs, etc) is working correctly. I created and configured a pipeline. At the deployment step it appears to successfully read/pull the ASG config and then this line below shows in the logs. At that point the pipeline goes to a fatal state with no useful error message.

2016-06-09 22:28:52.300  INFO 21546 --- [  Retrofit-/ops] c.n.s.orca.clouddriver.KatoService       : <--- HTTP 400 http://localhost:7002/ops (45ms)
2016-06-09 22:28:52.301 ERROR 21546 --- [cTaskExecutor-1] c.n.s.security.AuthenticatedRequest      : Error occurred propagating authentication context

retrofit.RetrofitError: 400 Bad Request
    at retrofit.RetrofitError.httpError(RetrofitError.java:40)
    at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:388)
    at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)
    at retrofit.RestAdapter$RestHandler$1.invoke(RestAdapter.java:265)
    at retrofit.RxSupport$2.run(RxSupport.java:55)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at retrofit.Platform$Base$2$1.run(Platform.java:94)
    at java.lang.Thread.run(Thread.java:745)

2016-06-09 22:28:52.306  INFO 21546 --- [cTaskExecutor-1] c.n.s.o.kato.tasks.DisableInstancesTask  : Pipeline:4d118ed6-03e2-4f93-8ab2-25286ed8e500 disableInstances TERMINAL -- Batch step id: 28,  Task Outputs: {
  "exception" : {
    "exceptionType" : "RetrofitError",
    "operation" : "pushComplete",
    "details" : {
      "error" : "Validation Failed",
      "errors" : [ "EnableDisableInstanceDiscoveryDescription.credentials.discovery.not.configured" ],
      "responseBody" : "{\n  \"error\" : \"Validation Failed\",\n  \"errors\" : [ \"EnableDisableInstanceDiscoveryDescription.credentials.discovery.not.configured\" ],\n  \"status\" : \"BAD_REQUEST\"\n}",
      "kind" : "HTTP",
      "status" : 400,
      "url" : "http://localhost:7002/ops"
    },
    "shouldRetry" : false
  }
@robertsigler
Copy link

What does your clouddriver.yml configuration look like? Does your aws.account configuration have a 'discovery' URL property? I ran into this issue because I had not failed to configure discovery with my Eureka URL.

@ajordens
Copy link
Contributor

ajordens commented Oct 6, 2016

Closing due to lack of activity.

Feel free to reach out to the Spinnaker slack if there are continued issues.

@ajordens ajordens closed this as completed Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants