josmo / drone-rancher

Drone plugin for triggering Rancher deployments
53 stars 35 forks source link

Unable to find service #20

Closed andruwa13 closed 7 years ago

andruwa13 commented 7 years ago

Hello, help please. I throw an error when deploying drone io on rancher Unable to find service demo/wordpress3

rancher:
  image: peloton/drone-rancher
  url: http://*****:8080
  access_key: ***
  secret_key: ******
  service: demo/wordpress3
  docker_image: registry.gitlab.com/*****/******

rancher_2017-04-02_02-08-22

josmo commented 7 years ago

I haven't had any issues in deploying out for this version :/ I would verify that the access key and secret key are for the correct environment... ie are you sure that's the production key and secret or is it for dev or an other where the service doesn't exist?

andruwa13 commented 7 years ago

rancher 2017-04-02 10-32-15

rancher 2017-04-02 10-39-33

andruwa13 commented 7 years ago

Test via docker rancher 3_1_3_u macbook-pro ments rancher -zsh 226x50 2017-04-02 10-57-26

josmo commented 7 years ago

@andruwa13 I've tried tons of different ways and I can't repro when the service exists and the key and secret have access to that service. have you tried a straight up docker hub image? Maybe it's a flaw in the error handling.

andruwa13 commented 7 years ago

hm, Now everything works