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

Crowbar does not know about newly plugged disks #1596

Open
vuntz opened this issue Sep 11, 2012 · 0 comments
Open

Crowbar does not know about newly plugged disks #1596

vuntz opened this issue Sep 11, 2012 · 0 comments

Comments

@vuntz
Copy link
Member

vuntz commented Sep 11, 2012

If you plug a disk to a node after having allocated the node, then crowbar will never know about the disk.

The chef-client run that occurs every 15 minutes will update node["block_device"], but the code that translates node["block_device"] to node["crowbar"]["disks"] is done in the transition method of deployer_service.rb (barclamp-deployer).

The issue is that all the barclamps that want to know about the disks will look at node["crowbar"]["disks"] because there's some additional needed information (and unneeded devices listed in block_device are filtered).

This can be worked around by forcing a transition:

crowbar crowbar transition <node> foo
crowbar crowbar transition <node> ready

But that's obviously suboptimal.

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

No branches or pull requests

1 participant