yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87446
[Bug 1946533] Re: Puppet Module Fails to Create puppet.conf on Ubuntu 18.04
It appears that you're using a custom repo to install an unsupported
version of puppet:
Misc lines from the log:
Get:5 https://devpuppet.feicore.io:8140/packages/2018.1.18/ubuntu-18.04-amd64 bionic InRelease [8466 B]
...
Get:11 https://devpuppet.feicore.io:8140/packages/2018.1.18/ubuntu-18.04-amd64 bionic/puppet5 amd64 Packages [887 B]
...
Preparing to unpack .../puppet-agent_5.5.22-1bionic_amd64.deb ...
Unpacking puppet-agent (5.5.22-1bionic) ...
Setting up puppet-agent (5.5.22-1bionic) ...
It may work if you update your config to include:
puppet:
exec: false
However, upstream cloud-init can't commit to support unsupported
versions of puppet. If I've mis-understood what's happening, please do
set the status back to 'new' with additional explanation/documentation.
** Changed in: cloud-init
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1946533
Title:
Puppet Module Fails to Create puppet.conf on Ubuntu 18.04
Status in cloud-init:
Won't Fix
Bug description:
Cloud Provider: Amazon
OS: Ubuntu 18.04 (Sept Canonical image)
Cloud-init: 21.3-1-g6803368d-0ubuntu1~18.04.3
Cloud-init config
puppet:
install: true
conf_file: /etc/puppetlabs/puppet/puppet.conf
ssl_dir: /etc/puppetlabs/puppet/ssl
package_name: puppet-agent
conf:
agent:
server: devpuppet.feicore.io
certname: do-baseami18-%i.feicore.io
Error
Unpacking puppet-agent (5.5.22-1bionic) ...^M
Setting up puppet-agent (5.5.22-1bionic) ...^M
Created symlink /etc/systemd/system/multi-user.target.wants/puppet.service → /lib/systemd/system/puppet.service.^M
Created symlink /etc/systemd/system/multi-user.target.wants/mcollective.service → /lib/systemd/system/mcollective.service.^M
Created symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service → /lib/systemd/system/pxp-agent.service.^M
Removed /etc/systemd/system/multi-user.target.wants/pxp-agent.service.^M
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...^M
Cloud-init v. 21.3-1-g6803368d-0ubuntu1~18.04.3 running 'modules:final' at Tue, 05 Oct 2021 00:21:00 +0000. Up 50.83 seconds.
2021-10-05 00:21:30,659 - util.py[WARNING]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_puppet.py'>) failed
Enabling DEBUG shows this
2021-10-05 00:21:30,861 - util.py[DEBUG]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_puppet.py'>) failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/subp.py", line 259, in subp
env=env, shell=shell, cwd=cwd)
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: b'puppet': b'puppet'
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1946533/+subscriptions
References