Project

General

Profile

Actions

Bug #19169

closed

error with Single host Arvados setup

Added by Michael Crusoe 8 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

Summary for local
-------------
Succeeded: 79 (changed=68)
Failed: 2
-------------

nginx failed? Adding "server_names_hash_bucket_size: 128" to the nginx config file allowed me to start the service, but the arvados interface still doesn't come up


Files

20220530_error.txt (1.97 KB) 20220530_error.txt output of systemctl status nginx.service Michael Crusoe, 05/30/2022 01:58 PM
20220530_log.txt (151 KB) 20220530_log.txt provision.sh output Michael Crusoe, 05/30/2022 01:58 PM
fix-install.patch (5.74 KB) fix-install.patch Michael Crusoe, 05/30/2022 05:28 PM
Actions #1

Updated by Michael Crusoe 8 months ago

Now it complains that "Version '2.4.1-1' for 'arvados-server' was not found", and indeed, that version is not available

~$ apt list -a arvados-server
Listing... Done
arvados-server/bullseye 2.4.0-1 amd64
arvados-server/bullseye 2.3.3-1 amd64
arvados-server/bullseye 2.3.2-1 amd64



$ cat /etc/apt/sources.list.d/arvados.list 
deb [signed-by=/usr/share/keyrings/arvados-archive-keyring.gpg arch=amd64] http://apt.arvados.org/bullseye bullseye main
Actions #2

Updated by Michael Crusoe 8 months ago

Perhaps the error is because https://doc.arvados.org/v2.4/install/salt-single-host.html suggests `git checkout 2.4-release` instead of `git checkout 2.4.0`

Actions #3

Updated by Michael Crusoe 8 months ago

This is a bullseye 11 VM (via openstack.cebitec.uni-bielefeld.de). I rebuilt the system and I get the same errors, even when checking out from the "2.4.0" tag.

Similar issues as reported at https://forum.arvados.org/t/salt-install-fails/109

Actions #4

Updated by Michael Crusoe 8 months ago

By editing provision.sh to have

VERSION="2.4.0-1" 

and re-running it, the install advances and I get a new error:

" Clusters.ECWES: cluster ID should be 5 alphanumeric characters"

Okay, looking at https://doc.arvados.org/install/install-manual-prerequisites.html#clusterid the cluster id must be all lower case. The error message should be made to be more specific and link to the docs.

Actions #5

Updated by Michael Crusoe 8 months ago

Attached are the changes I needed to fix the install; I also had to open port 8800, this was not documented either

Actions #6

Updated by Ward Vandewege 8 months ago

  • Target version set to 2022-06-08 sprint
  • Assigned To set to Ward Vandewege
  • Status changed from New to In Progress

Provisional fix at ca112fc69a5b85127d243d716b032d2c08bb393c on branch 19169-provision-fix-single-hostname-letsencrypt

test-provision: #386

Actions #7

Updated by Ward Vandewege 8 months ago

Michael Crusoe wrote:

I also had to open port 8800, this was not documented either

That's not accurate, this is documented, cf https://doc.arvados.org/v2.4/install/salt-single-host.html#prerequisites

* ports 443, 8800-8805 need to be reachable from your client (configurable in local.params, see below)
Actions #8

Updated by Michael Crusoe 8 months ago

Ward Vandewege wrote:

Michael Crusoe wrote:

I also had to open port 8800, this was not documented either

That's not accurate, this is documented, cf https://doc.arvados.org/v2.4/install/salt-single-host.html#prerequisites

[...]

Ah, I went from https://doc.arvados.org/v2.4/install/index.html to "Installation with Salt (multi host)" → https://doc.arvados.org/v2.4/install/salt-multi-host.html and I didn't see the "pre-requisites" link on the left. Maybe it should be mentioned in the text?

Actions #9

Updated by Ward Vandewege 8 months ago

Michael Crusoe wrote:

I get a new error:

" Clusters.ECWES: cluster ID should be 5 alphanumeric characters"

Okay, looking at https://doc.arvados.org/install/install-manual-prerequisites.html#clusterid the cluster id must be all lower case. The error message should be made to be more specific and link to the docs.

Yes - this error message comes from the config loader, and it is missing the word 'lowercase'. I've pushed that fix, and also added that clarification in the sample `local.params` files.

Actions #10

Updated by Ward Vandewege 8 months ago

Michael Crusoe wrote:

Ward Vandewege wrote:

Michael Crusoe wrote:

I also had to open port 8800, this was not documented either

That's not accurate, this is documented, cf https://doc.arvados.org/v2.4/install/salt-single-host.html#prerequisites

[...]

Ah, I went from https://doc.arvados.org/v2.4/install/index.html to "Installation with Salt (multi host)" → https://doc.arvados.org/v2.4/install/salt-multi-host.html and I didn't see the "pre-requisites" link on the left. Maybe it should be mentioned in the text?

Well, just to be clear, that section is mentioned in the index at the top of the single node page, and it's part of the flow of the page.

Also, if you are doing a single host install, why are you looking at the multi host page? The prerequisites are different. For example, with default settings, port 8800-8805 does NOT need to be opened for a multi host install, because all hosts listen on port 443.

Anyway; the multi host install page is messy and convoluted; I'm reworking it to be more like the single host page, with a more straightforward flow, in #19175.

Actions #11

Updated by Michael Crusoe 8 months ago

Ward Vandewege wrote:

Michael Crusoe wrote:

Ward Vandewege wrote:

Michael Crusoe wrote:

I also had to open port 8800, this was not documented either

That's not accurate, this is documented, cf https://doc.arvados.org/v2.4/install/salt-single-host.html#prerequisites

[...]

Ah, I went from https://doc.arvados.org/v2.4/install/index.html to "Installation with Salt (multi host)" → https://doc.arvados.org/v2.4/install/salt-multi-host.html and I didn't see the "pre-requisites" link on the left. Maybe it should be mentioned in the text?

Uhm, but if you are doing a single host install, why are you looking at the multi host page? The prerequisites are different. For example, with default settings, port 8800-8805 does NOT need to be opened for a multi host install, because all hosts listen on port 443.

Anyway; the multi host install page is messy and convoluted; I'm reworking it to be more like the single host page, with a more straightforward flow.

Sorry, must have been my mistake; ETOOMANYTABS

Actions #12

Updated by Ward Vandewege 8 months ago

  • Status changed from In Progress to Resolved

Michael Crusoe wrote:

Anyway; the multi host install page is messy and convoluted; I'm reworking it to be more like the single host page, with a more straightforward flow.

Sorry, must have been my mistake; ETOOMANYTABS

No worries. The multi host install page has meanwhile been improved as part of #19175, and that means that all issues from this ticket have been resolved, so I'm going to close it.

Actions #13

Updated by Michael Crusoe 7 months ago

FYI, others are still experiencing the `server_names_hash_bucket_size` issue

Actions #14

Updated by Peter Amstutz about 2 months ago

  • Release set to 47
Actions

Also available in: Atom PDF