Re: [ceph-users] Have you enabled the telemetry module yet?

2019-10-02 Thread Stefan Kooman
> 
> I created this issue: https://tracker.ceph.com/issues/42116
> 
> Seems to be related to the 'crash' module not enabled.
> 
> If you enable the module the problem should be gone. Now I need to check
> why this message is popping up.

Yup, crash module enabled and error message is gone. Either way it
makes sense to enable the crash module anyway.

Thanks,

Stefan

-- 
| BIT BV  https://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Have you enabled the telemetry module yet?

2019-10-02 Thread Wido den Hollander



On 10/1/19 4:38 PM, Stefan Kooman wrote:
> Quoting Wido den Hollander (w...@42on.com):
>> Hi,
>>
>> The Telemetry [0] module has been in Ceph since the Mimic release and
>> when enabled it sends back a anonymized JSON back to
>> https://telemetry.ceph.com/ every 72 hours with information about the
>> cluster.
>>
>> For example:
>>
>> - Version(s)
>> - Number of MONs, OSDs, FS, RGW
>> - Operating System used
>> - CPUs used by MON and OSD
>>
>> Enabling the module is very simple:
>>
>> $ ceph mgr module enable telemetry
> 
> This worked.
> 
> ceph mgr module ls
> {
> "enabled_modules": [
> ...
> ...
> "telemetry"
> ],
> 
>> Before enabling the module you can also view the JSON document it will
>> send back:
>>
>> $ ceph telemetry show
> 
> This gives me:
> 
> ceph telemetry show
> Error EINVAL: Traceback (most recent call last):
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
> report = self.compile_report()
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
> report['crashes'] = self.gather_crashinfo()
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
> errno, crashids, err = self.remote('crash', 'do_ls', '', '')
>   File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
> args, kwargs)
> ImportError: Module not found
> 
> Running 13.2.6 on Ubuntu Xenial 16.04.6 LTS

I created this issue: https://tracker.ceph.com/issues/42116

Seems to be related to the 'crash' module not enabled.

If you enable the module the problem should be gone. Now I need to check
why this message is popping up.

> 
> Gr. Stefan
> 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Have you enabled the telemetry module yet?

2019-10-02 Thread Wido den Hollander



On 10/1/19 5:11 PM, Mattia Belluco wrote:
> Hi all,
> 
> Same situation here:
> 
> Ceph 13.2.6 on Ubuntu 16.04.
> 

Thanks for the feedback both! I enabled it on a Ubuntu 18.04 with
Nautilus 14.2.4 system.

> Best
> Mattia
> 
> On 10/1/19 4:38 PM, Stefan Kooman wrote:
>> Quoting Wido den Hollander (w...@42on.com):
>>> Hi,
>>>
>>> The Telemetry [0] module has been in Ceph since the Mimic release and
>>> when enabled it sends back a anonymized JSON back to
>>> https://telemetry.ceph.com/ every 72 hours with information about the
>>> cluster.
>>>
>>> For example:
>>>
>>> - Version(s)
>>> - Number of MONs, OSDs, FS, RGW
>>> - Operating System used
>>> - CPUs used by MON and OSD
>>>
>>> Enabling the module is very simple:
>>>
>>> $ ceph mgr module enable telemetry
>>
>> This worked.
>>
>> ceph mgr module ls
>> {
>> "enabled_modules": [
>> ...
>> ...
>> "telemetry"
>> ],
>>
>>> Before enabling the module you can also view the JSON document it will
>>> send back:
>>>
>>> $ ceph telemetry show
>>
>> This gives me:
>>
>> ceph telemetry show
>> Error EINVAL: Traceback (most recent call last):
>>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
>> report = self.compile_report()
>>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
>> report['crashes'] = self.gather_crashinfo()
>>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
>> errno, crashids, err = self.remote('crash', 'do_ls', '', '')
>>   File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
>> args, kwargs)
>> ImportError: Module not found
>>
>> Running 13.2.6 on Ubuntu Xenial 16.04.6 LTS
>>
>> Gr. Stefan
>>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Have you enabled the telemetry module yet?

2019-10-01 Thread Mattia Belluco
Hi all,

Same situation here:

Ceph 13.2.6 on Ubuntu 16.04.

Best
Mattia

On 10/1/19 4:38 PM, Stefan Kooman wrote:
> Quoting Wido den Hollander (w...@42on.com):
>> Hi,
>>
>> The Telemetry [0] module has been in Ceph since the Mimic release and
>> when enabled it sends back a anonymized JSON back to
>> https://telemetry.ceph.com/ every 72 hours with information about the
>> cluster.
>>
>> For example:
>>
>> - Version(s)
>> - Number of MONs, OSDs, FS, RGW
>> - Operating System used
>> - CPUs used by MON and OSD
>>
>> Enabling the module is very simple:
>>
>> $ ceph mgr module enable telemetry
> 
> This worked.
> 
> ceph mgr module ls
> {
> "enabled_modules": [
> ...
> ...
> "telemetry"
> ],
> 
>> Before enabling the module you can also view the JSON document it will
>> send back:
>>
>> $ ceph telemetry show
> 
> This gives me:
> 
> ceph telemetry show
> Error EINVAL: Traceback (most recent call last):
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
> report = self.compile_report()
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
> report['crashes'] = self.gather_crashinfo()
>   File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
> errno, crashids, err = self.remote('crash', 'do_ls', '', '')
>   File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
> args, kwargs)
> ImportError: Module not found
> 
> Running 13.2.6 on Ubuntu Xenial 16.04.6 LTS
> 
> Gr. Stefan
> 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Have you enabled the telemetry module yet?

2019-10-01 Thread Stefan Kooman
Quoting Wido den Hollander (w...@42on.com):
> Hi,
> 
> The Telemetry [0] module has been in Ceph since the Mimic release and
> when enabled it sends back a anonymized JSON back to
> https://telemetry.ceph.com/ every 72 hours with information about the
> cluster.
> 
> For example:
> 
> - Version(s)
> - Number of MONs, OSDs, FS, RGW
> - Operating System used
> - CPUs used by MON and OSD
> 
> Enabling the module is very simple:
> 
> $ ceph mgr module enable telemetry

This worked.

ceph mgr module ls
{
"enabled_modules": [
...
...
"telemetry"
],

> Before enabling the module you can also view the JSON document it will
> send back:
> 
> $ ceph telemetry show

This gives me:

ceph telemetry show
Error EINVAL: Traceback (most recent call last):
  File "/usr/lib/ceph/mgr/telemetry/module.py", line 325, in handle_command
report = self.compile_report()
  File "/usr/lib/ceph/mgr/telemetry/module.py", line 291, in compile_report
report['crashes'] = self.gather_crashinfo()
  File "/usr/lib/ceph/mgr/telemetry/module.py", line 214, in gather_crashinfo
errno, crashids, err = self.remote('crash', 'do_ls', '', '')
  File "/usr/lib/ceph/mgr/mgr_module.py", line 845, in remote
args, kwargs)
ImportError: Module not found

Running 13.2.6 on Ubuntu Xenial 16.04.6 LTS

Gr. Stefan

-- 
| BIT BV  https://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Have you enabled the telemetry module yet?

2019-09-26 Thread Wido den Hollander
Hi,

The Telemetry [0] module has been in Ceph since the Mimic release and
when enabled it sends back a anonymized JSON back to
https://telemetry.ceph.com/ every 72 hours with information about the
cluster.

For example:

- Version(s)
- Number of MONs, OSDs, FS, RGW
- Operating System used
- CPUs used by MON and OSD

Enabling the module is very simple:

$ ceph mgr module enable telemetry

And when in Nautilus you also need to run:

$ ceph telemetry on

Before enabling the module you can also view the JSON document it will
send back:

$ ceph telemetry show

If you whish you can also set a contact and a description of the cluster.

$ ceph config set mgr mgr/telemetry/contact 'John Doe
'
$ ceph config set mgr mgr/telemetry/description 'My first Ceph cluster'
$ ceph config set mgr mgr/telemetry/channel_ident true

It would be great if more people enable the module! This way the
developers get better insight on how Ceph is used and what versions are
deployed.

Thanks!

Wido

[0]: https://docs.ceph.com/docs/master/mgr/telemetry/
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com