Bug 537068
Summary: | samba: add share resource fail if unchecked 'Unset' check box of some properties but don't input any value for those properties | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Rajan Timaniya <rtimaniy> | ||||
Component: | Configuration | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 1.4 | CC: | jshaughn, skondkar, whayutin | ||||
Target Milestone: | --- | Keywords: | SubBug | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-16 13:53:25 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 545537, 545570, 565628 | ||||||
Attachments: |
|
Description
Rajan Timaniya
2009-11-12 11:29:59 UTC
This bug is also reproducible in Apache configurations. If user unchecks 'Unset' check box of fields like 'Server Name' but does not input any value in the field, clicking on save displays 'Failure' status in 'Configuration->History' tab of apache resource. Steps To Reproduce: 1. Login to imanage UI. 2. Navigate to the apache httpd resource. 3. Navigate to the 'Configurtion' tab. 4. Click on 'Change Properties' button. 5. Uncheck 'Unset' check box for field 'Server Name'. 6. Click on 'Save' button. Verified this bug on build#22. This is not reproducible for apache configurations. Now if user unchecks 'Unset' check box of fields like 'Server Name' but does not input any value in the field, there is no failure. Verified this bug for samba plug in on (linux-config) GIT Revision: 3c58c9c2e9f595af99088856fe5a698b7df6734f Exception got changed, the changed exception as given below: java.lang.NullPointerException at org.rhq.plugins.augeas.AugeasConfigurationComponent.createResource(AugeasConfigurationComponent.java:212) at org.rhq.plugins.samba.SambaServerComponent.createResource(SambaServerComponent.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Verified this bug for apache plug in on (linux-config) GIT Revision: 3c58c9c2e9f595af99088856fe5a698b7df6734f Add resource fail with following exception: net.augeas.AugeasException: Failed to initialize Augeas. It is probably not installed. at org.rhq.augeas.AugeasProxy.load(AugeasProxy.java:116) at org.rhq.plugins.apache.ApacheServerComponent.getAugeasProxy(ApacheServerComponent.java:351) at org.rhq.plugins.apache.ApacheServerComponent.createResource(ApacheServerComponent.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.augeas.jna.Aug at net.augeas.Augeas.<init>(Augeas.java:88) at org.rhq.augeas.AugeasProxy.load(AugeasProxy.java:102) ... 12 more Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug making sure we're not missing any bugs in rhq_triage Lowering severity/priority - not an enterprise plugin |