in4it / spinnaker-course

Course files for Continuous Deployments using Spinnaker on AWS and Kubernetes
https://www.udemy.com/course/continuous-deployments-using-spinnaker-on-aws-and-kubernetes/?referralCode=785B43B0D797B78E4B2C
73 stars 339 forks source link

Unable to Install Spinnaker - Vagrant #10

Open smandal-rythmos opened 3 years ago

smandal-rythmos commented 3 years ago

Hi- am getting issue while trying to setup spinnaker using vagrant

Step followed

1 - Clone the repo -> https://github.com/in4it/spinnaker-course.git 2 - cd vagrant 3 - vagrant up

I did try to do vagrant provision multiple time but no luck

    default: 2021-04-27 17:00:22 (18.2 MB/s) - ‘get.6’ saved [7163/7163]
    default: Downloading https://get.helm.sh/helm--linux-amd64.tar.gz
    default: SHA sum of /tmp/helm-installer-dwxJdK/helm--linux-amd64.tar.gz does not match. Aborting.
    default: Failed to install helm
    default:    For support, go to https://github.com/helm/helm.
    default: dpkg: error processing package spinnaker-rosco (--configure):
    default:  subprocess installed post-installation script returned error exit status 1
    default: Errors were encountered while processing:
    default:  spinnaker-rosco
    default: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    default: E: Sub-process /usr/bin/dpkg returned an error code (1)
    default: ! ERROR Error encountered running script. See above output for more
    default:   details.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
wardviaene commented 3 years ago

Spinnaker install depends on a lot of tooling. I think that unfortunately something broke down in the chain. The helm installer seems to have an issue. I'm afraid we'll have to wait until someone fixes the installer scripts on the Spinnaker/helm side. You could perhaps try another version (see. https://spinnaker.io/community/releases/versions/#latest-stable for stable releases), but I suspect that the problem lies somewhere in the package management in halyard, so it might as well happen in all releases.

-Edward

smandal-rythmos commented 3 years ago

May i know if you can give some advise as to when we can expect this to fix based on your previous experience? - when shall i give it a re-try to install - currently everything fails.

wardviaene commented 3 years ago

It's not the first time it happens that the installation doesn't got through, most of the time it's fixed in a few hours (if there is a mirror down) or a few days (if it needs a codechange somewhere). You're not the only one with the issue, but I can't see an official issue just yet. If it doesn't get resolved this week, I'll start digging some more myself

smandal-rythmos commented 3 years ago

Thanks for your input/comments. Well - i did it try it again but no luck - getting same issue - perhaps i would have to wait for this to resolve.

wardviaene commented 3 years ago

There's now an issue opened on the Spinnaker GitHub which you could try out https://github.com/spinnaker/spinnaker/issues/6428