Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Josh Cooper Community Contributors: jps-help Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.35441.1653331380123%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Parker Leach updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Parker Leach Labels: daemon docs_reviewed packaging platform-os systemd Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.35363.1653326940041%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Aria Li updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Aria Li Release Notes Summary: Now, Puppet Agent will wait for network-online.target and will not attempt to contact Puppet Server before having network connectivity. Prior, Puppet Agent on Ubuntu 15.04 used to start with a multi-user.target and if using NetworkManager with DHCP, the agent will try to apply configuration before network connection is up resulting in printing several errors to the logs. Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.17208.1650908460278%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Aria Li updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Aria Li Release Notes: Bug Fix Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.16780.1650670560268%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Aria Li updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Aria Li Sprint: Phoenix 2022- 05 04 - 11 27 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.16774.1650669840035%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Aria Li updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Aria Li Fix Version/s: PUP 6.28.0 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.16750.1650665880063%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Aria Li assigned an issue to Aria Li Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Aria Li Assignee: Aria Li Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.14519.1650399300084%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Nirupama Mantha updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Nirupama Mantha Sprint: Phoenix 2022- 04 05 - 27 11 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.11383.1649864700553%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Lisa Ross updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Lisa Ross Story Points: 2 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.8544.1649344860034%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Lisa Ross updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Lisa Ross Fix Version/s: PUP 7.17.0 Fix Version/s: PUP 6.28.0 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.8543.1649344800036%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Josh Cooper Sprint: Phoenix 2022-04-27 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.8367.1649294580217%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Josh Cooper Team: Night's Watch Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.8366.1649294580170%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title James Paton-Smith commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached Looks like the same issue on Ubuntu 20.04.3 with Puppet 6.26.0 # /lib/systemd/system/puppet.service # # Local settings can be configured without being overwritten by package upgrades, for example # if you want to increase puppet open-files-limit to 1, # you need to increase systemd's LimitNOFILE setting, so create a file named # "/etc/systemd/system/puppet.service.d/limits.conf" containing: # [Service] # LimitNOFILE=1 # You can confirm it worked by running systemctl daemon-reload # then running systemctl show puppet | grep LimitNOFILE # [Unit] Description=Puppet agent
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Vladimir Safronov commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached Confirmed on CentOS 8.2.2004 with puppet 6.19.1 cat /etc/system-release CentOS Linux release 8.2.2004 (Core) puppet --version 6.19.1 Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.67037.1603978500028%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Bruno Léon commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached Valid on Ubuntu 18.04 Puppet 6.12 Failed to open TCP connection to XX:8140 (getaddrinfo: Temporary failure in name resolution) Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.102362.1445418471000.25840.1581669900203%40Atlassian.JIRA.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Branan Riley updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Branan Riley Labels: daemon packaging ubuntu systemd triaged Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Geoff Nichols Labels: packaging ubuntu Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Christian Lecherbauer commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached The issue also exists with Ubuntu 17.10. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Russell Mull updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Russell Mull Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Russell Mull updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Russell Mull Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Rene Rinco updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Rene Rinco Affects Version/s: PUP 4.8.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Rene Rinco commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached The same here in RHEL7 with 4.8.0: [root@xl-ifr28 system]# rpm -qf /usr/lib/systemd/system/puppet.service puppet-agent-1.8.0-1.el7.x86_64 [root@xl-ifr28 system]# cat /usr/lib/systemd/system/puppet.service # Local settings can be configured without being overwritten by package upgrades, for example if you want to increase puppet open-files-limit to 1, you need to increase systemd's LimitNOFILE setting, so create a file named "/etc/systemd/system/puppet.service.d/limits.conf" containing: [Service] LimitNOFILE=1 You can confirm it worked by running systemctl daemon-reload then running systemctl show puppet | grep LimitNOFILE # [Unit] Description=Puppet agent Wants=basic.target After=basic.target network.target [Service] EnvironmentFile=-/etc/sysconfig/puppetagent EnvironmentFile=-/etc/sysconfig/puppet EnvironmentFile=-/etc/default/puppet ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize ExecReload=/bin/kill -HUP $MAINPID KillMode=process [Install] WantedBy=multi-user.target [root@xl-ifr28 system]# Add Comment
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Ben Hagen commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached Ok I can now confirm that this is still an issue with puppent-agent 1.5.3-1xenial which includes puppet 4.5.3. Using Wants=network-online.target After=network-online.target also fixes it there. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Kylo Ginsberg commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached No worries Ben Hagen. Thanks for stepping in to sort it out. I agree that it sounds like a bug at launchpad makes sense, but it would also be nice to understand if there ends up being a similar issue with puppet-agent builds. Thanks!! Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Ben Hagen commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached I must confess to only have tested this with puppet 3.8.5 which is included in ubuntu 16.04. I will open a new bugreport on launchpad so this gets fixed in the LTS release and let you know if the issue still exists in the latest puppet-agent as soon as I can. Sorry for the confusion. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Kylo Ginsberg commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached Is this an issue with current puppet-agent packages? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Kylo Ginsberg Assignee: Kylo Ginsberg Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Ben Hagen commented on PUP-5402 Re: systemd: Puppet agent starts before network-online.target is reached There is no need to move it to /etc/systemd/system/network-online.target.wants or to make it WantedBy=network-online.target. A working puppet.service file would look like this: [Unit] Description=Puppet agent Wants=network-online.target After=network-online.target [Service] Type=forking EnvironmentFile=-/etc/default/puppet PIDFile=/run/puppet/agent.pid ExecStart=/usr/bin/puppet agent $DAEMON_OPTS
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Marcel Gätje created an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Issue Type: Bug Affects Versions: PUP 3.7.2 Assignee: Kylo Ginsberg Components: Client Created: 2015/10/21 2:07 AM Environment: Puppet 3.7.2 on Ubuntu 15.04 with NetworkManager and DHCP Enviroment Priority: Normal Reporter: Marcel Gätje On Ubuntu 15.04 the puppet agent starts with multi-user.target. Due to this if using NetworkManager with DHCP, the agent tries to apply configuration before network connection is up. Changing the puppet.service file and moving the symlink from /etc/systemd/system/multi-user.target.wants/puppet.service to /etc/systemd/system/network-online.target.wants/puppet.service is fixing the problem. Content of edited puppet.service file:
Jira (PUP-5402) systemd: Puppet agent starts before network-online.target is reached
Title: Message Title Marcel Gätje updated an issue Puppet / PUP-5402 systemd: Puppet agent starts before network-online.target is reached Change By: Marcel Gätje On Ubuntu 15.04 the puppet agent starts with multi-user.target.Due to this if using NetworkManager with DHCP, the agent tries to apply configuration before network connection is up resulting in printing several errors to the logs .Changing the puppet.service file and moving the symlink from /etc/systemd/system/multi-user.target.wants/puppet.service to /etc/systemd/system/network-online.target.wants/puppet.service is fixing the problem.Content of edited puppet.service file:{code:java}[Unit]Description=Puppet agentWants=network-online.targetAfter=network-online.target[Service]Type=forkingPIDFile=/run/puppet/agent.pidExecStart=/usr/bin/puppet agent[Install]WantedBy=network-online.target{code} Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.