-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v2.11.4
Python version
3.8
Steps to Reproduce
- create virtualization cluster "test"
- create tag "nfs"
- create virtual machine "test" with status "offline" and tag "nfs" (e.g.
curl -sX POST -H "Authorization: Token $NETBOX_API_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json; indent=2" "$NETBOX_URL/api/virtualization/virtual-machines/" --data '{"name": "test", "cluster": {"name": "test"}, "status": "offline", "tags": [{"name": "nfs"}]}' - update virtual machine with API request and set status to the current value "offline":
curl -sX PATCH -H "Authorization: Token $NETBOX_API_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json; indent=2" "$NETBOX_URL/api/virtualization/virtual-machines/1507/" --data '{"status": "offline"}'
Expected Behavior
Change log shows no changes.
Observed Behavior
Change log shows that the tag "nfs" is removed, but when you look at the virtual machine, there is still the tag "nfs" assigned.


Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application