Onegate show vm ...not working

using opennebula 7.0.1, I see in my logs the VM reporting but I get this error whenever I run onegate vm show one my frontend ,I have tried everything I know does anyone have any insights on what it could be? I am seeing a token in the /run/one-context/one_env file is there anoter place I should be looking?

onegate vm show
/usr/lib/ruby/3.1.0/uri/rfc3986_parser.rb:18:in rescue in split': bad URI(is not URI?): nil (URI::InvalidURIError) from /usr/lib/ruby/3.1.0/uri/rfc3986_parser.rb:15:in split’
from /usr/lib/ruby/3.1.0/uri/rfc3986_parser.rb:72:in parse' from /usr/lib/ruby/3.1.0/uri/common.rb:188:in parse’
from /usr/bin/onegate.rb:448:in initialize' from /usr/bin/onegate.rb:628:in new’
from /usr/bin/onegate.rb:628:in <main>' /usr/lib/ruby/3.1.0/uri/rfc3986_parser.rb:16:in split’: undefined method `to_str’ for nil:NilClass (NoMethodError)

    uri = uri.to_str
             ^^^^^^^
from /usr/lib/ruby/3.1.0/uri/rfc3986_parser.rb:72:in `parse'
from /usr/lib/ruby/3.1.0/uri/common.rb:188:in `parse'
from /usr/bin/onegate.rb:448:in `initialize'
from /usr/bin/onegate.rb:628:in `new'
from /usr/bin/onegate.rb:628:in `<main>'

TIA for your help

ok I think this is because I am trying to run the command on the frontend, it works fine when I run it on VM. I get it now thanks…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.