ananace / fog-hyperv

Hyper-V provider for fog
MIT License
8 stars 1 forks source link

error when examine VM on hyper-v #20

Closed rudgab closed 6 years ago

rudgab commented 6 years ago

Hi, I see a
Oops, we're sorry but something went wrong undefined method `start_with?' for :id:Symbol

details:

undefined method start_with?' for :id:Symbol /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/hyperv/compute.rb:240:inblock in run_shell' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/hyperv/compute.rb:240:in delete_if' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/hyperv/compute.rb:240:inrun_shell' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/hyperv/requests/compute/get_vm.rb:6:in get_vm' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/collection.rb:20:inall' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/collection.rb:27:in get' /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/fog-hyperv-0.0.7/lib/fog/hyperv/models/compute/servers.rb:16:inget' /usr/share/foreman/app/models/compute_resource.rb:173:in `find_vm_by_uuid'

whenever I enter a VM from the table of virtual machines on any Hyper-V host.

Regards,

Rudi G.

ananace commented 6 years ago

This looks like the same as #19, could you please test if the commits there solve your issue as well?

rudgab commented 6 years ago

Yes, the problem is solved by that.

Thanx,

R.G.

On 25. Jan 2018, at 12:08, ace13 notifications@github.com wrote:

This looks like the same as #19 https://github.com/ace13/fog-hyperv/issues/19, could you please test if the commits there solve your issue as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ace13/fog-hyperv/issues/20#issuecomment-360435731, or mute the thread https://github.com/notifications/unsubscribe-auth/AJWQp0VGF0_X9CdeO5tPFLwAGRq6kVAiks5tOGCxgaJpZM4RsbEh.