OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005066 [puppetmaster3] major always 2013-04-09 11:22 2013-06-12 19:14
Reporter villiboy View Status public  
Assigned To markp
Priority normal Resolution fixed  
Status closed  
Summary 0005066: install solaris packages failed with: Error: Could not evaluate: Unable to get information about package XXX because of: No
Description Hi all,

we want to install diffrent sun packages with puppet. In version 2.7 it works but now with 3.1.1 it fails.

# EXAMPLE
MESSGAGE: Error: /Stage[main]/Inf_sol10defaultpkg/Package[SMCcurl]: Could not evaluate: Unable to get information about package SMCcurl because of: No message

package {‘SMCcurl’:
 ensure => latest,
 source => ‘/rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local’,
 adminfile => ‘/var/sadm/install/admin/pkgadmfile_sol10defaultpkg’,
 require => Package[‘CSWlibgcc-s1’],
}
Additional Information Debug: Executing '/usr/bin/pkginfo -l SMCcurl'
Error: /Stage[main]/Inf_sol10defaultpkg/Package[SMCcurl]: Could not evaluate: Unable to get information about package SMCcurl because of: No message
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010316)
markp (developer)
2013-04-09 11:27

Interesting. And what does 'pkginfo' -l and -x show for SMCcurl? Have you tried forcing the provider too, just in case it's not automatically picking 'sun'?
(0010317)
villiboy (reporter)
2013-04-10 09:28
edited on: 2013-04-10 09:30

Hi Mark,

yes, it's a little bit strange. The packages are located on a nfs shared mounted on /rozrhstgp01 but this config works for puppet 2.7.X.

# pkginfo -l /rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local
ERROR: information for "/rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local" was not found
#

# pkginfo -x /rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local
ERROR: information for "/rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local" was not found

(0010318)
villiboy (reporter)
2013-04-10 09:29

when i try to install the package manually it works ...

# pkgadd -d /rozrhstgp01/unix-ch/puppet/packages/sol10defaultpkg/curl-7.26.0-sol10-x86-local

The following packages are available:
  1 SMCcurl curl
                 (x86) 7.26.0

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
(0010377)
villiboy (reporter)
2013-05-08 15:36

Hi Mark,

when i install the Puppet Enterprise Agent version for Solaris the package installation works.

Regards,
Martin
(0010378)
markp (developer)
2013-05-08 15:49

What's the version of puppet in PE? Do a 'facter puppetversion' please? Ta.
(0010385)
villiboy (reporter)
2013-05-13 10:00

PKGINST: PUPpuppet
      NAME: Puppet Enterprise puppet - http://puppetlabs.com [^]
  CATEGORY: application
      ARCH: i386
   VERSION: 2.7.21-5
   BASEDIR: /
    VENDOR: puppetlabs.com
    PSTAMP: 2013-04-04.200753
  INSTDATE: May 08 2013 14:57
     EMAIL: support@puppetlabs.com
    STATUS: completely installed

 PKGINST: PUPfacter
      NAME: Puppet Enterprise facter - http://puppetlabs.com [^]
  CATEGORY: application
      ARCH: i386
   VERSION: 1.6.17-1
   BASEDIR: /
    VENDOR: puppetlabs.com
    PSTAMP: 2013-04-04.200753
  INSTDATE: May 08 2013 14:30
     EMAIL: support@puppetlabs.com
    STATUS: completely installed
(0010386)
markp (developer)
2013-05-13 10:41

Yes, there's your obvious answer - it's 2.7

This is a puppet3 issue with that package, for whatever reason.
(0010387)
villiboy (reporter)
2013-05-13 13:25

okay, i see it. i have also raise a ticket to the puppet team. i hope they will provide us a solution as soon as possible. thanks for your help.

See details:
http://projects.puppetlabs.com/issues/19760 [^]
(0010402)
markp (developer)
2013-05-22 22:13

Looks like this was a Puppet bug, and it was fixed in 3.2.1 - I'm just rolling the package now.

=========================
## Puppet 3.2.1 Release Notes ##
=========================

### Issues fixed:

* [Bug #19760]: install sun packages failed with: `Error:
/Stage[main]/Inf_sol10defaultpkg/Package[SMCcurl]: Could not evaluate:
Unable to get information about package SMCcurl because of: No
message`
(0010403)
markp (developer)
2013-05-22 22:40

http://buildfarm.opencsw.org/experimental.html#markp [^]
(0010404)
villiboy (reporter)
2013-05-23 11:06

Hi Marc,

great job, it works again. I do a lot of testing today and i couldn't see any other bugs at the moment.

Thanks ...

Regards,
Martin
(0010412)
markp (developer)
2013-06-02 15:38

Fixed in 3.2.1 release of Puppet. Package just pushed to main catalog.
(0010435)
markp (developer)
2013-06-12 19:14

Done


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker