All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Tanous <ed@tanous.net>
To: Mike Jones <proclivis@gmail.com>
Cc: Joseph Reynolds <jrey@linux.ibm.com>,
	khader basha shaik <shaikkhaderbasha601@gmail.com>,
	 "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>,
	 "openbmcbump-github@yahoo.com" <openbmcbump-github@yahoo.com>
Subject: Re: Query regarding using the Redfish in OpenBMC
Date: Mon, 27 Jul 2020 16:07:19 -0700	[thread overview]
Message-ID: <CACWQX835DWC6GwZYzn3v2v7wsrJ_mVPQyT0=D3hfQnNaoWSJgg@mail.gmail.com> (raw)
In-Reply-To: <77906538-41BD-4600-B6FE-9886921BB0B9@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]

On Fri, Jul 24, 2020 at 4:13 PM Mike Jones <proclivis@gmail.com> wrote:
>
> Some progress. On the hacked build, there were three problems:
>
> 1) bmcweb failed at start
> 2) Wrong port
> 3) Can’t login
>
> The failure was found by compiling it with logging. /var/log/redfish was
missing. Touching the file and executing bmcweb& got it up.

This was a bug.  Pull master up to at least this commit:
https://github.com/openbmc/bmcweb/commit/7f4eb5887f9a52a2832ee9b6e06749575903128a


>
> Some doc said port 8080, but it is 18080.

Ideally you'd be using the bmcweb.socket file for socket activation, which
defaults to 443.  port 18080 only happens when you launch bmcweb by hand.
I’m guessing you copied the binary over by hand and didn’t do a make
install?


>
> DHCP is not working, so I boot to console with hdmi and keyboard and make
a static address with ifconfig. Will deal with later.
>
> Login was because groups were missing. Found where that was in
meta-phosphor and added.

The login groups should be made automatically by the recipe.  If you're
using it, and they're not present, this might be worth a bug getting filed.


>
> Now I have the webui up.

Yee Haw!


>
> On the evb build, it is trying to build images that fail when checking
file size. I think this is because meta-phosphor has IMAGE_FSTYPES += with
some mtb images, and meta-rasberrypi has IMAGE_FSTYPES ?= and I assume +=
wins or mixes. I think if I add IMAGE_FSTYPES = in local.conf, it would
override it and probably work.

This might be related to rpi using ext4 images, not squashfs images.

>
> Waiting for a long rebuild...

Groan.... yep.  Highly recommend a ridiculously overpowered build machine
for yocto builds.

[-- Attachment #2: Type: text/html, Size: 2351 bytes --]

      parent reply	other threads:[~2020-07-27 23:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22  8:02 Query regarding using the Redfish in OpenBMC khader basha shaik
2020-07-23 10:48 ` khader basha shaik
2020-07-23 13:55   ` Joseph Reynolds
2020-07-24 11:59     ` khader basha shaik
2020-07-24 13:40       ` Mike
2020-07-24 21:57         ` Joseph Reynolds
2020-07-24 23:12           ` Mike Jones
2020-07-25  1:16             ` Mike Jones
2020-07-27 23:07             ` Ed Tanous [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACWQX835DWC6GwZYzn3v2v7wsrJ_mVPQyT0=D3hfQnNaoWSJgg@mail.gmail.com' \
    --to=ed@tanous.net \
    --cc=jrey@linux.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=openbmcbump-github@yahoo.com \
    --cc=proclivis@gmail.com \
    --cc=shaikkhaderbasha601@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.