Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken IPS Client Driver #91

Open
danfoster opened this issue Jun 5, 2013 · 0 comments
Open

Broken IPS Client Driver #91

danfoster opened this issue Jun 5, 2013 · 0 comments

Comments

@danfoster
Copy link
Contributor

The IPS Client driver does not work with newer versions of the pkg.client.image library that is provided with Solaris 11 and Openindiana. The following traceback is seen on the client:

Failed to instantiate tool Bcfg2.Client.Tools.IPS.IPS
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Bcfg2/Client/Frame.py", line 112, in __init__
    self.tools.append(tool(self.logger, setup, config))
  File "/usr/lib/python2.6/site-packages/Bcfg2/Client/Tools/IPS.py", line 22, in __init__
    self.image = image.Image()
TypeError: __init__() takes at least 2 arguments (1 given)

I'm guessing the client driver was last used against OpenSolaris 2009?

Version of pkg on Solaris 11:

          Name: package/pkg
       Summary: Image Packaging System
   Description: The Image Packaging System (IPS), or pkg(5), is the software
                delivery system used on Oracle Solaris.  This package contains
                the core command-line components and depot server.
      Category: System/Packaging
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.24.0
Packaging Date: September  4, 2012 06:03:35 PM
          Size: 8.06 MB
          FMRI: pkg://solaris/package/[email protected],5.11-0.175.1.0.0.24.0:20120904T180335Z

Version of pkg on OpenIndiana:

          Name: package/pkg
       Summary: Image Packaging System
   Description: The Image Packaging System (IPS), or pkg(5), is the software
                delivery system used on OpenSolaris systems.  This package
                contains the core command-line components and depot server.
      Category: System/Packaging
         State: Installed
     Publisher: openindiana.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.151.1.7
Packaging Date: October  3, 2012 10:48:43 PM
          Size: 7.31 MB
          FMRI: pkg://openindiana.org/package/[email protected],5.11-0.151.1.7:20121003T224843Z

I can't determine the version of pkg that was provided with OpenSolaris 2009 (i.e. the version that bcfg2 worked against) as there are no active mirrors anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant