You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Poornima BS <po...@gmail.com> on 2017/01/16 04:45:14 UTC
Capture intermediate logs while launching instance
Hi,
I am using createNodesInGroup for launching instances, is there any way we
can capture intermediate logs while doing this.
As i have noticed we get to see log traces while creating nodes. Can we use
the same and publish those logs to UI.
Please do the needful.
Thanks & Regards,
Poornima.BS
Re: Capture intermediate logs while launching instance
Posted by Poornima BS <po...@gmail.com>.
Thank u let me try this
Thanks & regards,
Poornima.BS
On Wed, Jan 18, 2017 at 12:38 PM, Ignasi Barrera <na...@apache.org> wrote:
> The logs you can turn on are the compute logs. You can configure the
> "jclouds.compute" logs at debug level to see some more info of the
> provisioning process.
> https://jclouds.apache.org/reference/logging/
>
> On 18 January 2017 at 07:07, Poornima BS <po...@gmail.com>
> wrote:
> > Hi,
> >
> > So while launching an instance it first reaches pending, initializing and
> > running state.
> >
> > Also before this it performs some steps,
> > 1. adding node to a group
> > 2. getlocation from template
> > 3. add tags and names to region if present
> > 4. some validation and status checks
> > 5. Copies public key to node - key pair related
> > 6. Security group getting created or using existing
> > 6. executing the script in template on boot and so on
> >
> > I would like to know if i would be able to captures this progress while
> > launching a node.
> >
> > In console i can see the logs mentioned with in code of jclouds.
> >
> > Capturing these logs is the only way to go about it.
> >
> > I would like to show the user in real time abstracted information of
> what
> > is happening while he gives launch a node request.
> >
> > Like the node reached pending state...initializing state...some
> validations
> > happening...some status checks...
> >
> > Any suggestions on this would be of great help.
> >
> >
> > Thanks & Regards,
> > Poornima.BS
> >
> >
> >
> >
> >
> >
> > some status checks happen
> >
> > On Wed, Jan 18, 2017 at 3:01 AM, Ignasi Barrera <na...@apache.org> wrote:
> >
> >> Hi,
> >>
> >> When you say "intermediate logs", which logs do you refer to?
> >>
> >>
> >> I.
> >>
> >> On 16 January 2017 at 05:45, Poornima BS <po...@gmail.com>
> >> wrote:
> >> > Hi,
> >> >
> >> > I am using createNodesInGroup for launching instances, is there any
> way
> >> we
> >> > can capture intermediate logs while doing this.
> >> >
> >> > As i have noticed we get to see log traces while creating nodes. Can
> we
> >> use
> >> > the same and publish those logs to UI.
> >> >
> >> > Please do the needful.
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Poornima.BS
> >>
>
Re: Capture intermediate logs while launching instance
Posted by Ignasi Barrera <na...@apache.org>.
The logs you can turn on are the compute logs. You can configure the
"jclouds.compute" logs at debug level to see some more info of the
provisioning process.
https://jclouds.apache.org/reference/logging/
On 18 January 2017 at 07:07, Poornima BS <po...@gmail.com> wrote:
> Hi,
>
> So while launching an instance it first reaches pending, initializing and
> running state.
>
> Also before this it performs some steps,
> 1. adding node to a group
> 2. getlocation from template
> 3. add tags and names to region if present
> 4. some validation and status checks
> 5. Copies public key to node - key pair related
> 6. Security group getting created or using existing
> 6. executing the script in template on boot and so on
>
> I would like to know if i would be able to captures this progress while
> launching a node.
>
> In console i can see the logs mentioned with in code of jclouds.
>
> Capturing these logs is the only way to go about it.
>
> I would like to show the user in real time abstracted information of what
> is happening while he gives launch a node request.
>
> Like the node reached pending state...initializing state...some validations
> happening...some status checks...
>
> Any suggestions on this would be of great help.
>
>
> Thanks & Regards,
> Poornima.BS
>
>
>
>
>
>
> some status checks happen
>
> On Wed, Jan 18, 2017 at 3:01 AM, Ignasi Barrera <na...@apache.org> wrote:
>
>> Hi,
>>
>> When you say "intermediate logs", which logs do you refer to?
>>
>>
>> I.
>>
>> On 16 January 2017 at 05:45, Poornima BS <po...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I am using createNodesInGroup for launching instances, is there any way
>> we
>> > can capture intermediate logs while doing this.
>> >
>> > As i have noticed we get to see log traces while creating nodes. Can we
>> use
>> > the same and publish those logs to UI.
>> >
>> > Please do the needful.
>> >
>> >
>> > Thanks & Regards,
>> > Poornima.BS
>>
Re: Capture intermediate logs while launching instance
Posted by Poornima BS <po...@gmail.com>.
Hi,
So while launching an instance it first reaches pending, initializing and
running state.
Also before this it performs some steps,
1. adding node to a group
2. getlocation from template
3. add tags and names to region if present
4. some validation and status checks
5. Copies public key to node - key pair related
6. Security group getting created or using existing
6. executing the script in template on boot and so on
I would like to know if i would be able to captures this progress while
launching a node.
In console i can see the logs mentioned with in code of jclouds.
Capturing these logs is the only way to go about it.
I would like to show the user in real time abstracted information of what
is happening while he gives launch a node request.
Like the node reached pending state...initializing state...some validations
happening...some status checks...
Any suggestions on this would be of great help.
Thanks & Regards,
Poornima.BS
some status checks happen
On Wed, Jan 18, 2017 at 3:01 AM, Ignasi Barrera <na...@apache.org> wrote:
> Hi,
>
> When you say "intermediate logs", which logs do you refer to?
>
>
> I.
>
> On 16 January 2017 at 05:45, Poornima BS <po...@gmail.com>
> wrote:
> > Hi,
> >
> > I am using createNodesInGroup for launching instances, is there any way
> we
> > can capture intermediate logs while doing this.
> >
> > As i have noticed we get to see log traces while creating nodes. Can we
> use
> > the same and publish those logs to UI.
> >
> > Please do the needful.
> >
> >
> > Thanks & Regards,
> > Poornima.BS
>
Re: Capture intermediate logs while launching instance
Posted by Ignasi Barrera <na...@apache.org>.
Hi,
When you say "intermediate logs", which logs do you refer to?
I.
On 16 January 2017 at 05:45, Poornima BS <po...@gmail.com> wrote:
> Hi,
>
> I am using createNodesInGroup for launching instances, is there any way we
> can capture intermediate logs while doing this.
>
> As i have noticed we get to see log traces while creating nodes. Can we use
> the same and publish those logs to UI.
>
> Please do the needful.
>
>
> Thanks & Regards,
> Poornima.BS