Project

General

Profile

Actions

Bug #17572

closed

Katello/puppet-certs - Puppet language error during agent run (success during apply),

Added by Robert Mattson over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
hard
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by eric sorenson over 7 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.

Actions #3

Updated by Daniel Lobato Garcia over 7 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

Actions #4

Updated by Justin Sherrill over 7 years ago

  • Category set to Installer
  • Status changed from New to Assigned
  • Assignee set to Eric Helms
Actions #5

Updated by Justin Sherrill about 7 years ago

  • translation missing: en.field_release set to 114
  • Difficulty set to hard
Actions #6

Updated by Timo Goebel about 7 years ago

  • Pull request https://github.com/Katello/puppet-certs/pull/127 added

I opened a PR with a suggested workaround for this.

Actions #7

Updated by Timo Goebel about 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF