Project

General

Profile

Actions

Bug #23973

closed

Dashboard account creation

Added by Vasilii Alekseenko almost 6 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/luminous-x
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The documentation at [[http://docs.ceph.com/docs/master/mgr/dashboard/]] refers the the following incorrect command:

ceph dashboard set-login-credentials ceph foobarpassword

no valid command found; 10 closest matches:
fs add_data_pool <fs_name> <pool>
fs rm_data_pool <fs_name> <pool>
fs set <fs_name> max_mds|max_file_size|allow_new_snaps|inline_data|cluster_down|allow_multimds|allow_dirfrags|balancer|standby_count_wanted <val> {<confirm>}
fs flag set enable_multiple <val> {--yes-i-really-mean-it}
fs ls
fs get <fs_name>
fs rm <fs_name> {--yes-i-really-mean-it}
fs reset <fs_name> {--yes-i-really-mean-it}
mds newfs <int[0-]> <int[0-]> {--yes-i-really-mean-it}
fs new <fs_name> <metadata> <data> {--force} {--allow-dangerous-metadata-overlay}
Error EINVAL: invalid command

[[http://tracker.ceph.com/issues/23418]]

Actions #1

Updated by Vasilii Alekseenko almost 6 years ago

The documentation at [[http://docs.ceph.com/docs/master/mgr/dashboard/]] refers the the following incorrect command:

ceph dashboard set-login-credentials ceph foobarpassword

no valid command found; 10 closest matches:
fs add_data_pool <fs_name> <pool>
fs rm_data_pool <fs_name> <pool>
fs set <fs_name> max_mds|max_file_size|allow_new_snaps|inline_data|cluster_down|allow_multimds|allow_dirfrags|balancer|standby_count_wanted <val> {<confirm>}
fs flag set enable_multiple <val> {--yes-i-really-mean-it}
fs ls
fs get <fs_name>
fs rm <fs_name> {--yes-i-really-mean-it}
fs reset <fs_name> {--yes-i-really-mean-it}
mds newfs <int[0-]> <int[0-]> {--yes-i-really-mean-it}
fs new <fs_name> <metadata> <data> {--force} {--allow-dangerous-metadata-overlay}
Error EINVAL: invalid command

[[http://tracker.ceph.com/issues/23418]]

ceph mgr module ls

{
    "enabled_modules": [
        "balancer",
        "dashboard",
        "restful",
        "status",
        "zabbix" 
    ],
    "disabled_modules": [
        "influx",
        "localpool",
        "prometheus",
        "selftest" 
    ]
}

dpkg -l|grep ceph

ii  ceph-base                            12.2.5-1xenial                             amd64        common ceph daemon libraries and management tools
ii  ceph-common                          12.2.5-1xenial                             amd64        common utilities to mount and interact with a ceph storage cluster
ii  ceph-mds                             12.2.5-1xenial                             amd64        metadata server for the ceph distributed file system
ii  ceph-mgr                             12.2.5-1xenial                             amd64        manager for the ceph distributed storage system
ii  ceph-mon                             12.2.5-1xenial                             amd64        monitor server for the ceph storage system
ii  ceph-osd                             12.2.5-1xenial                             amd64        OSD server for the ceph storage system
ii  libcephfs2                           12.2.5-1xenial                             amd64        Ceph distributed file system client library
ii  python-cephfs                        12.2.5-1xenial                             amd64        Python 2 libraries for the Ceph libcephfs library

Actions #2

Updated by Nathan Cutler almost 6 years ago

  • Project changed from Ceph to mgr
  • Category changed from ceph cli to 132
  • Target version deleted (v12.2.1)
Actions #3

Updated by Ricardo Dias almost 6 years ago

@Vasilii please check if dashboard module is enabled with the command:

ceph mgr module ls

If the module is not enable then the "set-login-credentials" is also not available.

Actions #4

Updated by Volker Theile almost 6 years ago

Are we talking about dashboard in Luminous (12.x) or Mimic (13.x)? The link to the documentation your referering is for Mimic, so

ceph dashboard set-login-credentials
will not work in Luminous.

Actions #5

Updated by John Spray almost 6 years ago

  • Status changed from New to Rejected

This appears to simply be a case of referring to master documentation while using luminous.

The luminous documentation is here: http://docs.ceph.com/docs/luminous/

This happens from time to time, it would be nice if we had a banner on the master docs to warn people.

Actions #6

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF