question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mass edit is not working for some IP addresses due to `assigned_object` validation

See original GitHub issue
  • Python version: 3.10
  • Nautobot version: 1.3.2 (tested & failed also with 1.2.11)

Steps to Reproduce

  1. Select at least two IP addresses (don’t know how to more properly identify “problematic” addresses from GUI because for some it works without error)
  2. Choose “Edit selected” in order to mass edit multiple objects
  3. Modify objects (probably anyhow) (I tried to add a tag or add a comment)

Expected Behavior

Objects should be updated without any errors.

Observed Behavior

Saving failed with an error related to assigned_object_type and assigned_object_id. But when I edit the very same objects individually the save is successful without any issues! This is a strange difference between validation happening upon saving a single address vs bulk save of multiple addresses. image

Maybe the issue could be also related to this PR: https://github.com/nautobot/nautobot/pull/1592 ? (I tried just a simple & quick search based on keywords from error message)

btw. Your demo nautobot instance is not working (can’t login either with demo credentials) so I couldn’t test it and provide links from your environment.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
david-kncommented, Apr 26, 2022

Closing as resolved. Found the root case and a way how to fix it. Thanks for the support 😃

1reaction
snaseljcommented, Apr 26, 2022

@ubajze After some digging we found that DB inconsistencies was created during our migration from Netbox to Nautobot.

This issue can be closed now, thanks for support 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem adding address objects in bulk : r/paloaltonetworks
Hi, I'm trying to add a large number of address objects at once via the API or CLI for the MSTF O365 endpoints…...
Read more >
Adding IP Restrictions in Site.com - Salesforce Help
Control site visitors' access to the pages, page templates, folders, and assets in your site by setting the range of permitted IP addresses.Required...
Read more >
OwnBackup for Salesforce Common Errors & Warnings
Solution: Verify the relevant OwnBackup IP addresses are white-listed at the Org level and profile level of the authenticated user assigned to ...
Read more >
Performing a bulk DNS update - BlueCat Address Manager
How to perform a bulk DNS update in Address Manager. To perform a bulk DNS update: ... Under Review Updates, each Line field...
Read more >
Validation errors - Akamai TechDocs
Each problem object's type member corresponds to items listed in the tables below ... An additional set of errors may be listed within...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found