oxidized-script icon indicating copy to clipboard operation
oxidized-script copied to clipboard

oxs unable to find node - http source

Open tomehb opened this issue 3 years ago • 0 comments

Unable to run oxs against any node; oxidized is running as normal. The source of the hosts is HTTP.

oxs is able to load 47 nodes

~$ oxs --list-nodes | grep -a1 LON1\-S5
I, [2021-11-13T17:04:33.715742 #7418]  INFO -- : lib/oxidized/nodes.rb: Loading nodes
I, [2021-11-13T17:04:34.243988 #7418]  INFO -- : lib/oxidized/nodes.rb: Loaded 47 nodes
        repo => /home/oxidized/.config/oxidized/configs/default.git
LON1-S3900-01-P:
          ip => 10.255.228.34

When I attempt to run oxs against one of the nodes, it states "node not found".

:~$ oxs LON1-S3900-01-P 'sh ver'
I, [2021-11-13T17:03:41.636204 #7402]  INFO -- : lib/oxidized/nodes.rb: Loading nodes
I, [2021-11-13T17:03:42.165927 #7402]  INFO -- : lib/oxidized/nodes.rb: Loaded 0 nodes
node not found

The full output for the list-nodes for LON1-S3900-01-P.

LON1-S3900-01-P:
          ip => 10.255.228.34
       group =>
       model => EdgeCOS
       input => [Oxidized::SSH]
      output => Oxidized::Git
        auth => {:username=>"oxidized", :password=>"XXXXXXXXXXXXXXXXXX"}
      prompt => (?-mix:^([\w.@-]+[#>]\s?)$)
        vars =>
       stats => #<Oxidized::Node::Stats:0x0000559953f814b0>
       retry => 0
        repo => /home/oxidized/.config/oxidized/configs/default.git

tomehb avatar Nov 13 '21 17:11 tomehb