Project

General

Profile

Actions

Bug #17784

closed

API/CLI - ISE on Deleting proxy: Can't modify frozen hash

Added by Andrew Kofink almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:
  1. 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:
Actions #1

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
Actions #2

Updated by Justin Sherrill almost 8 years ago

  • Priority changed from High to Normal
Actions #3

Updated by Andrew Kofink almost 8 years ago

  • Target version set to 151
Actions #4

Updated by Andrew Kofink almost 8 years ago

  • Assignee set to Andrew Kofink
Actions #5

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
Actions #6

Updated by Andrew Kofink almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Justin Sherrill almost 8 years ago

  • Translation missing: en.field_release set to 188
Actions

Also available in: Atom PDF