Jira (PUP-10507) Unable to start mcollective on first try in puppet > 5.5.17

6 views
Skip to first unread message

Gheorghe Popescu (Jira)

unread,
May 14, 2020, 8:59:03 AM5/14/20
to puppe...@googlegroups.com
Gheorghe Popescu created an issue
 
Puppet / Bug PUP-10507
Unable to start mcollective on first try in puppet > 5.5.17
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: full_log.txt
Components: Types and Providers
Created: 2020/05/14 5:58 AM
Priority: Normal Normal
Reporter: Gheorghe Popescu

This is happening only on systemd.

Steps to reproduce:

# install puppet-agent 5.5.14
roothostname:~# puppet --version
5.5.14

roothostname:~# puppet resource service mcollective
service { 'mcollective':
  ensure => 'stopped',
  enable => 'false',
}
 
# use puppet_agent module to upgrade to 5.5.18
roothostname:~# cat test.pp
class {'::puppet_agent':
    package_version => '5.5.18',
    collection => 'puppet5',
  }

root@hostname:~# puppet apply test.pp --trace
Notice: Compiled catalog for hostname in environment production in 0.27 seconds
Notice: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: ensure changed '5.5.14-1xenial' to '5.5.18-1xenial'
Notice: /Stage[main]/Puppet_agent::Service/Service[puppet]/ensure: ensure changed 'stopped' to 'running'
Error: Systemd start for mcollective failed!

# mcollective is still stopped, but on the seccond puppet run it will work
roothostname:~# puppet resource service mcollective
service { 'mcollective':
  ensure => 'stopped',
  enable => 'false',
}
 
 
roothostname:~# puppet apply test.pp --trace
Notice: Compiled catalog for hostname in environment production in 0.30 seconds
Notice: /Stage[main]/Puppet_agent::Service/Service[mcollective]/ensure: ensure changed 'stopped' to 'running'
Notice: Applied catalog in 0.53 seconds
 
 
root@hostname:~# puppet resource service mcollective
service { 'mcollective':
  ensure => 'running',
  enable => 'true',
}

If mcollective service is started before applying the manifest, the upgrade works
Upgrade works to 5.5.16 but not to 5.5.17, 5.5.18, 5.5.19, 5.5.20

 

Full Log: full_log.txt

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Gheorghe Popescu (Jira)

unread,
May 14, 2020, 9:11:03 AM5/14/20
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
This is happening only on systemd.

Steps to reproduce (tested on Ubuntu 16.04) :
{noformat}# install puppet-agent 5.5.14

roothostname:~# puppet --version
5.5.14
{noformat}
{noformat}roothostname:~# puppet resource service mcollective

service { 'mcollective':
  ensure => 'stopped',
  enable => 'false',
}

# use puppet_agent module to upgrade to 5.5.18
roothostname:~# cat test.pp
class {'::puppet_agent':
    package_version => '5.5.18',
    collection => 'puppet5',
  }
{noformat}
{noformat}root@hostname:~# puppet apply test.pp --trace

Notice: Compiled catalog for hostname in environment production in 0.27 seconds
Notice: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: ensure changed '5.5.14-1xenial' to '5.5.18-1xenial'
Notice: /Stage[main]/Puppet_agent::Service/Service[puppet]/ensure: ensure changed 'stopped' to 'running'
Error: Systemd start for mcollective failed!
{noformat}
{noformat}# mcollective is still stopped, but on the seccond puppet run it will work

roothostname:~# puppet resource service mcollective
service { 'mcollective':
  ensure => 'stopped',
  enable => 'false',
}


roothostname:~# puppet apply test.pp --trace
Notice: Compiled catalog for hostname in environment production in 0.30 seconds
Notice: /Stage[main]/Puppet_agent::Service/Service[mcollective]/ensure: ensure changed 'stopped' to 'running'
Notice: Applied catalog in 0.53 seconds


root@hostname:~# puppet resource service mcollective
service { 'mcollective':
  ensure => 'running',
  enable => 'true',
}
{noformat}

If mcollective service is started before applying the manifest, the upgrade works
Upgrade works to 5.5.16 but not to 5.5.17, 5.5.18, 5.5.19, 5.5.20

 

Full Log: [^full_log.txt]

Mihai Buzgau (Jira)

unread,
May 19, 2020, 10:46:02 AM5/19/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:51:05 AM11/5/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:52:05 AM11/5/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages