Giter Club home page Giter Club logo

crowbar's Introduction

Crowbar Documentation README

Reviewed by Hound

This is not the documentation you are looking for... it is a pointer to the real documentation.

Looking for Crowbar Resources?

The Crowbar website has links to all information and is our recommended starting place.

Specific Crowbar Documentation

We track Crowbar documentation with the code so that we can track versions of documentation with the code.

Here are commonly requested references:

You may need to look in subdirectories under the links above for additional details.

Background

Crowbar documentation is distributed into multiple places under the /doc directory of each Crowbar module (aka "barclamps"). When the modules are installed, Crowbar combines all the /doc directories into a master documentation set. These directories are structured into subdirectories for general topics. This structure is common across all barclamps in the Crowbar project

Please, do NOT add documentation in locations besides /doc! If necessary, expand this README to include pointers to important /doc information.

crowbar's People

Contributors

aabes avatar aspiers avatar bmwiedemann avatar chulsupark avatar clement-jim avatar dalemcdonald avatar dirkmueller avatar dpaterson avatar galthaus avatar jamestyj avatar jdsn avatar jgrassler avatar jsuchome avatar maximilianmeister avatar mjura avatar newgoliath avatar nicolasbock avatar nkrinner avatar raajeev avatar rhafer avatar rperryman avatar rsalevsky avatar s-t-e-v-e-n-k avatar tboerger avatar toabctl avatar tserong avatar tsipa avatar victorlowther avatar vuntz avatar waynepallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crowbar's Issues

Compute node crashes when VM downloads software

Having built the openstack from crowbar openstack111219.iso we have been building VMs and accessing them without an issue, we had the odd crash of the compute node and have been working on identifying the issue, it appears that when a user is logged into the VM and tries to download and install software on the VM it will suddenly crash the compute node, we have done this across two different nodes (same hardware M610 blades).

Nothing in dmesg but I managed to capture the crash from a console:
[ 4304.459030] BUG: scheduling while atomic: swapper/0/0x10000200
[ 4304.459109] Modules linked in: ebt_arp ebt_ip ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_i
[ 4304.486540] [] ? dma_issue_pending_all+0x76/0xa0

Had no luck on finding these issues online.

Regards
Steve

crowbar-admin install fails on kvm with virtio network interfaces

Hi. The "cd /tftpboot/ubuntu_dvd/extra && sudo ./install foo" installation step fails on a KVM virtual machine that uses virtio network interfaces.

It tries to run "tcpdump -i -a", because the code parsing lshw output misparses the output when virtio is active, and logical_name is still an empty string at that time.

Workaround: use e1000 instead of virtio.

lshw on e1000:

crowbar@crowbardemo:~$ sudo lshw -quiet -class network|egrep 'logical|bus info|-network|serial'
  *-network:0
       bus info: pci@0000:00:03.0
       logical name: eth0
       serial: 52:54:00:4d:67:8e
  *-network:1
       bus info: pci@0000:00:04.0
       logical name: eth1
       serial: 52:54:00:b9:75:a4
crowbar@crowbardemo:~$ 

lshw with virtio:

crowbar@crowbardemo:~$ sudo lshw -quiet -class network|egrep 'logical|bus info|-network|serial'
  *-network:0
       bus info: pci@0000:00:03.0
  *-network:1
       bus info: pci@0000:00:04.0
  *-network:0
       logical name: eth0
       serial: 52:54:00:4d:67:8e
  *-network:1 DISABLED
       logical name: eth1
       serial: 52:54:00:b9:75:a4

dev feature workflow storage behavior

starting work on a new feature

dev switch essex-hack
dev checkout openstack-os-build
dev new-feature use-swift-storage-ip
dev switch feature/use-swift-storage-ip

working in directory

barclamp/swift

git commit -m"my changes"
cd ../../
git commit -m"my changes"

prepare the pull request yields:

15:28:03 ehaselwanter@airbook:~/repositories/crowbar (git:feature/use-swift-storage-ip/openstack-os-build+:b28bde0)   
$ dev pull-requests-prep
/Users/ehaselwanter/repositories/crowbar/build_lib.sh: line 15: ulimit: open files: cannot modify limit: Invalid argument
Unpacking objects: 100% (9/9), done.
Unpacking objects: 100% (1/1), done.
fatal: ref HEAD is not a symbolic ref
fatal: ref HEAD is not a symbolic ref
fatal: ref HEAD is not a symbolic ref
fatal: ref HEAD is not a symbolic ref
HEAD is now at 8e438d9 Merge pull request #13 from ehaselwanter/pull-req-feature-use-nagios-admin-ip-address-master-ba6ef6cbdc
fatal: ref HEAD is not a symbolic ref
Barclamps to update: crowbar/feature/use-swift-storage-ip/master deployer/feature/use-swift-storage-ip/master dns/feature/use-swift-storage-ip/master ipmi/feature/use-swift-storage-ip/master logging/feature/use-swift-storage-ip/master nagios/feature/use-swift-storage-ip/master network/feature/use-swift-storage-ip/master ntp/feature/use-swift-storage-ip/master provisioner/feature/use-swift-storage-ip/master glance/feature/use-swift-storage-ip/master keystone/feature/use-swift-storage-ip/master kong/feature/use-swift-storage-ip/master nova/feature/use-swift-storage-ip/master nova_dashboard/feature/use-swift-storage-ip/master openstack/feature/use-swift-storage-ip/master quantum/feature/use-swift-storage-ip/master swift/feature/use-swift-storage-ip/master hadoop/feature/use-swift-storage-ip/master hive/feature/use-swift-storage-ip/master pig/feature/use-swift-storage-ip/master sqoop/feature/use-swift-storage-ip/master zookeeper/feature/use-swift-storage-ip/master
Branches to update: feature/use-swift-storage-ip/master feature/use-swift-storage-ip/openstack-os-build feature/use-swift-storage-ip/hadoop-os-build
Command to generate pull requests:
  /Users/ehaselwanter/repositories/crowbar/dev pull-requests-gen --branches feature/use-swift-storage-ip/master feature/use-swift-storage-ip/openstack-os-build feature/use-swift-storage-ip/hadoop-os-build --barclamps crowbar/feature/use-swift-storage-ip/master deployer/feature/use-swift-storage-ip/master dns/feature/use-swift-storage-ip/master ipmi/feature/use-swift-storage-ip/master logging/feature/use-swift-storage-ip/master nagios/feature/use-swift-storage-ip/master network/feature/use-swift-storage-ip/master ntp/feature/use-swift-storage-ip/master provisioner/feature/use-swift-storage-ip/master glance/feature/use-swift-storage-ip/master keystone/feature/use-swift-storage-ip/master kong/feature/use-swift-storage-ip/master nova/feature/use-swift-storage-ip/master nova_dashboard/feature/use-swift-storage-ip/master openstack/feature/use-swift-storage-ip/master quantum/feature/use-swift-storage-ip/master swift/feature/use-swift-storage-ip/master hadoop/feature/use-swift-storage-ip/master hive/feature/use-swift-storage-ip/master pig/feature/use-swift-storage-ip/master sqoop/feature/use-swift-storage-ip/master zookeeper/feature/use-swift-storage-ip/master

install-chef.sh copies authorized_keys file to the wrong location

During admin node installation install-chef.sh copies "$HOME/.ssh/authorized_keys" to "$DVD_PATH/authorized_keys" (which is e.g. /tftpboot/ubuntu_dvd/ on Ubuntu. But during client installation the net-post-install script (and the RH kickstart file as well) try to fetch it from "<%=@provisioner_web%>/authorized_keys" which means they expect them in /tftpboot (without $DVD_PATH).

Additionally I wonder if all that is really required. Because when chef-client runs for the first time on the client (e.g. during crowbar_join) the authorized_keys file will be recreated anyhow by the provisioner::base recipe. So it might make sense to remove the "authorized_keys" related stuff from install-chef and net-post-install and kickstart.

Crowbar: view node details issue

Hi there,

I've been following Rob's tutorials and have come across a problem. When I'm in crowbar ui, from the dashboard view if I click any node that is orange (not allocated) I can see the details of that node. But if I click a node that is green or grey, then nothing happens. It doesnโ€™t load the details. Iโ€™ve tried re-installing the admin node a few times, tried from different browsers and another pc and I get the same thing every time. Has anyone seen this before?

Thanks,
Marc

Crowbar install hangs while preseeding

While installing using my compiled crowbar-dev.iso I get a waring that the network is unavailable. When I continue and enter my nameserver as 8.8.8.8 (google public nameserver) the install continues until the Finishing the installation step.

It hangs at 27% while Running preseed...

Building openstack version of crowbar fails with dependency issues

Did the following

Build OpenStack version of Crowbar

  1. cd ~/crowbar
  2. git checkout โ€“b openstack-os-build origin/openstack-os-build
  3. git submodule init
  4. git submodule update
  5. ./build_crowbar
  6. ls *.iso

Build failed with the following errors after a few mins
The following packages have unmet dependencies:
swift : Depends: python-swift (= 1.4.3-0ubuntu1maverick1ppa1) but 1.4.2-0ubuntu0ppa1maverick1 is to be installed
swift-account : Depends: python-swift (= 1.4.3-0ubuntu1maverick1ppa1) but 1.4.2-0ubuntu0ppa1maverick1 is to be installed
swift-container : Depends: python-swift (= 1.4.3-0ubuntu1maverick1ppa1) but 1.4.2-0ubuntu0ppa1maverick1 is to be installed
swift-object : Depends: python-swift (= 1.4.3-0ubuntu1maverick1ppa1) but 1.4.2-0ubuntu0ppa1maverick1 is to be installed
swift-proxy : Depends: python-swift (= 1.4.3-0ubuntu1maverick1ppa1) but 1.4.2-0ubuntu0ppa1maverick1 is to be installed
E: Broken packages
2011-10-11 10:09:11 +1000: Could not fetch packages required by barclamp swift
root@crowbar:~/crowbar#

debug method for network stack

We are having issues with packet flow inside the open stack network components. Packets originating from outside the logical network are being answered and sessions are established over allowed ports such as TCP/22. Inbound works great to spawned VMs. Security Group settings have been implemented for the inbound path as per the GUI and appear to be functioning.

Where is the setting for outbound network communications? We are dropping all packets originating from the spawned VM.

Where do we look to find output / logging / debug ? What is the suggested method to capture a packet within the stack for troubleshooting?

Thanks!

build with shared directory on vagrant

Hi,

If I use a shred dir on vagrant/virtualbox I see:

E: Cannot install into target '/home/vagrant/share/crowbar-build-cache/ubuntu-12.04/chroot' mounted with noexec or nodev

ln: failed to create symbolic link `./ami': Read-only file system

what I would like to have is all things re-usable (download wise) on the share from the host and build in a virtual machine ..

elff repo is down... it blocks everything.

Hi everyone,
I'm desperately trying to install Crowbar.... but SledgeHammer is on the way, and has a broken repo. (http://download.elff.bravenet.com).

I throws me an error about the inability to retrieve repomd.xml ....

I have commented it out from the scripts "build_sledgehammer.sh" and " centos-sledgehammer.ks" and emptied the cache/ folder and started again... now "Chef" is missing.. so I guess it is what the elff repo is bringing...

....an apt-get install chef didn't solve the problem...

Any suggestion ? I'm stuck for a long time on that.

extend tutorial with troubleshooting, proposal dependencies and/or swift

Hi,
following https://github.com/dellcloudedge/crowbar/wiki/Running-Crowbar-in-VirtualBox-VMs
I would like to setup just openstack swift, not nova/glance/... I tried to just create a swift proposal and apply it, but that failed and I didn't see how to troubleshoot. (I've looked in /var/log/chef but nothing obvious showed)

So I propose to extend the README like so:

  • which log files should be checked in case of proposal failures? and what to look for?
  • the tutorial mentions openstack proposals should be done in order, but doesn't elaborate. so what are the dependencies between individual proposals? on what do individual proposals depend and why?
  • if the above is not sufficient, also some information on about how to setup only swift, not nova/glance.

thanks!
Dieter

admin installation failed on physical server

I tried to install admin to Dell's tower PC box. After os installation, /tftpboot/ubuntu_dvd/extra/install script failed.
I gave it admin.crowbar.mido as a hostname, which is dummy and the network setting is totally isolated.
Here's the message in the log file.

After a while, I gave it a another hostname, which is 127.0.0.1, and it succeeded. It seems like resolving name and/or ip address
is related to the issue.

Any help or comment greatly appreciated.

2011-08-24 00:21:14 -0500: Running blocking_chef_client.sh
/var/cache/chef/cookbooks/nagios/recipes/client.rb:39:in `from_file': undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/1.8/chef/cookbook_version.rb:473:in `load_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `each'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
        from /var/cache/chef/cookbooks/nagios/recipes/server.rb:27:in `from_file'
        from /usr/lib/ruby/1.8/chef/cookbook_version.rb:473:in `load_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `each'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/run_context.rb:94:in `load'
        from /usr/lib/ruby/1.8/chef/run_context.rb:91:in `each'
        from /usr/lib/ruby/1.8/chef/run_context.rb:91:in `load'
        from /usr/lib/ruby/1.8/chef/run_context.rb:55:in `initialize'
        from /usr/lib/ruby/1.8/chef/client.rb:166:in `new'
        from /usr/lib/ruby/1.8/chef/client.rb:166:in `run'
        from /usr/lib/ruby/1.8/chef/application/client.rb:222:in `run_application'
        from /usr/lib/ruby/1.8/chef/application/client.rb:212:in `loop'
        from /usr/lib/ruby/1.8/chef/application/client.rb:212:in `run_application'
        from /usr/lib/ruby/1.8/chef/application.rb:62:in `run'
        from /usr/bin/chef-client:26
/var/cache/chef/cookbooks/nagios/recipes/client.rb:39:in `from_file': undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/1.8/chef/cookbook_version.rb:473:in `load_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `each'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
        from /var/cache/chef/cookbooks/nagios/recipes/server.rb:27:in `from_file'
        from /usr/lib/ruby/1.8/chef/cookbook_version.rb:473:in `load_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `each'
        from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
        from /usr/lib/ruby/1.8/chef/run_context.rb:94:in `load'
        from /usr/lib/ruby/1.8/chef/run_context.rb:91:in `each'
        from /usr/lib/ruby/1.8/chef/run_context.rb:91:in `load'
        from /usr/lib/ruby/1.8/chef/run_context.rb:55:in `initialize'
        from /usr/lib/ruby/1.8/chef/client.rb:166:in `new'
        from /usr/lib/ruby/1.8/chef/client.rb:166:in `run'
        from /usr/lib/ruby/1.8/chef/application/client.rb:222:in `run_application'
        from /usr/lib/ruby/1.8/chef/application/client.rb:212:in `loop'

Thanks,
Tomoe

OpenStack Dashboard: Authentication Error

I am new to OpenStack and Crowbar. In the past few days I've been trying to set up Crowbar to deploy OpenStack on my desktop. I installed Crowbar on a VM running in WMware Workstation 8.0. My desktop is running Ubuntu 11.10.

I followed the videos from Rob Hirschfeld's Blog when I set up Crowbar on my machine. I deployed 5 VM's, 1 crowbar admin node, and 4 crowbar nodes. Everything installed successfully, and I created following proposals:

  1. Glance proposal
  2. Nova proposal
  3. Nova Dashboard proposal
  4. Keystone proposal

Everything went through like in the videos, and now all the lights corresponding to the crowbar nodes are green in the crowbar dashboard.

Now I'm trying to open the OpenStack dashboard, so I clicked on Nova Dashboard link on the node that has Nova Dashboard proposal associated with it. It takes me to OpenStack login page. Here I enter admin/admin for username and password (those are the username and password displayed in Keystone proposal), but I keep getting following error:

Error authenticating: Unauthorized

In the video clicking on Nova Dashboard takes them straight to the dashboard without the authentication page. I was wandering if I am missing some steps or not using the correct username and password to login to OpenStack Dashboard.

Any help would be appreciated. Thanks.

chef run fails on crowbar instance

seeing this the chef log

/var/log/chef/client.log

[Fri, 21 Oct 2011 02:39:00 -0500] ERROR: bash[Add crowbar chef client] (crowbar::default line 110) has had an error
[Fri, 21 Oct 2011 02:39:00 -0500] ERROR: bash[Add crowbar chef client] (/var/cache/chef/cookbooks/crowbar/recipes/default.rb:110:in`from_file') had an error:
bash[Add crowbar chef client](crowbar::default line 110) had an error: Expected process to exit with [0], but received '100'
---- Begin output of "bash"  "/tmp/chef-script20111021-1661-u3obn5-0" ----
STDOUT: ERROR: You authenticated successfully to http://localhost:4000 as chef-validator but you are not authorized for this action
Response:  You are not allowed to take this action.
STDERR: 
---- End output of "bash"  "/tmp/chef-script20111021-1661-u3obn5-0" ----
Ran "bash"  "/tmp/chef-script20111021-1661-u3obn5-0" returned 100
/usr/lib/ruby/vendor_ruby/chef/shell_out.rb:207:in `invalid!'
/usr/lib/ruby/vendor_ruby/chef/shell_out.rb:193:in`error!'
/

chef-client --once as root runs successful

Crowbar is not FHS-compliant

In a few places, Crowbar violates the FHS (Filesystem Hierarchy Standard). As agreed on the mailing list, let's use this ticket to track all violations and decide the best way to fix them.

Here is the current list of known violations:

  • /srv/tftpboot should be used instead of /tftpboot
  • /opt/dell/crowbar_framework/log - log files are variable rather than static data, and so are not allowed under /opt. An appropriate alternative would be either /var/log/crowbar_framework or /var/opt/dell/crowbar_framework/log.
  • /opt/dell/crowbar_framework/tmp - temporary files are variable rather than static data, and so are not allowed under /opt. It appears that this directory is used for lock files at least, so an appropriate alternative might be /var/run/crowbar_framework or /var/tmp/crowbar_framework or /var/opt/dell/crowbar_framework/tmp.
  • /opt/dell/bin/barclamp_*lib.rb should live in /opt/dell/lib or similar.
  • /install-logs is not a permitted top-level directory and should be moved under /var/log
  • /updates is not a permitted top-level directory - files are copied here from barclamps' updates subdirectories by barclamp_mgmt_lib.rb if they exist; not sure where this belongs
  • Various .json files which are effectively configuration files (e.g. bc-network.json) currently live under /opt but should live under /etc/opt.
  • /opt/dell/crowbar_framework/.crowbar-installed-ok is touched by both install-chef.sh and install-chef-suse.sh. It should use
    /var/opt/dell/crowbar_framework/.crowbar-installed-ok or similar. Note that /var/run would be inappropriate since it can be cleared on reboot.

Additionally, Chef violates the /var part of the FHS spec by creating a top-level /var/chef directory. I assume this is probably an issue with how Crowbar configures Chef's path attribute.

unable to open admin server properties in Crowbar GUI

Trying a fresh install on VirtualBox VM using crowbar110801.iso.

The OS installation & crowbar installation went smooth, but from Crowbar GUI I'm unable to see properties of this node.
Single click gives nothing, but Open in new window gives:

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.

Syslog complains about TemplateError and inability to treat Nil as a list:

Sep 15 00:22:44 demo-crowbar crowbar_app[27001]: Parameters: {"name"=>"demo-crowbar", "constraints"=>{"name"=>/.*/}}
Sep 15 00:22:44 demo-crowbar crowbar_app[27001]: Rendering template within layouts/application
Sep 15 00:22:44 demo-crowbar crowbar_app[27001]: Rendering nodes/show
Sep 15 00:22:44 demo-crowbar crowbar_app[27001]: ActionView::TemplateError (undefined method []' for nil:NilClass) on line #26 of app/views/nodes/_show.html.haml:#01223: = dl_item((NodeObject.human_attribute_name :cpu), @node.cpu)#01224: = dl_item((NodeObject.human_attribute_name :memory), format_memory(@node.memory))#01225: = dl_item((NodeObject.human_attribute_name :number_of_drives), @node.number_of_drives)#01226: = dl_item((NodeObject.human_attribute_name :asset_tag), @node.asset_tag)#01227: #01228: .clear#01229: #012#012 app/models/node_object.rb:219:inasset_tag'#12 app/views/nodes/_show.html.haml:26:in _run_haml_app47views47nodes47_show46html46haml_locals_object_show'#012 /usr/lib/ruby/1.8/action_view/renderable.rb:34:insend'#12 /usr/lib/ruby/1.8/action_view/renderable.rb:34:in render'#012 /usr/lib/ruby/1.8/action_view/base.rb:306:inwith_template'#12 /usr/lib/ruby/1.8/action_view/renderable.rb:30:in render'#012 /usr/lib/ruby/1.8/action_view/renderable_partial.rb:20:inrender'#12 /usr/lib/ruby/1.8/action_controller/benchmarking.rb:30:in benchmark'#012 /usr/lib/ruby/1.8/action_view/renderable_partial.rb:19:inrender'#12 /usr/lib/ruby/1.8/action_view/template.rb:205:in render_template'#012 /usr/lib/ruby/1.8/action_view/renderable_partial.rb:44:inrender_partial'#12 /usr/lib/ruby/1.8/action_view/partials.rb:184:in render_partial'#012 /usr/lib/ruby/1.8/action_view/base.rb:267:inrender_without_haml'#12 haml (3.1.1) rails/./lib/haml/helpers/action_view_mods.rb:11:in render'#012 haml (3.1.1) lib/haml/helpers.rb:90:innon_haml'#12 haml (3.1.1) rails/./lib/haml/helpers/action_view_mods.rb:11:in render'#012 app/views/nodes/show.html.haml:1:in_run_haml_app47views47nodes47show46html46haml'#12 /usr/lib/ruby/1.8/action_view/renderable.rb:34:in send'#012 /usr/lib/ruby/1.8/action_view/renderable.rb:34:inrender'#12 /usr/lib/ruby/1.8/action_view/base.rb:306:in `with_template'#12 /usr/lib/ruby/1.8/action_view/renderable.

This is a second install. Previous one gave same results. See details of knife node list & knife node show in comments for Issue #9 I published yesterday.

Any clues what's went wrong?

Thanks a lot for your help.
Regards,
-Vladimir
[email protected]

redhat-common/build_lib.sh

Line 45 uses the following:
local repo=$(mktemp "/tmp/repo-$1-XXXXX.repo")

Which kills the installation...

moving the ".repo" outside the double quotes works around that problem.

local repo=$(mktemp "/tmp/repo-$1-XXXXX").repo

Curl problems

I'm on Centos 6.2 when I built it it seemed fine and post install also. But there aren't any nodes showing up after I pxe boot stuff and I get this in logs:

STDERR: cp: cannot stat `/tftpboot/files/curl': No such file or directory

Timeout::Error when installing on VirtualBox

root@admin:/tftpboot/ubuntu_dvd/extra# ./install admin.crowbar.org
Script started, file is /var/log/install.log
2011-09-26 08:39:38 -0500: Setting Hostname...
RTNETLINK answers: File exists
2011-09-26 08:39:40 -0500: Installing Chef Server...
2011-09-26 08:39:45 -0500: Arranging for gems to be installed
Successfully installed builder-3.0.0
1 gem installed
Building native extensions. This could take a while...
Successfully installed json-1.6.1
1 gem installed
Loading 27 gems from .
...........................
Loaded all gems
loaded: 13.912s
Generating Marshal quick index gemspecs for 27 gems
...........................
Complete
Generated Marshal quick index gemspecs: 0.160s
Generating YAML quick index gemspecs for 27 gems
...........................
Complete
Generated YAML quick index gemspecs: 2.137s
Generating quick index
Generated quick index: 0.027s
Generating latest index
Generated latest index: 0.002s
Generating Marshal master index
Generated Marshal master index: 0.031s
Generating YAML master index for 27 gems (this may take a while)
...........................
Complete
Generated YAML master index: 2.083s
Generating specs index
Generated specs index: 0.018s
Generating latest specs index
Generated latest specs index: 0.001s
Generating prerelease specs index
Generated prerelease specs index: 0.000s
Compressing indicies
Compressed indicies: 0.076s
2011-09-26 08:42:34 -0500: Building Keys...
ssh start/running, process 7079
2011-09-26 08:53:31 -0500: Validating data bags...
2011-09-26 08:53:36 -0500: Update run list...
2011-09-26 08:53:58 -0500: Bringing up Crowbar...
/opt/dell/bin/barclamp_lib.rb:446:in run_sub_command': /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command': /usr/lib/ruby/1.8/timeout.rb:64:in rbuf_fill': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/protocol.rb:134:inrbuf_fill'
from /usr/lib/ruby/1.8/net/protocol.rb:116:in readuntil' from /usr/lib/ruby/1.8/net/protocol.rb:126:inreadline'
from /usr/lib/ruby/1.8/net/http.rb:2028:in read_status_line' from /usr/lib/ruby/1.8/net/http.rb:2017:inread_new'
from /usr/lib/ruby/1.8/net/http.rb:1051:in request' from /opt/dell/bin/barclamp_lib.rb:113:inauthenticate'
from /usr/lib/ruby/1.8/net/http.rb:543:in start' from /usr/lib/ruby/1.8/net/http.rb:440:instart'
from /opt/dell/bin/barclamp_lib.rb:109:in authenticate' from /opt/dell/bin/barclamp_lib.rb:131:inget_json'
from /opt/dell/bin/barclamp_lib.rb:243:in proposal_list' from (eval):1:inrun_sub_command'
from (eval):1:in eval' from /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command'
from (eval):1:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:ineval'
from /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:inrun_command'
from /opt/dell/bin/barclamp_lib.rb:455:in `main'
from /opt/dell/bin/crowbar_crowbar:21

Delete proposal is re-directed to 404

When deleting a proposal, the browser is redirected to:

http://192.168.124.10:3000/crowbar/nova/1.0/proposals/proposal

which gives a blank 404, no default page.

Log:
Nov 13 15:42:39 admin crowbar_app[1498]: Destroying data bag item: bc-nova-proposal - 6
Nov 13 15:42:39 admin crowbar_app[1497]: Completed in 65ms (View: 1 | 200 OK [http://192.168.124.10/crowbar/nova/1.0/proposals/status/nova_proposal]
Nov 13 15:42:39 admin crowbar_app[1498]: Done removal of data bag item: bc-nova-proposal - 6
Nov 13 15:42:39 admin crowbar_app[1498]: Redirected to http://192.168.124.10:3000/crowbar/nova/1.0/proposals/proposal
Nov 13 15:42:39 admin crowbar_app[1498]: Completed in 103ms | 302 Found [http://192.168.124.10/crowbar/nova/1.0/proposals/proposal]
Nov 13 15:42:39 admin crowbar_app[1497]: Processing NovaController#proposal_show (for 192.168.124.1 at 2011-11-13 15:42:39) [GET]
Nov 13 15:42:39 admin crowbar_app[1497]: Parameters: {"id"=>"proposal"}
Nov 13 15:42:39 admin crowbar_app[1497]: Could not recover Chef Crowbar Data on load bc-nova-proposal: #<Net::HTTPServerException: 404 "Not Found">
Nov 13 15:42:39 admin crowbar_app[1497]: Completed in 28ms (View: 0 | 404 Not Found [http://192.168.124.10/crowbar/nova/1.0/proposals/proposal]

When you enter in crowbar's default url it gives a 500, then you refresh again and it flashes:
"undefined local variable or method `barclamp_proposals_barclamp_path' for #"

Let me know if you need more info.

Cannot have crowbar admin interface as a vlan

If you alter the bc-template-network.json such that the admin interface is on a vlan and change the ipaddress the installation fails, if you make changes to get the installation complete, as described later, no nodes can bootstrap over PXE as they get no dhcp lease

There is two problems that cause this, firstly the install-chef.sh script make assumptions about the networking setup, and sets eth0 to 192.168.124.10 before the bulk of the installation line 112, regardless of the configuration chosen. Secondly dhcp is hard coded to listen on eth0, again regardless of configuration.

If you comment out line 112 of install-chef.sh, installation completes, but dhcpd is still only listening on eth0, so nodes cannot boot. If you change this manually, chef (i suspect) overwrites it, but I don't know where this configuration is from.

Incidentally 15 occurrences of '192.168.124.10' in the crowbar iso build git checkout, outside of documentation and bc-template-network.json

dev setup not working

dev setup tries to use a feature branch and fails

$ dev setup
/Users/ehaselwanter/repositories/crowbar/build_lib.sh: line 15: ulimit: open files: cannot modify limit: Invalid argument
Finding Github repos...
M   barclamps/crowbar
M   barclamps/deployer
M   barclamps/dns
M   barclamps/logging
M   barclamps/nagios
M   barclamps/nova
M   barclamps/provisioner
Switched to branch 'feature/use-nagios-admin-ip-address/openstack-os-build'

... lots of output snipped ...

2012-04-30 15:55:49 +0200: It looks like development is the parent of essex-hack
Branch release/essex-hack/master set up to track remote branch release/essex-hack/master from origin.
No submodule mapping found in .gitmodules for path 'barclamps/clouderamanager'
https://github.com/dellcloudedge/barclamp-clouderamanager.git
No submodule mapping found in .gitmodules for path 'barclamps/clouderamanager'
2012-04-30 15:55:50 +0200: Could not perform initial clone of barclamp clouderamanager
15:55:50 ehaselwanter@airbook:~/repositories/crowbar (git:feature/use-swift-storage-ip/hadoop-os-build+*:ba77f94) 

it seams it uses the last feature created ...

SHA1sums do not match, install is corrupt

Hi,

i've tried the ISO+sledgehammer from http://crowbar.zehicle.com/ as well as building master myself. the problem with both is, that upon ./install my.fqdn, it always reports that the SHA1sums do not match. As said, it doesn't matter if it's from the site or if i build a current iso myself.

Setup is within a VirtualBox VE (just checking it out).

Since google turned up nothing for this, i thought i'd write a report.

cheers

nagios monitor wrong port

RABBITMQ_ALIVENESS CRITICAL - Received 500 Can't connect to 192.168.123.1:55672 (connect: Connection refused) for vhost: /nova

may i know how I can fix this issue?

RabbitMQ wrong Server address

Having built an Openstack cloud from Crowbar iso openstack111219.iso all has been pretty successful except for one issue, built three physical compute nodes on M610s with one being a multi-controller and also a multi-compute and the other two just being a multi-compute.

When I check in the dashboard all have been added, however when I check the nodes then they all have their own ip and password for rabbitmq, I can manually change the IP and it all works, however chef overwrites the IP again, so I tried changing the password in the roles and that worked but the ip just keeps changing back.

Node 1 = Multi Controller and Multi Compute

RABBITMQ

--rabbit_host=10.49.56.82
--rabbit_userid=nova
--rabbit_password=qZjLwHpkVI2GyIVKzkS_
--rabbit_virtual_host=/nova

Node 2 = Multi controller

RABBITMQ

--rabbit_host=10.49.56.83
--rabbit_userid=nova
--rabbit_password=o4egBH7DCmw85uOr34Lf
--rabbit_virtual_host=/nova

Node 3 = Multi controller

RABBITMQ

--rabbit_host=10.49.56.84
--rabbit_userid=nova
--rabbit_password=kEJf46ZeDzSzxZDb81nM
--rabbit_virtual_host=/nova

I expected these to all have the same as Node 1, if I set them to Node 1 then as mentioned it all works but only for a short period.

I also tried rebuilding and shortening the domain name as per https://github.com/dellcloudedge/crowbar/wiki/Crowbar-issues-and-workarounds---deails that someone else had a similar problem.

Thanks in advance
Steve

openstack swift cluster stays running after removing swift roles from nodes

how it is now:

  1. create swift proposal, add nodes to it
  2. apply it
  3. swift cluster is operational and useable
  4. remove the proposal, removing roles from the nodes
  5. the cluster is still running fine. processes are running, data is still available, cluster can still be used

expected result:
at least the cluster should go down, swift processes stopped, configuration removed. I would also argue that the data can be removed automatically (it's the crowbar user's job to backup data first if needed, then decomission nodes)

Missing kvm-pxe package

Hi,

While following this (http://docs.openstack.org/cactus/openstack-compute/admin/content/creating-a-windows-image.html) guide to get a Windows VM running and to create a image from it I ran into some problem:

After running "sudo kvm -m 1024 -cdrom win2k8_dvd.iso -drive file=windowsserver.img,if=virtio,boot=on -fda virtio-win-1.1.16.vfd -boot d -nographic -vnc :0" I get the following error:

pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"

To fix this I had to install kvm-pxe; apt-get install kvm-pxe

Maybe we can include this package with crowbar / nova directly?

how to modify the netwoking?

Hi

I use openstack111219.iso install Crowbar.

now I want to modify the network. but I read the document and have some confuse.

The networks cannot be reconfigured once the system is installed.

before I run .

cd /tftpboot/ubuntu_dvd/extra

./install systemname.yourdomain.com

I can not find the /opt/dell/chef/data_bags/crowbar/ bc-template-network.json to modify?

it is no chef folder.

following tutorial, nova proposal gets queued despite client being ready

Hi,
I follow https://github.com/dellcloudedge/crowbar/wiki/Running-Crowbar-in-VirtualBox-VMs
Everything went okay until after applying the first proposal (glance).
When I create a proposal for Nova, set hypervisor to 'qemu', check that both the nova-multi-controller and nova-multi-compute have my_client, I click 'apply'. I then get:

Successfully queued the proposal until the following become ready: ["my_client"]

Note that my client node is ready, the VM is running fine, and in the node dashboard it has a green light. The Nova proposal seems queued forever, I tried clicking apply again, dequeue, remove, try again, etc, all to no avail.

Problems with Yum when it's joining - crowbar-join logs added

crowbar-join.errlog

/etc/rc3.d/S80crowbar@42(log_to): tee -a /var/log/crowbar-join-yum.err
/etc/rc3.d/S80crowbar@41(log_to): printf '\n%s\n' '2012-04-07 10:55:37 +0100: Running yum -q -y update'
/etc/rc3.d/S80crowbar@43(log_to): local _ret=0
/etc/rc3.d/S80crowbar@44(log_to): yum -q -y update
/etc/rc3.d/S80crowbar@47(log_to): _ret=1
/etc/rc3.d/S80crowbar@48(log_to): echo '2012-04-07 10:55:37 +0100: yum -q -y update failed.'
/etc/rc3.d/S80crowbar@49(log_to): echo 'See /var/log/crowbar-join-yum.log and /var/log/crowbar-join-yum.err for more information.'
/etc/rc3.d/S80crowbar@52(log_to): tee -a /var/log/crowbar-join-yum.err
//etc/rc3.d/S80crowbar@51(log_to): date '+%F %T %z'
/etc/rc3.d/S80crowbar@51(log_to): printf '\n\n--------\n' '2012-04-07 10:55:40 +0100: Done yum -q -y update'
/etc/rc3.d/S80crowbar@53(log_to): return 1
/etc/rc3.d/S80crowbar@120(): echo 'Failed to do yum update, wait and try again'
/etc/rc3.d/S80crowbar@121(): sleep 1
/etc/rc3.d/S80crowbar@119(): log_to yum yum -q -y update
/etc/rc3.d/S80crowbar@38(log_to): local __log=/var/log/crowbar-join-yum
//etc/rc3.d/S80crowbar@39(log_to): date '+%F %T %z'
/etc/rc3.d/S80crowbar@39(log_to): local '__timestamp=2012-04-07 10:55:41 +0100'
/etc/rc3.d/S80crowbar@40(log_to): shift
/etc/rc3.d/S80crowbar@42(log_to): tee -a /var/log/crowbar-join-yum.err
/etc/rc3.d/S80crowbar@41(log_to): printf '\n%s\n' '2012-04-07 10:55:41 +0100: Running yum -q -y update'
/etc/rc3.d/S80crowbar@43(log_to): local _ret=0
/etc/rc3.d/S80crowbar@44(log_to): yum -q -y update
/etc/rc3.d/S80crowbar@47(log_to): _ret=1
/etc/rc3.d/S80crowbar@48(log_to): echo '2012-04-07 10:55:41 +0100: yum -q -y update failed.'
/etc/rc3.d/S80crowbar@49(log_to): echo 'See /var/log/crowbar-join-yum.log and /var/log/crowbar-join-yum.err for more information.'
/etc/rc3.d/S80crowbar@52(log_to): tee -a /var/log/crowbar-join-yum.err
//etc/rc3.d/S80crowbar@51(log_to): date '+%F %T %z'
/etc/rc3.d/S80crowbar@51(log_to): printf '\n\n--------\n' '2012-04-07 10:55:43 +0100: Done yum -q -y update'
/etc/rc3.d/S80crowbar@53(log_to): return 1
/etc/rc3.d/S80crowbar@120(): echo 'Failed to do yum update, wait and try again'
/etc/rc3.d/S80crowbar@121(): sleep 1
/etc/rc3.d/S80crowbar@119(): log_to yum yum -q -y update
/etc/rc3.d/S80crowbar@38(log_to): local __log=/var/log/crowbar-join-yum
//etc/rc3.d/S80crowbar@39(log_to): date '+%F %T %z'
/etc/rc3.d/S80crowbar@39(log_to): local '__timestamp=2012-04-07 10:55:44 +0100'
/etc/rc3.d/S80crowbar@40(log_to): shift
/etc/rc3.d/S80crowbar@42(log_to): tee -a /var/log/crowbar-join-yum.err
/etc/rc3.d/S80crowbar@41(log_to): printf '\n%s\n' '2012-04-07 10:55:44 +0100: Running yum -q -y update'
/etc/rc3.d/S80crowbar@43(log_to): local _ret=0
/etc/rc3.d/S80crowbar@44(log_to): yum -q -y update

Other log:

2012-04-07 10:55:41 +0100: Running yum -q -y update
Error: Package: ntsysv-1.3.47-1.el6.x86_64 (@anaconda-CentOS-201112102333.x86_64/6.2)
Requires: chkconfig = 1.3.47-1.el6
Removing: chkconfig-1.3.47-1.el6.x86_64 (@anaconda-CentOS-201112102333.x86_64/6.2)
chkconfig = 1.3.47-1.el6
Updated By: chkconfig-1.3.49.3-1.el6_2.x86_64 (crowbar-crowbar)
chkconfig = 1.3.49.3-1.el6_2

nova connecting to wrong rabbitmq host

I noticed all my newly added nova-compute nodes where showing red in dashboard. Upon examination I found out that the nova.conf where pointing to the wrong --rabbit_host. It was pointing to its own interface IP instead of the node where I installed nova. When I edited the conf on every compute-node and restarted nova-api, nova-compute and nova-network services I found all green nodes in the services tab in dashboard.

Details; running Openstack 1.2 RC1 version of Crowbar.

Openstack installer .vmx

In the wiki for running crowbar in vms is says to open openstack installer .vmx.

Where do you get this file?
Thanks

UI error with JBOD

When editting a node and change the RAID setup to JBOD Only the dashboard shows the following:

Disk Drives
1, RAID: en, raid, JBODOnly

deployer barclamp: gemrc.erb has a bad "sources" item

The sources item found in the gemrc.erb has a typo in it. It is prefix with an extra ":".

:sources: should be changed to sources:

This causes RubyGem to be unable to find any gems in the admin node repository.

Full path to file:

barclamps/deployer/chef/cookbooks/repos/templates/default/gemrc.erb.

Error under chef installation

p: omitting directory /tftpboot/redhat_dvd/dell/barclamps' 2012-04-07 00:05:37 +0100: Installing Barclamps 2012-04-07 00:07:18 +0100: Validating data bags... 2012-04-07 00:07:18 +0100: Create Admin node role 2012-04-07 00:07:19 +0100: Update run list... 2012-04-07 00:07:22 +0100: Bringing up Crowbar... /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command': /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command': /usr/lib/ruby/1.8/net/http.rb:560:ininitialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /usr/lib/ruby/1.8/net/http.rb:560:in open' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect'
from /usr/lib/ruby/1.8/timeout.rb:53:in timeout' from /usr/lib/ruby/1.8/timeout.rb:101:intimeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in connect' from /usr/lib/ruby/1.8/net/http.rb:553:indo_start'
from /usr/lib/ruby/1.8/net/http.rb:542:in start' from /usr/lib/ruby/1.8/net/http.rb:440:instart'
from /opt/dell/bin/barclamp_lib.rb:109:in authenticate' from /opt/dell/bin/barclamp_lib.rb:131:inget_json'
from /opt/dell/bin/barclamp_lib.rb:243:in proposal_list' from (eval):1:inrun_sub_command'
from (eval):1:in eval' from /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command'
from (eval):1:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:ineval'
from /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:inrun_command'
from /opt/dell/bin/barclamp_lib.rb:455:in `main'
from /opt/dell/bin/crowbar_crowbar:21
Created default

Crowbar dashboard error

I have set up an admin server on KVM guest without noticeable errors, but I get error at the front page of crowbar web app.
Interestingly, other pages like http://admin:3000/crowbar doesn't give an error.
Below is the log that I got with RoR dev server.
Any comments or help greatly appreciated.

NoMethodError in NodesController#index

undefined method `delete_if' for 110:Fixnum
RAILS_ROOT: /opt/dell/openstack_manager

Application Trace | Framework Trace | Full Trace
/opt/dell/openstack_manager/app/models/node_object.rb:29:in `find'
/opt/dell/openstack_manager/app/models/node_object.rb:61:in `all'
/opt/dell/openstack_manager/app/controllers/nodes_controller.rb:33:in `index'
/usr/lib/ruby/1.8/action_controller/base.rb:1331:in `send'
/usr/lib/ruby/1.8/action_controller/base.rb:1331:in `perform_action_without_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:617:in `call_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/lib/ruby/1.8/action_controller/flash.rb:146:in `perform_action'
/usr/lib/ruby/1.8/action_controller/base.rb:532:in `send'
/usr/lib/ruby/1.8/action_controller/base.rb:532:in `process_without_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:606:in `process'
/usr/lib/ruby/1.8/action_controller/base.rb:391:in `process'
/usr/lib/ruby/1.8/action_controller/base.rb:386:in `call'
/usr/lib/ruby/1.8/action_controller/routing/route_set.rb:437:in `call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/var/lib/gems/1.8/gems/sass-3.1.2/lib/sass/plugin/rack.rb:54:in `call'
/var/lib/gems/1.8/gems/sass-3.1.2/lib/sass/plugin/rack.rb:54:in `call'
/usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'
/usr/lib/ruby/1.8/rack/head.rb:9:in `call'
/usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in `call'
/usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:114:in `call'
/usr/lib/ruby/1.8/action_controller/reloader.rb:34:in `run'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call'
/opt/dell/openstack_manager/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
/usr/lib/ruby/1.8/rack/urlmap.rb:47:in `call'
/usr/lib/ruby/1.8/rack/urlmap.rb:41:in `each'
/usr/lib/ruby/1.8/rack/urlmap.rb:41:in `call'
/opt/dell/openstack_manager/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call'
/usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
/usr/lib/ruby/1.8/rack/handler/webrick.rb:48:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/1.8/rack/handler/webrick.rb:14:in `run'
/opt/dell/openstack_manager/vendor/rails/railties/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Request

Parameters:

None
Show session dump

Response

Headers:

{"Content-Type"=>"", 

Thanks,
Tomoe

issue installing nova-dashboard and nova-multi-compute

I was able to configure crowbar using roles with 1 nova-multi-controller, 3 nova-multi-compute and 1 nova-dashboard server. I rebooted all the servers and all came back green after a two hour or so. The only thing that was installed the proper role is the controller and all came with a prompt. But once I logged in to them no nova running on the compute-node and when I logged in on the dashboard server no apache or any nova-api installed.

in total (five server discovered and all yellow blinking light on all of them)

What I did is created a proposal for nova that included the following:
nova-multi-controller (added one of the server that to this list)
nova-multi-compute (added three servers to this list)
nova-dashboard (added one server to this list)
Saved the proposal
applied the proposal.

All rebooted and start doing the installation.
Red blinking status was blinking then
After two hour or so they all turned green and no blinking yellow on the proposal for nova.

But like I said the only thing that seems to work is the controller which is running the nova-controller.

I have no idea how to get to the openstack dashboard. What I did is try the URL with the ip of 192.168.124.85 which was listed on the crowbar dashboard for that server. But nothing..comes up..I check apache on the system and its not installed/running at all. What port does crowbar configure for the nova-dashboard?

Do I need to do anything on the nova-compute nodes or the nova-dashboard server for it to get it to work. I am thinking when I drag the server and put it on one of the roles under the nova proposal all the necessary packages will be installed to that server like it did to the nova-multi-controller server.

Thanks for your help.

Regards,
Yemane Berhane.

VMs Unable to reach internet

After having completed a Crowbar install of openstack using openstack111219.iso I have configured up the network files and all is running fine, however the VMs can not reach out to the internet, I can however ssh over my network to the VMs after enabling the default firewall rules, I looked at the Controller node and tried to ping out from that and again this can not get out to the internet.

Below is the network json file.

"id": "bc-template-network",
"description": "Instantiates network interfaces on the crowbar managed systems. Also manages the address pool",
"attributes": {
"network": {
"start_up_delay": 30,
"mode": "single",
"teaming": {
"mode": 6
},
"interface_map": [
{
"pattern": "PowerEdge M610",
"bus_order": [
"/0/100/1",
"/0/100/7"
]
},
{
"pattern": "PowerEdge R710",
"bus_order": [
"/0/100/1",
"/0/100/3"
]
},
{
"pattern": "PowerEdge C6145",
"bus_order": [
"/0/100/4",
"/0/100/2"
]
},
{
"pattern": "PowerEdge C2100",
"bus_order": [
"/0/100/1c",
"/0/100/7",
"/0/100/9",
"/0/100/1"
]
},
{
"pattern": "C6100",
"bus_order": [
"/0/100/1",
"/0/100/3",
"/0/100/7"
]
},
{
"pattern": "product",
"bus_order": [
"/0/100/1",
"/0/100/2"
]
}
],
"conduit_map": [
{
"pattern": "team/./.",
"conduit_list": {
"intf0": {
"if_list": [ "1g1", "1g2" ],
"team_mode": 6
},
"intf1": {
"if_list": [ "1g1", "1g2" ],
"team_mode": 6
},
"intf2": {
"if_list": [ "1g1", "1g2" ],
"team_mode": 6
}
}
},
{
"pattern": "dual/./.",
"conduit_list": {
"intf0": {
"if_list": [ "1g1" ]
},
"intf1": {
"if_list": [ "1g2" ]
},
"intf2": {
"if_list": [ "1g1" ]
}
}
},
{
"pattern": "single/./.",
"conduit_list": {
"intf0": {
"if_list": [ "1g1" ]
},
"bastion1": {
"if_list": [ "1g2"]
},
"intf1": {
"if_list": [ "1g2" ]
},
"intf2": {
"if_list": [ "1g3" ]
}
}
},
{
"pattern": "././.*",
"conduit_list": {
"intf0": {
"if_list": [ "1g1" ]
},
"intf1": {
"if_list": [ "1g1" ]
},
"intf2": {
"if_list": [ "1g1" ]
}
}
},
{
"pattern": "mode/1g_adpt_count/role",
"conduit_list": {
"intf0": {
"if_list": [ "1g1" ]
},
"intf1": {
"if_list": [ "1g1" ]
},
"intf2": {
"if_list": [ "1g1" ]
}
}
}
],
"networks": {
"storage": {
"conduit": "intf2",
"vlan": 403,
"use_vlan": true,
"add_bridge": false,
"subnet": "10.49.54.0",
"netmask": "255.255.255.0",
"broadcast": "10.49.54.255",
"ranges": {
"host": { "start": "10.49.54.10", "end": "10.49.54.20" }
}
},
"public": {
"conduit": "intf2",
"vlan": 403,
"use_vlan": true,
"add_bridge": false,
"subnet": "10.49.54.0",
"netmask": "255.255.255.0",
"broadcast": "10.49.54.255",
"router": "10.49.54.1",
"ranges": {
"host": { "start": "10.49.54.21", "end": "10.49.54.49" },
"dhcp": { "start": "10.49.54.50", "end": "10.49.54.127" }
}
},
"nova_fixed": {
"conduit": "intf2",
"vlan": 405,
"use_vlan": true,
"add_bridge": true,
"subnet": "10.49.57.0",
"netmask": "255.255.255.0",
"broadcast": "10.49.47.255",
"router": "10.49.57.1",
"ranges": {
"router": { "start": "10.49.57.25", "end": "10.49.57.49" },
"dhcp": { "start": "10.49.57.50", "end": "10.49.47.254" }
}
},
"nova_floating": {
"conduit": "intf1",
"vlan": 300,
"use_vlan": true,
"add_bridge": false,
"subnet": "192.168.122.128",
"netmask": "255.255.255.192",
"broadcast": "192.168.122.191",
"ranges": {
"host": { "start": "192.168.122.129", "end": "192.168.122.191" }
}
},
"bastion1": {
"conduit": "bastion1",
"vlan": 404,
"use_vlan": false,
"add_bridge": false,
"subnet": "10.49.56.0",
"netmask": "255.255.255.0",
"broadcast": "10.49.56.255",
"ranges": {
"admin": { "start": "10.49.56.12", "end": "10.49.56.12" }
}
},
"bmc": {
"conduit": "bmc",
"vlan": 100,
"use_vlan": false,
"add_bridge": false,
"subnet": "192.168.124.0",
"netmask": "255.255.255.0",
"broadcast": "192.168.124.255",
"ranges": {
"host": { "start": "192.168.124.162", "end": "192.168.124.240" }
}
},
"bmc_vlan": {
"conduit": "intf0",
"vlan": 100,
"use_vlan": true,
"add_bridge": false,
"subnet": "192.168.124.0",
"netmask": "255.255.255.0",
"broadcast": "192.168.124.255",
"ranges": {
"host": { "start": "192.168.124.161", "end": "192.168.124.161" }
}
},
"admin": {
"conduit": "intf0",
"vlan": 404,
"use_vlan": false,
"add_bridge": false,
"subnet": "10.49.56.0",
"netmask": "255.255.255.0",
"broadcast": "10.49.56.255",
"router": "10.49.56.1",
"ranges": {
"admin": { "start": "10.49.56.10", "end": "10.49.56.11" },
"dhcp": { "start": "10.49.56.21", "end": "10.49.56.80" },
"host": { "start": "10.49.56.81", "end": "10.49.56.160" },
"switch": { "start": "10.49.56.241", "end": "10.49.56.250" }
}
}
}
}
},
"deployment": {
"network": {
"crowbar-revision": 0,
"elements": {},
"element_order": [
[ "network" ]
],
"config": {
"environment": "network-base-config",
"mode": "full",
"transitions": true,
"transition_list": [ "discovered" ]
}
}
}
}

The Controller has Eth0 on 10.49.56.82
eth2.403 10.49.54.21
br405 10.49.57.25

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.49.54.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2.403
10.49.57.0 0.0.0.0 255.255.255.0 U 0 0 0 br405
10.49.56.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 10.49.57.1 0.0.0.0 UG 100 0 0 br405
0.0.0.0 10.49.54.1 0.0.0.0 UG 100 0 0 eth2.403
0.0.0.0 10.49.56.1 0.0.0.0 UG 100 0 0 eth0

I have built a seperate machine on the 10.49.57.x network and that can reach the internet, so can machines on 10.49.56.x and 10.49.54.x

Regards
Steve

Error when Bringing up crowbar

I'm using the current build from Robs pages.

cp: omitting directory /tftpboot/ubuntu_dvd/dell/barclamps' 2012-05-11 05:19:04 -0500: Installing Barclamps 2012-05-11 05:25:05 -0500: Validating data bags... 2012-05-11 05:25:06 -0500: Create Admin node role 2012-05-11 05:25:12 -0500: Update run list... 2012-05-11 05:25:15 -0500: Bringing up Crowbar... 2012-05-11 05:26:46 -0500: service chef-server restart failed. See /var/log/install-svc.log and /var/log/install-svc.err for more information. /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command': /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command': /usr/lib/ruby/1.8/net/http.rb:560:ininitialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /usr/lib/ruby/1.8/net/http.rb:560:in open' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect'
from /usr/lib/ruby/1.8/timeout.rb:53:in timeout' from /usr/lib/ruby/1.8/timeout.rb:101:intimeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in connect' from /usr/lib/ruby/1.8/net/http.rb:553:indo_start'
from /usr/lib/ruby/1.8/net/http.rb:542:in start' from /usr/lib/ruby/1.8/net/http.rb:440:instart'
from /opt/dell/bin/barclamp_lib.rb:109:in authenticate' from /opt/dell/bin/barclamp_lib.rb:131:inget_json'
from /opt/dell/bin/barclamp_lib.rb:243:in proposal_list' from (eval):1:inrun_sub_command'
from (eval):1:in eval' from /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command'
from (eval):1:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:ineval'
from /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:inrun_command'
from /opt/dell/bin/barclamp_lib.rb:455:in main' from /opt/dell/bin/crowbar_crowbar:21 /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command': /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command': /usr/lib/ruby/1.8/net/http.rb:560:ininitialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /usr/lib/ruby/1.8/net/http.rb:560:in open' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect'
from /usr/lib/ruby/1.8/timeout.rb:53:in timeout' from /usr/lib/ruby/1.8/timeout.rb:101:intimeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in connect' from /usr/lib/ruby/1.8/net/http.rb:553:indo_start'
from /usr/lib/ruby/1.8/net/http.rb:542:in start' from /usr/lib/ruby/1.8/net/http.rb:440:instart'
from /opt/dell/bin/barclamp_lib.rb:109:in authenticate' from /opt/dell/bin/barclamp_lib.rb:162:input_json'
from /opt/dell/bin/barclamp_lib.rb:278:in proposal_create' from (eval):1:inrun_sub_command'
from (eval):1:in eval' from /opt/dell/bin/barclamp_lib.rb:446:inrun_sub_command'
from (eval):1:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:ineval'
from /opt/dell/bin/barclamp_lib.rb:446:in run_sub_command' from /opt/dell/bin/barclamp_lib.rb:450:inrun_command'
from /opt/dell/bin/barclamp_lib.rb:455:in `main'
from /opt/dell/bin/crowbar_crowbar:21
Proposal create failed, pass 1. Will kick Chef and try again.

Barclamps should be in separate repos

As Crowbar continues to pick up more and more barclamps, it would make sense to split out the various barclamps into separate git repositories. This has several advantages:

  1. crowbar's repository keeps a more manageable footprint
  2. not every barclamp is needed for every deployment
  3. barclamps can be versioned and worked on independently of crowbar releases

json schema validation errors

Hi,

I keep hitting this error while running:

./install crowbar.openstack.test

2011-10-14 11:41:06 +0200: validate_bags.rb /opt/dell/chef/data_bags failed.
See /var/log/install-validation.log and /var/log/install-validation.err for more information.
2011-10-14 11:41:06 +0200: Crowbar configuration has errors. Please fix and rerun install.
Script done, file is /var/log/install.log
/tftpboot/ubuntu_dvd/extra

And then in /var/log/install-validation.err I see this:

validating crowbar/bc-template-dns.json against crowbar/bc-template-dns.schema
crowbar/bc-template-dns.json: 6:7 [/attributes/dns/domain] Should be a Domain Name: openstack.test
crowbar/bc-template-dns.json: 7:7 [/attributes/dns/contact] Should be an Email Address: [email protected]

The rest seems to work flawlessly

nova barclamp don't download uec images

/opt/dell/chef/cookbooks/nova/recipes/project.rb ( lines 158-164) :

  remote_file image do
    source image
    path "#{node[:nova][:user_dir]}/images/#{filename}"
    owner node[:nova][:user]
    action :create_if_missing
    notifies :run, "bash[upload_image #{filename}]", :immediately
 end

It because of bug in chef - http://tickets.opscode.com/browse/CHEF-1959 , as for version 0.10.4 create_if_missing action don't work on remote_file resource


a simple workaround : not_if ("test -f #{node[:nova][:user_dir]}/images/#{filename}")

Can't open node properties

Hello everyone,

I have an almost a similar issue as #12 and #5 but still different,

from the crowbar dashboard, when I click on a node with a blinking green icon I can see the details without any problem,
but it doesn't work with the orange ones... and when I open in a new tab I have an Error 500.

My admin node is running the unstable OpenStack ISO 1.1 alpha 3 from RobHirschfeld (openstack111001.iso)

"knife node list" gives me the list of my nodes
and "
"knife node list NODE-FQDN" gives this

Node Name: NODE-FQDN
Environment: _default
FQDN: NODE-FQDN
IP:
Run List: role[crowbar-NODE-FQDN]
Roles:
Recipes:
Platform:

is it normal to have an empty IP field ?

here is the syslog output just after I click on a node from the dashboard

Oct 6 10:36:40 crow crowbar_app[1926]: NoMethodError (undefined method `[]' for nil:NilClass):#12 app/models/node_object.rb:316:in`interface_list'#12 app/controllers/nodes_controller.rb:152:in `get_node_and_network'#12 app/controllers/nodes_controller.rb:103:in`show'#12 sass (3.1.8) rails/./lib/sass/plugin/rack.rb:54:in `call'#12 sass (3.1.8) rails/./lib/sass/plugin/rack.rb:54:in`call'#12 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:41:in `app_call'#12 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:40:in`catch'#12 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:40:in `app_call'#12 rainbows (4.3.1) lib/rainbows/ev_core.rb:97:in`on_read'#12 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:25:in `receive_data'#12 /usr/lib/ruby/1.8/eventmachine.rb:257:in`run_machine'#12 /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'#12 rainbows (4.3.1) lib/rainbows/event_machine.rb:86:in`worker_loop'#12 rainbows (4.3.1) lib/rainbows/http_server.rb:44:in `worker_loop'#12 unicorn (4.1.1) lib/unicorn/http_server.rb:485:in`spawn_missing_workers'#12 rainbows (4.3.1) lib/rainbows/http_server.rb:60:in `spawn_missing_workers'#12 unicorn (4.1.1) lib/unicorn/http_server.rb:135:in`start'#12 rainbows (4.3.1) bin/rainbows:122#012 /var/lib/gems/1.8/bin/rainbows:19:in `load'#12 /var/lib/gems/1.8/bin/rainbows:19 Oct 6 10:36:40 crow crowbar_app[1926]: Rendering /opt/dell/crowbar_framework/public/500.html (500 Internal Server Error) Oct 6 10:36:41 crow crowbar_app[1926]: Processing NodesController#status (for 192.168.124.250 at 2011-10-06 10:36:41) [GET] Oct 6 10:36:41 crow crowbar_app[1926]: Completed in 168ms (View: 1 | 200 OK [http://192.168.124.10/nodes/status]

any help would be greatly appreciated !

Crowbar build just seems to have "stopped"

When building the crowbar system it just seems to hang post some fsck stuff.

See http://pastebin.com/6qaZjscS for paste of ps -ef.

_sledgehammer: 60814/73728 files (0.2% non-contiguous), 274829/274829 blocks
e2image 1.41.12 (17-May-2010)
resize2fs 1.41.12 (17-May-2010)
Resizing the filesystem on /var/tmp/imgcreate-96FfM8/tmp-pho3iS/ext3fs.img to 1048576 (4k) blocks.
The filesystem on /var/tmp/imgcreate-96FfM8/tmp-pho3iS/ext3fs.img is now 1048576 blocks long.

e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
_sledgehammer: 60814/262144 files (0.2% non-contiguous), 287422/1048576 blocks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.