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

Installing locally fails #101

Open
c0debreaker opened this issue Oct 17, 2021 · 2 comments
Open

Installing locally fails #101

c0debreaker opened this issue Oct 17, 2021 · 2 comments

Comments

@c0debreaker
Copy link

I executed this

export PRIVATE_IP=192.168.1.107
./scripts/install.sh -o -P $PRIVATE_IP

but got this error few minutes after I started the install script. Here are the last few parts of the output. Any ideas why it's failing?

[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
[INFO ]  --- END K3s ---
[INFO ] Setting Kubernetes context to Spinnaker namespace
Context "default" created.
[INFO ] Spinnaker Operator Version: 1.2.5
[INFO ] Spinnaker flavor: oss
The connection to the server 192.168.1.107:8443 was refused - did you specify the right host or port?
[ERROR] Unable to list namespaces of the kubernetes cluster:
[KUBE ] kubectl apply -f https://engineering.armory.io/manifests/pacrd-1.0.1.yaml -n spinnaker
[ERROR] Error executing command:
unable to recognize "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": Get https://192.168.1.107:8443/api?timeout=32s: dial tcp 192.168.1.107:8443: connect: connection refused
unable to recognize "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": Get https://192.168.1.107:8443/api?timeout=32s: dial tcp 192.168.1.107:8443: connect: connection refused
@laurie-kepford
Copy link

i get this with all versions before 0.1.3. but 0.1.3 does not install successfully either.

@Onuonga
Copy link

Onuonga commented Oct 15, 2024

Similar problem here.

[INFO ] Using OSS Spinnaker
[INFO ] Running minnaker setup for Linux
[INFO ] Cloning repo: https://github.com/armory/spinnaker-kustomize-patches#minnaker into /home/vboxuser/Downloads/minnaker-0.1.3/spinsvc
[WARN ] /home/vboxuser/Downloads/minnaker-0.1.3/spinsvc exists already.  FOLDER CONTENTS WILL GET OVERWRITTEN!
[WARN ] PROCEEDING in 3 secs... (ctrl-C to cancel; use -B option to specify a different directory)
Cloning into '/home/vboxuser/Downloads/minnaker-0.1.3/spinsvc'...
remote: Enumerating objects: 2393, done.
remote: Counting objects: 100% (652/652), done.
remote: Compressing objects: 100% (261/261), done.
remote: Total 2393 (delta 470), reused 472 (delta 384), pack-reused 1741 (from 1)
Receiving objects: 100% (2393/2393), 613.68 KiB | 7.22 MiB/s, done.
Resolving deltas: 100% (1382/1382), done.
[INFO ] Installing yq
[INFO ] Installing jq
[INFO ] Trying to detect endpoint
[INFO ] No cloud metadata endpoint detected, detecting interface IP (and storing in /home/vboxuser/Downloads/minnaker-0.1.3/spinsvc/secrets/public_ip): 10.0.2.15
[INFO ] Generating password [/home/vboxuser/Downloads/minnaker-0.1.3/spinsvc/secrets/spinnaker_password]:
YjX45piR315I18AFfbRa8WAK5ZUxrHanYILGiJsoLN39/WMF
[INFO ] Updating spinsvc templates with new endpoint: 10.0.2.15
[INFO ] Creating spin_endpoint helper function
#!/bin/bash
#echo "$(kubectl get spinsvc spinnaker -n spinnaker -ojsonpath='{.spec.spinnakerConfig.config.security.uiSecurity.overrideBaseUrl}')"
echo "$(yq e '.spec.spinnakerConfig.config.security.uiSecurity.overrideBaseUrl' BASE_DIR/expose/patch-urls.yml)"
[[ -f BASE_DIR/secrets/spinnaker_password ]] && echo "username: 'admin'"
[[ -f BASE_DIR/secrets/spinnaker_password ]] && echo "password: '$(cat BASE_DIR/secrets/spinnaker_password)'"
[INFO ] --- Installing K3s ---
[INFO]  Using v1.19.7+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.19.7+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.19.7+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xeu k3s.service" for details.
[INFO ]  --- END K3s ---
[INFO ] Setting Kubernetes context to Spinnaker namespace
Context "default" modified.
[INFO ] Spinnaker Operator Version:
[INFO ] Spinnaker flavor: oss
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?
[ERROR] Unable to list namespaces of the kubernetes cluster:
[KUBE ] kubectl apply -f https://engineering.armory.io/manifests/pacrd-1.0.1.yaml -n spinnaker
[ERROR] Error executing command:
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?```

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

No branches or pull requests

3 participants