Skip to content

Commit 9dbe6a3

Browse files
authored
Merge pull request #6892 from fstagni/80_fixes50
[8.0] fix for show installations
2 parents c4a6c6d + 2520cb3 commit 9dbe6a3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/AdministratorGuide/ExternalsSupport/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ OS
99

1010
DIRAC needs `DIRACOS <https://github.com/DIRACGrid/DIRACOS2/releases>`_ for its dependencies. DIRACOS includes all dependencies (except for glibc), including Python and Grid middleware.
1111

12-
DIRAC *client* installation is supported for all x86_64 Linux installations using `DIRACOS <https://github.com/DIRACGrid/DIRACOS2/releases>`_. This includes installations made by the pilots.
12+
DIRAC *client* installation is supported for all x86_64, aarch64, ppc64le Linux and Darwin installations using `DIRACOS <https://github.com/DIRACGrid/DIRACOS2/releases>`_. This includes installations made by the pilots.
1313

1414
DIRAC *server* installation is supported for *most* x86_64 Linux installations using `DIRACOS <https://github.com/DIRACGrid/DIRACOS2/releases>`_. Other architectures and platforms may work as a server installation, however this is on a best effort basis and is not regularly tested.
1515

@@ -44,7 +44,7 @@ ElasticSearch versions
4444

4545
ElasticSearch is an optional dependency for DIRAC servers installations. Supported versions:
4646

47-
- 7.x
47+
- 7.x up until 7.13
4848
- OpenDistro and OpenSearch releases "compatible" with the above ElasticSearch versions.
4949

5050
ElasticSearch server is not shipped with DIRAC. You are responsible of its administration.

src/DIRAC/FrameworkSystem/Client/SystemAdministratorClientCLI.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def do_show(self, args):
198198
for component in components:
199199
record = []
200200
if rDict[compType][system][component]["Installed"]:
201-
module = str(rDict[compType][system][component]["Module"])
201+
module = str(rDict[compType][system][component]["DIRACModule"])
202202
record += [system, component, module, compType.lower()[:-1]]
203203
if rDict[compType][system][component]["Setup"]:
204204
record += ["Setup"]
@@ -213,7 +213,7 @@ def do_show(self, args):
213213
record += [str(rDict[compType][system][component]["PID"])]
214214
records.append(record)
215215
printTable(fields, records)
216-
elif option == "database" or option == "databases":
216+
elif option in ("database", "databases"):
217217
client = SystemAdministratorClient(self.host, self.port)
218218
if not gComponentInstaller.mysqlPassword:
219219
gComponentInstaller.mysqlPassword = "LocalConfig"
@@ -457,9 +457,9 @@ def getInstallations(self, argss):
457457
elif arg == "-t":
458458
key = "Component.Type"
459459
elif arg == "-m":
460-
key = "Component.Module"
460+
key = "Component.DIRACModule"
461461
elif arg == "-s":
462-
key = "Component.System"
462+
key = "Component.DIRACSystem"
463463
elif arg == "-h":
464464
key = "Host.HostName"
465465
elif arg == "-n":

0 commit comments

Comments
 (0)