Unsolved

This post is more than 5 years old

4 Posts

1037

February 25th, 2020 04:00

iDRAC USB import odd behavior with NoReboot option

Hi all,

I think I have an odd behavior with the iDRAC USB system configuration import.

I try to reset the password of an iDRAC user without restarting the system. For that I use the NoReboot option in the control.xml.

The import works as well, but the server always wants a reboot to apply the Server Configuration Profile.

But if I exchange the NoReboot option on the USB stick with Graceful the import works without reboot.

For me it looks like NoReboot doesn't check if the import is possible without reboot, but simply always requires a reboot.

Am I overlooking something, is this intentional or is this a bug?

Thanks,
Tobias

Case NoReboot:

Spoiler
control.xml:
-----------------%<-----------------


Configuration XML import Host control Instruction
ShutdownType
NoReboot
Graceful,Forced,NoReboot


Configuration XML import Host control Instruction
TimeToWait
300
Minimum value is 300 -Maximum value is 3600 seconds.


Configuration XML import Host control Instruction
EndHostPowerState
On
On,Off


-----------------%<-----------------
config.xml:
-----------------%<-----------------


XXX


-----------------%<-----------------
console:
-----------------%<-----------------
root@rescue ~ # uptime
11:11:19 up 3:23, 1 user, load average: 0.00, 0.00, 0.00
root@rescue ~ # racadm jobqueue view
-------------------------JOB QUEUE------------------------
[Job ID=JID_826254955941]
Job Name=Configure: Import Server Configuration Profile
Status=Paused, Waiting for Reboot
Start Time=[Not Applicable]
Expiration Time=[Not Applicable]
Message=[SYS296: No reboot Server Configuration Profile Import job scheduled, Waiting for System Reboot to complete the operation.]
Percent Complete=[20]
---------------------------------------------------------
root@rescue ~ # reboot
root@rescue ~ # uptime
11:15:58 up 0 min, 1 user, load average: 1.27, 0.29, 0.10
root@rescue ~ # racadm jobqueue view
-------------------------JOB QUEUE------------------------
[Job ID=JID_826254955941]
Job Name=Configure: Import Server Configuration Profile
Status=Completed
Start Time=[Not Applicable]
Expiration Time=[Not Applicable]
Message=[SYS053: Successfully imported and applied Server Configuration Profile.]
Percent Complete=[100]
----------------------------------------------------------
-----------------%<-----------------
control.xml:-----------------%<----------------- Configuration XML import Host control Instruction ShutdownType NoReboot Graceful,Forced,NoReboot Configuration XML import Host control Instruction TimeToWait 300 Minimum value is 300 -Maximum value is 3600 seconds. Configuration XML import Host control Instruction EndHostPowerState On On,Off -----------------%<-----------------config.xml:-----------------%<----------------- XXX -----------------%<-----------------console:-----------------%<-----------------root@rescue ~ # uptime11:11:19 up 3:23, 1 user, load average: 0.00, 0.00, 0.00root@rescue ~ # racadm jobqueue view-------------------------JOB QUEUE------------------------[Job ID=JID_826254955941]Job Name=Configure: Import Server Configuration ProfileStatus=Paused, Waiting for RebootStart Time=[Not Applicable]Expiration Time=[Not Applicable]Message=[SYS296: No reboot Server Configuration Profile Import job scheduled, Waiting for System Reboot to complete the operation.]Percent Complete=[20]---------------------------------------------------------root@rescue ~ # rebootroot@rescue ~ # uptime11:15:58 up 0 min, 1 user, load average: 1.27, 0.29, 0.10root@rescue ~ # racadm jobqueue view-------------------------JOB QUEUE------------------------[Job ID=JID_826254955941]Job Name=Configure: Import Server Configuration ProfileStatus=CompletedStart Time=[Not Applicable]Expiration Time=[Not Applicable]Message=[SYS053: Successfully imported and applied Server Configuration Profile.]Percent Complete=[100]---------------------------------------------------------------------------%<-----------------

Case Graceful:

Spoiler
control.xml:
-----------------%<-----------------


Configuration XML import Host control Instruction
ShutdownType
Graceful
Graceful,Forced,NoReboot


Configuration XML import Host control Instruction
TimeToWait
300
Minimum value is 300 -Maximum value is 3600 seconds.


Configuration XML import Host control Instruction
EndHostPowerState
On
On,Off


-----------------%<-----------------
config.xml:
-----------------%<-----------------


XXX


-----------------%<-----------------
console:
-----------------%<-----------------
root@rescue ~ # uptime
11:15:58 up 0 min, 1 user, load average: 1.27, 0.29, 0.10
root@rescue ~ # racadm jobqueue view
-------------------------JOB QUEUE------------------------
[Job ID=JID_826260349842]
Job Name=Configure: Import Server Configuration Profile
Status=Completed
Start Time=[Not Applicable]
Expiration Time=[Not Applicable]
Message=[SYS053: Successfully imported and applied Server Configuration Profile.]
Percent Complete=[100]
root@rescue ~ # uptime
11:21:57 up 6 min, 1 user, load average: 0.00, 0.09, 0.06
-----------------%<-----------------
control.xml:-----------------%<----------------- Configuration XML import Host control Instruction ShutdownType Graceful Graceful,Forced,NoReboot Configuration XML import Host control Instruction TimeToWait 300 Minimum value is 300 -Maximum value is 3600 seconds. Configuration XML import Host control Instruction EndHostPowerState On On,Off -----------------%<-----------------config.xml:-----------------%<----------------- XXX -----------------%<-----------------console:-----------------%<-----------------root@rescue ~ # uptime11:15:58 up 0 min, 1 user, load average: 1.27, 0.29, 0.10root@rescue ~ # racadm jobqueue view-------------------------JOB QUEUE------------------------[Job ID=JID_826260349842]Job Name=Configure: Import Server Configuration ProfileStatus=CompletedStart Time=[Not Applicable]Expiration Time=[Not Applicable]Message=[SYS053: Successfully imported and applied Server Configuration Profile.]Percent Complete=[100]root@rescue ~ # uptime11:21:57 up 6 min, 1 user, load average: 0.00, 0.09, 0.06-----------------%<-----------------

7 Practitioner

 • 

9.7K Posts

 • 

48K Points

February 25th, 2020 08:00

TobsA,

 

It sounds like it is defaulting to graceful. You would need to include the -b flag along with the command in order to push the noreboot, as seen on page 67 here.

 

 

• -b — . Specifies the type of shutdown for the system after a file import operation completes. The parameters are Graceful, Forced, and NoReboot for graceful shutdown, forced shutdown, and no reboot respectively. If -b is not specified, graceful shutdown is taken as the default except as noted above for files containing new values.

 

Would you clarify if you have tried that? 

Let me know.

 

 

4 Posts

February 27th, 2020 16:00

Hi Chris,

 

we are using the USB import not the racadm command.(Manual Page 280).

In both cases we select as ShutdownType either NoReboot or Graceful, so we don't use a default value.

 

Tobias

 

 

No Events found!

Top