Code: Select all
curl -u user:password -H "Accept:application/json" -X POST -i "http://1.2.3.4/rest/v1/Oem/eLCM/ProfileManagement/get?PARAM_PATH=Server/HWConfigurationIrmc/Adapters/RAIDAdapter"
Der Befehl gibt folgendes zurück:
Code: Select all
HTTP/1.1 202 Accepted
Date: Mon, 11 Sep 2023 11:32:50 GMT
Server: iRMC S6 Webserver
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Cache-Control: no-cache
Pragma: no-cache
Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data: blob:
Content-Length: 292
Content-Type: application/json; charset=UTF-8
Location: rest/v1/Oem/eLCM/ProfileManagement/RAIDAdapter
{
"Session":{
"Id":45,
"Tag":"",
"WorkSequence":"obtainProfileParameters",
"Start":"2023\/09\/11 11:32:49",
"Duration":1,
"Status":"running",
"Details":{
"Activity":"Obtain profile parameters",
"Stage":"Create tree",
"Progress":"0"
}
}
}
Der Status der Session ist folgender:
Code: Select all
HTTP/1.1 200 OK
Date: Mon, 11 Sep 2023 11:33:55 GMT
Server: iRMC S6 Webserver
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Cache-Control: no-cache
Pragma: no-cache
Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data: blob:
Content-Length: 188
Content-Type: application/json; charset=UTF-8
{
"Session":{
"Id":45,
"Tag":"",
"WorkSequence":"obtainProfileParameters",
"Start":"2023\/09\/11 11:32:49",
"Duration":20,
"Status":"terminated with error"
}
}
Im WebGUI steht im Log folgendes:
Code: Select all
2023-09-11 11:32:49 eLCM Session initializing
2023-09-11 11:32:49 CreateSession: Session 'obtainProfile' created with id 45
2023-09-11 11:32:49 AttachWorkSequence: Attached work sequence 'obtainProfileParameters' to session 45
2023-09-11 11:32:49 Work sequence attached to eLCM session
2023-09-11 11:32:49 eLCM session activated
2023-09-11 11:32:49 Waiting for eLCM Session end
2023-09-11 11:32:49 eLCMScheduler: Launch ObtainProfileParameters
2023-09-11 11:32:49 createRaidDatabase: RAID Controller check start
2023-09-11 11:33:09 createRaidDatabase: Get RAID controller information start [RAID controller count = 0 ]
2023-09-11 11:33:09 createRaidDatabase: Get RAID controller information complete
2023-09-11 11:33:09 ObtainProfileParameters: Could not obtain parameter tree from database
2023-09-11 11:33:09 ObtainProfileParameters: Finished processing of profile path 'Server/HWConfigurationIrmc/Adapters/RAIDAdapter' with status 'Error'
2023-09-11 11:33:09 eLCMScheduler: Terminated processing of linked activity list due to execution error
2023-09-11 11:33:09 eLCMScheduler: eLCM object is being destroyed as automatic termination was configured
2023-09-11 11:33:09 TerminateSession: 'obtainProfileParameters' is being terminated
2023-09-11 11:33:09 eLCM session terminated with error
Was ist der eigentliche Fehler? Warum kann ich die Profilparameter für den RAID-Controller/ RAIDAdapter nicht erhalten?
Kopie von diesem Post: viewtopic.php?f=102&t=49576