{"action":"created","issue":{"url":"https://api.github.com/repos/openfaas/faas-netes/issues/333","repository_url":"https://api.github.com/repos/openfaas/faas-netes","labels_url":"https://api.github.com/repos/openfaas/faas-netes/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas-netes/issues/333/comments","events_url":"https://api.github.com/repos/openfaas/faas-netes/issues/333/events","html_url":"https://github.com/openfaas/faas-netes/issues/333","id":390416626,"node_id":"MDU6SXNzdWUzOTA0MTY2MjY=","number":333,"title":"Gateway is having latent communication to the faas-netes container","user":{"login":"andelhie","id":8453464,"node_id":"MDQ6VXNlcjg0NTM0NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8453464?v=4","gravatar_id":"","url":"https://api.github.com/users/andelhie","html_url":"https://github.com/andelhie","followers_url":"https://api.github.com/users/andelhie/followers","following_url":"https://api.github.com/users/andelhie/following{/other_user}","gists_url":"https://api.github.com/users/andelhie/gists{/gist_id}","starred_url":"https://api.github.com/users/andelhie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andelhie/subscriptions","organizations_url":"https://api.github.com/users/andelhie/orgs","repos_url":"https://api.github.com/users/andelhie/repos","events_url":"https://api.github.com/users/andelhie/events{/privacy}","received_events_url":"https://api.github.com/users/andelhie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T21:29:14Z","updated_at":"2018-12-13T08:58:11Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behaviour\r\n<!--- If you're describing a bug, tell us what should happen -->\r\nRan in to a bug with the Gateway Pod.  When it is running at first deployed i see it having some very latent connections times to the faas-netes container.  \r\n\r\n## Current Behaviour\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n\r\nI saw this with trying to log in to the cli.\r\n\r\n```\r\nWARNING! Using --password is insecure, consider using: cat ~/faas_pass.txt | faas-cli login -u user --password-stdin\r\nCalling the OpenFaaS server to validate the credentials...\r\nWARNING! Communication is not secure, please consider using HTTPS. Letsencrypt.org offers free SSL/TLS certificates.\r\ncredentials saved for admin http://openfaas.mydomain.com:8080\r\n```\r\n\r\nIn the logs I saw this.\r\n\r\n```\r\n2018/12/12 19:15:30 Forwarded [GET] to /system/functions - [200] - 51.925134 seconds\r\n```\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\nNot sure this is a true solution but what worked for me was to add an env value to the gateway container of `write_debug: true`.\r\n\r\nIt then worked just fine with good numbers.\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Install K8s 1.12.2 with Kubespray 2.8 and checked out 2.8 tag\r\n2.install latest helm\r\n3.install openFaaS with helm\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\n\r\nI cloud not log in to the CLI but the UI worked but loaded very slowly.\r\n\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* FaaS-CLI version ( Full output from: `faas-cli version` ):\r\nversion: 0.8.1\r\n* Docker version `docker version` (e.g. Docker 17.0.05 ):\r\nVersion:           18.06.1-ce\r\n* What version and distriubtion of Kubernetes are you using? `kubectl version`\r\nClient Version: version.Info{Major:\"1\", Minor:\"12\", GitVersion:\"v1.12.3\", GitCommit:\"435f92c719f279a3a67808c80521ea17d5715c66\", GitTreeState:\"clean\", BuildDate:\"2018-11-26T12:46:57Z\", GoVersion:\"go1.10.4\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"12\", GitVersion:\"v1.12.3\", GitCommit:\"435f92c719f279a3a67808c80521ea17d5715c66\", GitTreeState:\"clean\", BuildDate:\"2018-11-26T12:46:57Z\", GoVersion:\"go1.10.4\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n* Operating System and version (e.g. Linux, Windows, MacOS):\r\nCentOS Linux release 7.6.1810 (Core)\r\n* Link to your project or a code example to reproduce issue:\r\n\r\n* What network driver are you using and what CIDR? i.e. Weave net / Flannel\r\nCalico 10.233.0.0/18"},"comment":{"url":"https://api.github.com/repos/openfaas/faas-netes/issues/comments/446891137","html_url":"https://github.com/openfaas/faas-netes/issues/333#issuecomment-446891137","issue_url":"https://api.github.com/repos/openfaas/faas-netes/issues/333","id":446891137,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njg5MTEzNw==","user":{"login":"ivanayov","id":4160133,"node_id":"MDQ6VXNlcjQxNjAxMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/4160133?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanayov","html_url":"https://github.com/ivanayov","followers_url":"https://api.github.com/users/ivanayov/followers","following_url":"https://api.github.com/users/ivanayov/following{/other_user}","gists_url":"https://api.github.com/users/ivanayov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanayov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanayov/subscriptions","organizations_url":"https://api.github.com/users/ivanayov/orgs","repos_url":"https://api.github.com/users/ivanayov/repos","events_url":"https://api.github.com/users/ivanayov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanayov/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T08:58:11Z","updated_at":"2018-12-13T08:58:11Z","author_association":"MEMBER","body":"Hi @andelhie,\r\n\r\nWhat was the CPU usage when this happened? How many RAM do you have?\r\nTo me it seems like a problem with the VM, but if there's something that needs optimisation, we'd like to sort it out.\r\nCan you reproduce the same with `openfaas-operator`?\r\n\r\nThanks,\r\nIvana\r\n\r\ncc @stefanprodan "}}
{"actor":{"display_login":"ivanayov"}}