Opened 51 years ago
Last modified 10 years ago
#880 new defect
IZ530: NPE if nossl host is contacted from ssl host
Reported by: | rhierlmeier | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | hedeby | Version: | 1.0 |
Severity: | minor | Keywords: | Sun security |
Cc: |
Description (last modified by admin)
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=530]
Issue #: 530 Platform: Sun Reporter: rhierlmeier (rhierlmeier) Component: hedeby OS: All Subcomponent: security Version: 1.0 CC: None defined Status: STARTED Priority: P4 Resolution: Issue type: DEFECT Target milestone: 1.0u5next Assigned to: rhierlmeier (rhierlmeier) QA Contact: rhierlmeier URL: * Summary: NPE if nossl host is contacted from ssl host Status whiteboard: Attachments: Issue 530 blocks: Votes for issue 530: Vote for this issue Opened: Tue Jul 29 02:25:00 -0700 2008 ------------------------ Description: In a scenario where master host is running in non ssl mode and a managed host installation is started without the -nossl option you get the following error message: sdmadm -s rhnossl -p system -k /tmp/sdm_admin.keystore \ -cc /tmp/cacert.pem imgdh -cs_url master:31016 \ -l /var/spool/sdm/rhnossl -au sdm_admin A configuration for system, "rhnossl", has been added Installation of the system rhnossl failed. Undo will be performed. During installation of system rhnossl, the error occurred. The local spool dir: /var/spool/sdm/rhnossl will be removed. The local spool dir: /var/spool/sdm/rhnossl has been removed. Error: Unknown error while communication with component cs_vm@severus/com.sun.grid.grm.rhnossl:name=cs,type=com.sun.grid.grm.ui.ConfigurationService: null Evaluation: This problem has no impact on the functionality of the system. However the error message does not contain any hint that the master jvm is running in no ssl mode. Suggested Fix / Work Around: If a nossl secured component contacts a ssl secured component an error human understandable error message should be provided. e.g.: Error: Can not contact remote jvm. It is running in non ssl mode Analysis: The problem is that in the JMXAuthenticator a NullPointerException is thrown: com.sun.grid.grm.GrmRemoteException: Unknown error while communication with component cs_vm@severus/com.sun.grid.grm.rhnossl:name=cs,type=com.sun.grid.grm.ui.Co nfigurationService: null at com.sun.grid.grm.management.ComponentProxy.invoke(ComponentProxy.java :217) at $Proxy8.run(Unknown Source) at com.sun.grid.grm.ui.impl.CommandServiceImpl.execute(CommandServiceImp l.java:128) at com.sun.grid.grm.security.ui.RemoteInstSecurityCommand$PreCommand.exe cute(RemoteInstSecurityCommand.java:77) at com.sun.grid.grm.ui.impl.CommandServiceImpl.execute(CommandServiceImp l.java:102) at com.sun.grid.grm.ui.MacroCommand.execute(MacroCommand.java:82) at com.sun.grid.grm.ui.install.InstallManagedHostCommand$RemoteInstSecur ityCommandProxy.execute(InstallManagedHostCommand.java:113) at com.sun.grid.grm.ui.impl.CommandServiceImpl.execute(CommandServiceImp l.java:102) at com.sun.grid.grm.ui.MacroCommand.execute(MacroCommand.java:82) at com.sun.grid.grm.ui.impl.CommandServiceImpl.execute(CommandServiceImp l.java:102) at com.sun.grid.grm.cli.cmd.administration.InstallManagedHostCliCommand. execute(InstallManagedHostCliCommand.java:153) at com.sun.grid.grm.cli.AbstractCli.run(AbstractCli.java:268) at com.sun.grid.grm.cli.SdmAdm.main(SdmAdm.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.grid.grm.util.MainWrapper$SystemRunThread.run(MainWrapper.jav a:434) Caused by: java.lang.NullPointerException at com.sun.grid.grm.security.JAASJMXAuthenticator.authenticate(JAASJMXAu thenticator.java:245) at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.j ava:212) at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.jav a:179) How to test: Write testsuite test for this issue - Install master host in nossl mode - Install managed host in ssl mode - check the error message ETC: 0.5 PD for the fix 1.5 PD for implementing the testsuite test ------- Additional comments from rhierlmeier Tue Jul 29 02:27:03 -0700 2008 ------- Typo fixed ------- Additional comments from adoerr Wed Aug 20 07:40:56 -0700 2008 ------- New target milestone. ------- Additional comments from aja Tue Nov 3 10:23:25 -0700 2009 ------- accepting the issue ------- Additional comments from torsten Fri Nov 27 00:40:09 -0700 2009 ------- changed milestone to 1.0u5next
Change History (1)
comment:1 Changed 10 years ago by admin
- Description modified (diff)
- Priority set to normal
- Severity set to minor
Note: See
TracTickets for help on using
tickets.