Jira (PUP-6289) Puppet 4.4.2 detects samba3x-common incorrect

2 views
Skip to first unread message

Stefan Heijmans (JIRA)

unread,
May 11, 2016, 4:04:03 AM5/11/16
to puppe...@googlegroups.com
Stefan Heijmans created an issue
 
Puppet / Bug PUP-6289
Puppet 4.4.2 detects samba3x-common incorrect
Issue Type: Bug Bug
Affects Versions: PUP 4.4.2
Assignee: Kylo Ginsberg
Components: Client
Created: 2016/05/11 1:03 AM
Environment:

Red Hat Enterprise Linux Server release 5.11 (Tikanga)
Puppet Opensource;
puppet-agent-1.4.2-1.el5
puppet 4.4.2

Priority: Normal Normal
Reporter: Stefan Heijmans

Just did an upgrade of agent from 3 to 4, now the catalog fails on samba-common package.

The following samba packages are installed;

rpm -qa | grep samba
samba3x-common-3.6.23-9.el5_11
samba3x-winbind-3.6.23-9.el5_11

In the manifest we have;
->
package

{ 'samba-common': ensure => absent, }

->
package

{ 'samba3x-common': ensure => present, }

->

 
Which now results in the following error;

err: Puppet: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64
err: /Stage[main]/Common::Install/Package[samba-common]/ensure: change from 3.6.23-9.el5_11 to absent failed: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64

 
Puppet detects samba3x-common as samba-common which is not correct.
samba-common

puppet resource package samba-common
package

{ 'samba-common': ensure => '3.6.23-9.el5_11', }

rpm -q samba-common
package samba-common is not installed

 
samba3x-common

puppet resource package samba3x-common
package

{ 'samba3x-common': ensure => '3.6.23-9.el5_11', }

rpm -q samba3x-common
samba3x-common-3.6.23-9.el5_11

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Stefan Heijmans (JIRA)

unread,
May 11, 2016, 4:06:02 AM5/11/16
to puppe...@googlegroups.com
Stefan Heijmans updated an issue
Change By: Stefan Heijmans
Just did an upgrade of agent from 3 to 4, now the catalog fails on samba-common package.

The following samba packages are installed;
{noformat}

rpm -qa | grep samba
samba3x-common-3.6.23-9.el5_11
samba3x-winbind-3.6.23-9.el5_11
{noformat}


In the manifest we have;
{noformat}
->
package { 'samba-common':
  ensure => absent,
}
->
package { 'samba3x-common':
  ensure => present,
}
->
{noformat}


Which now results in the following error;
{noformat}

err: Puppet: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64
err: /Stage[main]/Common::Install/Package[samba-common]/ensure: change from 3.6.23-9.el5_11 to absent failed: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64
{noformat}


Puppet detects samba3x-common as samba-common which is not correct.
samba-common
{noformat}

puppet resource package samba-common
package { 'samba-common':
  ensure => '3.6.23-9.el5_11',
}

rpm -q samba-common
package samba-common is not installed
{noformat}

samba3x-common
{noformat}

puppet resource package samba3x-common
package { 'samba3x-common':
  ensure => '3.6.23-9.el5_11',
}

rpm -q samba3x-common
samba3x-common-3.6.23-9.el5_11
{noformat}


Stefan Heijmans (JIRA)

unread,
May 11, 2016, 4:25:02 AM5/11/16
to puppe...@googlegroups.com
Stefan Heijmans commented on Bug PUP-6289
 
Re: Puppet 4.4.2 detects samba3x-common incorrect

Just did a test on a RHEL5.11 server with a Puppet3 agent, this works fine.

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
 
puppet --version
3.8.2
 
rpm -qa|grep samba
samba3x-3.6.23-9.el5_11
samba3x-client-3.6.23-9.el5_11
samba3x-common-3.6.23-9.el5_11
samba3x-winbind-3.6.23-9.el5_11
 
puppet resource package samba-common
package { 'samba-common':
  ensure => 'absent',
}
 
puppet resource package samba3x-common
package { 'samba3x-common':
  ensure => '3.6.23-9.el5_11',
}

Stefan Heijmans (JIRA)

unread,
Sep 9, 2016, 4:39:03 AM9/9/16
to puppe...@googlegroups.com

Did a test with puppet 4.6 2 which still has the same behaviour.

$ puppet --version
4.6.2
$ rpm -qa|grep samba|sort
samba3x-3.6.23-9.el5_11
samba3x-client-3.6.23-9.el5_11
samba3x-common-3.6.23-9.el5_11
samba3x-winbind-3.6.23-9.el5_11
$ puppet resource package samba-common
package { 'samba-common':
  ensure => '3.6.23-9.el5_11',
}
$ puppet resource package samba3x-common
package { 'samba3x-common':
  ensure => '3.6.23-9.el5_11',
}
$

This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Sean McDonald (JIRA)

unread,
May 16, 2017, 7:11:07 PM5/16/17
to puppe...@googlegroups.com
Sean McDonald assigned an issue to Unassigned
 
Change By: Sean McDonald
Assignee: Kylo Ginsberg

Sean McDonald (JIRA)

unread,
May 16, 2017, 7:13:03 PM5/16/17
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Labels: needs_repro triaged

Sean McDonald (JIRA)

unread,
May 16, 2017, 7:13:04 PM5/16/17
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Team: Modules Agent

Branan Riley (JIRA)

unread,
May 10, 2018, 9:17:02 PM5/10/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: needs_repro package redhat triaged type_and_provider
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 9, 2021, 10:51:01 PM6/9/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-6289
 
Re: Puppet 4.4.2 detects samba3x-common incorrect

RHEL5 is EOL and I'm not able to reproduce this using a more recent version:

# rpm -qa | grep samba|sort
samba-4.13.3-3.el8.x86_64
samba-client-4.13.3-3.el8.x86_64
samba-client-libs-4.13.3-3.el8.x86_64
samba-common-4.13.3-3.el8.noarch
samba-common-libs-4.13.3-3.el8.x86_64
samba-common-tools-4.13.3-3.el8.x86_64
samba-libs-4.13.3-3.el8.x86_64
samba-winbind-4.13.3-3.el8.x86_64
samba-winbind-modules-4.13.3-3.el8.x86_64
[root@broader-myrtle ~]# puppet resource package samba-common
package { 'samba-common':
  ensure   => '4.13.3-3.el8',
  provider => 'dnf',
}

I'm going to close this cannot reproduce, please reopen if you're able to reproduce on a more recent version of RHEL.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages