[bug] [WebUI] Ceph OSD control and multiple roots

Nemesiz

Renowned Member
Jan 16, 2009
770
69
93
Lithuania
Hello,

In Ceph -> OSD section I can`t control OSD. All buttons ( Details, Start .... Out, In, More ) are inactive after I select OSD.


Who could cause the problem?
I use few 'roots' in my Ceph test system and same OSD exist in few buckets/branch

Any other problem?
Expanding everything I`m missing scrollbar, so some information become hidden below.
 

Attachments

  • 1.png
    1.png
    81.8 KB · Views: 11
  • 2.png
    2.png
    81.9 KB · Views: 11
Looks suspiciously like a rights issue to me... What kind of user are you logged into the WebUI?
 
I log in using root

This is part of crush:

Code:
# devices
device 0 osd.0 class hdd
device 1 osd.1 class hdd
device 2 osd.2 class hdd
device 3 osd.3 class hdd
device 4 osd.4 class hdd
device 5 osd.5 class hdd
device 6 osd.6 class ssd
device 7 osd.7 class ssd-web
device 8 osd.8 class ssd-web
device 9 osd.9 class ssd
device 10 osd.10 class ssd-web
device 11 osd.11 class ssd-web
device 12 osd.12 class ssd
device 13 osd.13 class ssd
device 14 osd.14 class ssd
device 15 osd.15 class ssd-web
device 16 osd.16 class ssd-web
device 17 osd.17 class ssd-web
device 18 osd.18 class ssd-web
device 19 osd.19 class ssd-web

# types
type 0 osd
type 1 disk-type
type 2 host
type 3 chassis
type 4 rack
type 5 row
type 6 pdu
type 7 pod
type 8 room
type 9 datacenter
type 10 zone
type 11 region
type 12 root

# buckets
disk-type nmz-b1-1-ssd-web {
    id -11        # do not change unnecessarily
    id -2 class hdd        # do not change unnecessarily
    id -5 class ssd        # do not change unnecessarily
    id -22 class ssd-web        # do not change unnecessarily
    # weight 3.02699
    alg straw2
    hash 0    # rjenkins1
    item osd.7 weight 0.18187
    item osd.8 weight 0.18187
    item osd.11 weight 0.43660
    item osd.15 weight 0.36388
    item osd.16 weight 0.43660
    item osd.17 weight 0.43660
    item osd.18 weight 0.43660
    item osd.10 weight 0.11638
    item osd.19 weight 0.43660
}
disk-type nmz-b1-1-ssd {
    id -12        # do not change unnecessarily
    id -3 class hdd        # do not change unnecessarily
    id -6 class ssd        # do not change unnecessarily
    id -14 class ssd-web        # do not change unnecessarily
    # weight 0.88039
    alg straw2
    hash 0    # rjenkins1
    item osd.9 weight 0.10918
    item osd.6 weight 0.21828
    item osd.12 weight 0.11638
    item osd.13 weight 0.21828
    item osd.14 weight 0.21828
}
disk-type nmz-b1-1-hdd {
    id -13        # do not change unnecessarily
    id -16 class hdd        # do not change unnecessarily
    id -19 class ssd        # do not change unnecessarily
    id -8 class ssd-web        # do not change unnecessarily
    # weight 21.83212
    alg straw2
    hash 0    # rjenkins1
    item osd.1 weight 3.63869
    item osd.2 weight 3.63869
    item osd.3 weight 3.63869
    item osd.4 weight 3.63869
    item osd.5 weight 3.63869
    item osd.0 weight 3.63869
}
host nmz-b1-1 {
    id -10        # do not change unnecessarily
    id -17 class hdd        # do not change unnecessarily
    id -20 class ssd        # do not change unnecessarily
    id -24 class ssd-web        # do not change unnecessarily
    # weight 25.73950
    alg straw2
    hash 0    # rjenkins1
    item nmz-b1-1-ssd-web weight 3.02701
    item nmz-b1-1-ssd weight 0.88039
    item nmz-b1-1-hdd weight 21.83211
}
root default {
    id -1        # do not change unnecessarily
    id -18 class hdd        # do not change unnecessarily
    id -21 class ssd        # do not change unnecessarily
    id -28 class ssd-web        # do not change unnecessarily
    # weight 25.73952
    alg straw2
    hash 0    # rjenkins1
    item nmz-b1-1 weight 25.73952
}
host nmz-b1-1-all-ssd {
    id -9        # do not change unnecessarily
    id -4 class hdd        # do not change unnecessarily
    id -7 class ssd        # do not change unnecessarily
    id -23 class ssd-web        # do not change unnecessarily
    # weight 3.90739
    alg straw2
    hash 0    # rjenkins1
    item nmz-b1-1-ssd-web weight 3.02701
    item nmz-b1-1-ssd weight 0.88039
}
host nmz-b1-1-hdd-ssd {
    id -25        # do not change unnecessarily
    id -26 class hdd        # do not change unnecessarily
    id -27 class ssd        # do not change unnecessarily
    id -15 class ssd-web        # do not change unnecessarily
    # weight 22.71249
    alg straw2
    hash 0    # rjenkins1
    item nmz-b1-1-hdd weight 21.83211
    item nmz-b1-1-ssd weight 0.88039
}
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!