Issue #2076 has been updated by luke. Subject changed from Key conflict error message to Key conflict error message is unhelpful
jamtur01 wrote: > Luke? You have some ideas what's happening here? I expect that he's right about two keys somehow getting combined in weird ways. I don't know what's happening internally, but I expect it's just a question of tracking down the specific failure and throwing a more helpful exception. ---------------------------------------- Bug #2076: Key conflict error message is unhelpful http://projects.reductivelabs.com/issues/2076 Author: pete Status: Accepted Priority: Normal Assigned to: luke Category: ssh Target version: 0.24.8 Complexity: Unknown Affected version: 0.24.7 Keywords: I got stuck with this error message: <pre> err: Could not create sshd: undefined method `controllable?' for nil:NilClass warning: Not using cache on failed catalog warning: Configuration could not be instantiated: undefined method `controllable?' for nil:NilClass </pre> My manifest looked like this: My ssh manifest looks like this: <pre> file { "/etc/ssh/sshd_config": ensure => "present", owner => root, group => root, mode => 644, source => "puppet:///files/global/etc-ssh-sshd_config", checksum => "md5", backup => true } package { openssh-server: ensure => installed } service { "sshd": require => Package[openssh-server], subscribe => File["/etc/ssh/sshd_config"], ensure => 'running' } </pre> When I finally tracked it down, it turned out that I had conflicting puppet keys on the client. I believe that I had two sets of keys on there, both "valid" but with different names. I removed the keys and got new ones and resolved the problem. The error message that I got did not help resolve the problem. If a host has a key problem, it would be good to note that. Pete ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
