Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oxs unable to find node - http source #41

Open
tomehb opened this issue Nov 13, 2021 · 0 comments
Open

oxs unable to find node - http source #41

tomehb opened this issue Nov 13, 2021 · 0 comments

Comments

@tomehb
Copy link

tomehb commented Nov 13, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant