Re: Dasboard (12.2.1) does not work (segfault and runtime error)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2017-10-20 13:00, schrieb Mehmet:
Am 2017-10-20 11:10, schrieb Mehmet:
Hello,

yesterday i've upgraded my "Jewel"-Cluster (10.2.10) to "Luminous"
(12.2.1). This went realy smooth - Thanks! :)

Today i wanted to enable the BuildIn Dasboard via

#> vi ceph.conf
[...]
[mgr]
mgr_modules = dashboard
[...]

#> ceph-deploy --overwrite-conf config push monserver1 monserver2 monserver3

#> systemctl restart ceph-mgr@monserver1

Cause the module doesnt seem to be activated so i have to enable it
"again" via the CLI

#> ceph mgr module enable dashboard

Then configured my Firewall like

#> ufw allow proto tcp from my to any port 7000

Cause the deamon seems to listen only on ipv6 i have set

#> ceph config-key put mgr/dashboard/server_addr ::

...also tried with set the ip address

#> ceph config-key set mgr/dashboard/server_addr 123.123.123.123

But i cannot access the dashboard! :*(

This is now fixed - i can access the dashboard (a mate did a mistake so the firewall between my office an the datacenter wasnt properly configured... Oo).

The error message below still exists

- Mehmet


When i restart the "ceph-mgr" with

#> systemctl restart ceph-mgr@monserver1

i get *always* a "segmentation fault with thread:ceph-mgr"

- https://pastebin.com/6fA239Ec

Oct 20 10:16:45 monserver1 ceph-mgr[28376]: *** Caught signal
(Segmentation fault) **
Oct 20 10:16:45 monserver1 ceph-mgr[28376]:  in thread 7fbdbb71c500
thread_name:ceph-mgr
Oct 20 10:16:45 monserver1 ceph-mgr[28376]:  ceph version 12.2.1
(3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
Oct 20 10:16:45 monserver1 ceph-mgr[28376]: 1: (()+0x3e1014) [0x55c8bffb8014] Oct 20 10:16:45 monserver1 ceph-mgr[28376]: 2: (()+0x11390) [0x7fbdb9f55390]
Oct 20 10:16:45 monserver1 ceph-mgr[28376]:  3:
(std::__cxx11::_List_base<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >::_M_clear()+0x10)
[0x55c8bfe47d40]
Oct 20 10:16:45 monserver1 ceph-mgr[28376]:  4: (std::vector<Option,
std::allocator<Option> >::~vector()+0x68) [0x55c8c01e0ed8]
Oct 20 10:16:45 monserver1 ceph-mgr[28376]: 5: (()+0x39ff8) [0x7fbdb8ee9ff8] Oct 20 10:16:45 monserver1 ceph-mgr[28376]: 6: (()+0x3a045) [0x7fbdb8eea045]
Oct 20 10:16:45 monserver1 ceph-mgr[28376]:  7:
(__libc_start_main()+0xf7) [0x7fbdb8ed0837]
Oct 20 10:16:45 monserver1 ceph-mgr[28376]: 8: (_start()+0x29) [0x55c8bfe14e29]

and always a *runtime error when start with .../mgr/restful/module.py*
(Also included in the logfile above)

2017-10-20 10:16:45.494019 7f7455a34700 1 mgr[restful] Unknown request ''
2017-10-20 10:16:45.494133 7f74467fe700  0 mgr[restful] Traceback
(most recent call last):
  File "/usr/lib/ceph/mgr/restful/module.py", line 248, in serve
    self._serve()
  File "/usr/lib/ceph/mgr/restful/module.py", line 299, in _serve
    raise RuntimeError('no certificate configured')
RuntimeError: no certificate configured

This is now being fixed with

#> ceph restful create-self-signed-cert

But the "segmentation error" abov still exists :*/

- Mehmet

OS: Linux monserver1 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12
14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.3 LTS

Ceph: ceph versions
{
    "mon": {
        "ceph version 12.2.1
(3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)": 3
    },
    "mgr": {
        "ceph version 12.2.1
(3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)": 1
    },
    "osd": {
        "ceph version 12.2.1
(3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)": 60
    },
    "mds": {},
    "overall": {
        "ceph version 12.2.1
(3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)": 64
    }
}

The ceph-mgr was installed before as described below

#> ceph-deploy gatherkeys monserver1
#> ceph-deploy mgr create monserver1


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux