The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #8601

Installation error in Solaris 10

Added by shafiq issani almost 3 years ago. Updated about 2 years ago.

Status:ClosedStart date:07/25/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Packaging
Target version:1.3.x
Keywords: Affected mCollective version:1.3.0
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

Errors while installing in Solaris.

Replication steps :

cd /tmp/
wget http://puppetlabs.com/downloads/mcollective/mcollective-1.3.0.tgz
gunzip mcollective-1.3.0.tgz
gtar -xf mcollective-1.3.0.tar
cd mcollective-1.3.0
cd ext/
cd solaris/
./build

Terminal output :

ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
ggrep: ../../Rakefile: No such file or directory
# install directories
ginstall -d /tmp/mcollective-1.3.0/ext/solaris/tmp
directory /tmp/mcollective-1.3.0/ext/solaris/tmp created
ginstall -g root -d /tmp/mcollective-1.3.0/ext/solaris/tmp/opt
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/opt created
ginstall -g sys -d /tmp/mcollective-1.3.0/ext/solaris/tmp/var /tmp/mcollective-1.3.0/ext/solaris/tmp/var/lock  /tmp/mcollective-1.3.0/ext/solaris/tmp/etc /tmp/mcollective-1.3.0/ext/solaris/tmp/etc/opt
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/var created
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt/csw /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt/csw/svc /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt/csw/svc/manifest /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt/csw/svc/manifest/network
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/var/opt created
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/svc /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/svc/method
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib created
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/sbin /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/bin
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/ruby /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/ruby/site_ruby /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/ruby/site_ruby/1.8
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/lib/ruby created
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/etc/opt/csw /tmp/mcollective-1.3.0/ext/solaris/tmp/etc/opt/csw/mcollective
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/etc/opt/csw created
ginstall -g bin -d /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/share /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/share/mcollective
directory /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/share created
# install binaries
ginstall -g bin /tmp/mcollective-1.3.0/ext/../../mc-* /tmp/mcollective-1.3.0/ext/solaris/tmp/opt/csw/sbin/
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
find: bad option mc-rpc-restserver.rb
find: [-H | -L] path-list predicate-list
install: mc-* was not found anywhere!
gmake: *** [install] Error 2

History

#1 Updated by R.I. Pienaar almost 3 years ago

We dont maintain the solaris packaging ourselves but a quick look at it suggests it will only work on a git clone not in the tarball.

$ git clone git://github.com/puppetlabs/marionette-collective.git
$ cd marionette-collective
$ git checkout 1.3.0
$ cd ext/solaris
$ ./build

let me know if that helps

#2 Updated by shafiq issani almost 3 years ago

I’m sorry I forgot to mention before, “ginstall” wasn’t installed so I created a link to “install” after following some advice from Google. This is how it looks :

ls -la /usr/local/bin/ginstall
lrwxrwxrwx   1 root     root          17 Jul 20 06:09 /usr/local/bin/ginstall -> /usr/sbin/install

Following is the terminal output after following the 5 steps you mentioned above :

# install directories
ginstall -d /tmp/marionette-collective/ext/solaris/solaris/tmp
directory /tmp/marionette-collective/ext/solaris/solaris/tmp created
ginstall -g root -d /tmp/marionette-collective/ext/solaris/solaris/tmp/opt
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/opt created
ginstall -g sys -d /tmp/marionette-collective/ext/solaris/solaris/tmp/var /tmp/marionette-collective/ext/solaris/solaris/tmp/var/lock  /tmp/marionette-collective/ext/solaris/solaris/tmp/etc /tmp/marionette-collective/ext/solaris/solaris/tmp/etc/opt
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/var created
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt/csw /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt/csw/svc /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt/csw/svc/manifest /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt/csw/svc/manifest/network
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/var/opt created
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/svc /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/svc/method
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib created
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/sbin /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/bin
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/ruby /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/ruby/site_ruby /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/ruby/site_ruby/1.8
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/lib/ruby created
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/etc/opt/csw /tmp/marionette-collective/ext/solaris/solaris/tmp/etc/opt/csw/mcollective
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/etc/opt/csw created
ginstall -g bin -d /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/share /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/share/mcollective
directory /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/share created
# install binaries
ginstall -g bin /tmp/marionette-collective/ext/solaris/../../mc-* /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/sbin/
find: stat() error /tmp/marionette-collective/ext/solaris/solaris/tmp/opt/csw/sbin/: No such file or directory
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/locale/common/32/
find: cycle detected for /usr/lib/locale/common/LC_CTYPE/32/
find: cycle detected for /usr/lib/locale/common/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/lwp/32/
install: mc-call-agent was not found anywhere!
gmake: *** [install] Error 2

#3 Updated by R.I. Pienaar almost 3 years ago

OK, so the solaris packaging has not been updated for recent versions. You can try on the users list to find the original author – Rudy Gevaert – see if he wants to help out else you can edit the packaging – all the mc-* scripts are gone now replaced with just the mco one.

#4 Updated by Michael Stahnke over 2 years ago

Not sure if you’re a Puppet Enterprise Customer, but we are adding full support for mcollective server on Solaris in Puppet Enterprise (packaged up natively).

Other than that, the Solaris packaging for mcollective does seem out of date.

#5 Updated by R.I. Pienaar over 2 years ago

  • Status changed from Unreviewed to Closed

Closing this as its in code we dont really maintain as part of the core project – user contributed code in ext

#6 Updated by Rudy Gevaert over 2 years ago

  • Status changed from Closed to Re-opened

I’m going to look at it next week as I need to rebuild our mcollective solaris package to use the latest version

#7 Updated by R.I. Pienaar about 2 years ago

  • Category set to Packaging
  • Status changed from Re-opened to Closed
  • Target version set to 1.3.x

thanks for sorting that out!

2 files changed, 31 insertions(+), 12 deletions(–) http://git.io/f0vSmw

Also available in: Atom PDF