nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
34 stars 28 forks source link

Job class not found for class path : nautobot_ssot.integrations.ipfabric.jobs.IpFabricDataSource #454

Closed phoenix78 closed 1 month ago

phoenix78 commented 1 month ago

Hello,

Environment

Expected Behavior

Job run without problems

Observed Behavior

Step One -> the form job can fetch last IPF Snapshot image

Step two -> When i run the job i got directly a faillure result image

{
    "exc_message": [
        "Job class not found for class path nautobot_ssot.integrations.ipfabric.jobs.IpFabricDataSource"
    ],
    "exc_module": "builtins",
    "exc_type": "KeyError"
}

This is like my job don't exist in my worker I have verify, i install "nautobot-ssot[ipfabric]" in frontend and worker container. Front : image Worker : image

Thanks in advance for your help.

phoenix78 commented 1 month ago

Ok with a nautobot_config.py in my worker, it's work "better" but i got a WARNING : User/Token does not have access tosnapshots/:key/settings; cannot get status of Assurance Engine tasks.

Is this related to my IPF TOKEN rights ?

My job fail with a timeout exception : image

{
    "exc_message": [
        "The read operation timed out"
    ],
    "exc_module": "httpx",
    "exc_type": "ReadTimeout"
}
phoenix78 commented 1 month ago

Update:

Problem solved.

For my problem, I needed to associate the IPF token with "admin" rights as well as increase the default value of "ipfabric_timeout" present in "nautobot_config.py"

Have a nice day