Both sets of instructions are aging, beware.  It's vital to realize that they 
are based on a template - there has been drift between the template and the 
latest barclamps.

I recommend comparing the created barclamp with the other barclamps (like NTP 
or Glance)  since they are from related code.  That should help you find 
differences quickly.

Please update the documentation!

From: crowbar-bounces On Behalf Of Friday, Stephen
Sent: Thursday, July 18, 2013 11:14 AM
To: keith.rochf...@gmail.com; crowbar
Subject: Re: [Crowbar] Barclamp_create problem

Keith,

Try these instructions they are a later version.

https://github.com/crowbar/crowbar/wiki/Barclamp%3A-create-%26-install-steps

Steve Friday
Solutions Architect Sr Cnsltnt - Cloud Engineering CoE
Dell | Services Product Group
Mobile +1 (512) 815 0476
[cid:image001.jpg@01CE83BC.A36441B0]<https://cloudconsole.dell.com/Online/Signup/Products/>

From: crowbar-bounces On Behalf Of Keith Rochford
Sent: 18 July 2013 05:40
To: crowbar
Subject: [Crowbar] Barclamp_create problem

Hi All,

I'm trying to build the example  Barclamp using the instructions at 
http://robhirschfeld.com/2011/09/19/create-a-crowbar-barclamp/

I've tried on two Crowbar (mesa) installations and I get different errors on 
each. Any pointers as to what the problem might be?

Many thanks
Keith

== SERVER 1 ==

crowbar@crowbar:~$ sudo su -l
root@crowbar:~# mkdir /barclamps
root@crowbar:~# /opt/dell/bin/barclamp_create.rb foo "Zehicle" /barclamps
Creating barclamp 'foo' into '/barclamps' as entity 'Zehicle'.
/opt/dell/bin/barclamp_mgmt_lib.rb:162:in `initialize': No such file or 
directory - /opt/dell/crowbar_framework/barclamp_model/bin/crowbar_foo 
(Errno::ENOENT)
        from /opt/dell/bin/barclamp_mgmt_lib.rb:162:in `open'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:162:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:151:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:150:in `each'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:150:in `bc_cloner'
        from /opt/dell/bin/barclamp_create.rb:54
        from /opt/dell/bin/barclamp_create.rb:53:in `each'
        from /opt/dell/bin/barclamp_create.rb:53



root@crowbar:~# ls /opt/dell/crowbar_framework/barclamp_model/bin/
crowbar_==BC-MODEL==

== SERVER 2 ==

root@CSGB3KR:~# /opt/dell/bin/barclamp_create.rb foo "Zehicle" /barclamps
Creating barclamp 'foo' into '/barclamps' as entity 'Zehicle'.
/opt/dell/bin/barclamp_mgmt_lib.rb:160:in `initialize': No such file or 
directory - /opt/dell/crowbar_framework/barclamp_model/chef/roles/foo-server.rb 
(Errno::ENOENT)
        from /opt/dell/bin/barclamp_mgmt_lib.rb:160:in `open'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:160:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:149:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:148:in `each'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:148:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:149:in `bc_cloner'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:148:in `each'
        from /opt/dell/bin/barclamp_mgmt_lib.rb:148:in `bc_cloner'
        from /opt/dell/bin/barclamp_create.rb:54
        from /opt/dell/bin/barclamp_create.rb:53:in `each'
        from /opt/dell/bin/barclamp_create.rb:53

<<inline: image001.jpg>>

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to