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

Error installing Grafana #98

Closed
tomtom215 opened this issue Apr 15, 2020 · 10 comments · Fixed by #99
Closed

Error installing Grafana #98

tomtom215 opened this issue Apr 15, 2020 · 10 comments · Fixed by #99

Comments

@tomtom215
Copy link

Expected Behaviour

Install Grafana

Current Behaviour

Installation fails

Possible Solution

Verifying the 'stable' repo for grafana

Steps to Reproduce (for bugs)

  1. install arkade
  2. run 'arkade install grafana'

Context

Your Environment

  • What Kubernetes distribution are you using?
k3s 1.17.2
kubectl version
1.18
  • Operating System and version (e.g. Linux, Windows, MacOS):
cat /etc/os-release
VERSION="18.04.4 LTS (Bionic Beaver)"
  • What arkade version is this?
arkade version
0.2.8
@alexellis
Copy link
Owner

Sorry I am going to need more information than that to be able to help.

Can you paste the whole console output please?

@alexellis
Copy link
Owner

cc @aidun @amalkh5

@aidun
Copy link
Contributor

aidun commented Apr 15, 2020

I tried to verify this behavior. With arkade@master and k3d@1.17.4 the install process works fine. @tomtom215 if you can provide more information, I can look a bit more specific.

@amalkh5
Copy link
Contributor

amalkh5 commented Apr 15, 2020

I did get the same error Error: repo stable not found with arkade@0.2.8 and k8s@1.18.0.

$ arkade install grafana
2020/04/15 21:24:13 Client: x86_64, Darwin
2020/04/15 21:24:13 User dir established as: /Users/amal/.arkade/
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "inlets" chart repository
Update Complete. ⎈ Happy Helming!⎈
Error: repo stable not found
Error: exit code 1 ```

@aidun
Copy link
Contributor

aidun commented Apr 15, 2020

😅 addHelmRepo is missing in the Code. I thought Helm has always a stable repo 🤔

@alexellis
Copy link
Owner

Not with helm 3. Who authored this app? We just need the add statement, should be present in the nginx-ingress app or similar.

@tomtom215
Copy link
Author

I did get the same error Error: repo stable not found with arkade@0.2.8 and k8s@1.18.0.

$ arkade install grafana
2020/04/15 21:24:13 Client: x86_64, Darwin
2020/04/15 21:24:13 User dir established as: /Users/amal/.arkade/
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "inlets" chart repository
Update Complete. ⎈ Happy Helming!⎈
Error: repo stable not found
Error: exit code 1 ```

Apologies for the initial lack of details (dinner was ready). @amalkh5 this is the same error I saw

arkade install grafana
2020/04/15 19:42:50 Client: x86_64, Linux
2020/04/15 19:42:50 User dir established as: /home/tom/.arkade/
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "jetstack" chart repository
...Successfully got an update from the "openfaas" chart repository
Update Complete. ⎈ Happy Helming!⎈
Error: repo stable not found
Error: exit code 1

@aidun
Copy link
Contributor

aidun commented Apr 15, 2020

@alexellis I can fix it. Should be no problem.

@alexellis
Copy link
Owner

Thanks @aidun

aidun added a commit to aidun/arkade that referenced this issue Apr 16, 2020
Signed-off-by: Markus Hartmann <markush1986@gmail.com>
@aidun
Copy link
Contributor

aidun commented Apr 16, 2020

PR is ready, tested with k3d and removed stable repo before testing.

alexellis pushed a commit that referenced this issue Apr 16, 2020
Signed-off-by: Markus Hartmann <markush1986@gmail.com>
aidun added a commit to aidun/arkade that referenced this issue Jun 16, 2020
- Helm3 only
- No arm support

Signed-off-by: Markus Hartmann <markush1986@gmail.com>

Updated comment

Signed-off-by: kadern0 <kaderno@gmail.com>

Fix download of Helm on Git Bash

Fixes: alexellis#92

Tested with a unit test, with similar logic to the get.sh
script.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Fix issue with Istio init timing

Fixes: 94

A user reported an error about a missing Istio CRD and it
appears that one must wait for at least three bespoke init
jobs to complete before attempting to do the installation.
With KinD, on my home Internet connection this took several
minutes to run.

Technique sourced from Flagger / @stefanprodan.

In the future, when arkade uses istioctl, hopefully all this
bespoke code won't be required for an unattended installation.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Fixes alexellis#82: Add Jenkins App

- Uses Jenkins Helm Chart
- Helm 3 only
- no ARM support
- Only default settings

Signed-off-by: Markus Hartmann <markush1986@gmail.com>

Update Jenkins messages

* updated the jenkins message to wrap to 80 chars for
readability
* extracted variable for non-Intel architecture warning to
reduce duplicated code
* rollout status command added since Jenkins with KinD took
around 6 minutes to come up and looked like it might have
failed to work

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Inline travis build environment

Prevents the travis build using multiple stages when only
one is required.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Fixes alexellis#98: Add stable repo for grafana

Signed-off-by: Markus Hartmann <markush1986@gmail.com>

Add max-inflight flag to openfaas

Specify max tasks to execute in parallel per queue worker

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Fix issue with max_inflight flag mismatch

Fixes: alexellis#106

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Update name and location of nginx-ingress chart

Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>

Trim whitespace from license read from file

A user reported an error when they left whitespace inside a
license JWT file, so this forces a trim of any new lines or
spaces to help prevent errors.

Tested with a PRO license.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Update as per lgtm.com

Analysis showed a couple of unused variables

https://lgtm.com/projects/g/alexellis/arkade/?mode=list

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Update README.md with the renaming of nginx-ingress

Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>

Add note for running Nginx on K8s 1.18

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Add new t-shirt

Add sponsored app offer via OpenFaaS Ltd

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Add subscription link

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Enable more verbose errors in helm download

Print an error if unable to create folder for helm.
Print an error if getting non 200 code from server for
download.

Testing: manual install with local binary of openfaas app after
removing .arkade folder.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Allow namespace for inlets-operator with helm3

With helm3 the namespace isn't an issue - so allow the user
to give an alternative namespace.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Update README.md

Refactor into pkg using an options input and add Loki App

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>

Update .gitignore

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Remove k3sup reference

It's been long enough for people to have switched over from
k3sup app install, the note should not be required any longer.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Update headings

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Add "get" command

The get command downloads tools from GitHub release pages
and from custom URLs using a go template to define the
URL and filename according to OS and architecture.

Tested with unit tests and with the two initial apps: faas-cli
and kubectl.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

Document "arkade get"

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
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

Successfully merging a pull request may close this issue.

4 participants