Bug 1120229
Summary: | Creation of child resource fails if the resource with given name previously existed and then was deleted | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Jan Bednarik <jbednari> |
Component: | REST | Assignee: | Heiko W. Rupp <hrupp> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | JON 3.2.2 | CC: | jbednari, mkoci, tsegismo |
Target Milestone: | --- | ||
Target Release: | JON 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-30 10:03:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Bednarik
2014-07-16 13:31:30 UTC
(In reply to Jan Bednarik from comment #0) > 2. After the resource is created uninventory it (either via UI or REST) Did you click uninventory or delete? Uninventory does not *delete* the resource from the managed server. It justs removes it from JON's inventory. Then it is expected that when you try to create a resource with the same name, EAP refuses it. Please clarify the reproduction steps, both for UI and REST. For the latter, please attach to the BZ the script of the test case. Closing assuming the resource was uninventoried, not deleted. Reopen if you can reproduce actually deleting the resource. (In reply to Thomas Segismont from comment #1) > (In reply to Jan Bednarik from comment #0) > > 2. After the resource is created uninventory it (either via UI or REST) > > Did you click uninventory or delete? > > Uninventory does not *delete* the resource from the managed server. It justs > removes it from JON's inventory. Then it is expected that when you try to > create a resource with the same name, EAP refuses it. Thomas you are right, I had a look at this issue again and I used DELETE /resource/{id} in case of REST and uninventory in case of UI. As you say, this does not delete the resource from the managed server. Thus I agree with notabug resolution. |