Page MenuHomePhabricator

failing puppet on instance testing-instructions
Closed, InvalidPublic

Description

Running sudo puppet agent -tv (mentioned at [1]) gives me the following error.

bmansurov@testing-instructions:~$ sudo puppet agent -tv
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/physicalcorecount.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ganeti.rb
Info: Loading facts in /var/lib/puppet/lib/facter/initsystem.rb
Info: Loading facts in /var/lib/puppet/lib/facter/labsproject.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ec2id.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_config_dir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/lldp.rb
Info: Loading facts in /var/lib/puppet/lib/facter/apt.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to execute generator /usr/local/bin/sshknowngen: Execution of '/usr/local/bin/sshknowngen' returned 1: Traceback (most recent call last):
  File "/usr/local/bin/sshknowngen", line 115, in <module>
    main()
  File "/usr/local/bin/sshknowngen", line 109, in main
    n = SshKnownHostsGen(args.configfile, args.debug)
  File "/usr/local/bin/sshknowngen", line 42, in __init__
    self.load_config(configfile)
  File "/usr/local/bin/sshknowngen", line 33, in load_config
    self.config.get('master', 'dbadapter'),
  File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'dbadapter' in section: 'master'
 at /etc/puppet/modules/ssh/manifests/client.pp:9 on node testing-instructions.reading-smoketest.eqiad.wmflabs
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

[1] https://wikitech.wikimedia.org/wiki/Help:Labs-vagrant#Setting_up_your_instance_with_labs-vagrant

Event Timeline

bmansurov raised the priority of this task from to Needs Triage.
bmansurov updated the task description. (Show Details)
bmansurov added a project: Cloud-Services.
bmansurov added a subscriber: bmansurov.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 11:01 PM
yuvipanda set Security to None.

Seems to work fine for me?

yuvipanda renamed this task from failing puppet to failing puppet on instance testing-instructions.Jul 24 2015, 3:39 AM

It started working when I created a new instance. I may have chosen a different version of Ubuntu initially. I'm not sure though.

Can this be closed then?

bmansurov closed this task as Invalid.Jul 24 2015, 8:04 PM
bmansurov claimed this task.

Closing since the error didn't happen the second time I tried.