Bug 796731
Summary: | Error 500 from luci when try to edit a Service | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | hendry tjen <hendrytjen> |
Component: | luci | Assignee: | Ryan McCabe <rmccabe> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.2 | CC: | cluster-maint, jdeffenb, rsteiger |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | luci-0.26.0-4.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Luci failed to enforce name uniqueness constraints when creating and editing service groups. In the cluster configuration, there can be global resources (declared outside of any cluster service groups) and inline resources (declared inside a service group). The names of resources must be unique regardless of whether the resource is a global resource or an inline resource. Luci allowed global resources to be created even when the global resource's name was already in use by a resource that had been declared inline inside a service group. It also allowed a resource within a service groups to be created with a name that was already in use by a global resources.
Consequence: In some cases, luci failed ungracefully, reporting "error 500." In other cases, the cluster configuration was improperly modified.
Fix: Resource name uniqueness is now properly enforced.
Result: If luci fails, it fails gracefully and reports any problems to the user. It no longer improperly modifies the cluster configuration.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 12:18:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
hendry tjen
2012-02-23 15:12:26 UTC
Able to reproduce per the recipe above, but this bug can also cause data corruption on RHEL 6.2. If you create an inline resource inside a service with a name that collides with the name of an existing global resource, the global resource may be deleted from the <resources> stanza of the cluster.conf. Fixed in luci.git commit 1cfd2f1b48889a384756cb983dd0fa0529cf1a2c Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Luci failed to enforce name uniqueness constraints when creating and editing service groups. In the cluster configuration, there can be global resources (declared outside of any cluster service groups) and inline resources (declared inside a service group). The names of resources must be unique regardless of whether the resource is a global resource or an inline resource. Luci allowed global resources to be created even when the global resource's name was already in use by a resource that had been declared inline inside a service group. It also allowed a resource within a service groups to be created with a name that was already in use by a global resources. Consequence: In some cases, luci failed ungracefully, reporting "error 500." In other cases, the cluster configuration was improperly modified. Change: Resource name uniqueness is now properly enforced. Result: If luci fails, it fails gracefully and reports any problems to the user. It no longer improperly modifies the cluster configuration. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -2,6 +2,6 @@ Consequence: In some cases, luci failed ungracefully, reporting "error 500." In other cases, the cluster configuration was improperly modified. -Change: Resource name uniqueness is now properly enforced. +Fix: Resource name uniqueness is now properly enforced. Result: If luci fails, it fails gracefully and reports any problems to the user. It no longer improperly modifies the cluster configuration. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0766.html *** Bug 834123 has been marked as a duplicate of this bug. *** |