Page MenuHomePhabricator
Paste P10024

(An Untitled Masterwork)
ActivePublic

Authored by Paladox on Jan 2 2020, 11:22 PM.
Tags
None
Referenced Files
F31498590: raw.txt
Jan 2 2020, 11:22 PM
Subscribers
None
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppet-master' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libopts25 python3-debconf
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
puppet-master
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.6 kB of archives.
After this operation, 63.5 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 puppet-master all 5.5.10-4 [25.6 kB]
Fetched 25.6 kB in 0s (1653 kB/s)
Selecting previously unselected package puppet-master.
(Reading database ... 59273 files and directories currently installed.)
Preparing to unpack .../puppet-master_5.5.10-4_all.deb ...
Unpacking puppet-master (5.5.10-4) ...
Setting up puppet-master (5.5.10-4) ...
Job for puppet-master.service failed because the control process exited with error code.
See "systemctl status puppet-master.service" and "journalctl -xe" for details.
invoke-rc.d: initscript puppet-master, action "start" failed.
* puppet-master.service - Puppet master
Loaded: loaded (/lib/systemd/system/puppet-master.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-01-02 23:15:08 UTC; 13ms ago
Docs: man:puppet-master(8)
Process: 8831 ExecStart=/usr/bin/puppet master (code=exited, status=1/FAILURE)
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certificate.
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: On the master:
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: puppet cert clean puppetmaster-1001.devtools.eqiad.wmflabs
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: On the agent:
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: 1a. On most platforms: find /var/lib/puppet/ssl -name puppetmaster-1001.devtools.eqiad.wmflabs.pem -delete
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: 1b. On Windows: del "\var\lib\puppet\ssl\certs\puppetmaster-1001.devtools.eqiad.wmflabs.pem" /f
Jan 02 23:15:08 puppetmaster-1001 puppet-master[8831]: 2. puppet agent -t
Jan 02 23:15:08 puppetmaster-1001 systemd[1]: puppet-master.service: Control process exited, code=exited, status=1/FAILURE
Jan 02 23:15:08 puppetmaster-1001 systemd[1]: puppet-master.service: Failed with result 'exit-code'.
Jan 02 23:15:08 puppetmaster-1001 systemd[1]: Failed to start Puppet master.
dpkg: error processing package puppet-master (--configure):
installed puppet-master package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (241-7~deb10u2) ...
Errors were encountered while processing:
puppet-master
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /Stage[main]/Puppetmaster/Package[puppet-master]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppet-master' returned 100: Reading package lists...