-
Notifications
You must be signed in to change notification settings - Fork 223
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
Error deploying faas-cli #144
Comments
I don't have anything running on :8080 |
Please try changing your yaml from localhost to 127.0.0.1 |
I'm a little concerned that you answered no to Swarm or K8S. Where did you install openfaas @cmollis? The cli needs to be pointed at the openfaas gateway in order to deploy. |
Yeah.. that's the problem. Sorry new to this.. I didn't have the Swarm
running which is (probably) why it's not working. Please close this
issue. I will re-open once I get everything configured correctly.
…On Thu, Oct 5, 2017 at 3:27 PM, Richard Gee ***@***.***> wrote:
I'm a little concerned that you answered no to Swarm or K8S. Where did you
install openfaas @cmollis <https://github.com/cmollis>? The cli needs to
be pointed at the openfaas gateway in order to deploy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALskFEW73Qf4G6YpjR7_mhXsiyzVaMXks5spS25gaJpZM4PvcNm>
.
|
I was reading a few of the blog posts.. and just focused on the function
creation part using the CLI tool (which now I see was dumb). Having never
deployed a swarm, I kind of *skipped* that part.
I ran one of the tutorials that used the docker playground and I saw what
I was doing wrong.
Thanks for responding.. sorry for the bother.
…On Thu, Oct 5, 2017 at 3:37 PM, Alex Ellis ***@***.***> wrote:
@cmollis <https://github.com/cmollis> which guide / link were you
following? Maybe we need to make this clearer. Thanks @rgee0
<https://github.com/rgee0> for helping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALskLkP7RFNDRZJd4HaGgztwXoh2rWYks5spTAOgaJpZM4PvcNm>
.
|
When I started working on this project I ran into the same issue. I suspect that folks with 0 Docker experience might run into this unless the blog posts all explicitly state that Step 1 is to run |
right.. I focused on the 'python' tutorial, when I should have read the
node tutorial.. This spells it out pretty well, actually.
https://blog.alexellis.io/quickstart-openfaas-cli/
when I went back and created the swarm first and then deployed the faas
stack, everything went fine with my python sample func.
thanks again... it's all pretty cool, actually.
…On Thu, Oct 5, 2017 at 6:10 PM, Eric Stoekl ***@***.***> wrote:
When I started working on this project I ran into the same issue. I
suspect that folks with 0 Docker experience might run into this unless the
blog posts all explicitly state that Step 1 is to run docker swarm init,
with the --advertise-addr flag if necessary.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALskDpBhxvKDT-n2ekG1jEYa9S17U4Kks5spVPJgaJpZM4PvcNm>
.
|
Got the same error following https://blog.alexellis.io/quickstart-openfaas-cli/ |
@gregbenner which error did you run into? |
@alexellis |
@gregbenner What was wrong? What needs changing? |
It's missing a deploy local swarm step in the docs I believe? |
As per https://github.com/openfaas/faas/blob/master/TestDrive.md |
Isn't it in the pre-requisites section? The Docker Swarm link takes you off to here |
100% it is, I just re-read now and saw it there. Sorry, that sorts out my issue. #dyslexia |
Thanks guys 👍 glad you are up and running now. Locking the thread. |
Derek lock |
trying to deploy the sample.. I was able to successfully build:
Deploying: hello-python.
Error removing existing function: Delete http://localhost:8080/system/functions: dial tcp [::1]:8080: getsockopt: connection refused, gateway=http://localhost:8080, functionName=hello-python
Is FaaS deployed? Do you need to specify the -gateway flag?
Post http://localhost:8080/system/functions: dial tcp [::1]:8080: getsockopt: connection refused
Expected Behaviour
It should deploy
Current Behaviour
I see the above
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Docker version
docker version
(e.g. Docker 17.0.05 ):Version 17.09.0-ce-mac33 (19543)
Are you using Docker Swarm or Kubernetes (FaaS-netes)?
no
Operating System and version (e.g. Linux, Windows, MacOS):
MacOS
Link to your project or a code example to reproduce issue:
The text was updated successfully, but these errors were encountered: