gregsymons / di-ruby-lvm-attrib Goto Github PK
View Code? Open in Web Editor NEWI am no longer maintaining this. Please see Chef's fork: https://github.com/chef/chef-ruby-lvm-attrib
I am no longer maintaining this. Please see Chef's fork: https://github.com/chef/chef-ruby-lvm-attrib
RHEL 7.1 and CentOS 7.1 uses LVM 2.02.115. Using di-ruby-lvm initially fails with:
NoMethodError: undefined method `[]' for nil:NilClass
Investigation shows the attributes generated with generate_field_data
is not handling the new /lib/report/columns.h
file
Hi, I was wondering if you were planning to cut a new release soon with #39 - this will add support for Ubuntu 15.10.
do you think you will have support for 2.02.118(2) anytime soon?
Could we get a changelog for the gem so it's easy to evaluate the changes between versions.
Hi, the most recent image of Xenial uses 2.02.133(2) which was only recently added in 5603b40 and is not included in 0.0.26. Please make a release so that this gem could be installed without having to go through Github. Thank you!
Recently I have experienced a situation whereby an upgrade to LVM2 in RHEL 7 broke compatibility with the LVM cookbook and subsequently this gem: #32
I am wondering if it is necessary to tie the attributes that this gem provides to the patched versions of LVM thus avoiding breaking changes when RHEL decides to release an updated version. Basically for RHEL 6, RHEL 7, the major and minor version will always be locked but is there really a substantial difference in a patched version that would warrant a release of this gem every time.
Thanks in advance!
automatic update fails:
โ ./update-lvm.sh v2_02_105
Process v2_02_105
Previous HEAD position was 76e617b... release 2.02.99
HEAD is now at aa21e79... pre-release
Oops, missing type conversion data of column 'thinid' use by 'SEGS' which says its going to return a 'thinid'
Figure out the missing type and rerun.
FAILED
gives error:
No such file or directory - /usr/share/ruby/gems/1.9/gems/di-ruby-lvm-attrib-0.0.12/lib/lvm/attributes/2.02.104(2)/lvs.yaml
Can you release a new version. Support for 2.02.166(2) / RHEL 7.3 was added in #51 but has yet to be released.
the automatic generation script failed:
Process v2_02_149
Previous HEAD position was 629398d... pre-release
HEAD is now at 2d0d58b... pre-release
Oops, missing type conversion data of column 'pvextvsn' use by 'LABEL' which says its going to return a 'pvextvsn'
Figure out the missing type and rerun.
FAILED
ls: cannot access '2.02.149(*)-git': No such file or directory
please have look and add support. thanks!
We recently ran into an issue where we were using an older version of this gem with a newer version of lvm that was not supported yet and saw this error message,
Errno::ENOENT: No such file or directory - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/di-ruby-lvm-attrib-0.0.14/lib/lvm/attributes/2.02.111(2)/lvs.yaml
/opt/chef/embedded/lib/ruby/1.9.1/psych.rb:297:in `initialize'
/opt/chef/embedded/lib/ruby/1.9.1/psych.rb:297:in `open'
/opt/chef/embedded/lib/ruby/1.9.1/psych.rb:297:in `load_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/di-ruby-lvm-attrib-0.0.14/lib/lvm/attributes.rb:20:in `load'
It would be great if this exception was caught and re-thrown with an error message saying that this version of LVM is not supported yet.
I was trying to build the gem locally but am not familiar w/ hoe. When i try to list the available Rake tasks, I get a whole bunch of errors. This is of course after running bundle install
. Would you be amenable to a PR w/ regular 'ol gemspec?
hitman@Bryan-Berrys-MacBook-Pro:~/pr/di-ruby-lvm-attrib$ bundle install rake -T
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
** README.txt is missing or in the wrong format for auto-intuiting.
run sow blah
and look at its text files
rake aborted!
unknown urls format: nil
/Users/hitman/.rvm/gems/ruby-1.9.3-p392/gems/hoe-3.5.3/lib/hoe.rb:529:in block in define_spec' /Users/hitman/.rvm/gems/ruby-1.9.3-p392/gems/hoe-3.5.3/lib/hoe.rb:507:in
new'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392/gems/hoe-3.5.3/lib/hoe.rb:507:in define_spec' /Users/hitman/.rvm/gems/ruby-1.9.3-p392/gems/hoe-3.5.3/lib/hoe.rb:790:in
post_initialize'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392/gems/hoe-3.5.3/lib/hoe.rb:388:in spec' /Users/hitman/pr/di-ruby-lvm-attrib/Rakefile:8:in
<top (required)>'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in load' /Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in
load_rakefile'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:589:in raw_load_rakefile' /Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:89:in
block in load_rakefile'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:160:in standard_exception_handling' /Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:88:in
load_rakefile'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:72:in block in run' /Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:160:in
standard_exception_handling'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:70:in run' /Users/hitman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in
eval'
/Users/hitman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.