OK. This here is the problem!
The following line is German:
Mitteleuropäische Sommerzeit
And that is what the puppetmaster makes out of it:
Mitteleurop\xe4ische Sommerzeit
If you manually delete the "ä" out of Mitteleuropäische Sommerzeit all
facts are shown as they should! But I don't want to change this for
all windows clients we have.
Let's see if we can get it fixed…
Anybody has ideas?
···
On 29 Mrz., 12:43, Jay Ze wrote:
> OK. We found the following lines in the log [ it has ∞ lines :-) ]:
>
> INSERT INTO "fact_values" ("updated_at", "created_at", "value",
> "fact_name_id", "host_id") VALUES ('2012-03-29 09:40:01.882147',
> '2012-03-29 09:40:01.882147', 'winsrv', 148, 342) RETURNING "id"
> Failed to save winsrv.domain.com: PGError: ERROR: invalid byte
> sequence for encoding "UTF8": 0xe46973
> Started GET "/hosts/winsrv.domain.com" for 10.61.203.71 at Thu Mar 29
> 11:40:25 +0200 2012
> Parameters: {"id"=>"winsrv.domain.com"}
>
> This could be the issue, right?
>
> ______________________________________________________________________________________________________________________
>
> btw:
>
> It is the same error I already posted in the puppetusers group:
>
> http://projects.puppetlabs.com/issues/12702
>
> _______________________________________________________________________________________________________________________
>
> On 29 Mrz., 11:48, Jay Ze wrote:
>
>
>
>
>
>
>
> > All right.
>
> > We're just scanning the logs and post them later.
>
> > Maybe we'll update foreman today..
>
> > I will report more when lunchtime is over here in Germany :-)
>
> > On 29 Mrz., 11:17, Ohad Levy wrote:
>
> > > On Thu, Mar 29, 2012 at 10:51 AM, Jay Ze > > > > wrote:
> > > > We are running puppetmaster and foreman on the same machine. So we
> > > > also tried following:
>
> > > > rake puppet:import:hosts_and_facts RAILS_ENV=production
>
> > > > Same output with no effect.
>
> > > please provide the logs from foreman when you import your facts....
> > > the error might be there
>
> > > > On 29 Mrz., 10:47, Jay Ze wrote:
> > > >> No we disabled storeconfigs.
>
> > > >> On 29 Mrz., 10:45, Corey Osman wrote:
>
> > > >> > Did you say you were running storeconfigs?
>
> > > >> > Corey Osman
> > > >> > co...@logicminds.biz
> > > >> > 678-348-0582 (Pacific Time)
>
> > > >> > Green IT and Datacenter Automation Specialist
>
> > > >> > On Mar 29, 2012, at 12:02 AM, Jay Ze wrote:
>
> > > >> > > OK I found out that
>
> > > >> > > puppet agent --test --report
>
> > > >> > > seems to do something, although it's not listed as correct option for
> > > >> > > puppet agent (http://docs.puppetlabs.com/man/agent.html)
>
> > > >> > > But still no reports for my client...
> > > >> > > That's strange. I'll google for some more information about that.
>
> > > >> > > On 29 Mrz., 08:40, Jay Ze wrote:
> > > >> > >> OK.
>
> > > >> > >> I checked my puppet.conf.
>
> > > >> > >> report = true
>
> > > >> > >> is set correctly..
>
> > > >> > >> But ckecking the $vardir/reports directory on the master I can't find
> > > >> > >> any reports from my windows clients.... hmm.
>
> > > >> > >> Maybe I have to run puppet agent --test with any option like --reports
> > > >> > >> or something like that.
>
> > > >> > >> Does anybody know of there is an option to turn on reports by running
> > > >> > >> puppet?
>
> > > >> > >> On 29 Mrz., 08:11, Corey Osman wrote:
>
> > > >> > >>> I think its just reports=true.
>
> > > >> > >>> When I get a chance I test the new windows puppet installer on my windows system and see what I get.
>
> > > >> > >>> Corey Osman
> > > >> > >>> co...@logicminds.biz
> > > >> > >>> 678-348-0582 (Pacific Time)
>
> > > >> > >>> Green IT and Datacenter Automation Specialist
>
> > > >> > >>> On Mar 28, 2012, at 10:25 PM, Jay Ze wrote:
>
> > > >> > >>>> Hi.
>
> > > >> > >>>> Didn't know that the client has to be configured to send out the
> > > >> > >>>> facts...
>
> > > >> > >>>> Do you know where to do it?
>
> > > >> > >>>> I'll google meanwhile. Maybe I find some information.
>
> > > >> > >>>> On 28 Mrz., 17:35, Corey Osman wrote:
> > > >> > >>>>> Did you configure the puppet windows client to send reports?
>
> > > >> > >>>>> Note: windows is not fully supported but most of it works. You should be able to see the facts.
>
> > > >> > >>>>> Sent from my iPhone
>
> > > >> > >>>>> On Mar 28, 2012, at 4:32 AM, Jay Ze wrote:
>
> > > >> > >>>>>> Hi,
>
> > > >> > >>>>>> I'm using foreman with puppet. It works very good as far as we talk
> > > >> > >>>>>> about linux servers.
>
> > > >> > >>>>>> But now I've got some new Winows Servers which are also using puppet
> > > >> > >>>>>> (foreman).
>
> > > >> > >>>>>> I created those hosts in foreman and installed puppet on them.
> > > >> > >>>>>> everything is quiet good.
>
> > > >> > >>>>>> But can somebody here please tell me why I can't see any facts about
> > > >> > >>>>>> my windows servers?
>
> > > >> > >>>>>> For all my linux Servers I can see all the facts about the server by
> > > >> > >>>>>> selecting the host -> clicking the box facts on the right side under
> > > >> > >>>>>> details.
>
> > > >> > >>>>>> For my windows Servers it just shows:
>
> > > >> > >>>>>> Not entries found
>
> > > >> > >>>>>> Any idea?
>
> > > >> > >>>>>> --
> > > >> > >>>>>> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> > > >> > >>>>>> To post to this group, send email to foreman-users@googlegroups.com.
> > > >> > >>>>>> To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
> > > >> > >>>>>> For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.
>
> > > >> > >>>> --
> > > >> > >>>> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> > > >> > >>>> To post to this group, send email to foreman-users@googlegroups.com.
> > > >> > >>>> To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
> > > >> > >>>> For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.
>
> > > >> > > --
> > > >> > > You received this message because you are subscribed to the Google Groups "Foreman users" group.
> > > >> > > To post to this group, send email to foreman-users@googlegroups.com.
> > > >> > > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
> > > >> > > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "Foreman users" group.
> > > > To post to this group, send email to foreman-users@googlegroups.com.
> > > > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
> > > > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.
The problem is windows uses windows-1250 encoding but foreman needs UTF8.
That's why the error message occurs.
···
Am Donnerstag, 29. März 2012 13:02:42 UTC+2 schrieb Jan Ziegler:
>
> OK. This here is the problem!
>
> The following line is German:
> Mitteleuropäische Sommerzeit
>
> And that is what the puppetmaster makes out of it:
> Mitteleurop\xe4ische Sommerzeit
>
>
>
> If you manually delete the "ä" out of Mitteleuropäische Sommerzeit all
> facts are shown as they should! But I don't want to change this for
> all windows clients we have.
> Let's see if we can get it fixed..
>
> Anybody has ideas?
>
>
>
> On 29 Mrz., 12:43, Jay Ze wrote:
> > OK. We found the following lines in the log [ it has ∞ lines :-) ]:
> >
> > INSERT INTO "fact_values" ("updated_at", "created_at", "value",
> > "fact_name_id", "host_id") VALUES ('2012-03-29 09:40:01.882147',
> > '2012-03-29 09:40:01.882147', 'winsrv', 148, 342) RETURNING "id"
> > Failed to save winsrv.domain.com: PGError: ERROR: invalid byte
> > sequence for encoding "UTF8": 0xe46973
> > Started GET "/hosts/winsrv.domain.com" for 10.61.203.71 at Thu Mar 29
> > 11:40:25 +0200 2012
> > Parameters: {"id"=>"winsrv.domain.com"}
> >
> > This could be the issue, right?
> >
> >
> ______________________________________________________________________________________________________________________
>
> >
> > btw:
> >
> > It is the same error I already posted in the puppetusers group:
> >
> > http://projects.puppetlabs.com/issues/12702
> >
> >
> _______________________________________________________________________________________________________________________
>
> >
> > On 29 Mrz., 11:48, Jay Ze wrote:
> >
> >
> >
> >
> >
> >
> >
> > > All right.
> >
> > > We're just scanning the logs and post them later.
> >
> > > Maybe we'll update foreman today..
> >
> > > I will report more when lunchtime is over here in Germany :-)
> >
> > > On 29 Mrz., 11:17, Ohad Levy wrote:
> >
> > > > On Thu, Mar 29, 2012 at 10:51 AM, Jay Ze > > > > > > wrote:
> > > > > We are running puppetmaster and foreman on the same machine. So we
> > > > > also tried following:
> >
> > > > > rake puppet:import:hosts_and_facts RAILS_ENV=production
> >
> > > > > Same output with no effect.
> >
> > > > please provide the logs from foreman when you import your facts....
> > > > the error might be there
> >
> > > > > On 29 Mrz., 10:47, Jay Ze > wrote:
> > > > >> No we disabled storeconfigs.
> >
> > > > >> On 29 Mrz., 10:45, Corey Osman wrote:
> >
> > > > >> > Did you say you were running storeconfigs?
> >
> > > > >> > Corey Osman
> > > > >> > co...@logicminds.biz
> > > > >> > 678-348-0582 (Pacific Time)
> >
> > > > >> > Green IT and Datacenter Automation Specialist
> >
> > > > >> > On Mar 29, 2012, at 12:02 AM, Jay Ze wrote:
> >
> > > > >> > > OK I found out that
> >
> > > > >> > > puppet agent --test --report
> >
> > > > >> > > seems to do something, although it's not listed as correct
> option for
> > > > >> > > puppet agent (http://docs.puppetlabs.com/man/agent.html)
> >
> > > > >> > > But still no reports for my client...
> > > > >> > > That's strange. I'll google for some more information about
> that.
> >
> > > > >> > > On 29 Mrz., 08:40, Jay Ze > wrote:
> > > > >> > >> OK.
> >
> > > > >> > >> I checked my puppet.conf.
> >
> > > > >> > >> report = true
> >
> > > > >> > >> is set correctly..
> >
> > > > >> > >> But ckecking the $vardir/reports directory on the master I
> can't find
> > > > >> > >> any reports from my windows clients.... hmm.
> >
> > > > >> > >> Maybe I have to run puppet agent --test with any option like
> --reports
> > > > >> > >> or something like that.
> >
> > > > >> > >> Does anybody know of there is an option to turn on reports
> by running
> > > > >> > >> puppet?
> >
> > > > >> > >> On 29 Mrz., 08:11, Corey Osman > wrote:
> >
> > > > >> > >>> I think its just reports=true.
> >
> > > > >> > >>> When I get a chance I test the new windows puppet installer
> on my windows system and see what I get.
> >
> > > > >> > >>> Corey Osman
> > > > >> > >>> co...@logicminds.biz
> > > > >> > >>> 678-348-0582 (Pacific Time)
> >
> > > > >> > >>> Green IT and Datacenter Automation Specialist
> >
> > > > >> > >>> On Mar 28, 2012, at 10:25 PM, Jay Ze wrote:
> >
> > > > >> > >>>> Hi.
> >
> > > > >> > >>>> Didn't know that the client has to be configured to send
> out the
> > > > >> > >>>> facts...
> >
> > > > >> > >>>> Do you know where to do it?
> >
> > > > >> > >>>> I'll google meanwhile. Maybe I find some information.
> >
> > > > >> > >>>> On 28 Mrz., 17:35, Corey Osman > wrote:
> > > > >> > >>>>> Did you configure the puppet windows client to send
> reports?
> >
> > > > >> > >>>>> Note: windows is not fully supported but most of it
> works. You should be able to see the facts.
> >
> > > > >> > >>>>> Sent from my iPhone
> >
> > > > >> > >>>>> On Mar 28, 2012, at 4:32 AM, Jay Ze < > iltisannihila...@googlemail.com> wrote:
> >
> > > > >> > >>>>>> Hi,
> >
> > > > >> > >>>>>> I'm using foreman with puppet. It works very good as far
> as we talk
> > > > >> > >>>>>> about linux servers.
> >
> > > > >> > >>>>>> But now I've got some new Winows Servers which are also
> using puppet
> > > > >> > >>>>>> (foreman).
> >
> > > > >> > >>>>>> I created those hosts in foreman and installed puppet on
> them.
> > > > >> > >>>>>> everything is quiet good.
> >
> > > > >> > >>>>>> But can somebody here please tell me why I can't see any
> facts about
> > > > >> > >>>>>> my windows servers?
> >
> > > > >> > >>>>>> For all my linux Servers I can see all the facts about
> the server by
> > > > >> > >>>>>> selecting the host -> clicking the box facts on the
> right side under
> > > > >> > >>>>>> details.
> >
> > > > >> > >>>>>> For my windows Servers it just shows:
> >
> > > > >> > >>>>>> Not entries found
> >
> > > > >> > >>>>>> Any idea?
> >
> > > > >> > >>>>>> --
> > > > >> > >>>>>> You received this message because you are subscribed to
> the Google Groups "Foreman users" group.
> > > > >> > >>>>>> To post to this group, send email to
> foreman-users@googlegroups.com.
> > > > >> > >>>>>> To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> > > > >> > >>>>>> For more options, visit this group athttp://
> groups.google.com/group/foreman-users?hl=en.
> >
> > > > >> > >>>> --
> > > > >> > >>>> You received this message because you are subscribed to
> the Google Groups "Foreman users" group.
> > > > >> > >>>> To post to this group, send email to
> foreman-users@googlegroups.com.
> > > > >> > >>>> To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> > > > >> > >>>> For more options, visit this group athttp://
> groups.google.com/group/foreman-users?hl=en.
> >
> > > > >> > > --
> > > > >> > > You received this message because you are subscribed to the
> Google Groups "Foreman users" group.
> > > > >> > > To post to this group, send email to
> foreman-users@googlegroups.com.
> > > > >> > > To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> > > > >> > > For more options, visit this group athttp://
> groups.google.com/group/foreman-users?hl=en.
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> Groups "Foreman users" group.
> > > > > To post to this group, send email to
> foreman-users@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> > > > > For more options, visit this group athttp://
> groups.google.com/group/foreman-users?hl=en.
> The problem is windows uses windows-1250 encoding but foreman needs UTF8.
>
> That's why the error message occurs.
it sounds to me like two different bugs:
- facter does not verify that it gets the values in UTF8
- foreman does not check that either.
imho, its best solved in 1, and as a workaround ,we can probably fix
it in 2 as well.
please open a bug in foreman, and I would recommend to open it in
puppet too (as I'm guessing they didnt do a lot of multi language
checks for facter/puppet :)).
Ohad
···
On Thu, Mar 29, 2012 at 1:45 PM, Jan Ziegler wrote:
>
>
> Am Donnerstag, 29. März 2012 13:02:42 UTC+2 schrieb Jan Ziegler:
>>
>> OK. This here is the problem!
>>
>> The following line is German:
>> Mitteleuropäische Sommerzeit
>>
>> And that is what the puppetmaster makes out of it:
>> Mitteleurop\xe4ische Sommerzeit
>>
>>
>>
>> If you manually delete the "ä" out of Mitteleuropäische Sommerzeit all
>> facts are shown as they should! But I don't want to change this for
>> all windows clients we have.
>> Let's see if we can get it fixed..
>>
>> Anybody has ideas?
>>
>>
>>
>> On 29 Mrz., 12:43, Jay Ze wrote:
>> > OK. We found the following lines in the log [ it has ∞ lines :-) ]:
>> >
>> > INSERT INTO "fact_values" ("updated_at", "created_at", "value",
>> > "fact_name_id", "host_id") VALUES ('2012-03-29 09:40:01.882147',
>> > '2012-03-29 09:40:01.882147', 'winsrv', 148, 342) RETURNING "id"
>> > Failed to save winsrv.domain.com: PGError: ERROR: invalid byte
>> > sequence for encoding "UTF8": 0xe46973
>> > Started GET "/hosts/winsrv.domain.com" for 10.61.203.71 at Thu Mar 29
>> > 11:40:25 +0200 2012
>> > Parameters: {"id"=>"winsrv.domain.com"}
>> >
>> > This could be the issue, right?
>> >
>> >
>> > ______________________________________________________________________________________________________________________
>> >
>> > btw:
>> >
>> > It is the same error I already posted in the puppetusers group:
>> >
>> > http://projects.puppetlabs.com/issues/12702
>> >
>> >
>> > _______________________________________________________________________________________________________________________
>> >
>> > On 29 Mrz., 11:48, Jay Ze wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > All right.
>> >
>> > > We're just scanning the logs and post them later.
>> >
>> > > Maybe we'll update foreman today..
>> >
>> > > I will report more when lunchtime is over here in Germany :-)
>> >
>> > > On 29 Mrz., 11:17, Ohad Levy wrote:
>> >
>> > > > On Thu, Mar 29, 2012 at 10:51 AM, Jay Ze >> > >> > > > wrote:
>> > > > > We are running puppetmaster and foreman on the same machine. So we
>> > > > > also tried following:
>> >
>> > > > > rake puppet:import:hosts_and_facts RAILS_ENV=production
>> >
>> > > > > Same output with no effect.
>> >
>> > > > please provide the logs from foreman when you import your facts....
>> > > > the error might be there
>> >
>> > > > > On 29 Mrz., 10:47, Jay Ze wrote:
>> > > > >> No we disabled storeconfigs.
>> >
>> > > > >> On 29 Mrz., 10:45, Corey Osman wrote:
>> >
>> > > > >> > Did you say you were running storeconfigs?
>> >
>> > > > >> > Corey Osman
>> > > > >> > co...@logicminds.biz
>> > > > >> > 678-348-0582 (Pacific Time)
>> >
>> > > > >> > Green IT and Datacenter Automation Specialist
>> >
>> > > > >> > On Mar 29, 2012, at 12:02 AM, Jay Ze wrote:
>> >
>> > > > >> > > OK I found out that
>> >
>> > > > >> > > puppet agent --test --report
>> >
>> > > > >> > > seems to do something, although it's not listed as correct
>> > > > >> > > option for
>> > > > >> > > puppet agent (http://docs.puppetlabs.com/man/agent.html)
>> >
>> > > > >> > > But still no reports for my client...
>> > > > >> > > That's strange. I'll google for some more information about
>> > > > >> > > that.
>> >
>> > > > >> > > On 29 Mrz., 08:40, Jay Ze >> > > > >> > > wrote:
>> > > > >> > >> OK.
>> >
>> > > > >> > >> I checked my puppet.conf.
>> >
>> > > > >> > >> report = true
>> >
>> > > > >> > >> is set correctly..
>> >
>> > > > >> > >> But ckecking the $vardir/reports directory on the master I
>> > > > >> > >> can't find
>> > > > >> > >> any reports from my windows clients.... hmm.
>> >
>> > > > >> > >> Maybe I have to run puppet agent --test with any option like
>> > > > >> > >> --reports
>> > > > >> > >> or something like that.
>> >
>> > > > >> > >> Does anybody know of there is an option to turn on reports
>> > > > >> > >> by running
>> > > > >> > >> puppet?
>> >
>> > > > >> > >> On 29 Mrz., 08:11, Corey Osman wrote:
>> >
>> > > > >> > >>> I think its just reports=true.
>> >
>> > > > >> > >>> When I get a chance I test the new windows puppet installer
>> > > > >> > >>> on my windows system and see what I get.
>> >
>> > > > >> > >>> Corey Osman
>> > > > >> > >>> co...@logicminds.biz
>> > > > >> > >>> 678-348-0582 (Pacific Time)
>> >
>> > > > >> > >>> Green IT and Datacenter Automation Specialist
>> >
>> > > > >> > >>> On Mar 28, 2012, at 10:25 PM, Jay Ze wrote:
>> >
>> > > > >> > >>>> Hi.
>> >
>> > > > >> > >>>> Didn't know that the client has to be configured to send
>> > > > >> > >>>> out the
>> > > > >> > >>>> facts...
>> >
>> > > > >> > >>>> Do you know where to do it?
>> >
>> > > > >> > >>>> I'll google meanwhile. Maybe I find some information.
>> >
>> > > > >> > >>>> On 28 Mrz., 17:35, Corey Osman >> > > > >> > >>>> wrote:
>> > > > >> > >>>>> Did you configure the puppet windows client to send
>> > > > >> > >>>>> reports?
>> >
>> > > > >> > >>>>> Note: windows is not fully supported but most of it
>> > > > >> > >>>>> works. You should be able to see the facts.
>> >
>> > > > >> > >>>>> Sent from my iPhone
>> >
>> > > > >> > >>>>> On Mar 28, 2012, at 4:32 AM, Jay Ze >> > > > >> > >>>>> wrote:
>> >
>> > > > >> > >>>>>> Hi,
>> >
>> > > > >> > >>>>>> I'm using foreman with puppet. It works very good as far
>> > > > >> > >>>>>> as we talk
>> > > > >> > >>>>>> about linux servers.
>> >
>> > > > >> > >>>>>> But now I've got some new Winows Servers which are also
>> > > > >> > >>>>>> using puppet
>> > > > >> > >>>>>> (foreman).
>> >
>> > > > >> > >>>>>> I created those hosts in foreman and installed puppet on
>> > > > >> > >>>>>> them.
>> > > > >> > >>>>>> everything is quiet good.
>> >
>> > > > >> > >>>>>> But can somebody here please tell me why I can't see any
>> > > > >> > >>>>>> facts about
>> > > > >> > >>>>>> my windows servers?
>> >
>> > > > >> > >>>>>> For all my linux Servers I can see all the facts about
>> > > > >> > >>>>>> the server by
>> > > > >> > >>>>>> selecting the host -> clicking the box facts on the
>> > > > >> > >>>>>> right side under
>> > > > >> > >>>>>> details.
>> >
>> > > > >> > >>>>>> For my windows Servers it just shows:
>> >
>> > > > >> > >>>>>> Not entries found
>> >
>> > > > >> > >>>>>> Any idea?
>> >
>> > > > >> > >>>>>> --
>> > > > >> > >>>>>> You received this message because you are subscribed to
>> > > > >> > >>>>>> the Google Groups "Foreman users" group.
>> > > > >> > >>>>>> To post to this group, send email to
>> > > > >> > >>>>>> foreman-users@googlegroups.com.
>> > > > >> > >>>>>> To unsubscribe from this group, send email to
>> > > > >> > >>>>>> foreman-users+unsubscribe@googlegroups.com.
>> > > > >> > >>>>>> For more options, visit this group
>> > > > >> > >>>>>> athttp://groups.google.com/group/foreman-users?hl=en.
>> >
>> > > > >> > >>>> --
>> > > > >> > >>>> You received this message because you are subscribed to
>> > > > >> > >>>> the Google Groups "Foreman users" group.
>> > > > >> > >>>> To post to this group, send email to
>> > > > >> > >>>> foreman-users@googlegroups.com.
>> > > > >> > >>>> To unsubscribe from this group, send email to
>> > > > >> > >>>> foreman-users+unsubscribe@googlegroups.com.
>> > > > >> > >>>> For more options, visit this group
>> > > > >> > >>>> athttp://groups.google.com/group/foreman-users?hl=en.
>> >
>> > > > >> > > --
>> > > > >> > > You received this message because you are subscribed to the
>> > > > >> > > Google Groups "Foreman users" group.
>> > > > >> > > To post to this group, send email to
>> > > > >> > > foreman-users@googlegroups.com.
>> > > > >> > > To unsubscribe from this group, send email to
>> > > > >> > > foreman-users+unsubscribe@googlegroups.com.
>> > > > >> > > For more options, visit this group
>> > > > >> > > athttp://groups.google.com/group/foreman-users?hl=en.
>> >
>> > > > > --
>> > > > > You received this message because you are subscribed to the Google
>> > > > > Groups "Foreman users" group.
>> > > > > To post to this group, send email to
>> > > > > foreman-users@googlegroups.com.
>> > > > > To unsubscribe from this group, send email to
>> > > > > foreman-users+unsubscribe@googlegroups.com.
>> > > > > For more options, visit this group
>> > > > > athttp://groups.google.com/group/foreman-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/foreman-users/-/6zpzaHFjT7gJ.
>
> To post to this group, send email to foreman-users@googlegroups.com.
> To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/foreman-users?hl=en.
OK.
I posted this bug in foreman and puppet.
http://theforeman.org/issues/1560
http://projects.puppetlabs.com/issues/13533
Thank you all for your help!
···
Am Donnerstag, 29. März 2012 14:04:50 UTC+2 schrieb ohad:
>
> On Thu, Mar 29, 2012 at 1:45 PM, Jan Ziegler > wrote:
> > The problem is windows uses windows-1250 encoding but foreman needs UTF8.
> >
> > That's why the error message occurs.
>
> it sounds to me like two different bugs:
> 1. facter does not verify that it gets the values in UTF8
> 2. foreman does not check that either.
>
> imho, its best solved in 1, and as a workaround ,we can probably fix
> it in 2 as well.
>
> please open a bug in foreman, and I would recommend to open it in
> puppet too (as I'm guessing they didnt do a lot of multi language
> checks for facter/puppet :)).
>
> Ohad
> >
> >
> > Am Donnerstag, 29. März 2012 13:02:42 UTC+2 schrieb Jan Ziegler:
> >>
> >> OK. This here is the problem!
> >>
> >> The following line is German:
> >> Mitteleuropäische Sommerzeit
> >>
> >> And that is what the puppetmaster makes out of it:
> >> Mitteleurop\xe4ische Sommerzeit
> >>
> >>
> >>
> >> If you manually delete the "ä" out of Mitteleuropäische Sommerzeit all
> >> facts are shown as they should! But I don't want to change this for
> >> all windows clients we have.
> >> Let's see if we can get it fixed..
> >>
> >> Anybody has ideas?
> >>
> >>
> >>
> >> On 29 Mrz., 12:43, Jay Ze wrote:
> >> > OK. We found the following lines in the log [ it has ∞ lines :-) ]:
> >> >
> >> > INSERT INTO "fact_values" ("updated_at", "created_at", "value",
> >> > "fact_name_id", "host_id") VALUES ('2012-03-29 09:40:01.882147',
> >> > '2012-03-29 09:40:01.882147', 'winsrv', 148, 342) RETURNING "id"
> >> > Failed to save winsrv.domain.com: PGError: ERROR: invalid byte
> >> > sequence for encoding "UTF8": 0xe46973
> >> > Started GET "/hosts/winsrv.domain.com" for 10.61.203.71 at Thu Mar 29
> >> > 11:40:25 +0200 2012
> >> > Parameters: {"id"=>"winsrv.domain.com"}
> >> >
> >> > This could be the issue, right?
> >> >
> >> >
> >> >
> ______________________________________________________________________________________________________________________
> >> >
> >> > btw:
> >> >
> >> > It is the same error I already posted in the puppetusers group:
> >> >
> >> > http://projects.puppetlabs.com/issues/12702
> >> >
> >> >
> >> >
> _______________________________________________________________________________________________________________________
> >> >
> >> > On 29 Mrz., 11:48, Jay Ze wrote:
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > > All right.
> >> >
> >> > > We're just scanning the logs and post them later.
> >> >
> >> > > Maybe we'll update foreman today..
> >> >
> >> > > I will report more when lunchtime is over here in Germany :-)
> >> >
> >> > > On 29 Mrz., 11:17, Ohad Levy wrote:
> >> >
> >> > > > On Thu, Mar 29, 2012 at 10:51 AM, Jay Ze > >> > > >> > > > wrote:
> >> > > > > We are running puppetmaster and foreman on the same machine. So
> we
> >> > > > > also tried following:
> >> >
> >> > > > > rake puppet:import:hosts_and_facts RAILS_ENV=production
> >> >
> >> > > > > Same output with no effect.
> >> >
> >> > > > please provide the logs from foreman when you import your
> facts....
> >> > > > the error might be there
> >> >
> >> > > > > On 29 Mrz., 10:47, Jay Ze > wrote:
> >> > > > >> No we disabled storeconfigs.
> >> >
> >> > > > >> On 29 Mrz., 10:45, Corey Osman wrote:
> >> >
> >> > > > >> > Did you say you were running storeconfigs?
> >> >
> >> > > > >> > Corey Osman
> >> > > > >> > co...@logicminds.biz
> >> > > > >> > 678-348-0582 (Pacific Time)
> >> >
> >> > > > >> > Green IT and Datacenter Automation Specialist
> >> >
> >> > > > >> > On Mar 29, 2012, at 12:02 AM, Jay Ze wrote:
> >> >
> >> > > > >> > > OK I found out that
> >> >
> >> > > > >> > > puppet agent --test --report
> >> >
> >> > > > >> > > seems to do something, although it's not listed as correct
> >> > > > >> > > option for
> >> > > > >> > > puppet agent (http://docs.puppetlabs.com/man/agent.html)
> >> >
> >> > > > >> > > But still no reports for my client...
> >> > > > >> > > That's strange. I'll google for some more information about
> >> > > > >> > > that.
> >> >
> >> > > > >> > > On 29 Mrz., 08:40, Jay Ze > > >> > > > >> > > wrote:
> >> > > > >> > >> OK.
> >> >
> >> > > > >> > >> I checked my puppet.conf.
> >> >
> >> > > > >> > >> report = true
> >> >
> >> > > > >> > >> is set correctly..
> >> >
> >> > > > >> > >> But ckecking the $vardir/reports directory on the master I
> >> > > > >> > >> can't find
> >> > > > >> > >> any reports from my windows clients.... hmm.
> >> >
> >> > > > >> > >> Maybe I have to run puppet agent --test with any option
> like
> >> > > > >> > >> --reports
> >> > > > >> > >> or something like that.
> >> >
> >> > > > >> > >> Does anybody know of there is an option to turn on reports
> >> > > > >> > >> by running
> >> > > > >> > >> puppet?
> >> >
> >> > > > >> > >> On 29 Mrz., 08:11, Corey Osman > wrote:
> >> >
> >> > > > >> > >>> I think its just reports=true.
> >> >
> >> > > > >> > >>> When I get a chance I test the new windows puppet
> installer
> >> > > > >> > >>> on my windows system and see what I get.
> >> >
> >> > > > >> > >>> Corey Osman
> >> > > > >> > >>> co...@logicminds.biz
> >> > > > >> > >>> 678-348-0582 (Pacific Time)
> >> >
> >> > > > >> > >>> Green IT and Datacenter Automation Specialist
> >> >
> >> > > > >> > >>> On Mar 28, 2012, at 10:25 PM, Jay Ze wrote:
> >> >
> >> > > > >> > >>>> Hi.
> >> >
> >> > > > >> > >>>> Didn't know that the client has to be configured to send
> >> > > > >> > >>>> out the
> >> > > > >> > >>>> facts...
> >> >
> >> > > > >> > >>>> Do you know where to do it?
> >> >
> >> > > > >> > >>>> I'll google meanwhile. Maybe I find some information.
> >> >
> >> > > > >> > >>>> On 28 Mrz., 17:35, Corey Osman > >> > > > >> > >>>> wrote:
> >> > > > >> > >>>>> Did you configure the puppet windows client to send
> >> > > > >> > >>>>> reports?
> >> >
> >> > > > >> > >>>>> Note: windows is not fully supported but most of it
> >> > > > >> > >>>>> works. You should be able to see the facts.
> >> >
> >> > > > >> > >>>>> Sent from my iPhone
> >> >
> >> > > > >> > >>>>> On Mar 28, 2012, at 4:32 AM, Jay Ze > >> > > > >> > >>>>> wrote:
> >> >
> >> > > > >> > >>>>>> Hi,
> >> >
> >> > > > >> > >>>>>> I'm using foreman with puppet. It works very good as
> far
> >> > > > >> > >>>>>> as we talk
> >> > > > >> > >>>>>> about linux servers.
> >> >
> >> > > > >> > >>>>>> But now I've got some new Winows Servers which are
> also
> >> > > > >> > >>>>>> using puppet
> >> > > > >> > >>>>>> (foreman).
> >> >
> >> > > > >> > >>>>>> I created those hosts in foreman and installed puppet
> on
> >> > > > >> > >>>>>> them.
> >> > > > >> > >>>>>> everything is quiet good.
> >> >
> >> > > > >> > >>>>>> But can somebody here please tell me why I can't see
> any
> >> > > > >> > >>>>>> facts about
> >> > > > >> > >>>>>> my windows servers?
> >> >
> >> > > > >> > >>>>>> For all my linux Servers I can see all the facts about
> >> > > > >> > >>>>>> the server by
> >> > > > >> > >>>>>> selecting the host -> clicking the box facts on the
> >> > > > >> > >>>>>> right side under
> >> > > > >> > >>>>>> details.
> >> >
> >> > > > >> > >>>>>> For my windows Servers it just shows:
> >> >
> >> > > > >> > >>>>>> Not entries found
> >> >
> >> > > > >> > >>>>>> Any idea?
> >> >
> >> > > > >> > >>>>>> --
> >> > > > >> > >>>>>> You received this message because you are subscribed
> to
> >> > > > >> > >>>>>> the Google Groups "Foreman users" group.
> >> > > > >> > >>>>>> To post to this group, send email to
> >> > > > >> > >>>>>> foreman-users@googlegroups.com.
> >> > > > >> > >>>>>> To unsubscribe from this group, send email to
> >> > > > >> > >>>>>> foreman-users+unsubscribe@googlegroups.com.
> >> > > > >> > >>>>>> For more options, visit this group
> >> > > > >> > >>>>>> athttp://groups.google.com/group/foreman-users?hl=en.
> >> >
> >> > > > >> > >>>> --
> >> > > > >> > >>>> You received this message because you are subscribed to
> >> > > > >> > >>>> the Google Groups "Foreman users" group.
> >> > > > >> > >>>> To post to this group, send email to
> >> > > > >> > >>>> foreman-users@googlegroups.com.
> >> > > > >> > >>>> To unsubscribe from this group, send email to
> >> > > > >> > >>>> foreman-users+unsubscribe@googlegroups.com.
> >> > > > >> > >>>> For more options, visit this group
> >> > > > >> > >>>> athttp://groups.google.com/group/foreman-users?hl=en.
> >> >
> >> > > > >> > > --
> >> > > > >> > > You received this message because you are subscribed to the
> >> > > > >> > > Google Groups "Foreman users" group.
> >> > > > >> > > To post to this group, send email to
> >> > > > >> > > foreman-users@googlegroups.com.
> >> > > > >> > > To unsubscribe from this group, send email to
> >> > > > >> > > foreman-users+unsubscribe@googlegroups.com.
> >> > > > >> > > For more options, visit this group
> >> > > > >> > > athttp://groups.google.com/group/foreman-users?hl=en.
> >> >
> >> > > > > --
> >> > > > > You received this message because you are subscribed to the
> Google
> >> > > > > Groups "Foreman users" group.
> >> > > > > To post to this group, send email to
> >> > > > > foreman-users@googlegroups.com.
> >> > > > > To unsubscribe from this group, send email to
> >> > > > > foreman-users+unsubscribe@googlegroups.com.
> >> > > > > For more options, visit this group
> >> > > > > athttp://groups.google.com/group/foreman-users?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Foreman users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/foreman-users/-/6zpzaHFjT7gJ.
> >
> > To post to this group, send email to foreman-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > foreman-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/foreman-users?hl=en.
>
>