On Mon, Jun 22, 2009 at 6:17 PM, Greg<greg.b...@gmail.com> wrote:
>
> Hi all,
>
> I've come across this problem and in my case its a *slight*
> difference...
>
> Basically when I jumpstart a host on Solaris, the initial hostname is
> sans
> domainname. After running through puppet for the first time, puppet
> decides
> that the hostname includes a domain name because puppet is
> responsible
> for putting in a resolv.conf file (I bootstrap it using hosts files).

Are you completely wedded to the idea of using FQDN as your certname?

We generate GUIDs here for certnames.

I'm assuming the certname is your problem here, not the actual hostname?

> Heres what
> I'm seeing:
>
> Jun 23 10:59:00 client puppetd[4037]: [ID 702911 daemon.error] Could
> not retrieve catalog: Exported resource Sshkey[client] cannot override
> local resource on node client.domain.com
> Jun 23 10:59:00 client puppetd[4037]: [ID 702911 daemon.warning] Not
> using cache on failed catalog
>
> I'm thinking I may have to bootstrap the domain into the system before
> puppet
> runs, which is kind of annoying, as I would like puppet to handle as
> much initial
> setup as possible...
>
> Greg
>
> On May 13, 7:09 am, Luke Kanies <l...@madstop.com> wrote:
>> On May 12, 2009, at 12:13 PM, Stefano Harding wrote:
>>
>> > Hello all,
>>
>> > I have what is certainly a stupid problem on my part. I have setup
>> > puppet in a test environment and it's been working wonderfully. I am
>> > now in the process of moving this to our production systems and I
>> > have rebuilt our puppetmaster completely from scratch using the same
>> > modules/manifests, etc. from my test system.
>>
>> Looks like you emailed this to the old puppet-us...@madstop.com list;
>> you should sign on to the new google group.
>>
>>
>>
>> > Unfortunately I am running into an issue with what I assume is
>> > storeconfigs:
>>
>> > I setup the puppetmaster, ran the puppet client on it, no problems.
>> > Setup a second puppet client, no problems.
>> > On the third client I get the following error:
>>
>> > debug: Calling puppetmaster.getconfig
>> > err: Could not retrieve catalog: Exportedresource
>> > Sshkey[10.10.12.14]cannotoverridelocalresourceon node
>> > humpty.ebrary.com
>> > warning: Not using cache on failed catalog
>>
>> This problem is usually a result of two hosts defining the same key.
>> Look in the db for aresourcewhose type is sshkey and title is
>> 10.10.12.14.  Something like:
>>
>> select * from resources where restype = "sshkey" and title =
>> "10.10.12.14";
>>
>> Most likely, you'll have two in there, and you can follow the host id
>> back to who's defining them.
>>
>> --
>> I don't know the key to success, but the key to failure is trying to
>> please everybody. -- Bill Cosby
>> ---------------------------------------------------------------------
>> Luke Kanies |http://reductivelabs.com|http://madstop.com
> >
>



-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to