openbmc Digest, Vol 42, Issue 72

George Liu fyczy at 126.com
Wed Feb 27 14:26:49 AEDT 2019


Hi All:

The mapper is correct.
Mapper get-service "/com/xxx" is correct if the Manager initializes and starts adding a dbus object.
If you customize the method in the trigger interface and dynamically add a new dbus object, mapper get-service "/com/xxx" prompts Error finding '/com/xxx' service: No such file or directory.
In /etc/default/obmc/mapper my configuration is like this and still have this problem:
MAPPER_SERVICES="xyz.openbmc_project org.openbmc com.xxx"
MAPPER_INTERFACES="xyz.openbmc_project org.openbmc org.freedesktop.DBus.ObjectManager com.xxx"
MAPPER_SERVICEBLACKLISTS=""
Thanks






At 2019-02-26 22:21:35, openbmc-request at lists.ozlabs.org wrote:
>Send openbmc mailing list submissions to
>	openbmc at lists.ozlabs.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	https://lists.ozlabs.org/listinfo/openbmc
>or, via email, send a message with subject or body 'help' to
>	openbmc-request at lists.ozlabs.org
>
>You can reach the person managing the list at
>	openbmc-owner at lists.ozlabs.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of openbmc digest..."
>
>
>Today's Topics:
>
>   1. Re: gerrit down? (Andrew Jeffery)
>   2. Re: Redfish: Network test findings (George Keishing)
>   3. Re: gerrit down? (Andrew Geissler)
>   4. Re: couple questions for DBUS (Andrew Geissler)
>   5. [Proposal] End-user impacts and change log (Joseph Reynolds)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 26 Feb 2019 03:27:36 -0500
>From: "Andrew Jeffery" <andrew at aj.id.au>
>To: openbmc at lists.ozlabs.org
>Subject: Re: gerrit down?
>Message-ID: <2dbf6734-cf35-41aa-b1bc-e1159564c41b at www.fastmail.com>
>Content-Type: text/plain
>
>
>
>On Tue, 26 Feb 2019, at 17:38, Jia, Chunhui wrote:
>> Brad,
>> 
>> Is gerrit server down?
>> 
>> I tried to access https://gerrit.openbmc-project.xyz/ and got "502 Bad 
>> Gateway".
>> 
>>
>
>Yeah, seems to be dead
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 26 Feb 2019 18:48:10 +0530
>From: "George Keishing" <gkeishin at in.ibm.com>
>To: Ed Tanous <ed.tanous at intel.com>
>Cc: openbmc at lists.ozlabs.org
>Subject: Re: Redfish: Network test findings
>Message-ID:
>	<OF07B302A4.58205C4C-ON002583AD.0047E1C1-652583AD.0049132B at notes.na.collabserv.com>
>	
>Content-Type: text/plain; charset="us-ascii"
>
>From:   Ed Tanous <ed.tanous at intel.com>
>To:     openbmc at lists.ozlabs.org
>Date:   02/22/2019 10:47 PM
>Subject:        Re: Redfish: Network test findings
>Sent by:        "openbmc" 
><openbmc-bounces+gkeishin=in.ibm.com at lists.ozlabs.org>
>
>
>
>
>
>On 2/22/19 8:33 AM, Prashanth Katti1 wrote:
>> Hi Ed Tanous,
>> 
>> Here are the finding on Network test for bmcweb.
>> .
>> Could you look into the following issues and let us know.
>> 
>
>I'm happy to review any patches that resolve some, or all of these.
>Based on the titles, a lot of these look like enhancement requests for
>parameters that aren't currently implemented, or misunderstandings about
>how Redfish error codes work.
>
>If you have some initial triage done to identify the failure modes on
>these, that would help a lot to get them resolved quickly.  If you need
>any specific background to help triage, I'm almost always on IRC (and
>obviously this list).
>
>-Ed
>
>--------------------
>
>Ed,
>
>    We were looking for the initial configuration for IP , MAC, hostname , 
>gateway, DHCP enable to be working.
>
>    Well, yes the others could be enhancement or perhaps to be done.
>
>    For now, if you could take a quick look at those github logged issues 
>and help us understand what is expected
>    and what would be the correct way to validate those in those terms of 
>bug vs features, so that, we can request
>    our folks to help contribute on it, if required. 
> 
>Thanks 
>George Keishing
>
>
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190226/03ca6b45/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Tue, 26 Feb 2019 07:23:01 -0600
>From: Andrew Geissler <geissonator at gmail.com>
>To: Andrew Jeffery <andrew at aj.id.au>
>Cc: OpenBMC Maillist <openbmc at lists.ozlabs.org>
>Subject: Re: gerrit down?
>Message-ID:
>	<CALLMt=oVjPOQJ-+=8CwS2p=7ujLxNChQm4UQtnfSHrj3uikMig at mail.gmail.com>
>Content-Type: text/plain; charset="UTF-8"
>
>On Tue, Feb 26, 2019 at 2:28 AM Andrew Jeffery <andrew at aj.id.au> wrote:
>>
>>
>>
>> On Tue, 26 Feb 2019, at 17:38, Jia, Chunhui wrote:
>> > Brad,
>> >
>> > Is gerrit server down?
>> >
>> > I tried to access https://gerrit.openbmc-project.xyz/ and got "502 Bad
>> > Gateway".
>> >
>> >
>>
>> Yeah, seems to be dead
>
>Back up. Nothing in the logs to indicate why the gerrit process died on us.
>We've seen this before, I'll schedule an upgrade to the latest 2.5.XX release
>soon and find a backup to restart gerrit outside of my timezone.
>
>Andrew
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 26 Feb 2019 07:33:25 -0600
>From: Andrew Geissler <geissonator at gmail.com>
>To: George Liu <fyczy at 126.com>
>Cc: "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
>Subject: Re: couple questions for DBUS
>Message-ID:
>	<CALLMt=p7NYz6FUY1oFkp=xVEA7RqVGBBPnEYFNHGBwpw8ogFOA at mail.gmail.com>
>Content-Type: text/plain; charset="UTF-8"
>
>On Tue, Feb 26, 2019 at 2:22 AM George Liu <fyczy at 126.com> wrote:
>>
>> Hi All:
>>     Customize the Dbus interface, add a new dbus object after receiving the message via the yaml file configuration method, use busctl introspect com.xxx.xxx /com/xxx/xx/xx/xx is correct, but use mapper get-service "/com/xxx/xx/xx/xx" prompt Error finding '/com/xxx/xx/xx/xx' service: No such file or directory
>> Thanks!
>>
>A couple things to try. First ensure mapper is working as expected
>with a command
>like this:
>  mapper get-service /xyz/openbmc_project/state/host0
>  xyz.openbmc_project.State.Host
>
>If you're new dbus object is not using the default  object base then
>it's probably
>the whitelist mapper feature (mapper ignores anything not on it's list).
>Take a look at /etc/default/obmc/mapper
>
>Here's the relevant field from our witherspoon system in that file:
>MAPPER_INTERFACES="xyz.openbmc_project org.openbmc
>org.freedesktop.DBus.ObjectManager com.ibm org.open_power"
>
>Andrew
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 26 Feb 2019 09:28:41 -0600
>From: Joseph Reynolds <jrey at linux.ibm.com>
>To: openbmc at lists.ozlabs.org
>Subject: [Proposal] End-user impacts and change log
>Message-ID: <4e9738f7d20fba142dddd4825ec7651a at linux.vnet.ibm.com>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>This is a proposal to improve OpenBMC communication and get better 
>release notes.
>
>** Preamble **
>
>Teams that use OpenBMC in other projects will not know OpenBMC as well 
>as the development community, and they will not know what is in each 
>release.  The main way for them to find out is by reading the release 
>notes.  They will make decisions based on its contents.  That makes the 
>release notes an important communication between the development 
>community and its end-users.
>
>We need to get better at communicating new and changed OpenBMC 
>functions.  Doing so gives many benefits, including better release notes 
>[1].
>
>** The proposal **
>
>1. Adopt a new practice to provide end-user impact statements when and 
>where it make sense to do so.
>2. Begin a project level change log to summarize user impacts.
>
>** Details **
>
>How do these changes help connect the folks who contribute to OpenBMC 
>with the folks who use it?  The main points are:
>1. Contributors write an "end-user impact" statement to notify users 
>that something they might care about has changed.
>2. Community members use end-user impact statements to create a change 
>log which summarizes changes they consider significant.
>3. Release planning summarizes the change log as an input to the release 
>notes.
>
>Items in detail:
>
>1. Create end-user impact statements.
>
>An "end-user impact" statement summarizes each change from the point of 
>view of someone familiar with using the external interfaces.  It tells 
>them what they need to know about what changed from their point of view, 
>so they know what to test, how to adapt, etc.
>
>When there is an impact, it should have details like:
>- Is there an end-user impact (y/n)?
>- Is this a new feature or function (where are the docs)?
>- Is this a bug fix?
>- What does the end-user need to know (one liner)?
>These statements don't have to be perfect.  Any inkling you can provide 
>that there is a user impact is helpful to the community.  The impact 
>might change during the release as the design evolves.  Different 
>contributors will see different impacts.  That's all normal and okay.
>
>Are the following end-user impacts?
>- Change to phosphor-webui that affects the browser display?  Answer 
>"no" if it doesn't affect usage, or "Yes" if the user will likely notice 
>or care.
>- Bug fix in fan control? Answer depends.  Answer "yes" if the bug might 
>start a fire.
>- Refactor code?  No
>- New Redfish API?  Yes; new features are positive user impacts.
>- Adding new documentation?  No; although helpful, docs don't affect the 
>end-user's use of the external interfaces
>- BMCWeb retires old and accepts new TLS encryption algorithms?  Yes, it 
>affects how you can connect to the BMC
>- Changes to phosphor-rest or to D-Bus APIs?  No, despite their 
>importance, these interfaces are technically internal to the BMC.  We 
>might want to document user-impacts to these as well.
>- Security fix?  Yes, probably, given today's climate
>Feel free to come up with your own criteria, based on your estimation of 
>an end-user.
>
>Writing an "end-user impact" statement bridges two worlds.  Folks who 
>work on the code may prefer to leave documentation for others or may not 
>fully understand the impact of their change on BMC operations.  And 
>nobody else may understand the change.  So who should write the end-user 
>impact statement?  Anyone who understands the change and how it impacts 
>end-users.  That could be developers, testers, or project managers. 
>Multiple people can contribute over time.  And it should be okay to 
>document an end-user impact in someone else's change.
>
>It is important that all of the end-user impact statements be 
>"findable".  Adding them as comments on selected GitHub issues is an 
>obvious solution, and I suggest using the issue associated with the code 
>change that caused the user impact. (We could use GitHub labels [8][9] 
>to mark issues which have user impact.)
>
>2. Create a change log from end-user impact statements.
>
>Groups who care about end-user impacts include testers, security folks, 
>release managers, and others.  They can scan the issues, read the impact 
>statements, and use them to curate a change log [2] which lists all 
>changes that might be interesting to users.  Each change log entry 
>should have a brief description of the impact (from the user's point of 
>view) with links back to the issue.  The change log could be an openbmc 
>wiki page.  (And yes, some people's job includes curating change logs.)
>
>We should have a project-wide change log which captures all impacts.  
>(It is easy to ignore entries you don't care about.)  Anyone who cares 
>about a user impact can add items to the change log.
>
>How is the change log useful?  Testers will use the change log to help 
>ensure test coverage and add facts about where the test cases are stored 
>and whether the tests passed.  Release managers will use it to gauge 
>progress toward goals.  Security folks will cover security changes.  
>Technical writers, etc.  Each will contribute significant facts about 
>their part of the process, and the log is a place to organize links to 
>demos, etc.
>
>3. Use the change log to make release notes.
>
>The Release Planning work group [3] can refer to the change log as an 
>input to the Release Notes [1][4].  For example, multiple changes can be 
>merged, minor changes can be omitted, important changes can be 
>highlighted, etc.  Having good release notes is a hallmark of a mature 
>development process.
>
>Let's be clear about this: Most users will ignore the release notes or 
>use it only to answer specific questions about bugs or features.  Only a 
>few will use it to learn more about new functions, changed functions 
>they have to adapt to, how to review test efforts, what security fixes 
>are included, etc.  They will make decisions based on its content.  For 
>example, some groups may use it as part of a software security assurance 
>process [5].
>
>** Conclusion **
>
>That's the proposal ... create end-user impact statements ... summarize 
>them in a change log ... and massage that into release notes.  The real 
>trick is to actually write end-user impact statements as the work is 
>being done.  We have the test team [6] and the security work group [7] 
>to help with that, along with pressure from groups who use OpenBMC in 
>their projects.
>
>- Joseph Reynolds
>
>[1]: https://en.m.wikipedia.org/wiki/Release_notes
>[2]: https://en.m.wikipedia.org/wiki/Changelog
>[3]: https://github.com/openbmc/openbmc/wiki/Release-Planning
>[4]: 
>https://github.com/openbmc/docs/blob/master/release/release-notes.md
>[5]: https://en.wikipedia.org/wiki/Software_security_assurance
>[6]: https://github.com/openbmc/openbmc/wiki/Test-work-group
>[7]: https://github.com/openbmc/openbmc/wiki/Security-working-group
>[8]: https://help.github.com/en/articles/about-labels
>[9]: https://github.com/openbmc/openbmc/labels
>
>
>
>End of openbmc Digest, Vol 42, Issue 72
>***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190227/ed755167/attachment-0001.htm>


More information about the openbmc mailing list