Actions
Bug #17784
closedAPI/CLI - ISE on Deleting proxy: Can't modify frozen hash
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1398695
Description of problem:
Server returning err500 - "Can't modify frozen hash" every time user deletes a capsule using cli or api.
The capsule seems to be removed anyway.
This is a regression in 6.3
Version-Release number of selected component (if applicable):
satellite-6.3.0-6.1.beta.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. add a capsule (you can forward port 9090 of the stallite to some other port to simulate a different capsule):
ncat -kl -p 11018 -c "ncat sat63.com 9090 &" (you might need to set a proper selinux context for the ports or simply disable it)
hammer proxy create --name foo --url="https://sat63.com:11018"
2. use CLI or API to delete it:
- hammer -u admin -p changeme proxy delete --id 11
Could not delete the proxy:
Can't modify frozen hash
or
$ curl -ku admin:changeme -X DELETE "https://sat63.com/api/v2/smart_proxies/11"
{
"error": {"message":"Can't modify frozen hash"}
}
Actual results:
error returned:"Can't modify frozen hash" but proxy removed
Expected results:
no errors
Additional info:
Updated by Justin Sherrill almost 8 years ago
- Subject changed from API/CLI - ISE on Deleting proxy: Can't modify frozen hash to API/CLI - ISE on Deleting proxy: Can't modify frozen hash
- Translation missing: en.field_release set to 114
Updated by Justin Sherrill almost 8 years ago
- Priority changed from High to Normal
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Translation missing: en.field_release deleted (
114) - Pull request https://github.com/Katello/katello/pull/6510 added
Updated by Andrew Kofink almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|3d8abda434f21e4f2cb4fc33cb7f1dce9efc77e1.
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release set to 188
Actions