yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87378
[Bug 1946533] [NEW] Puppet Module Fails to Create puppet.conf on Ubuntu 18.04
Public bug reported:
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'
** Affects: cloud-init
Importance: Undecided
Status: New
** Attachment added: "ubuntu-bug_cloud-init_report"
https://bugs.launchpad.net/bugs/1946533/+attachment/5531698/+files/apport.cloud-init.yrqfe2hy.apport.gz
--
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:
New
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
Follow ups