You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: When I try to running my compose file (see below) it fails:
Applying users.0002_token_ordering_by_created... OK
Applying users.0003_alter_user_options... OK
Applying users.0004_alter_user_managers... OK
Applying users.0005_ensure_object_permission_names_are_unique... OK
Applying users.0006_make_object_permission_name_globally_unique... OK
Applying users.0007_alter_objectpermission_object_types... OK
Applying users.0008_make_object_permission_a_changelogged_model... OK
Applying users.0009_update_all_charfields_max_length_to_255... OK
Applying users.0010_user_default_saved_views... OK
Applying virtualization.0027_virtualmachine_software_image... OK
Applying virtualization.0028_update_all_charfields_max_length_to_255... OK
Applying virtualization.0029_add_role_field_to_interface_models... OK
Applying virtualization.0030_alter_virtualmachine_local_config_context_data_owner_content_type_and_more... OK
20:39:25.030 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Export Object List" from <ExportObjectList>
20:39:25.056 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Git Repository: Sync" from <GitRepositorySync>
20:39:25.081 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Git Repository: Dry-Run" from <GitRepositoryDryRun>
20:39:25.101 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Import Objects" from <ImportObjects>
20:39:25.120 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Logs Cleanup" from <LogsCleanup>
20:39:25.139 INFO nautobot.extras.utils utils.py refresh_job_model_from_job_class() :
Created Job "System Jobs: Refresh Dynamic Group Caches" from <RefreshDynamicGroupCaches>
Generating cable paths...
Found no missing circuit termination paths; skipping
Found no missing console port paths; skipping
Found no missing console server port paths; skipping
Found no missing interface paths; skipping
Found no missing power feed paths; skipping
Found no missing power outlet paths; skipping
Found no missing power port paths; skipping
Finished.
Collecting static files...
1156 static files copied to '/opt/nautobot/static'.
Removing stale content types...
Removing expired sessions...
Sending installation metrics...
Sending installation metrics to 'https://nautobot.cloud/api/nautobot/installation-metric/':
{
"deployment_id": "1e7cdc41-af5e-4617-836a-983522c9e9f7",
"nautobot_version": "2.3.2",
"python_version": "3.12.5",
"installed_apps": {},
"debug": true
}
Failed to send installation metrics to 'https://nautobot.cloud/api/nautobot/installation-metric/: HTTPSConnectionPool(host='nautobot.cloud', port=443): Max retries exceeded with url: /api/nautobot/installation-metric/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))
To disable installation metrics, set INSTALLATION_METRICS_ENABLED = False in your Nautobot config.
Refreshing _content_type cache
CONTENT_TYPE_CACHE_TIMEOUT is set to 0; skipping cache refresh
Refreshing dynamic group member caches...
Refreshing DynamicGroup member caches...
❌ **Waited 0s or more for the DB to become ready**.
I did confirm that the DB is online:
nerdctl run --rm -it --network nautobot-sot_nautobot jbergknoff/postgresql-client "postgresql://$NAUTOBOT_DB_USER:$NAUTOBOT_DB_PASSWORD@$NAUTOBOT_DB_HOST:$NAUTOBOT_DB_PORT"
nautobot=> \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
nautobot | nautobot | UTF8 | en_US.utf8 | en_US.utf8 | =Tc/nautobot +
| | | | | nautobot=CTc/nautobot
postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
nautobot=> \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------+-----------
nautobot | | {}
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
public | virtualization_vminterface_tagged_vlans | table | nautobot
(187 rows)
nautobot=> \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
nautobot | nautobot | UTF8 | en_US.utf8 | en_US.utf8 | =Tc/nautobot +
| | | | | nautobot=CTc/nautobot
postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
nautobot=> \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------+-----------
nautobot | | {}
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
nautobot=> \dt
List of relations
Schema | Name | Type | Owner
--------+----------------------------------------------------+-------+----------
public | auth_group | table | nautobot
public | auth_group_permissions | table | nautobot
public | auth_permission | table | nautobot
public | auth_user | table | nautobot
public | auth_user_groups | table | nautobot
public | auth_user_user_permissions | table | nautobot
public | circuits_circuit | table | nautobot
public | circuits_circuittermination | table | nautobot
public | circuits_circuittype | table | nautobot
public | circuits_provider | table | nautobot
public | circuits_providernetwork | table | nautobot
public | cloud_cloudaccount | table | nautobot
public | cloud_cloudnetwork | table | nautobot
public | cloud_cloudnetworkprefixassignment | table | nautobot
public | cloud_cloudresourcetype | table | nautobot
public | cloud_cloudresourcetype_content_types | table | nautobot
public | cloud_cloudservice | table | nautobot
public | cloud_cloudservicenetworkassignment | table | nautobot
public | constance_constance | table | nautobot
public | dcim_cable | table | nautobot
public | dcim_cablepath | table | nautobot
public | dcim_consoleport | table | nautobot
public | dcim_consoleporttemplate | table | nautobot
public | dcim_consoleserverport | table | nautobot
public | dcim_consoleserverporttemplate | table | nautobot
public | dcim_controller | table | nautobot
public | dcim_controllermanageddevicegroup | table | nautobot
public | dcim_device | table | nautobot
public | dcim_device_software_image_files | table | nautobot
public | dcim_devicebay | table | nautobot
public | dcim_devicebaytemplate | table | nautobot
public | dcim_devicefamily | table | nautobot
nautobot=>
Expected:
the DB migration to complete and nautobot to start/work
@BitumarInc is there a particular reason you're creating your own compose file instead of using the ones we have included along with using invoke? The specific reason why you're having this issue though is your NAUTOBOT_DB_HOST configuration. It appears you're pointing to nautobot_db when the service is called db.
Issue: When I try to running my compose file (see below) it fails:
I did confirm that the DB is online:
Expected:
the DB migration to complete and nautobot to start/work
Environment:
OS: Fedora Atomic 41
Container : containerd+nerdctl
** containerd version: 1.7.21
** nerdctl version:
These are the files used:
local.env:
secrets.env
Init script:
nautobot.yaml
Command to execute the compose file:
The text was updated successfully, but these errors were encountered: