[Bug 2046552] Re: ceph-mgr-dashboard commands always fail

macchese 2046552 at bugs.launchpad.net
Fri Dec 15 17:27:30 UTC 2023


sorry,
resolved installing the dashboard on all the monitors.


** Changed in: ceph (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2046552

Title:
  ceph-mgr-dashboard commands always fail

Status in ceph package in Ubuntu:
  Invalid

Bug description:
  lsb_release -rd
  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04

  apt-cache policy ceph-mgr-dashboard
  ceph-mgr-dashboard:
    Installed: 17.2.6-0ubuntu0.22.04.2
    Candidate: 17.2.6-0ubuntu0.22.04.2
    Version table:
   *** 17.2.6-0ubuntu0.22.04.2 500
          500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
          100 /var/lib/dpkg/status
       17.2.5-0ubuntu0.22.04.3 500
          500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
       17.1.0-0ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

  
  After installing a charmed openstack I would like to have the ceph dashboard but after installing it, every configuration is not recognized. These are the steps I made:
  1) login into a ceph monitor (lxd container)
  2) install ceph-mgr-dashboard
  3) verify that it is enabled:ceph mgr module ls
  MODULE                           
  balancer           on (always on)
  crash              on (always on)
  devicehealth       on (always on)
  orchestrator       on (always on)
  pg_autoscaler      on (always on)
  progress           on (always on)
  rbd_support        on (always on)
  status             on (always on)
  telemetry          on (always on)
  volumes            on (always on)
  dashboard          on            

  4) try to configure it (https://docs.ceph.com/en/quincy/mgr/dashboard/)
  ceph config set mgr mgr/dashboard/ssl false

  ceph config set mgr mgr/dashboard/ssl false
  Error EINVAL: unrecognized config option 'mgr/dashboard/ssl'

  It seems to me that dashboard module is not recognized by mgr while
  balancer module is

  ceph config dump
  WHO  MASK  LEVEL     OPTION                                 VALUE           RO
  mon        advanced  auth_allow_insecure_global_id_reclaim  false             
  mgr        advanced  mgr/balancer/active                    true              
  mgr        advanced  mgr/balancer/mode                      upmap             
  osd        advanced  mon_warn_pg_not_deep_scrubbed_ratio    1.000000          
  osd        advanced  osd_deep_scrub_interval                2592000.000000    
  osd        advanced  osd_deep_scrub_randomize_ratio         0.050000          
  osd        advanced  osd_pool_default_pg_autoscale_mode     on                
  osd        advanced  osd_scrub_begin_hour                   21                
  osd        advanced  osd_scrub_begin_week_day               0                 
  osd        advanced  osd_scrub_end_hour                     6                 
  osd        advanced  osd_scrub_end_week_day                 0                 
  osd        advanced  osd_scrub_load_threshold               2.000000          
  osd        advanced  osd_scrub_sleep                        0.300000          

  ceph config get mgr mgr/balancer/mode
  upmap

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ceph-mgr-dashboard 17.2.6-0ubuntu0.22.04.2
  ProcVersionSignature: Ubuntu 5.15.0-91.101-generic 5.15.131
  Uname: Linux 5.15.0-91-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: lxd
  CloudName: lxd
  CloudPlatform: lxd
  CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock)
  Date: Fri Dec 15 12:48:20 2023
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: ceph
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2046552/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list