Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Undefined Method (virtual chassis, 10.4R1.9) #13

@supertylerc

Description

@supertylerc

Receive error when attempting to attach Provider to open connection to EX4200 virtual chassis running 10.4R1.9.

2.1.1 :005 > Junos::Ez::Provider(r)
NoMethodError: undefined method `[]' for nil:NilClass
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts/personality.rb:6:in `block in <top (required)>'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:43:in `block in uses'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:42:in `collect'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:42:in `uses'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts/ifd_style.rb:3:in `block in <top (required)>'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:67:in `block in read!'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:64:in `each'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:64:in `read!'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:16:in `Provider'
    from (irb):5
    from /home/tyler/.rvm/rubies/ruby-2.1.1/bin/irb:11:in `<main>'
2.1.1 :006 >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions