Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed debian interfaces file error when running puppet daemon #60

Closed
Aethylred opened this issue Sep 24, 2013 · 3 comments
Closed
Labels
bug Something isn't working needs-feedback Further information is requested

Comments

@Aethylred
Copy link

I'm observing some unusual behavior with Puppet is version 2.7.18 running on Ubuntu 12.10.

When puppet is run manually with puppet agent -t or if the puppet daemon is restarted then the manifests runs fine, but after a few runs it starts throwing:

Could not prefetch network_config provider 'interfaces': Malformed debian interfaces file; cannot instantiate network_config resources

I suspect on machines configured to run the puppet agent from a cron job will not throw this error.

This is similar to what's reported in #44

@adrienthebo
Copy link
Member

It's strange that it runs for a while, then suddenly fails. With respect to it staying failed, that seems to be a part of the failsafe mechanism that's triggering (https://github.com/adrienthebo/puppet-filemapper/blob/master/lib/puppetx/filemapper.rb#L248). The idea is that if a resource can't be flushed then we don't know what the state of the file is in, and shouldn't try to mangle it anymore. However, we should retry on a new puppet run, so this seems like a design oversight. Would you be able to try out a patch for the filemapper module to see if we can resolve the permanent failure mode issue?

@jyaworski
Copy link
Member

Hello:

What's the status of this issue? I'm just pinging old issues.

@juniorsysadmin juniorsysadmin added bug Something isn't working needs-feedback Further information is requested labels Jun 21, 2016
@sacres
Copy link
Member

sacres commented Feb 13, 2017

As this is from the wayback machine as well as the puppet version, etc. EOL; I'll close this. @Aethylred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants