GithubHelp home page GithubHelp logo

Comments (15)

yaronkaikov avatar yaronkaikov commented on June 8, 2024

@xemul Can you please have a look?

from scylladb.

xemul avatar xemul commented on June 8, 2024

What is "artifact tests" and where can I find their source code? @soyacz

Presumably the failures are because scylla is started with --workdir and the test gets current DataDirectory from API or system.config table, and at least in the system.config this option would be empty. But need to check the test source code to be sure

from scylladb.

soyacz avatar soyacz commented on June 8, 2024

What is "artifact tests" and where can I find their source code? @soyacz

Presumably the failures are because scylla is started with --workdir and the test gets current DataDirectory from API or system.config table, and at least in the system.config this option would be empty. But need to check the test source code to be sure

https://github.com/scylladb/scylla-cluster-tests/blob/master/artifacts_test.py
But this is not interesting, because it fails during manager setup - which also is not relevant if we wrongly start scylla.
I don't see we used --workdir: 2024-01-30T23:53:28.492 artifacts-ubuntu2204-jenkins-db-node-a5687b31-0-1 !INFO | scylla[11936]: command used: "/usr/bin/scylla --blocked-reactor-notify-ms 25 --abort-on-lsa-bad-alloc 1 --abort-on-seastar-bad-alloc --abort-on-internal-error 1 --abort-on-ebadf 1 --enable-sstable-key-validation 1 --log-to-syslog 1 --log-to-stdout 0 --default-log-level info --network-stack posix --io-properties-file=/etc/scylla.d/io_properties.yaml --cpuset 0-1 --lock-memory=1"
more test details in argus: https://argus.scylladb.com/test/6dd5afca-3db4-46c4-a898-050660995a22/runs?additionalRuns[]=a5687b31-f47c-4ad4-837c-043a62a1c220

We didn't adapt any SCT code related to Scylla startup - if something changed in that area, was there docs update about it?

from scylladb.

xemul avatar xemul commented on June 8, 2024

The weird thing is that neither CLI nor the scylla.yaml has any directories configured -- data, commitlog, anything else -- all are missing

from scylladb.

xemul avatar xemul commented on June 8, 2024

OK, it's agent that tries to access this endpoint:

        Method:             "GET",
        PathPattern:        "/config/data_file_directories",

from scylladb.

xemul avatar xemul commented on June 8, 2024

Hm...

$ curl -X GET 'http://127.0.0.1:10000/storage_service/release_version'
"3.0.8"
$ curl -X GET 'http://127.0.0.1:10000/config/data_file_directories'
{"message": "Not found", "code": 404}

from scylladb.

xemul avatar xemul commented on June 8, 2024
$ curl -X GET 'http://127.0.0.1:10000/v2/config/data_file_directories'
["/home/xemul/scylla-roots/data"]

from scylladb.

xemul avatar xemul commented on June 8, 2024

How can I get a node, that ... "is the same as the one used in this test"? @soyacz

from scylladb.

mykaul avatar mykaul commented on June 8, 2024

@xemul - please revert the commit first of all, then we'll get this fixed.

from scylladb.

xemul avatar xemul commented on June 8, 2024

Already did 7c5c89b

from scylladb.

soyacz avatar soyacz commented on June 8, 2024

How can I get a node, that ... "is the same as the one used in this test"? @soyacz

Rebuild job with keep db nodes alive, ping me on slack if you need more guidance

from scylladb.

xemul avatar xemul commented on June 8, 2024

Yes, with the mentioned update it's now empty

$ curl -X GET 'http://127.0.0.1:10000/v2/config/data_file_directories'
[]

from scylladb.

pwrobelse avatar pwrobelse commented on June 8, 2024

Does the problem still occur? The change that introduced the regression was reverted. The revert is already present on master branch.

After discussion with @xemul, the original change will not be re-introduced. More details in the following comment:
#5626 (comment)

from scylladb.

mykaul avatar mykaul commented on June 8, 2024

@soyacz ?

from scylladb.

soyacz avatar soyacz commented on June 8, 2024

Yes, it's fixed. Closing.

from scylladb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.