Server Error when adding child device to parent device #5485

Closed
opened 2025-12-29 19:28:35 +01:00 by adam · 3 comments
Owner

Originally created by @chrisclarke6710 on GitHub (Oct 7, 2021).

NetBox version

v3.0.4

Python version

3.9

Steps to Reproduce

Mat be related to number of devices registered, currently this install has 70 devices when noticed this occurring.

This is fresh build (as per Netbox Docs) of Netbox 3.0.4 on Ubuntu 20.04
OS Ubuntu 20.04. No plugins or mods carried out to Netbox.

  1. Create Device Type as Parent
  2. Add Device bays to Parent Device Type
  3. Create Device Type as Child
  4. Create Device as Parent
  5. Create Device as child
  6. On Parent device client install device receive server error message

Expected Behavior

Should be able to add child device to parent device

Observed Behavior

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

The complete exception is provided below:

<class 'AttributeError'>

module 'dcim.forms' has no attribute 'PopulateDeviceBayForm'

Python version: 3.8.10
NetBox version: 3.0.4

Originally created by @chrisclarke6710 on GitHub (Oct 7, 2021). ### NetBox version v3.0.4 ### Python version 3.9 ### Steps to Reproduce Mat be related to number of devices registered, currently this install has 70 devices when noticed this occurring. This is fresh build (as per Netbox Docs) of Netbox 3.0.4 on Ubuntu 20.04 OS Ubuntu 20.04. No plugins or mods carried out to Netbox. 1. Create Device Type as Parent 2. Add Device bays to Parent Device Type 3. Create Device Type as Child 4. Create Device as Parent 5. Create Device as child 6. On Parent device client install device receive server error message ### Expected Behavior Should be able to add child device to parent device ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> module 'dcim.forms' has no attribute 'PopulateDeviceBayForm' Python version: 3.8.10 NetBox version: 3.0.4
adam added the type: bugstatus: duplicate labels 2025-12-29 19:28:35 +01:00
adam closed this issue 2025-12-29 19:28:35 +01:00
Author
Owner

@ziggekatten commented on GitHub (Oct 7, 2021):

This is fixed in v3.0.5 I believe. Look at the release notes.

@ziggekatten commented on GitHub (Oct 7, 2021): This is fixed in v3.0.5 I believe. Look at the release notes.
Author
Owner

@chrisclarke6710 commented on GitHub (Oct 7, 2021):

Many thanks for quick response.

Thank you for pointing that out , I’ll give that a try
I missed that in the release notes.

Cheers

From: ziggekatten @.>
Sent: 07 October 2021 12:00
To: netbox-community/netbox @.
>
Cc: Chris Clarke @.>; Author @.>
Subject: Re: [netbox-community/netbox] Server Error when adding child device to parent device (#7480)

This is fixed in v3.0.5 I believe. Look at the release notes.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/netbox-community/netbox/issues/7480#issuecomment-937683053, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVVRQNMTQFHSSLZMLJQ7UO3UFV4TBANCNFSM5FQ6DB5Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Chris Clarke
Senior Data Centre Architect
01752692205
10 Thornbury Rd | Plymouth | PL6 7PP
www.itecgroup.co.uk

CONFIDENTIALITY

This email and its attachments are confidential to the intended recipient. They may not be used by, disclosed to or copied in any way to anyone other than the intended recipient.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
If you have received this email in error, please notify the Company and delete from your system.
Opinions, conclusions and other statements and information in this message that do not relate to the official business of the legal entity shall be understood as neither given nor endorsed by them.

VIRUSES

Although we have taken steps to ensure that this email and any attachments are free from any virus, it is your responsibility to check that they are actually virus free.
We do not accept any responsibility for viruses. This message has been scanned for viruses by Email Scan.

@chrisclarke6710 commented on GitHub (Oct 7, 2021): Many thanks for quick response. Thank you for pointing that out , I’ll give that a try I missed that in the release notes. Cheers From: ziggekatten ***@***.***> Sent: 07 October 2021 12:00 To: netbox-community/netbox ***@***.***> Cc: Chris Clarke ***@***.***>; Author ***@***.***> Subject: Re: [netbox-community/netbox] Server Error when adding child device to parent device (#7480) This is fixed in v3.0.5 I believe. Look at the release notes. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/netbox-community/netbox/issues/7480#issuecomment-937683053>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVVRQNMTQFHSSLZMLJQ7UO3UFV4TBANCNFSM5FQ6DB5Q>. Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. Chris Clarke Senior Data Centre Architect 01752692205 10 Thornbury Rd | Plymouth | PL6 7PP www.itecgroup.co.uk CONFIDENTIALITY This email and its attachments are confidential to the intended recipient. They may not be used by, disclosed to or copied in any way to anyone other than the intended recipient. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you have received this email in error, please notify the Company and delete from your system. Opinions, conclusions and other statements and information in this message that do not relate to the official business of the legal entity shall be understood as neither given nor endorsed by them. VIRUSES Although we have taken steps to ensure that this email and any attachments are free from any virus, it is your responsibility to check that they are actually virus free. We do not accept any responsibility for viruses. This message has been scanned for viruses by Email Scan.
Author
Owner

@jeremystretch commented on GitHub (Oct 7, 2021):

Yep, this was fixed in #7412.

@jeremystretch commented on GitHub (Oct 7, 2021): Yep, this was fixed in #7412.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5485