Created
November 7, 2012 19:07
-
-
Save arax/4033686 to your computer and use it in GitHub Desktop.
rOCCI 3.0.0.alpha.0 issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################ | |
# GET (describe) will fail for recently created | |
# resources. | |
# | |
# to reproduce, run examples/x509auth_example.rb | |
################################################ | |
D, [2012-11-07T20:02:07.836934 #18365] DEBUG -- : Parsed collection: empty? true | |
[~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/collection.rb:134:in `as_json': undefined method `size' for nil:NilClass (NoMethodError) | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:47:in `block in encode' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:77:in `check_for_circular_references' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:46:in `encode' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:31:in `encode' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/object/to_json.rb:16:in `to_json' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/collection.rb:167:in `inspect' | |
... | |
from examples/x509auth_example.rb:140:in `<main>' | |
############################################################################ | |
# Create will fail when using | |
# cmpt.storagelink storage_loc | |
# cmpt.networkinterface network_loc | |
# instead of templates (works with os_tpl and resource_tpl). | |
# | |
# to reproduce, run examples/x509auth_example.rb with use_os_temlate = false | |
############################################################################ | |
Connecting to our compute: | |
~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/core/entity.rb:120:in `model=': undefined method `model=' for []:Array (NoMethodError) | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/core/entities.rb:18:in `block in model=' | |
from ~/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/set.rb:222:in `block in each' | |
from ~/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/set.rb:222:in `each_key' | |
from ~/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/set.rb:222:in `each' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/core/entities.rb:18:in `model=' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/core/resource.rb:27:in `model=' | |
from ~/.rvm/gems/ruby-1.9.3-p194/gems/occi-3.0.0.alpha.0/lib/occi/api/client.rb:412:in `create' | |
from examples/x509auth_example.rb:130:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment