Issue #18565 has been updated by Josh Cooper.
Status changed from Unreviewed to Needs More Information
Paul Tötterman wrote:
> Now I installed windows machine in another zone, sub.example.com, with the
> machine being, e.g. win2.sub.example.com. That machine didn't find the puppet
> server (because windows doesn't get dns search list from dhcp, sigh) and I
> get the "getaddrinfo: The storage control blocks were destroyed"
You should use the puppetlabs registry module to configure the dns suffixes :)
> I manage the puppet.conf file using puppet, so when the time comes to update
> that, puppet tries to make a backup into a server filebucket and fails with
> "getaddrinfo: The storage control blocks were destroyed". I checked the
> effective config using puppet agent --genconfig, and didn't find a mention of
> a short hostname for the puppet master. The problem disappeared when I added
> a CNAME from puppet.sub.example.com -> puppet.example.com.
What does your filebucket resource look like? And a file resource that is
configured to backup into that filebucket?
Are you sure that the filebucket resource uses a fqdn, something like:
<pre>
filebucket { 'main':
server => 'puppet.example.com',
path => false
}
</pre>
Or alternatively, use the value `$servername` so that it uses the same setting
as `Puppet[:server]`.
<http://docs.puppetlabs.com/puppet/2.7/reference/lang_variables.html#agent-set-variables>
----------------------------------------
Bug #18565: filebucket doesn't seem to inherit server
https://projects.puppetlabs.com/issues/18565#change-81388
Author: Paul Tötterman
Status: Needs More Information
Priority: Normal
Assignee:
Category: windows
Target version:
Affected Puppet version: 3.0.2
Keywords: windows dns filebucket config
Branch:
I have a puppet master at puppet.example.com. Windows machines in the same
zone, e.g. win1.example.com have been using puppet just fine.
Now I installed windows machine in another zone, sub.example.com, with the
machine being, e.g. win2.sub.example.com. That machine didn't find the puppet
server (because windows doesn't get dns search list from dhcp, sigh) and I get
the "getaddrinfo: The storage control blocks were destroyed" -messages
referenced in the windows troubleshooting documentation. So I edit puppet.conf,
and make sure that the line with server = has the fqdn, puppet.example.com.
Puppet is able to start the run.
I manage the puppet.conf file using puppet, so when the time comes to update
that, puppet tries to make a backup into a server filebucket and fails with
"getaddrinfo: The storage control blocks were destroyed". I checked the
effective config using puppet agent --genconfig, and didn't find a mention of a
short hostname for the puppet master. The problem disappeared when I added a
CNAME from puppet.sub.example.com -> puppet.example.com.
So it seems to me like puppet is still using the dns shortname somewhere even
though the fqdn is configured in puppet.conf.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.