Skip to content

404 response after POST at LogService.ClearLog action #408

@ArturBaryla

Description

@ArturBaryla

I'm trying to send POST at ClearLog
https://10.91.209.202:45000/redfish/v1/Systems/ae7bff1b-1fd0-40bd-9882-d7318f9df959:1/LogServices/SEL/Actions/LogService.ClearLog
and I get that response with 404 code:

{
    "error": {
        "code": "Base.1.6.1.GeneralError",
        "message": "An error has occurred. See ExtendedInfo for more information.",
        "@Message.ExtendedInfo": [
            {
                "@odata.type": "#Message.v1_0_8.Message",
                "MessageId": "Base.1.6.1.ResourceNotFound",
                "Message": "The requested resource of type ComputerSystem named /redfish/v1/Systems/ae7bff1b-1fd0-40bd-9882-d7318f9df959:1/LogServices/SEL/Actions/LogService.ClearLog was not found. error while getting the details /redfish/v1/Systems/1/LogServices/SEL/Actions/LogService.ClearLog: ",
                "Severity": "Critical",
                "MessageArgs": [
                    "ComputerSystem",
                    "/redfish/v1/Systems/ae7bff1b-1fd0-40bd-9882-d7318f9df959:1/LogServices/SEL/Actions/LogService.ClearLog"
                ],
                "Resolution": "Provide a valid resource identifier and resubmit the request."
            }
        ]
    }
}

system.log in odimra:1.0 docker:

time="2021-02-16T15:30:07Z" level=warning msg="got 404 Not Found while fetching https://odim.local.com:45001/ODIM/v1/Systems/1/LogServices/SEL/Actions/LogService.ClearLog with method GET"
time="2021-02-16T15:30:07Z" level=info msg="ResponseNot Found"
time="2021-02-16T15:30:07Z" level=info msg="response.StatusCodeƔ"
time="2021-02-16T15:30:07Z" level=info msg="error while getting the details /redfish/v1/Systems/1/LogServices/SEL/Actions/LogService.ClearLog: "

If I correctly understand - ODIM is sending GET to the service, not POST

Metadata

Metadata

Assignees

Labels

prio:normalnormal priority, can be taken up after high priority issues are addressedstatus:newThis tag is attached to a new issue during creation onlytype:bugThis tag is attached to 'bug' issue during creation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions