[one-dev] Unable to get debug logs from MADs

Javier Fontan jfontan at opennebula.org
Mon Jul 21 06:05:50 PDT 2014


The extra logs ONE_MAD_DEBUG generates are located in files at
/var/log/one/<driver name>.log. The drivers only send the error output of a
command to oned logger when they exit abnormally. Maybe debugging drivers
is a place where we can improve.


On Mon, Jul 21, 2014 at 2:14 PM, Joaquin Villanueva <jvillanueva at acb.es>
wrote:

>  Hi all,
>
> I'm trying to get debug output from datastore mads setting ONE_MAD_DEBUG=1
> at /etc/one/defaultrc, but i can't get any output at oned.log from
> log_debug, log_info or error_messages used inside the driver (seems only
> the one_*.rb daemon messages are shown) and no output to one_datastore.log
> is writed.
>
> With 3.8 version i was getting normal debug output at oned.log, but now
> this info only appears forcing an abnormal termination of the driver script
> (exit 1 or a syntax error to break the execution). Exiting abnormaly shows
> the info and debug messages from the driver after the "Command execution
> fail" message.
>
> I've missed to configure something when upgrading from 3.8 to 4.4 and 4.6?
> Now i'm on 4.6.2.
>
> Thanks and best regards!
>
> --
>
>
>    *Joaquín Villanueva Adrián*
>
> Director Técnico Área Media
>
>    <http://www.acb.com/>
>
> *ASOCIACIÓN CLUBS DE BALONCESTO*
>
> <http://www.acb.com/>
>
>   Tel
>
> +34 934 17 24 04
>
> Móvil
>
> +34 678 47 38 68
>
> Fax
>
> +34 934 18 23 94
>
>   www.acb.com
>
> Iradier, 37 - E 08017 - Barcelona
>
>
>  *Advertencia de privacidad: Este mensaje y los documentos que en su caso
> consten como anexos, son confidenciales. Así pues, si lo reciben por error,
> les solicitamos nos lo comuniquen y se abstengan de realizar copias del
> mismo o entregarlo a otro destinatario. A los efectos de la Ley 15/1999, de
> Protección de Datos de Carácter Personal, les informamos que los datos de
> carácter personal que figuran en esta comunicación están incluidos en un
> fichero automatizado cuyo responsable es ACB. Si desea ejercitar los
> derechos de acceso, rectificación, cancelación y oposición, diríjanse por
> escrito a la dirección de c/ Iradier, 37 - 08017 (Barcelona) o al siguiente
> correo electrónico: secretaria at acb.es <secretaria at acb.es>*
>
> *Privacy warning: This message and any attachments are confidential.
> Therefore, if you are not the intended addressee of this message, please
> delete it immediately without copying or forwarding it and inform the
> sender. For the purpose of the Law 15/1999, about protection of personal
> data, we inform you that the personal data contained in this message are
> included in a database, responsibility of ACB. In order to access, rectify,
> cancel and opposite any of these data, please write to C/ Iradier, 37 -
> 08017 (Barcelona) or to: secretaria at acb.es <secretaria at acb.es>*
>
> _______________________________________________
> Dev mailing list
> Dev at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org
>
>


-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/dev-opennebula.org/attachments/20140721/830dd606/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma_liga_endesa.png
Type: image/png
Size: 2632 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/dev-opennebula.org/attachments/20140721/830dd606/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma_acb.jpg
Type: image/jpeg
Size: 4440 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/dev-opennebula.org/attachments/20140721/830dd606/attachment-0001.jpg>


More information about the Dev mailing list