Comments (4)
trace:
# cat /var/chef/cache/chef-stacktrace.out
Generated at 2017-01-05 07:46:46 -0600
SystemExit: lvm_volume_group[vg_docker] (dcos::default line 7) had an error: SystemExit: lvm_logical_volume[lv_docker_repos] (dcos::default line 110) had an error: SystemExit: exit
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:367:in `exit'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:367:in `fatal!'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:64:in `block in setup_signal_handlers'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:12:in `gets'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:12:in `block in cmd'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/open4-0.9.6/lib/open4.rb:68:in `popen4'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:11:in `cmd'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm.rb:49:in `raw'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_logical_volume.rb:64:in `action_create'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:143:in `block in create_logical_volumes'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:141:in `each'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:141:in `create_logical_volumes'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:63:in `action_create'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:57:in `load'
/usr/bin/chef-client:57:in `<main>'
\>>>> Caused by SystemExit: exit
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:367:in `exit'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:367:in `fatal!'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:64:in `block in setup_signal_handlers'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:12:in `gets'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:12:in `block in cmd'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/open4-0.9.6/lib/open4.rb:68:in `popen4'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm/external.rb:11:in `cmd'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-ruby-lvm-0.2.2/lib/lvm.rb:49:in `raw'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_logical_volume.rb:64:in `action_create'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:143:in `block in create_logical_volumes'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:141:in `each'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:141:in `create_logical_volumes'
/var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:63:in `action_create'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-client:26:in `<top (required)>'
from lvm.
Could you try this with the latest version of the cookbook? It appears we addressed some gem cleanup issues that might help here.
from lvm.
If you're still having this problem, please reopen. Thanks!
from lvm.
I ran into a similar issue on the 5.2.2 version, and came to this Github issue after plenty of Googling. Chucking this on the pile -- no action needed by the maintainers from my perspective.
In my case, because I was in some scenarios creating xfs volumes on top of segments previously used by different xfs volumes, calls to the lvm binary were prompting for user input due to existing xfs volume signatures. That lead me to this RedHat article:
https://access.redhat.com/solutions/5721361
Adding these lv_params was enough to solve my particular problem:
lv_params '--wipesignatures y --yes --zero y'
This of course comes with some risk, but since all of the volumes my infra cares about are managed in serial as part of the Chef client run, I consider the risk minimal. YMMV.
from lvm.
Related Issues (20)
- Missing attribute file after upgrading LVM package on RHEL7 HOT 4
- Path to lvm binary should be set by default HOT 3
- This cookbook is not using the latest chef-ruby-lvm-attrib gem 0.2.6
- undefined method `ignore_skipped_cluster' for Chef::Resource::LvmThinVolume
- DB library error: db5 error(-30973) HOT 2
- Logical volume :resize and :remove don't seem to do anything
- Red Hat 7.7 causing LVM to fail with the same errors as https://github.com/chef/chef-ruby-lvm-attrib/issues/7 HOT 2
- Switching to chef-ruby-lvm-attrib version 0.3.2
- a bad patch to quiet the generate_field_data" from chef-ruby-lvm-attrib conflicts with /opt/chef/embedded/bin/generate_field_data issue HOT 1
- NoMethodError: undefined method `action' for Chef::Provider::LvmLogicalVolume:Class HOT 4
- Resource provider conflict for lvm_volume_group
- Red Hat 8.2: Unable to load lvm attributes [lvs.yaml] for version [2.03.09(2)] HOT 3
- eibcccttcekgvgvkkvnngnujrllcldlvnjjtugdnincn
- RHEL 8.4: No support for lvm 2.03.11(2)
- Unable to load lvm attributes [lvs.yaml] for version [2.02.188(2)] HOT 3
- pvcreate gets stuck if the device has a valid filesystem signature HOT 1
- Red Hat 8.6: Unable to load lvm attributes [lvs.yaml] for version [2.03.14(2)]
- Cookbook needs updated to use the newest chef-ruby-lvm-attrib gem
- RHEL9 - Unable to load lvm attributes [lvs.yaml] for version [2.03.16(2)]. HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvm.