Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error returns on the Render Config tab for VM #13727

Closed
VitMain opened this issue Sep 8, 2023 · 1 comment
Closed

Error returns on the Render Config tab for VM #13727

VitMain opened this issue Sep 8, 2023 · 1 comment
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@VitMain
Copy link

VitMain commented Sep 8, 2023

NetBox version

v.3.6.1

Python version

3.8

Steps to Reproduce

  1. Open Virtualization -> Virtual Machines list
  2. Open any existing VM, then click on the Render Config tab and get the error page.

I tried creating the new VM and got the same result with the error.

Also tried to reproduce on the empty, fresh new database.

  1. Drop database
  2. Create database
  3. Granted permissions for the user
  4. Run update.sh
  5. logged in to the netbox
  6. Created cluster type
  7. Created cluster
  8. Created VM, with name and cluster, did not fill role.
  9. Clicked on the Render Config tab for VM, then got the error page.

In the case of assigning the role to the VM (for the existing or new VMs), the problem is gone.

Expected Behavior

Open the tab without any errors.

Observed Behavior

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'NoneType' object has no attribute 'config_template'

Python version: 3.8.10
NetBox version: 3.6.1
Plugins: None installed

If further assistance is required, please post to the NetBox discussion forum on GitHub.

@VitMain VitMain added the type: bug A confirmed report of unexpected behavior in the application label Sep 8, 2023
@DanSheps DanSheps added status: accepted This issue has been accepted for implementation severity: low Does not significantly disrupt application functionality, or a workaround is available labels Sep 8, 2023
@DanSheps
Copy link
Member

DanSheps commented Sep 8, 2023

Marking this as low priority.

Condition to trigger: Role is null

@DanSheps DanSheps self-assigned this Sep 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants