Bug #17572
closedKatello/puppet-certs - Puppet language error during agent run (success during apply),
Description
We receive the following error [1] when executing puppet-certs with puppet agent.
We have submitted a bug to Puppet Labs to resolve this issue in puppet.
This bug is submitted to track progress of the resolution of this issue in the puppetlabs issue tracker.
https://tickets.puppetlabs.com/browse/PUP-6960
Try to only submit Comments/Submissions and analysis to the puppetlabs ticket to track progress in a single location. Where possible.
[1] - Error: Failed to apply catalog: Parameter ca failed on Ca[katello-server-ca]: Expected Ca resource at /etc/puppet/modules/certs/manifests/init.pp:167
Updated by Dominic Cleal about 8 years ago
- Project changed from Foreman to Katello
Updated by eric sorenson about 8 years ago
Is the normal mode of operation for these modules to be used with puppet apply, and it's unusual for them to run in agent/master mode? That's the impression I got from the IRC conversation about this, but it'd be good to know more - the root cause seems very fundamental (json catalogs lose data type information, and it's up to the type to reconstitute it) so it's surprising to me that not many people have hit the problem.
Updated by Daniel Lobato Garcia about 8 years ago
These modules are normally ran via foreman-installer, which in turn uses https://github.com/theforeman/kafo , which.. uses puppet apply. I'd expect to be able to use them in master/agent mode though. I'd need to look into the details and get a reproducing setup (from what I see on PUP-6960 it's not so hard to reproduce). We already do some checking on https://github.com/Katello/puppet-certs/blob/59857e16dccbeb6e9546179f1965560ccf9a674c/lib/puppet/type/certs_common.rb#L46
Updated by Justin Sherrill about 8 years ago
- Category set to Installer
- Status changed from New to Assigned
- Assignee set to Eric Helms
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release set to 114
- Difficulty set to hard
Updated by Timo Goebel almost 8 years ago
- Pull request https://github.com/Katello/puppet-certs/pull/127 added
I opened a PR with a suggested workaround for this.
Updated by Timo Goebel almost 8 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-certs|9e5764641bff1e074cb463259b3ec321af76373e.