Re: AttributeError: 'Rados' object has no attribute 'monitor_log'

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

 



On Thu, Jul 7, 2016 at 3:22 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
> Hi,
>
> I'm trying to run cephtool-test-mon.sh, and it gets there quite far
> but somewhere down the test I have this error:
> Now python is not my strong point.

Not mine either but monitor_log should be defined in
src/pybind/rados/rados.pyx and within the
"Rados" object definition.

 519 cdef class Rados(object):
...
1280     def monitor_log(self, level, callback, arg):

I guess just checking they are there is a start :)

HTH,
Brad

>
> Where should I start looking?
>
> --WjW
>
> /home/wjw/Ceph/work.cmake/ceph/qa/workunits/cephtool/test.sh:159:
> ceph_watch_start:  sleep 1
> 5: Traceback (most recent call last):
> 5:   File "/home/wjw/Ceph/work.cmake/ceph/build/bin/ceph", line 948, in
> <module>
> 5:     retval = main()
> 5:   File "/home/wjw/Ceph/work.cmake/ceph/build/bin/ceph", line 775, in main
> 5:     run_in_thread(cluster_handle.monitor_log, level, watch_cb, 0)
> 5: AttributeError: 'Rados' object has no attribute 'monitor_log'
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux