Skip to content

Adding extensions dont appear to be loading (oxidized-web) #3724

@andybnscale

Description

@andybnscale

Describe the bug
New clean install, added local user and all configuration is done under the oxidized user account.
/opt/oxidized/.config/oxidized/config
Inside this, enabled oxidized-web however this doesn't appear to be being honoured by oxidized, in debug no output relating to extensions.

extensions:
  oxidized-web:
    load: true
    port: 8880
    listen: 0.0.0.0
    url_prefix: prod

To Reproduce
default install, configuration with:

extensions:
  oxidized-web:
    load: true
    port: 8880
    listen: 0.0.0.0
    url_prefix: prod

Expected behavior
Extension enabled and port listening.

Configuration

extensions:
  oxidized-web:
    load: true
    port: 8880
    listen: 0.0.0.0
    url_prefix: prod

Logs

oxidized@app42:~$ oxidized -d
I, [2026-01-13T11:04:00.068283 #3866466]  INFO -- : Oxidized starting, running as pid 3866466
I, [2026-01-13T11:04:00.068629 #3866466]  INFO -- : lib/oxidized/nodes.rb: Loading nodes
D, [2026-01-13T11:04:00.068695 #3866466] DEBUG -- : resolving DNS for swi70...
D, [2026-01-13T11:04:00.068713 #3866466] DEBUG -- : IPADDR up
D, [2026-01-13T11:04:00.068925 #3866466] DEBUG -- : node.rb: resolving node key 'model', with passed global value of '' and node value 'sros'
D, [2026-01-13T11:04:00.068951 #3866466] DEBUG -- : node.rb: setting node key 'model' to value 'junos' from global
D, [2026-01-13T11:04:00.068971 #3866466] DEBUG -- : node.rb: returning node key 'model' with value 'sros'
D, [2026-01-13T11:04:00.068984 #3866466] DEBUG -- : lib/oxidized/node.rb: Loading model "sros"
D, [2026-01-13T11:04:00.069515 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added all to the commands list
D, [2026-01-13T11:04:00.069543 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added show bof to the commands list
D, [2026-01-13T11:04:00.069552 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added show system information to the commands list
D, [2026-01-13T11:04:00.069571 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added show card state to the commands list
D, [2026-01-13T11:04:00.069578 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added show chassis to the commands list
D, [2026-01-13T11:04:00.069584 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added file type bootlog.txt to the commands list
D, [2026-01-13T11:04:00.069599 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added show debug to the commands list
D, [2026-01-13T11:04:00.069611 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added file type config.dbg to the commands list
D, [2026-01-13T11:04:00.069617 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added admin display-config index
 to the commands list
D, [2026-01-13T11:04:00.069627 #3866466] DEBUG -- : lib/oxidized/model/model.rb Added admin display-config
 to the commands list
D, [2026-01-13T11:04:00.069770 #3866466] DEBUG -- : node.rb: resolving node key 'input', with passed global value of 'ssh, telnet' and node value ''
D, [2026-01-13T11:04:00.069793 #3866466] DEBUG -- : node.rb: returning node key 'input' with value 'ssh, telnet'
D, [2026-01-13T11:04:00.129981 #3866466] DEBUG -- : node.rb: resolving node key 'output', with passed global value of 'git' and node value ''
D, [2026-01-13T11:04:00.130027 #3866466] DEBUG -- : node.rb: returning node key 'output' with value 'git'
D, [2026-01-13T11:04:00.142864 #3866466] DEBUG -- : node.rb: resolving node key 'username', with passed global value of '' and node value ''
D, [2026-01-13T11:04:00.142898 #3866466] DEBUG -- : node.rb: setting node key 'username' to value 'XXUSER' from global
D, [2026-01-13T11:04:00.142921 #3866466] DEBUG -- : node.rb: returning node key 'username' with value 'XXUSER'
D, [2026-01-13T11:04:00.142934 #3866466] DEBUG -- : node.rb: resolving node key 'password', with passed global value of '' and node value ''
D, [2026-01-13T11:04:00.142943 #3866466] DEBUG -- : node.rb: setting node key 'password' to value 'XXPASS' from global
D, [2026-01-13T11:04:00.142954 #3866466] DEBUG -- : node.rb: returning node key 'password' with value 'XXPASS'
I, [2026-01-13T11:04:00.142993 #3866466]  INFO -- : lib/oxidized/nodes.rb: Loaded 1 nodes
D, [2026-01-13T11:04:00.347939 #3866466] DEBUG -- : lib/oxidized/core.rb: Starting the worker...
D, [2026-01-13T11:04:00.347999 #3866466] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 0 of 1 - ended: 0 of 1
D, [2026-01-13T11:04:00.348076 #3866466] DEBUG -- : lib/oxidized/worker.rb: Added /swi70 to the job queue
D, [2026-01-13T11:04:00.348105 #3866466] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
D, [2026-01-13T11:04:00.349198 #3866466] DEBUG -- : lib/oxidized/job.rb: Starting fetching process for swi70 at 2026-01-13 11:04:00 UTC
D, [2026-01-13T11:04:00.349727 #3866466] DEBUG -- : lib/oxidized/input/ssh.rb: Connecting to swi70
D, [2026-01-13T11:04:00.350953 #3866466] DEBUG -- : AUTH METHODS::["none", "publickey", "password"]
Puma starting in single mode...
* Version 3.11.4 (ruby 3.0.2-p107), codename: Love Song
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://127.0.0.1:8888
Use Ctrl-C to stop
D, [2026-01-13T11:04:01.349282 #3866466] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
D, [2026-01-13T11:04:02.350489 #3866466] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
D, [2026-01-13T11:04:03.351690 #3866466] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
D, [2026-01-13T11:04:04.352917 #3866466] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
^C- Gracefully stopping, waiting for requests to finish

Running environment (please complete the following information):

  • OS: Ubuntu 22.04.5 LTS
  • oxidized version: 0.30.1
  • oxidized-web version: oxidized-web-0.13.1

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions