Environment
Novell ZENworks Configuration Management 11.2
Situation
Trying to demote a satellite device that has the authentication role
ERROR:
Unable to demote the device . For more information, see
/var/opt/novell/log/zenworks/ZENworks_XPlat_Agent_Uninstall_<timestamp>.xml for
details
ERROR:
Unable to demote the device . For more information, see
/var/opt/novell/log/zenworks/ZENworks_XPlat_Agent_Uninstall_<timestamp>.xml for
details
Resolution
This is fixed in version 11.2.2 - see KB 7010757 "ZENworks
Configuration Management 11.2.2 - update information and list of fixes"
which can be found at https://support.microfocus.com/kb/doc.php?id=7010757
Additional Information
Error on console
Summary
-------
Before you continue, review the following:
Product Name:
XPlatAgent
Management Zone Name
ZCM11.2.x
Action To Perform
Demote Device. Remove all the roles assigned to this device.
Leave Images/Content
Not Applicable
PRESS <ENTER> TO CONTINUE:
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
Demotion Complete
-----------------
Unable to demote the device . For more information, see
/var/opt/novell/log/zenworks/ZENworks_XPlat_Agent_Uninstall_<timestamp>.xml for
details
Exception in uninstall log
The following exception is seen in the uninstall log:
<Message><MessageID><![CDATA[0000]]></MessageID><MessageString><![CDATA[Exception
during
uninstallation.]]></MessageString><Severity><![CDATA[8]]></Severity><Time><![CDATA[135392
2760739]]></Time><Source><![CDATA[Unknown
Device]]></Source><ComponentName><![CDATA[Server
Install]]></ComponentName><AdditionalInfo><![CDATA[java.lang.ClassCastException:
com.no
vell.zenworks.agent.uninstall.configure.uninstaller.LinuxManagedDevice cannot
be cast to
com.novell.zenworks.agent.uninstall.configure.uninstaller.SatelliteServer
at
com.novell.zenworks.agent.uninstall.configure.uninstaller.UninstallConfigureAction.doOperation(UninstallConfigureAction.java:203)
at
com.novell.zenworks.agent.uninstall.configure.uninstaller.UninstallConfigureAction.configure(UninstallConfigureAction.java:358)
at
com.novell.zenworks.agent.uninstall.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1286)
at
com.novell.zenworks.agent.uninstall.customcode.configure.BaseZenConfigAction.install(BaseZenConfigAction.java:58)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
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 com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
]]></AdditionalInfo></Message>
Summary
-------
Before you continue, review the following:
Product Name:
XPlatAgent
Management Zone Name
ZCM11.2.x
Action To Perform
Demote Device. Remove all the roles assigned to this device.
Leave Images/Content
Not Applicable
PRESS <ENTER> TO CONTINUE:
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
Demotion Complete
-----------------
Unable to demote the device . For more information, see
/var/opt/novell/log/zenworks/ZENworks_XPlat_Agent_Uninstall_<timestamp>.xml for
details
Exception in uninstall log
The following exception is seen in the uninstall log:
<Message><MessageID><![CDATA[0000]]></MessageID><MessageString><![CDATA[Exception
during
uninstallation.]]></MessageString><Severity><![CDATA[8]]></Severity><Time><![CDATA[135392
2760739]]></Time><Source><![CDATA[Unknown
Device]]></Source><ComponentName><![CDATA[Server
Install]]></ComponentName><AdditionalInfo><![CDATA[java.lang.ClassCastException:
com.no
vell.zenworks.agent.uninstall.configure.uninstaller.LinuxManagedDevice cannot
be cast to
com.novell.zenworks.agent.uninstall.configure.uninstaller.SatelliteServer
at
com.novell.zenworks.agent.uninstall.configure.uninstaller.UninstallConfigureAction.doOperation(UninstallConfigureAction.java:203)
at
com.novell.zenworks.agent.uninstall.configure.uninstaller.UninstallConfigureAction.configure(UninstallConfigureAction.java:358)
at
com.novell.zenworks.agent.uninstall.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1286)
at
com.novell.zenworks.agent.uninstall.customcode.configure.BaseZenConfigAction.install(BaseZenConfigAction.java:58)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
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 com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
]]></AdditionalInfo></Message>