All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johnathan Mantey <johnathanx.mantey@intel.com>
To: Jayashree D <jayashree-d@hcl.com>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Entity Manager error in tiogapass
Date: Mon, 26 Apr 2021 09:32:57 -0700	[thread overview]
Message-ID: <35577f35-feff-c87f-9948-ccdb6986b6db@intel.com> (raw)
In-Reply-To: <SG2PR04MB30936A198A555EEBC1DBF78AE1429@SG2PR04MB3093.apcprd04.prod.outlook.com>


[-- Attachment #1.1: Type: text/plain, Size: 3954 bytes --]

Jayashree,

On 4/26/21 9:00 AM, Jayashree D wrote:
>
> Classification: *Confidential*
>
> Hi Team,
>
> In the latest build, I am facing the below issue in Entity Manager for 
> tiogapass.
>
> Already issue has been created in Entity Manager Repo - entity-manager 
> terminated by 'std::filesystem::__cxx11::filesystem_error' · Issue #8 
> · openbmc/entity-manager (github.com) 
> <https://github.com/openbmc/entity-manager/issues/8>
>
> root@tiogapass:~# systemctl status 
> xyz.openbmc_project.EntityManager.service -l
>
> ● xyz.openbmc_project.EntityManager.service - Entity Manager
>
>      Loaded: loaded 
> (]8;;file://tiogapass/lib/systemd/system/xyz.openbmc_project.EntityManager.service/lib/systemd/system/xyz.openbmc_project.EntityManager.service]8;;; 
> enabled; vendor preset: enabled)
>
>      Active: active (running) since Thu 1970-01-01 00:04:10 UTC; 25s ago
>
>     Process: 851 ExecStartPre=/bin/mkdir -p /var/configuration 
> (code=exited, status=0/SUCCESS)
>
>     Process: 852 ExecStartPre=/bin/mkdir -p /tmp/overlays 
> (code=exited, status=0/SUCCESS)
>
>    Main PID: 853 (entity-manager)
>
>      CGroup: /system.slice/xyz.openbmc_project.EntityManager.service
>
>              └─853 /usr/bin/entity-manager
>
> Jan 01 00:04:09 tiogapass systemd[1]: Starting Entity Manager...
>
> Jan 01 00:04:10 tiogapass systemd[1]: Started Entity Manager.
>
> Jan 01 00:04:27 tiogapass entity-manager[853]: Inventory Added
>
> Jan 01 00:04:27 tiogapass entity-manager[853]: terminate called after 
> throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
>
> Jan 01 00:04:27 tiogapass entity-manager[853]:   what():  filesystem 
> error: recursive directory iterator cannot open directory: No such 
> file or directory [/sys/bus/i2c/devices/i2c-16]
>

Check this portion of src/Overlay.cpp
static bool deviceIsCreated(const std::string& devicePath,
                             std::shared_ptr<uint64_t> bus,
                             std::shared_ptr<uint64_t> address,
                             const bool retrying)

I placed a comment describing the intent of the directory iterator. I 
have not seen the issue described on our systems, nor in QEMU (reported 
by another dev), so I'm not able to identify the issue.
>
> Regards,
>
> Jayashree
>
> ::DISCLAIMER::
> ------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only. E-mail transmission is not 
> guaranteed to be secure or error-free as information could be 
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
> may contain viruses in transmission. The e mail and its contents (with 
> or without referred errors) shall therefore not attach any liability 
> on the originator or HCL or its affiliates. Views or opinions, if any, 
> presented in this email are solely those of the author and may not 
> necessarily reflect the views or opinions of HCL or its affiliates. 
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of this message 
> without the prior written consent of authorized representative of HCL 
> is strictly prohibited. If you have received this email in error 
> please delete it and notify the sender immediately. Before opening any 
> email and/or attachments, please check them for viruses and other defects.
> ------------------------------------------------------------------------

-- 
Johnathan Mantey
Senior Software Engineer
*azad te**chnology partners*
Contributing to Technology Innovation since 1992
Phone: (503) 712-6764
Email: johnathanx.mantey@intel.com <mailto:johnathanx.mantey@intel.com>



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2021-04-26 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 16:00 Entity Manager error in tiogapass Jayashree D
2021-04-26 16:32 ` Johnathan Mantey [this message]
2021-04-27  2:23   ` Lei Yu
2021-04-27 16:54     ` Ed Tanous
2021-04-27 18:11       ` Johnathan Mantey
2021-04-28  8:35         ` Jayashree D
2021-04-28 14:47           ` Johnathan Mantey

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=35577f35-feff-c87f-9948-ccdb6986b6db@intel.com \
    --to=johnathanx.mantey@intel.com \
    --cc=jayashree-d@hcl.com \
    --cc=openbmc@lists.ozlabs.org \
    /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.