Redfish Virtual Media return InternalError

Anton Kachalov rnouse at google.com
Thu Oct 8 06:19:15 AEDT 2020


Hey, Brad.

Try to log into the bmc and check the bmcweb logs:

# systemctl status -n 100 bmcweb.status

If it doesn't show anything meaningful, get the "Main PID" and try to
*strace* it (you need to include strace into the builded image).

On Tue, 6 Oct 2020 at 11:20, Brad Chou <bradc at hyvedesignsolutions.com>
wrote:

> Hi,
>
> I enable the “DBMCWEB_ENABLE_VM_NBDPROXY” flag in bmcweb by bbappend it :
>
> EXTRA_OECMAKE_append = " \
>
>     -DBMCWEB_ENABLE_VM_NBDPROXY=ON \
>
> "
>
>
>
> Then try to use redfish virtual media.
>
> But I got an error return when get into the collection :
>
>
>
> $  curl -k -H "X-Auth-Token: $token" https://
> ${bmc}/redfish/v1/Managers/bmc/VirtualMedia
>
> {
>
>   "@odata.id": "/redfish/v1/Managers/bmc/VirtualMedia/",
>
>   "@odata.type": "#VirtualMediaCollection.VirtualMediaCollection",
>
>   "Name": "Virtual Media Services",
>
>   "error": {
>
>     "@Message.ExtendedInfo": [
>
>       {
>
>         "@odata.type": "#Message.v1_0_0.Message",
>
>         "Message": "The request failed due to an internal service error.
> The service is still operational.",
>
>         "MessageArgs": [],
>
>         "MessageId": "Base.1.4.0.InternalError",
>
>         "Resolution": "Resubmit the request.  If the problem persists,
> consider resetting the service.",
>
>         "Severity": "Critical"
>
>       }
>
>     ],
>
>     "code": "Base.1.4.0.InternalError",
>
>     "message": "The request failed due to an internal service error.  The
> service is still operational."
>
>   }
>
> }
>
>
>
>
>
> Any idea ?
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201007/bc08e2c5/attachment.htm>


More information about the openbmc mailing list