Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Possible Redis error when using new nautobot_config.py file in 1.0.1 #436

@tim-fiola

Description

@tim-fiola

Environment

  • Python version: python 3.8.5
  • Nautobot version: 1.0.1
  • OS: Ubuntu 20.04.2

Steps to Reproduce

  1. Follow Nautobot install docs for Ubuntu 20.04.2 up to nautobot-server createsuperuser
  2. Run nautobot-server createsuperuser
  3. You will see an error after defining the Username

Expected Behavior

nautobot@gipsy-danger:~$ nautobot-server createsuperuser
Username: tim
Email address: 
Password: 
Password (again): 
Superuser created successfully.
nautobot@gipsy-danger:~

Observed Behavior

nautobot@november-ajax:~$ nautobot-server createsuperuser
Username: tim
/opt/nautobot/lib/python3.8/site-packages/cacheops/redis.py:19: RuntimeWarning: The cacheops cache is unreachable! Error: Client sent AUTH, but no password is set
  warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)
Email address: 
Password: 
Password (again): 
Superuser created successfully.

Troubleshooting

It was suggested to manually define CACHEOPS_REDIS in the nautobot_config.py file. This is what I did for a new, fresh troubleshooting install:

CACHEOPS_REDIS = "redis://@localhost:6379/1"

When I did that, I did not see the error on the fresh troubleshooting install:

nautobot@gipsy-danger:~$ nautobot-server createsuperuser
Username: tim
Email address: 
Password: 
Password (again): 
Superuser created successfully.
nautobot@gipsy-danger:~$

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions