Hi Andrew, It looks like you correct run
barclamp_install crowbar because all cookbooks from that barclamps were uploaded Sincerely -- Aleksey Shcherba Senior Deployment Engineer Mirantis, Inc. 2014-05-01 16:17 GMT-07:00 Andrew Brimer <abri...@pearlnet.com>: > Hello Aleksey, > > when I ran barclamp_install it failed with the following messages in the > log file: > > ======== Installing crowbar barclamp -- Thu May 1 17:58:16 2014 ======== > WARNING: No knife configuration file found > Created data_bag[barclamps] > WARNING: No knife configuration file found > INFO: HTTP Request Returned 404 Not Found: Cannot load Databag Item crowbar > Updated data_bag_item[barclamps::crowbar] > WARNING: No knife configuration file found > Uploading apache2 [0.99.3] > Uploading bluepill [2.2.3] > Uploading build-essential [1.0.0] > Uploading crowbar [0.9.5] > Uploading kernel-panic [0.0.1] > Uploading minicom [0.9.5] > Uploading nscd [0.7.0] > Uploading openldap [0.9.4] > Uploading openssh [0.8.1] > Uploading openssl [0.1.0] > Uploading packages [0.9.2] > Uploading rails [0.9.2] > Uploading ruby [0.9.0] > Uploading runit [0.14.2] > Uploading sudo [1.0.0] > Uploading utils [0.9.5] > Uploading uwsgi [0.0.0] > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > INFO: Syntax OK > INFO: Validating ruby files > INFO: Validating templates > > When you have an opportunity could you explain what I am doing wrong? I > feel that I probably have not given you a sufficient amount of information. > I will say that this is a hydrogen iso that I generated for Ubuntu 12.04.3 > > Thanks, > Andrew > > > > -----Original Message----- > From: Aleksey Shcherba [mailto:ashche...@mirantis.com] > Sent: Mon 4/28/2014 6:17 PM > To: Andrew Brimer; crowbar@dell.com; crow...@lists.us.dell.com > Subject: Re: Bluepill gemsite information and cookbook code for Andrew > Brimer > > Andrew, > > you can add those lines to your develop source code then build ISO or use > another release of Crowbar. > Also please note if you try to update recipes on live system you should run > /opt/dell/bin/barclamp_install.rb > for changed barclamp. This script will upload changed cookbook to chef > server. > > Aleksey Shcherba > Senior Deployment Engineer > Mirantis, Inc. > > > 2014-04-28 14:50 GMT-07:00 Andrew Brimer <abri...@pearlnet.com>: > > > Outstanding Aleksey, thanks for all the help. I'm glad we found it. I > > would assume that when I inspect the .rb that you provided below I should > > make the same changes to the .rb that I have on my dev machine? > > > > > > > > Thanks again for everything. I know that in the coming weeks as I gain a > > greater understanding I will be able to figure these things out myself. > > > > > > > > Regards, > > > > > > > > Andrew Brimer > > > > Systems Architect > > > > PearlNet, LLC > > > > > > > > *From:* Aleksey Shcherba [mailto:ashche...@mirantis.com] > > *Sent:* Monday, April 28, 2014 5:41 PM > > *To:* Andrew Brimer; crow...@lists.us.dell.com > > *Subject:* Re: Bluepill gemsite information and cookbook code for Andrew > > Brimer > > > > > > > > Hello Andrew, > > > > looks like we have found what causes this problem. Thank you for > > providing the source code that helped define this. > > > > Versions of activesupport Gem package have changed many times since the > > release you are using was released. > > > > The workaround has not back ported to that release. > > > > You can see that workaround in Hydrogen release. > > > > > > > https://github.com/crowbar/barclamp-crowbar/blob/release/hydrogen/master/chef/cookbooks/bluepill/recipes/default.rb > > > > > > Aleksey Shcherba > > > > Senior Deployment Engineer > > > > Mirantis, Inc. > > > > > > > > 2014-04-28 7:50 GMT-07:00 Andrew Brimer <abri...@pearlnet.com>: > > > > Hello Aleksey, > > > > Thanks for helping me out with this problem. The ISO that I generated is > > named: mesa-1.7_openstack-os-build.3502.dev in case this helps you to > > understand what is being created on my end. Is build 3502 recent enough, > or > > have I missed something important in my configuration? > > > > /tftpboot/gemsite/gems contains: > > > > crowbar@crowbar:/tftpboot/gemsite/gems$ ls > > actionmailer-2.3.14.gem activesupport-4.1.0.gem > eventmachine-1.0.3.gem > > kwalify-0.7.2.gem net-ssh-multi-1.2.0.gem > > raindrops-0.13.0.gem state_machine-0.9.4.gem > > actionpack-2.3.14.gem bluepill-0.0.51.gem formtastic-1.2.4.gem > > libxml-ruby-2.7.0.gem pg-0.17.1.gem rake-10.3.1.gem > > syslogger-1.5.1.gem > > actionpack-4.1.0.gem builder-3.2.2.gem haml-3.1.8.gem > > minitest-5.3.3.gem rack-1.1.6.gem sass-3.3.5.gem > > thread_safe-0.3.3.gem > > actionview-4.1.0.gem bundler-1.6.2.gem i18n-0.6.9.gem > > mysql-2.9.1.gem rack-1.5.2.gem > sendfile-1.2.1.gem > > tzinfo-1.1.0.gem > > activerecord-2.3.14.gem cstruct-1.0.1.gem json-1.5.2.gem > > net-http-digest_auth-1.4.gem rack-test-0.6.2.gem > > simple-navigation-3.13.0.gem unicorn-4.8.2.gem > > activeresource-2.3.14.gem daemons-1.1.9.gem json-1.8.1.gem > > net-ssh-2.8.0.gem rails-2.3.14.gem sqlite3-1.3.9.gem > > wsman-0.0.1.gem > > activesupport-2.3.14.gem erubis-2.7.0.gem kgio-2.9.2.gem > > net-ssh-gateway-1.2.0.gem rainbows-4.6.1.gem > > sqlite3-ruby-1.3.3.gem xml-simple-1.1.3.gem > > > > crowbar@crowbar > :/opt/dell/barclamps/crowbar/chef/cookbooks/bluepill/recipes$ > > cat default.rb > > # > > # Cookbook Name:: bluepill > > # Recipe:: default > > # > > # Copyright 2010, Opscode, Inc. > > # > > # Licensed under the Apache License, Version 2.0 (the "License"); > > # you may not use this file except in compliance with the License. > > # You may obtain a copy of the License at > > # > > # http://www.apache.org/licenses/LICENSE-2.0 > > # > > # Unless required by applicable law or agreed to in writing, software > > # distributed under the License is distributed on an "AS IS" BASIS, > > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > > # See the License for the specific language governing permissions and > > # limitations under the License. > > # > > > > gem_package "i18n" do > > action :install > > end > > > > gem_package "bluepill" do > > version node["bluepill"]["version"] if node["bluepill"]["version"] > > action :install > > end > > > > [ > > node["bluepill"]["conf_dir"], > > node["bluepill"]["pid_dir"], > > node["bluepill"]["state_dir"] > > ].each do |dir| > > directory dir do > > recursive true > > owner "root" > > group node["bluepill"]["group"] > > end > > end > > > > file node["bluepill"]["logfile"] do > > owner "root" > > group node["bluepill"]["group"] > > mode "0755" > > action :create_if_missing > > end > > > > ENV['PATH'].split(':').each do |p| > > bp=File.join(p,"bluepill") > > next unless system("which #{bp}") > > node["bluepill"]["bin"]=bp > > break > > end > > > > include_recipe "bluepill::rsyslog" if node['bluepill']['use_rsyslog'] > > > > I am working hard to better understand all the workings of the install > but > > it has only been several weeks and there seems to be so much to digest > and > > learn. I do appreciate your patience and all the help that you are > > providing. I hope to be able to have greater insight in the following > weeks. > > > > Thanks again, > > > > Andrew Brimer > > Systems Architect > > PearlNet, LLC > > > > -----Original Message----- > > From: Aleksey Shcherba [mailto:ashche...@mirantis.com] > > Sent: Fri 4/25/2014 10:24 PM > > To: Andrew Brimer > > Cc: crowbar@dell.com > > Subject: Re: [Crowbar] Crowbar ISO build problems with Bluepill > > > > Hello Andrew, > > > > could you let us know which version of bluepill and activesupport Gem > > packages are cached on your ISO? > > Actually, you can attach the entire list of directory with Gem packages. > > You can find it on admin node. The directory /tftpboot/gemsite/gems/ > > should contains symlinks to all Gem files of all barclamps. Here we can > > check which version of bluepill package is cached. > > > > I can guess that installation process in default recipe of bluepill > > cookbook does not control version of the package. You can check it here > > /opt/dell/barclamps/crowbar/chef/cookbooks/bluepill/recipes/default.rb. > > Some > > releases are already using a specific version of a package in the > > installation process. > > > > > > Aleksey Shcherba > > Senior Deployment Engineer > > Mirantis, Inc. > > > > > > 2014-04-25 6:30 GMT-07:00 Andrew Brimer <abri...@pearlnet.com>: > > > > > Hello all, > > > > > > > > > > > > Truncated screen output from crowbar-install > > > > > > > > > > > > Successfully installed activesupport-2.3.14 > > > > > > ERROR: Error installing activesupport-4.1.0.gem: > > > > > > activesupport requires Ruby version >= 1.9.3 > > > > > > > > > > > > > > > > > > I have followed the instructions for creating a crowbar dev environment > > > for 1.x and can build both sledgehammer as well as the crowbar iso. > When > > > attempting to install the iso I get the above message, I did not > include > > > the remainder of the screen output because the other errors seem to be > > due > > > to the fact that bluepill did not install. > > > > > > > > > > > > I know that I am missing something in my configuration of crowbar and I > > am > > > hoping that someone could provide some insight as to what I am missing. > > > > > > > > > > > > Dev machine: > > > > > > > > > > > > Ubuntu 12.04.2 > > > > > > > > > > > > Forked code from github.com/crowbar/crowbar > > > > > > > > > > > > Mesa-1.7 release > > > > > > > > > > > > I execute ./dev build -os Ubuntu-12.04 -update-cache without any > issues. > > > > > > > > > > > > Is there something else that I need to install on the dev machine? I > just > > > get the feeling that I am mixing 1.x with 2.x and don't realize where I > > am > > > going wrong. > > > > > > > > > > > > Could someone please help me with this? I am very close but this is not > > > allowing me to move this project forward, very frustrating knowing > that I > > > am just missing one or two pieces to get this rolling. > > > > > > > > > > > > Thank you for any help that you can provide. > > > > > > > > > > > > Regards, > > > > > > > > > > > > Andrew Brimer > > > > > > Systems Architect > > > > > > PearlNet, LLC > > > > > > _______________________________________________ > > > Crowbar mailing list > > > Crowbar@dell.com > > > https://lists.us.dell.com/mailman/listinfo/crowbar > > > For more information: http://crowbar.github.com/ > > > > > > > > > > >
_______________________________________________ Crowbar mailing list Crowbar@dell.com https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/