Skip to content

Jobs remaining in New state indefinitely #171

@LucaNicosia

Description

@LucaNicosia

Plugin Version

0.5.2

NetBox Version

4.1.6

Python Version

3.10.2

Steps to Reproduce

  1. I've installed a brand new Netbox instance on my ubuntu 22.04 machine following the official guide
> psql -V
psql (PostgreSQL) 14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)

> redis-server -v 
Redis server v=6.0.16 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=a3fdef44459b3ad6
  1. Followed the README.md in this repo to install the plugin
  2. Start netbox python3 manage.py runserver 0.0.0.0:4000 --insecure
  3. Open the GUI and create a branch

Expected Behavior

Since the database is completely empty, I expect the branch to switch to ready state quickly (seconds)

Observed Behavior

The branch status never changes to ready state (I waited for more than 1 hour).

I noticed there is the "Provision branch" job never changing from "Pending" state
image

I don't see anything in particular in the logs (except a warning)

Performing system checks...

System check identified no issues (0 silenced).
November 12, 2024 - 16:09:10
Django version 5.0.9, using settings 'netbox.settings'
Starting development server at http://0.0.0.0:4000/
Quit the server with CONTROL-C.

[12/Nov/2024 16:09:15] "GET / HTTP/1.1" 302 0
[12/Nov/2024 16:09:15] "GET /login/?next=/ HTTP/1.1" 200 3343
[12/Nov/2024 16:09:18] "POST /login/ HTTP/1.1" 302 0
[12/Nov/2024 16:09:19] "GET / HTTP/1.1" 200 136072
[12/Nov/2024 16:09:19] "GET /core/changelog/?per_page=25&embedded=True HTTP/1.1" 200 2267
[12/Nov/2024 16:09:27] "GET /plugins/branching/branches/ HTTP/1.1" 200 122805
[12/Nov/2024 16:09:28] "GET /plugins/branching/branches/add/ HTTP/1.1" 200 115087
[12/Nov/2024 16:09:44] "POST /plugins/branching/branches/add/ HTTP/1.1" 302 0
[12/Nov/2024 16:09:44] "GET /plugins/branching/branches/1/ HTTP/1.1" 200 117748
[12/Nov/2024 16:09:47] "GET /plugins/branching/branches/1/jobs/ HTTP/1.1" 200 117196
[12/Nov/2024 16:09:55] "GET /plugins/branching/branches/1/ HTTP/1.1" 200 117354
[12/Nov/2024 16:09:57] "GET /plugins/branching/branches/ HTTP/1.1" 200 125759
[12/Nov/2024 16:16:59] "GET /plugins/branching/branches/ HTTP/1.1" 200 125759
[12/Nov/2024 16:17:01] "GET /plugins/branching/branches/1/ HTTP/1.1" 200 117348
/opt/netbox-4.1.6/venv/lib/python3.10/site-packages/django_tables2/data.py:163: UserWarning: Table data is of type <class 'netbox_branching.models.changes.ObjectChange'> but <class 'core.models.change_logging.ObjectChange'> is specified in Table.Meta.model
  warnings.warn(
[12/Nov/2024 16:17:04] "GET /plugins/branching/branches/1/changes-ahead/ HTTP/1.1" 200 122765
[12/Nov/2024 16:17:07] "GET /plugins/branching/branches/1/jobs/ HTTP/1.1" 200 117196
[12/Nov/2024 16:17:10] "GET /plugins/branching/branches/1/ HTTP/1.1" 200 117348
[12/Nov/2024 16:17:11] "GET /plugins/branching/branches/1/jobs/ HTTP/1.1" 200 117196

I can give you as many logs as you need to troubleshoot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions