Re: [foreman-dev] Missing Labels on Katello project

2016-07-13 Thread Eric D Helms
Much appreciated -- the labels appear to be back to normal.

Eric

On Wed, Jul 13, 2016 at 2:57 AM, Dominic Cleal  wrote:

> On 12/07/16 22:25, Eric D Helms wrote:
> > After the latest merge of code (from myself) to the prprocessor, labels
> > are not being applied to the katello/katello project. I am guessing
> > there is an error somewhere being thrown that prevents completion to
> > that point. Can someone with access to the prprocessor logs please check
> > them to see if there are errors being thrown?
>
> NoMethodError - undefined method `[]' for nil:NilClass:
>
> /var/lib/openshift/53be8f9c5973caa7ad000a13/app-root/runtime/repo/redmine/issue.rb:26:in
> `release'
>
> /var/lib/openshift/53be8f9c5973caa7ad000a13/app-root/runtime/repo/app.rb:44:in
> `block (2 levels) in '
>
> I've pushed a possible fix to handle a missing release field (2cb3b8a),
> hopefully that'll do the trick.
>
> --
> Dominic Cleal
> domi...@cleal.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] Remote Execution Output.

2016-07-13 Thread Ivan Necas
Yes it is, see 
https://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#3.5CLI
for more details

-- Ivan

On Sat, Jul 9, 2016 at 1:54 AM,   wrote:
> Thanks all, I will try these. Especially the hammer command might be 
> suitable. I also found the data in the SQLite db within the Dundon structure, 
> however if the above have outputs easier to parse then that would be great. 
> Am I right in saying hammer can issue the commands via cli by itself?
>
> Thanks again for your help on this!
>
>  On Friday, July 8, 2016 at 4:03:26 PM UTC+1, stephen wrote:
>> - Original Message -
>> > From: "colm scanlon" 
>> > To: "foreman-dev" 
>> > Sent: Friday, July 8, 2016 3:42:49 AM
>> > Subject: [foreman-dev] Remote Execution Output.
>> >
>> > Hi all,
>> > I am looking to capture the output of a foreman remote execution job to 
>> > parse
>> > it for display purposes. Does anyone know what table or how to access the
>> > raw data via the command line? E.g. So I can automate the parsing rather
>> > than clicking through on the GUI?
>>
>> It's accessible in the API per host (see /apidoc on your foreman for more 
>> details):
>>
>> /api/job_invocations/:id/hosts/:host_id
>>
>> It's also available in hammer CLI:
>>
>>   hammer job-invocation output --id 155 --host rex01.example.com
>>
>> There's a few issues we have open to improve this, like 
>> http://projects.theforeman.org/issues/11664
>> as Ivan mentioned to provide some parsing ability in Foreman itself, as well
>> as http://projects.theforeman.org/issues/12818 to download the output
>> for all hosts in a job invocation, maybe in a .zip archive.
>>
>> - Stephen
>>
>>
>> > Many thanks,
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "foreman-dev" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an
>> > email to foreman-dev+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups 
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.