Closed mhpopescu closed 5 years ago
Hello,
I'll try to answer the questions point by point:
Problem 1
stat.
fields vs cfg.
fields).space ls
table refer to the converter
and wfe
. They signify currently active jobs. (The Converter and WFE are daemons, running various background jobs)*for the most part
To get more details about a space, you may use space status <space>
. This will print all variables defined for the given space. However, keep in mind, the output may differ, depending on your config.
Config variables are stored persistently and loaded at system boot-up. However, if a variable has never been defined yet, it will not show up at all. E.g.: If the WFE has never been enabled, then the config will not hold all keys related to it
Problem 2
This seems to be a bug. I've checked on the latest 4.5.5
version and it is reproducible.
Thank you for finding this!
I've created the following JIRA to track this issue: EOS-3680
Extra
Consider the <match>
in the various ls <match>
commands to work similarly to grep
on the whole output line, instead of matching the name.
When doing eos group ls d
, it has a similar effect to eos group ls | grep d
.
There are pros & cons to this approach, but it was preferable, as it allows to filter by more than just name.
Cheers, Mihai
Thank you for the explanations.
The space set <on|off>
problem has been fixed in version 4.5.6
.
See related JIRA for more details: EOS-3680
Thank you again for reporting this! Will close the ticket.
Cheers, Mihai
I have a small test setup for playing around.
From documentation[1]:
My setup looks like this:
From
eos fs --help
[2]:Considering [1] and [2], I have:
default.0
,default1.0
,g1.0
default
,default1
,g1
This is correct, verifying with
group ls
andspace ls
:Problem 1
The first thing is that there is no consistency for their status:
eos fs ls
displaysactive
and the value is namedstat.active
ineos fs ls -m
eos group ls
displaysstatus
and the values is namedcfg.status
ineos group ls -m
eos space ls
displays 2active
fields and there is no value ineos space ls -m
. Furthermore, the value displayed is always0
, even if the spaces are on/off, even if there is/is_not any data coming, even if the nodes are on/offProblem 2
As you can see in previous tables, groups status is
off
. If I try to set an individual group witheos group <group-name> set on|off
command, it works.But if i do
eos space <space-name> set on|off
, then it does not matter what<space-name
I type and it will set every spaceon|off
From
eos space --help
:From
eos group --help
:I can not show you spaces status because that is Problem1. But we can see that the command changes the status of groups, which it should do, but not to all groups:
Extra
Listing individual groups/spaces is a little strange. For
d
it should have showed onlydefault.0
anddefault.1
. I think it shows all the groups when the input is a single character:[1]https://github.com/cern-eos/eos/blob/master/doc/quickstart/admin/configure.rst