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

new rancher-v2.6.2 service was not initialized properly #403

Open
OriHoch opened this issue Jul 27, 2022 · 0 comments · May be fixed by #404
Open

new rancher-v2.6.2 service was not initialized properly #403

OriHoch opened this issue Jul 27, 2022 · 0 comments · May be fixed by #404
Assignees

Comments

@OriHoch
Copy link
Collaborator

OriHoch commented Jul 27, 2022

reproduction steps

  • Using Kamatera console - create rancher v2.6.2 service
  • Access the server at the hostname (e.g. 111-222-333-444.cloud-xip.io)

expected

  • login page using username / password

actual

  • bootstrap page, asking for bootstrap password
  • after bootstrapping, the server itself was not initialized (e.g. no kamatera node driver / node templates)

debug

On SSH to the server the following was found:

~/2022-07-27.log

[2022-07-27 19:13:24] installer: Executing apps/rancher-v2.6.2-kamatera
[2022-07-27 19:13:24] rancher-v2.6.2-kamatera: checkTagExist: Tag temp/docker-5.20.10-offirepo.success exist. continuing.
[2022-07-27 19:13:24] rancher-v2.6.2-kamatera: Installing Jq
[2022-07-27 19:13:28] rancher-v2.6.2-kamatera: (Re)Generating dhparam key file
[2022-07-27 19:13:35] rancher-v2.6.2-kamatera: Creating Rancher admin
[2022-07-27 19:13:57] rancher-v2.6.2-kamatera: Waiting for Rancher to intialize
[2022-07-27 19:15:07] rancher-v2.6.2-kamatera: Getting Rancher Login Token
[2022-07-27 19:15:14] rancher-v2.6.2-kamatera: Changing Web Interface Password
[2022-07-27 19:15:20] rancher-v2.6.2-kamatera: Creating API key
[2022-07-27 19:15:22] rancher-v2.6.2-kamatera: Getting API Token
[2022-07-27 19:15:22] rancher-v2.6.2-kamatera: Listing available Node drivers
[2022-07-27 19:15:23] rancher-v2.6.2-kamatera: Deactivating foreign drivers
[2022-07-27 19:15:23] rancher-v2.6.2-kamatera: Adding Kamatera Docker Machine Driver
[2022-07-27 19:15:23] rancher-v2.6.2-kamatera: Listing available Kubernetes drivers
[2022-07-27 19:15:24] rancher-v2.6.2-kamatera: Deactivating foreign drivers
[2022-07-27 19:15:24] rancher-v2.6.2-kamatera: Creating Kamatera templates on Rancher
[2022-07-27 19:15:34] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:34] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:35] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:35] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:36] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:36] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:36] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:37] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:37] rancher-v2.6.2-kamatera: {"type":"error","status":"401","message":"Unauthorized 401: must authenticate"}
[2022-07-27 19:15:37] rancher-v2.6.2-kamatera: Tweaking NetFilter conntrack_max
[2022-07-27 19:15:38] rancher-v2.6.2-kamatera: Adding descriptions
[2022-07-27 19:15:38] rancher-v2.6.2-kamatera: Adding to system description file: Rancher Web UI: https://---.cloud-xip.io
[2022-07-27 19:15:38] rancher-v2.6.2-kamatera: Adding to system description file: Rancher Username: admin
[2022-07-27 19:15:38] rancher-v2.6.2-kamatera: Adding to system description file: Rancher Password: ---
[2022-07-27 19:15:38] rancher-v2.6.2-kamatera: Adding to system description file:  
[2022-07-27 19:15:38] installer: Done. (0)

~/guest.errlog

Status: Downloaded newer image for rancher/rancher:v2.6.2
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
curl: (7) Failed to connect to ---.cloud-xip.io port 443: Connection refused
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

dpkg-preconfigure: unable to re-open stdin: No such file or directory
include/startup.sh: line 210: [: too many arguments

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Manually run the installer script

Manually running the installer script worked, from here

@OriHoch OriHoch self-assigned this Aug 1, 2022
@OriHoch OriHoch linked a pull request Aug 28, 2022 that will close this issue
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.

1 participant