cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurav Lahiri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3471) Provide an API to extract the log statements of a given jobid
Date Wed, 12 Feb 2014 06:21:19 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898840#comment-13898840
] 

Saurav Lahiri commented on CLOUDSTACK-3471:
-------------------------------------------

Mail to dev:

Prasanna,
This is regard to the ticket 3471 that you had raised. Your suggestion was
to have a cloudstack API. Based on the discussion and the way logging
is generally handled, it was felt that a API might not be the best thing.
I have documented a process to get a logging service enabled. I have also
attached two scripts to the wiki doc which will enable setting up a template
with the various services enabled and which can be used to spawn the
guests with the services. I have tested it for CentOS templates and 
Ubuntu templates. If there are any issues do let me know and I can fix
them. Do give it a try and let me know if this serves the purpose and the defect
can be closed.

Thanks
Saurav

> Provide an API to extract the log statements of a given jobid
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3471
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3471
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: pre-4.0.0, 4.0.0, 4.1.0
>            Reporter: Prasanna Santhanam
>             Fix For: Future
>
>
> With the job-id in the logs having no link to the external world that is
> interacting with the cloudstack API it is not easy to correlate a failure with
> a specific job. 
> With the inclusion of uuids in the management server logs it would be nice to
> provide an API extractJobLog that takes a jobid = <uuid> as parameter so as to
> extract all log statements of the job. This will be an admin only API and
> ideally a plugin that can be turned off in favour of better log
> monitoring/analyis systems.
> Having the log makes is useful to link our automated test failures with the log
> from the management server using a simple API call.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message